Changes

Line 12: Line 12:  
Modbus enables communication among many devices connected to the same network, for example, a system that measures temperature and humidity and communicates the results to a computer. Modbus is often used to connect a supervisory computer with a remote terminal unit (RTU) in supervisory control and data acquisition (SCADA) systems. Many of the data types are named from its use in driving relays: a single-bit physical output is called a coil, and a single-bit physical input is called a discrete input or a contact.
 
Modbus enables communication among many devices connected to the same network, for example, a system that measures temperature and humidity and communicates the results to a computer. Modbus is often used to connect a supervisory computer with a remote terminal unit (RTU) in supervisory control and data acquisition (SCADA) systems. Many of the data types are named from its use in driving relays: a single-bit physical output is called a coil, and a single-bit physical input is called a discrete input or a contact.
   −
This article provides a guide on how to use Modbus TCP to monitor {{{name}}} routers with a PC using a Linux Operating System.  
+
This article provides a guide on how to use Modbus TCP to monitor {{{name}}} routers with a PC using a Linux Operating System.
 +
 
 
==Configuring the router==
 
==Configuring the router==
   Line 34: Line 35:  
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:
 
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_rutos_manual_modbus_modbus_tcp_get_parameters_table}}
+
{{Template:Networking_rutos_manual_modbus_modbus_tcp_get_parameters_table  
 +
|mobile = {{{mobile}}}
 +
|series = {{{series}}}
 +
|name = {{{name}}}
 +
|analog = {{{analog}}}
 +
|gps = {{{gps}}}
 +
|dualsim = {{{dualsim}}}
 +
}}
    
===Modbus read===
 
===Modbus read===
Line 142: Line 150:  
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).   
 
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_rutos_manual_modbus_modbus_tcp_get_parameters_table
+
{{Template:Networking_rutos_manual_modbus_modbus_tcp_set_parameters_table
 +
|wifi = {{{wifi}}}
 +
|mobile = {{{mobile}}}
 +
|series = {{{series}}}
 +
|name = {{{name}}}
 +
|dualsim = {{{dualsim}}}
 +
}}
    
As you can see most of the values are '''0''' and '''1''', 0 meaning OFF and 1 meaning ON. For example, if you want to turn '''WiFi OFF''', this command should be used:
 
As you can see most of the values are '''0''' and '''1''', 0 meaning OFF and 1 meaning ON. For example, if you want to turn '''WiFi OFF''', this command should be used:
Anonymous user

Navigation menu