Page 1 of 1

Modbus Issue.

Posted: Tue Sep 26, 2023 9:55 am
by seokgi
I am developing equipment for industrial use. I can't use C language, so I use FC10 to develop equipment.
The developed equipment was installed today, but was rejected by the customer. The reason is that the Modbus/RTU Master
reads data from the device too slowly, so the data is not read properly and transmission is also very slow (5~7 SEC).
Modbus/RTU Slave works well. It works well with HMI equipment or the Modbus Poll program on a PC.

And Modbus/TCP Master and Slave also operate very slowly.

Quick improvement is needed.

Please help me.
Thank you.

Re: Modbus Issue.

Posted: Tue Sep 26, 2023 12:16 pm
by BenR
Hello,

It shouldn't be this slow, sounds like maybe a timeout is happening. Can you share your project code or a cut down version of that shows the problem?

Re: Modbus Issue.

Posted: Wed Sep 27, 2023 10:57 am
by seokgi
I am posting my project abbreviated here.
Please review carefully and point out my mistakes.

And please refer to the link as well.
https://flowcode.co.uk/forums/viewtopic.php?f=3&t=2117

https://flowcode.co.uk/forums/viewtopic.php?f=3&t=2148

Thank you.

Re: Modbus Issue.

Posted: Fri Sep 29, 2023 10:28 am
by seokgi
I posted my project.

Could I apply your advice and test it over the weekend?

Thank you.