Connecting PLC with Modbus RTU using Node (modbus-serial)
I’m using a USB-to-RS485 adapter, and the connection seems to be fine. When I read or write, the communication module’s lights (RX and TX) work, but still, I read the registers, and I don’t get any different values. I always receive false in all the registers. I’m unsure about the parameters I pass as the address for reading registers. I’ve tried various parameters, both numbers like 0, 1, 3, and even in hexadecimal because the Omron documentation states the address is 0x5100, but the values never change.