This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus RTU
#11
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.
Reply


Messages In This Thread
Modbus RTU - by hoangknx - 15.02.2023, 06:08
RE: Modbus RTU - by Daniel - 15.02.2023, 08:41
RE: Modbus RTU - by hoangknx - 15.02.2023, 13:02
RE: Modbus RTU - by Daniel - 15.02.2023, 13:05
RE: Modbus RTU - by hoangknx - 15.02.2023, 13:12
RE: Modbus RTU - by Daniel - 15.02.2023, 13:28
RE: Modbus RTU - by hoangknx - 15.02.2023, 13:44
RE: Modbus RTU - by Daniel - 15.02.2023, 13:57
RE: Modbus RTU - by hoangknx - 15.02.2023, 14:08
RE: Modbus RTU - by hoangknx - 16.02.2023, 04:35
RE: Modbus RTU - by admin - 16.02.2023, 07:37

Forum Jump: