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

From Teltonika Networks Wiki
(Added RUT955 RUT956 ACL registers. Other minor fixes)
 
(3 intermediate revisions by one other user not shown)
Line 165: Line 165:
 
         <td>148</td>
 
         <td>148</td>
 
       <td>16</td>
 
       <td>16</td>
         <td>Text (Unix timestamp×1000)</td>
+
         <td>Text (YYYY-MM-DD hh:mm:ss)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 172: Line 172:
 
         <td>164</td>
 
         <td>164</td>
 
       <td>16</td>
 
       <td>16</td>
         <td>Text (DDMMYYhhmmss)</td>
+
         <td>Text (YYYY-MM-DD hh:mm:ss)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 256: Line 256:
 
   }}
 
   }}
 
|}}
 
|}}
{{#ifeq:{{{name}}}|RUT955|
+
{{#switch:{{{name}}}|RUT955|RUT956=
 
       <tr>
 
       <tr>
 
         <td>Galvanically isolated open collector output status</td>
 
         <td>Galvanically isolated open collector output status</td>
Line 314: Line 314:
 
   {{#ifeq:{{{name}}}|RUTX12| |
 
   {{#ifeq:{{{name}}}|RUTX12| |
 
     {{#switch:{{{series}}}
 
     {{#switch:{{{series}}}
     |TCR1|TRB1|TRB5|RUT36X|RUT2=
+
     |TCR1|TRB1|TRB5|RUT36X|RUT2|RUT2M=
 
     | #default =
 
     | #default =
 
       <tr>
 
       <tr>
Line 404: Line 404:
 
}}
 
}}
 
{{#switch:{{{name}}}
 
{{#switch:{{{name}}}
|TCR100=
+
|TCR100|RUTXR1=
 
|TRB245|TRB255=
 
|TRB245|TRB255=
 
     <tr>
 
     <tr>

Latest revision as of 13:07, 22 April 2024

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 8 bit unsigned integer
Digital non-isolated input 324 325 1 16 bit unsigned integer
Digital open collector output 325 326 1 16 bit unsigned integer
PIN 3 direction 326 327 1 16 bit unsigned integer
PIN 4 direction 327 328 1 16 bit unsigned integer
Unix timestamp 364 365 2 32 bit unsigned integer
Local ISO time 366 367 12 Text
UTC time 378 389 12 Text
LAN IP 394 395 2 8 bit unsigned integer