Modbus Issue.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
seokgi
Posts: 217
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 6 times
Been thanked: 7 times

Modbus Issue.

Post 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.

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: Modbus Issue.

Post 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?

seokgi
Posts: 217
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 6 times
Been thanked: 7 times

Re: Modbus Issue.

Post 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.
Attachments
230923_Freezer-MCU-Serial.fcfx
(151.58 KiB) Downloaded 488 times

seokgi
Posts: 217
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 6 times
Been thanked: 7 times

Re: Modbus Issue.

Post by seokgi »

I posted my project.

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

Thank you.

Post Reply