Open main menu
Home
Random
Log in
Settings
COMMUNITY
ABOUT
Disclaimers
Teltonika Networks Wiki
Search
Changes
← Older edit
Newer edit →
Monitoring via Modbus
(view source)
Revision as of 11:30, 6 December 2017
521 bytes added
,
11:30, 6 December 2017
→modbus read
Line 126:
Line 126:
$ modbus read [OPTIONS] HOST_NAME REGISTER_NUMBER NUMBER_OF_REGISTERS
$ modbus read [OPTIONS] HOST_NAME REGISTER_NUMBER NUMBER_OF_REGISTERS
+
+
'''OPTIONS''' can describe things like data type, port number, type of addressing, etc.
+
+
'''HOST_NAME''' is the router's hostname or IP address (WAN IP, if you are connecting remotely).
+
+
'''REGISTER_NUMBER''' specifies the register that you wish to read.
+
+
'''NUMBER_OF_REGISTERS''' specifies how many registers should be read starting from the register specified in REGISTER_NUMBER.
+
+
'''Note:''' all of this information and more can be viewed by entering this command: '''modbus read -h''' or '''modbus read --help'''.
Dziugas
Bureaucrats
,
Interface administrators
,
Administrators
31,703
edits