Modbus TCP problem

Hello, I have a question about Modbus TCP, is there any way to speeding up polling of devices? In my project i have 7 devices Modbus TCP, i read from all and write to two. One of this device need heartbeat signal 1s ON 1s OFF over Modbus. When i pooling all devices there is no time to write heartbeat signal (all communication takes more than 2s). I use example program from Modbus library, duplicated to 7 devices.

Hello jakubsz, the Modbus TCP FBs require several cycles to continue communication. Do you tried to reduce the time cycle interval of the task in the example project? Best Regards Eduard

Hello Eduard, I have not tried to reduce the cycle time. I’ll check it. Tahnk You

Hello, Reduce cycle time did not bring satisfactory results. I created two separate cyclik tasks, one to read registers, the other to write registers and it work, but i wonder if it might work that way?

The developer of that library has given the following feedback: [quote][Internally] the function block needs several cycles for the communication with the Modbus Server. There is no way except the cycle time to speed it up.[/quote]If you would like to discuss this directly with the library developer, you can use the “Contact” button on the product page in the PLCnext store.