You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say my setup is two Modbus RTU sensors connected over RS485. Both sensors have the same input register, say, at ID 1 and 2 I can read from. One sensor is at address 1, and the other is at address 2. They are on the same RS485 bus.
Not sure if I'm understanding Modbus TCP correctly, but how could I read those two distinct sensors through mbusd? I'm using pyModbusTCP to do the reading and so far could only read the first sensor on the RTU network. Is the second sensor mapped to a different register ID or something?
Thanks!
The text was updated successfully, but these errors were encountered:
Nevermind, solved it, turns out I have a misunderstanding of Modbus TCP and I just needed to specify the unit ID to be the RTU slave ID. Now it's working.
I'll leave this here though, just in case someone have this same question in the future.
Let's say my setup is two Modbus RTU sensors connected over RS485. Both sensors have the same input register, say, at ID 1 and 2 I can read from. One sensor is at address 1, and the other is at address 2. They are on the same RS485 bus.
Not sure if I'm understanding Modbus TCP correctly, but how could I read those two distinct sensors through mbusd? I'm using pyModbusTCP to do the reading and so far could only read the first sensor on the RTU network. Is the second sensor mapped to a different register ID or something?
Thanks!
The text was updated successfully, but these errors were encountered: