Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
The project becomes too laggy if the connection is lost
« previous
next »
Print
Pages: [
1
]
Author
Topic: The project becomes too laggy if the connection is lost (Read 508 times)
oqapsking
Full Member
Posts: 190
The project becomes too laggy if the connection is lost
«
on:
May 05, 2025, 12:04:17 PM »
Hello
If i lose the connection to the plc the project becomes too laggy
I use modbus tcp
Is there a solution to fix it?
With thanks
Logged
Archie
Administrator
Hero Member
Posts: 5365
Re: The project becomes too laggy if the connection is lost
«
Reply #1 on:
May 05, 2025, 12:51:30 PM »
Are you reading and writing using VB code?
Logged
oqapsking
Full Member
Posts: 190
Re: The project becomes too laggy if the connection is lost
«
Reply #2 on:
May 05, 2025, 01:26:55 PM »
yes
mostly just basic labels and buttons
Logged
Archie
Administrator
Hero Member
Posts: 5365
Re: The project becomes too laggy if the connection is lost
«
Reply #3 on:
May 05, 2025, 01:57:53 PM »
So you have some VB code performing READ directly with ModbusTCPCom1.Read ?
Logged
oqapsking
Full Member
Posts: 190
Re: The project becomes too laggy if the connection is lost
«
Reply #4 on:
May 05, 2025, 03:08:43 PM »
no
there is timers but they are all off and yet the problem is there
so usualy the live data is just basic labels and buttons
Logged
Archie
Administrator
Hero Member
Posts: 5365
Re: The project becomes too laggy if the connection is lost
«
Reply #5 on:
May 06, 2025, 12:06:13 AM »
Can you explain what you mean by "laggy"?
When using only the built-in controls, the drivers and controls use background threads therefore the other items on the form should see minimal effect in response.
Logged
bachphi
Hero Member
Posts: 699
Re: The project becomes too laggy if the connection is lost
«
Reply #6 on:
May 06, 2025, 08:42:09 AM »
Archie's slipping, I thought the world's top mind reader could at least pick up this brainwave without a data plan!
https://www.advancedhmi.com/forum/index.php?topic=1684.msg9228#msg9228
https://www.advancedhmi.com/forum/index.php?topic=3177.msg18221#msg18221
«
Last Edit: May 06, 2025, 08:46:54 AM by bachphi
»
Logged
UCL =================
This is NOT alt.read.my.mind.No such thing is sh^t-for-brains
unless you are posting to alt.read.my.mind. Savvy?
My understanding of computer is well below six Σ.
Unless what I say is logically defined in a PLC, everything else might be beyond my control.
LCL ================
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
The project becomes too laggy if the connection is lost