Changes

MODBUS terminology fixes
Line 37: Line 37:  
===List of parameters===
 
===List of parameters===
 
----
 
----
Router parameters are held within '''registers'''. Each register contains 2 bytes of information. For simplification the number of registers for storing numerical values is 2, while the number of registers for storing text information is 16. The register numbers and corresponding system values are described in the table below:
+
Router parameters are held within '''registers'''. Each register contains 2 bytes of information. For simplification the number of registers for storing numerical values is 2, while the number of registers for storing text information is 16. The register addresses and corresponding system values are described in the table below:
    
{{Template: Networking_rut955_manual_modbus_modbus_tcp_get_parameters_table}}
 
{{Template: Networking_rut955_manual_modbus_modbus_tcp_get_parameters_table}}
Line 45: Line 45:  
To obtain parameters from the system, the '''modbus read''' command is used. The syntax for this command is:
 
To obtain parameters from the system, the '''modbus read''' command is used. The syntax for this command is:
   −
  $ modbus read [OPTIONS] HOST_NAME REGISTER_NUMBER NUMBER_OF_REGISTERS
+
  $ modbus read [OPTIONS] HOST_NAME REGISTER_ADDRESS NUMBER_OF_REGISTERS
    
'''OPTIONS''' can describe things like data type, port number, type of addressing, etc.  
 
'''OPTIONS''' can describe things like data type, port number, type of addressing, etc.  
Line 51: Line 51:  
'''HOST_NAME''' is the router's hostname or IP address (WAN IP, if you are connecting remotely).
 
'''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.
+
'''REGISTER_ADDRESS''' 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'''.
+
'''NUMBER_OF_REGISTERS''' specifies how many registers should be read starting from the register specified in '''REGISTER_ADDRESS'''.
    
'''Note:''' all of this information and more can be viewed by executing these commands in The Linux Terminal: '''modbus read -h''' or '''modbus read --help'''.
 
'''Note:''' all of this information and more can be viewed by executing these commands in The Linux Terminal: '''modbus read -h''' or '''modbus read --help'''.
Line 67: Line 67:  
'''192.168.1.1''' - the router's LAN IP address.
 
'''192.168.1.1''' - the router's LAN IP address.
   −
'''%MW001''' specifies the register number.
+
'''%MW001''' specifies the register address.
    
'''2''' - specifies how many registers should be read.
 
'''2''' - specifies how many registers should be read.
Line 145: Line 145:  
==Setting router values==
 
==Setting router values==
   −
The Modbus daemon also supports the setting of some system parameters. To accomplish this task the '''modbus write''' command is used. System related parameters and how to use them are described below. The register number specifies from which register to start writing the required values. All commands, except “Change APN”, accepts only one input parameter (more on changing APN can be found below).   
+
The Modbus daemon also supports the setting of some system parameters. To accomplish this task the '''modbus write''' command is used. System related parameters and how to use them are described below. The register address specifies from which register to start writing the required values. All commands, except “Change APN”, accepts only one input parameter (more on changing APN can be found below).   
    
{{Template: Networking_rut955_manual_modbus_modbus_tcp_set_parameters_table}}
 
{{Template: Networking_rut955_manual_modbus_modbus_tcp_set_parameters_table}}
0

edits