Hi!
I'm having problems reading holdin registers from a I/O server TCP Modbus Slave.
I have created the I/O server following these steps:
1- I create the Modbus Slave I/O Server
2- I choose the holding register I want to write (400001)
3- I bind this holding register to a shared variable (It's called "Error") because I want to have the value of this shared variable in the modbus server.
4- I write in the shared variable (the one named Error) and I can check in the NI Distributed System Manager that the holding register (400001) has the same value than the shared variable.
5- I try to read this holding register creating an instance of a TCP Master and I get only 0s instead of the value stored in register 400001
I use the following configuration:
- Port 502
- IP: "localhost"
- Starting addresss 0
Am I missing something? Anyone know what's going on?
Thanks in advance.