16.02.2023, 07:37
Check that you have GND connected between LM and Modbus device, this should help with CRC and other communication errors. Also make sure that RS485 cable is not near AC cables which can break the communication due to noise.
You can speed up the communication by settings the baud rate to 19200 instead of 9600 (make sure to change on both LM and Modbus device side). As Daniel said the best way is to implement block read. When done correctly it will provide a very significant communication speed increase.
The poll interval should be set to the lowest acceptable value. But you won't get real-time status anyway. This is a basic limitation of Modbus due to the use of polling.
You can speed up the communication by settings the baud rate to 19200 instead of 9600 (make sure to change on both LM and Modbus device side). As Daniel said the best way is to implement block read. When done correctly it will provide a very significant communication speed increase.
The poll interval should be set to the lowest acceptable value. But you won't get real-time status anyway. This is a basic limitation of Modbus due to the use of polling.