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

From Teltonika Networks Wiki
(13 intermediate revisions by 3 users not shown)
Line 80: Line 80:
 
     </tr>
 
     </tr>
 
{{#ifeq:{{{mobile}}}| 1 |
 
{{#ifeq:{{{mobile}}}| 1 |
 +
{{#ifeq:{{{dualsim}}}| 1|
 
     <tr>
 
     <tr>
 
       <td>Currently active SIM card slot</td>
 
       <td>Currently active SIM card slot</td>
Line 87: Line 88:
 
         <td>Text</td>
 
         <td>Text</td>
 
     </tr>
 
     </tr>
 +
}}
 
     <tr>
 
     <tr>
 
       <td>Network registration info</td>
 
       <td>Network registration info</td>
Line 102: Line 104:
 
     </tr>
 
     </tr>
 
}}
 
}}
 +
{{#ifeq:{{{name}}}|RUT955|
 +
    <tr>
 +
      <td>Digital input (DIN1) state</td>
 +
      <td>135</td>
 +
        <td>136</td>
 +
      <td>2</td>
 +
        <td>32 bit integer</td>
 +
    </tr>
 +
    <tr>
 +
      <td>Digital galvanically isolated input (DIN2) state</td>
 +
      <td>137</td>
 +
        <td>138</td>
 +
      <td>2</td>
 +
        <td>32 bit integer</td>
 +
    </tr>|}}
 
     <tr>
 
     <tr>
 
       <td>Current WAN IP address</td>
 
       <td>Current WAN IP address</td>
Line 226: Line 243:
 
         <td>32 bit unsigned integer</td>
 
         <td>32 bit unsigned integer</td>
 
     </tr>
 
     </tr>
}}
+
{{#ifeq:{{{name}}}|RUT955|
{{#ifeq:{{{mobile}}}| 1|
+
      <tr>
 +
        <td>Galvanically isolated open collector output status</td>
 +
        <td>201</td>
 +
        <td>202</td>
 +
        <td>1</td>
 +
        <td>16 bit unsigned integer</td>
 +
      </tr>
 +
      <tr>
 +
        <td>Relay output status</td>
 +
        <td>202</td>
 +
        <td>203</td>
 +
        <td>1</td>
 +
        <td>16 bit unsigned integer</td>
 +
      </tr>|}}
 +
{{#ifeq:{{{dualsim}}}| 1|
 
       <tr>
 
       <tr>
 
         <td>Active SIM card</td>
 
         <td>Active SIM card</td>
Line 235: Line 266:
 
         <td>32 bit unsigned integer</td>
 
         <td>32 bit unsigned integer</td>
 
       </tr>
 
       </tr>
 +
}}
 
       <tr>
 
       <tr>
 
         <td>Mobile data received last week (SIM1)</td>
 
         <td>Mobile data received last week (SIM1)</td>
Line 263: Line 295:
 
         <td>32 bit unsigned integer</td>
 
         <td>32 bit unsigned integer</td>
 
       </tr>
 
       </tr>
{{#ifeq:{{{series}}}|TRB1| |
+
{{#ifeq:{{{name}}}|RUTX12| |
 +
{{#switch:{{{series}}}
 +
| TRB1|RUT36X|RUT2=
 +
| #default =
 
       <tr>
 
       <tr>
 
           <td>Mobile data received today (SIM2)</td>
 
           <td>Mobile data received today (SIM2)</td>
Line 348: Line 383:
 
       <td>32 bit unsigned integer</td>
 
       <td>32 bit unsigned integer</td>
 
     </tr>
 
     </tr>
 +
}}
 
}}
 
}}
 
}}
 
}}
Line 396: Line 432:
 
       <td>16 bit unsigned integer</td>
 
       <td>16 bit unsigned integer</td>
 
     </tr>
 
     </tr>
 +
|TRB140|TRB141|TRB142|TRB145|RUT300|RUT360=
 +
    <tr>
 +
      <td>PIN 3 status (4 PIN connector)</td>
 +
      <td>324</td>
 +
      <td>325</td>
 +
      <td>1</td>
 +
      <td>16 bit unsigned integer</td>
 +
    </tr>
 +
    <tr>
 +
      <td>PIN 4 status (4 PIN connector)</td>
 +
      <td>325</td>
 +
      <td>326</td>
 +
      <td>1</td>
 +
      <td>16 bit unsigned integer</td>
 +
  </tr>
 
|
 
|
 
     <tr>
 
     <tr>
Line 415: Line 466:
 
|RUTX=
 
|RUTX=
 
|TRB2XX=
 
|TRB2XX=
 +
|RUT9=
 
|
 
|
 
     <tr>
 
     <tr>

Revision as of 14:36, 20 August 2021

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