Changes

Line 136: Line 136:     
'''Note:''' all of this information and more can be viewed by entering this command: '''modbus read -h''' or '''modbus read --help'''.
 
'''Note:''' all of this information and more can be viewed by entering this command: '''modbus read -h''' or '''modbus read --help'''.
 +
 +
For example, lets use this command to get the router's uptime value. If you look back at the table above, you will see that the uptime value is stored in two registers starting from the first register, therefore:
 +
 +
$ modbus read -w -p 12345 192.168.1.1 %MW001 2
 +
 +
'''-w'''

Navigation menu