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

From Teltonika Networks Wiki
m
 
(7 intermediate revisions by 3 users 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 239: Line 239:
 
       <td>2</td>
 
       <td>2</td>
 
       <td>32 bit unsigned integer</td>
 
       <td>32 bit unsigned integer</td>
 +
    </tr>
 +
    <tr>
 +
      <td>Mobile data received last month (SIM1)</td>
 +
      <td>487</td>
 +
      <td>488</td>
 +
      <td>4</td>
 +
      <td>64 bit unsigned integer (Big Endian Notation)</td>
 +
    </tr>
 +
    <tr>
 +
      <td>Mobile data sent last month (SIM1)</td>
 +
      <td>491</td>
 +
      <td>492</td>
 +
      <td>4</td>
 +
      <td>64 bit unsigned integer (Big Endian Notation)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 284: Line 298:
 
   {{#ifeq:{{{series}}}|TRB5||
 
   {{#ifeq:{{{series}}}|TRB5||
 
       <tr>
 
       <tr>
         <td>Mobile data received last week (SIM1)</td>
+
         <td>Mobile data received last 7 days (SIM1)</td>
 
         <td>292</td>
 
         <td>292</td>
 
         <td>293</td>
 
         <td>293</td>
Line 291: Line 305:
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td>Mobile data sent last week (SIM1)</td>
+
         <td>Mobile data sent 7 days (SIM1)</td>
 
         <td>294</td>
 
         <td>294</td>
 
         <td>295</td>
 
         <td>295</td>
Line 298: Line 312:
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td>Mobile data received last month (SIM1)</td>
+
         <td>Mobile data received last week (SIM1)</td>
 +
        <td>503</td>
 +
        <td>504</td>
 +
        <td>4</td>
 +
        <td>64 bit unsigned integer (Big Endian Notation)</td>
 +
      </tr>
 +
      <tr>
 +
        <td>Mobile data sent last week (SIM1)</td>
 +
        <td>507</td>
 +
        <td>508</td>
 +
        <td>4</td>
 +
        <td>64 bit unsigned integer (Big Endian Notation)</td>
 +
      </tr>
 +
      <tr>
 +
        <td>Mobile data received last 30 days (SIM1)</td>
 
         <td>296</td>
 
         <td>296</td>
 
         <td>297</td>
 
         <td>297</td>
Line 305: Line 333:
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
         <td>Mobile data sent last month (SIM1)</td>
+
         <td>Mobile data sent last 30 days (SIM1)</td>
 
         <td>298</td>
 
         <td>298</td>
 
         <td>299</td>
 
         <td>299</td>
Line 314: Line 342:
 
   {{#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 357: Line 385:
 
         <td>2</td>
 
         <td>2</td>
 
         <td>32 bit unsigned integer</td>
 
         <td>32 bit unsigned integer</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Mobile data received this month  (SIM2)</td>
 +
        <td>495</td>
 +
        <td>496</td>
 +
        <td>4</td>
 +
        <td>64 bit unsigned integer (Big Endian Notation)</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Mobile data sent this month  (SIM2)</td>
 +
        <td>499</td>
 +
        <td>500</td>
 +
        <td>4</td>
 +
        <td>64 bit unsigned integer (Big Endian Notation)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 373: Line 415:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Mobile data received last week (SIM2)</td>
+
       <td>Mobile data received 7 days (SIM2)</td>
 
       <td>316</td>
 
       <td>316</td>
 
       <td>317</td>
 
       <td>317</td>
Line 380: Line 422:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Mobile data sent last week (SIM2)</td>
+
       <td>Mobile data sent 7 days (SIM2)</td>
 
       <td>318</td>
 
       <td>318</td>
 
       <td>319</td>
 
       <td>319</td>
Line 387: Line 429:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Mobile data received last month(SIM2)</td>
+
       <td>Mobile data received last week (SIM2)</td>
 +
      <td>511</td>
 +
      <td>512</td>
 +
      <td>4</td>
 +
      <td>64 bit unsigned integer (Big Endian Notation)</td>
 +
    </tr>
 +
    <tr>
 +
      <td>Mobile data sent last week (SIM2)</td>
 +
      <td>515</td>
 +
      <td>516</td>
 +
      <td>4</td>
 +
      <td>64 bit unsigned integer (Big Endian Notation)</td>
 +
    </tr>
 +
    <tr>
 +
      <td>Mobile data received last 30 days (SIM2)</td>
 
       <td>320</td>
 
       <td>320</td>
 
       <td>321</td>
 
       <td>321</td>
Line 394: Line 450:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
       <td>Mobile data sent last month (SIM2)</td>
+
       <td>Mobile data sent last 30 days (SIM2)</td>
 
       <td>322</td>
 
       <td>322</td>
 
       <td>323</td>
 
       <td>323</td>
Line 404: Line 460:
 
}}
 
}}
 
{{#switch:{{{name}}}
 
{{#switch:{{{name}}}
|TCR100=
+
|TCR100|RUTXR1=
 
|TRB245|TRB255=
 
|TRB245|TRB255=
 
     <tr>
 
     <tr>

Latest revision as of 15:20, 13 May 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