Difference between revisions of "Template:Networking rutos manual modbus modbus tcp get parameters table"

From Teltonika Networks Wiki
Line 26: Line 26:
 
         <td>32 bit integer</td>
 
         <td>32 bit integer</td>
 
     </tr>
 
     </tr>
{{#ifeq:{{{series}}}|TRB14X||
+
{{#ifeq:{{{series}}}|TRB1||
 
     <tr>
 
     <tr>
 
       <td>System temperature (in 0.1 °C)</td>
 
       <td>System temperature (in 0.1 °C)</td>
Line 263: Line 263:
 
         <td>32 bit unsigned integer</td>
 
         <td>32 bit unsigned integer</td>
 
       </tr>
 
       </tr>
{{#ifeq:{{{series}}}|TRB14X| |
+
{{#ifeq:{{{series}}}|TRB1| |
 
       <tr>
 
       <tr>
 
           <td>Mobile data received today (SIM2)</td>
 
           <td>Mobile data received today (SIM2)</td>
Line 417: Line 417:
 
|
 
|
 
     <tr>
 
     <tr>
       <td> PIN 3 direction {{#ifeq:{{{series}}}|TRB14X|(4 PIN connector)}}</td>
+
       <td> PIN 3 direction {{#ifeq:{{{series}}}|TRB1|(4 PIN connector)}}</td>
 
       <td>326</td>
 
       <td>326</td>
 
       <td>327</td>
 
       <td>327</td>
Line 424: Line 424:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td> PIN 4 direction {{#ifeq:{{{series}}}|TRB14X|(4 PIN connector)}} </td>
+
       <td> PIN 4 direction {{#ifeq:{{{series}}}|TRB1|(4 PIN connector)}} </td>
 
       <td>327</td>
 
       <td>327</td>
 
       <td>328</td>
 
       <td>328</td>

Revision as of 15:38, 17 November 2020

Get Parameters


Modbus parameters are held within registers. Each register contains 2 bytes of information. For simplification, the number of registers for storing numbers is 2 (4 bytes), while the number of registers for storing text information is 16 (32 bytes). The register numbers and corresponding system values are described in the table below:

required value register address register number number of registers representation
System uptime 1 2 2 32 bit unsigned integer
System hostname 7 8 16 Text
Router serial number 39 40 16 Text
LAN MAC address 55 56 16 Text
Router name 71 72 16 Text
Current WAN IP address 139 140 2 32 bit unsigned integer
Digital non-isolated input (4 PIN connector) 324 325 1 32 bit unsigned integer
Digital open collector output (4 PIN connector) 325 326 1 32 bit unsigned integer
PIN 3 direction 326 327 1 16 bit unsigned integer
PIN 4 direction 327 328 1 16 bit unsigned integer