This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

System overload
#1
Hello.
I have a LM indicating overload (CPU/IO is red values).
.pdf   system load.pdf (Size: 3.53 KB / Downloads: 5)
The main task of the device is as a Modbus TCP slave to a higher-level system.
I use the script from the documentation and examples.
https://kb.logicmachine.net/integration/...tcp-slave/
In the system load app, this script is the one that consumes the most (about 50%) cpu.

How many registers can be mapped?
Reply
#2
It's more about how often the registers are polled and the number of reads per each poll. How many registers do you have and what is the polling rate?
Reply
#3
I have about 400 registers. I don't knew the scada sysstems polling rate, can I check it from LM side?
Reply
#4
You can add some logging to the handler(sock) function. But this produce extra load too.
Reply
#5
I will contact the scada system company and ask for polling rate.
Witch is the preferd rate for LM?
Reply
#6
It should be lowered at least 2x from the current rate.
Reply
#7
I'm in contact with the scada system company now and the polling interval is 250 ms and it seems that they can't change this.
They will test to read only 16 registers at the same time.
As a test I want to put some logging in the handler, how to do it?
Reply


Forum Jump: