stilesbss
Member
Hello,
I would like some suggesting to debug slow RTU communication using nModbus. I have tried Google without much success and i thought i would throw this out before the weekend.
I have a C# HMI i wrote that uses nModbus RTU to communicate to a Direct Logic 05-DD plc.
The HMI updates on a timer tick the status of inputs, outputs, the internal coils that i am using, a counter current value, and a timer current value. Each is checked through its own method, one for inputs, one for outputs, etc.
I can't seem to set that timer tick faster than 650ms or it really bogs down the whole form. I checked the scan time of the plc ladder logic and its between 20 and 30ms, but each request to the plc take 300 - 400ms to return.
current setup is using a baud rate of 9600. Increasing the baud rate to 19200 didn't make any difference.
Thank You.
I would like some suggesting to debug slow RTU communication using nModbus. I have tried Google without much success and i thought i would throw this out before the weekend.
I have a C# HMI i wrote that uses nModbus RTU to communicate to a Direct Logic 05-DD plc.
The HMI updates on a timer tick the status of inputs, outputs, the internal coils that i am using, a counter current value, and a timer current value. Each is checked through its own method, one for inputs, one for outputs, etc.
I can't seem to set that timer tick faster than 650ms or it really bogs down the whole form. I checked the scan time of the plc ladder logic and its between 20 and 30ms, but each request to the plc take 300 - 400ms to return.
current setup is using a baud rate of 9600. Increasing the baud rate to 19200 didn't make any difference.
Thank You.