Malformed Modbus RTU frames over RS422-RS485 adapter
Trying to communicate with a RS485 Modbus RTU device over a RS422 port. There's a 422/485 adapter between them, obviously. Can send and receive, but the received data is not a valid RTU frame. >>>>> send: 0x0 0x3 0x0 0x0 0x0 0x1 0x85 0xdb >>>>> recv: 0xf9 0xff 0xff 0xff 0xfd 0xf5 0x49 0x0 extra data: >>>>> extra: unexpected data: 0xf9 0xff 0xff 0xff 0xfd 0xf5 0x49 0x0 Expected: 0x00 0x03 0x02 0x00 0xFF 0xC5 0xC4 Here's the code: client = AsyncModbusSerialClient( framer=FramerType.RTU, port='/dev/ttyAMA2', baudrate=9600, parity='N', stopbits=1, bytesize=8, timeout=1.0, retries=0, handle_local_e
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.