5/26/2025 7:59 AM | |
Joined: 5/24/2025 Last visit: 5/26/2025 Posts: 4 Rating:
|
Even though all four MB_CLIENTs are targeting the same IP (192.168.0.10), each one can communicate with a different Modbus slave ID over that IP. In Modbus TCP, the Unit ID (or slave ID) is how the gateway distinguishes which RTU device you want to talk to behind it. it will work, as long as: All four MB_CLIENT instructions use the same IP address (192.168.0.10) and port 502, but target different Modbus slave IDs (1, 2, 3, 4). Your Moxa MB3180 is properly configured to forward each Unit ID to the corresponding RTU device. |
5/28/2025 9:53 AM | |
Joined: 3/26/2009 Last visit: 8/7/2025 Posts: 147 Rating:
|
Thank you. You have given me confidence )) |
Follow us on