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

From Teltonika Networks Wiki
(5 intermediate revisions by 2 users not shown)
Line 25: Line 25:
 
         <td>Changes device name</td>
 
         <td>Changes device name</td>
 
     </tr>
 
     </tr>
{{#ifeq:{{{name}}}|RUT955|
+
{{#switch:{{{name}}}
      <tr>
+
| RUT955|RUT956=<tr>
 
         <td>Galvanically isolated open collector output status</td>
 
         <td>Galvanically isolated open collector output status</td>
 
         <td>201</td>
 
         <td>201</td>
Line 36: Line 36:
 
         <td>Relay output status</td>
 
         <td>Relay output status</td>
 
         <td>202</td>
 
         <td>202</td>
       <td>2023</td>
+
       <td>203</td>
 
         <td>1 {{!}} 0</td>
 
         <td>1 {{!}} 0</td>
 
         <td>Toggles DOUT2 ON or OFF</td>
 
         <td>Toggles DOUT2 ON or OFF</td>
 
       </tr>
 
       </tr>
|}}
+
}}
 
{{#ifeq:{{{wifi}}}|1|
 
{{#ifeq:{{{wifi}}}|1|
 
     <tr>
 
     <tr>
Line 49: Line 49:
 
         <td>Turns WiFi ON or OFF</td>
 
         <td>Turns WiFi ON or OFF</td>
 
     </tr>
 
     </tr>
}}
+
|}}
 
{{#ifeq:{{{mobile}}}|1|
 
{{#ifeq:{{{mobile}}}|1|
 
     <tr>
 
     <tr>
Line 58: Line 58:
 
         <td>Turns mobile data connection ON or OFF</td>
 
         <td>Turns mobile data connection ON or OFF</td>
 
     </tr>
 
     </tr>
{{#ifeq:{{{dualsim}}}|1|
+
  {{#ifeq:{{{dualsim}}}|1|
 
     <tr>
 
     <tr>
 
       <td>Switch SIM card</td>
 
       <td>Switch SIM card</td>
Line 72: Line 72:
 
    </td>
 
    </td>
 
     </tr>
 
     </tr>
 +
  |}}
 
|}}
 
|}}
}}
 
 
     <tr>
 
     <tr>
 
     <td>Reboot</td>
 
     <td>Reboot</td>
Line 94: Line 94:
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
}}{{#ifeq:{{{series}}}|TRB2|
+
|}}{{#ifeq:{{{series}}}|TRB2|
 
   <tr>
 
   <tr>
 
       <td> Switch PIN 3 state </td>
 
       <td> Switch PIN 3 state </td>
Line 103: Line 103:
 
   </tr>|}}
 
   </tr>|}}
 
{{#switch:{{{series}}}
 
{{#switch:{{{series}}}
|RUTX|RUT2|RUT2M|RUT9|TRB2= {{#ifeq:{{{name}}}| RUTXR1||
+
|RUTX|RUT2|RUT2M|RUT9|RUT9M|TRB2= {{#ifeq:{{{name}}}|RUTXR1||
 
   <tr>
 
   <tr>
 
       <td> Switch PIN 4 state </td>
 
       <td> Switch PIN 4 state </td>
Line 151: Line 151:
 
       <td>Toggles PIN 2 ON or OFF</td>
 
       <td>Toggles PIN 2 ON or OFF</td>
 
   </tr>
 
   </tr>
}}
+
      <tr>
 +
      <td> Switch PIN 3 direction </td>
 +
      <td>326</td>
 +
      <td>327</td>
 +
      <td>1{{!}}0</td>
 +
      <td>Toggles PIN 3 direction between INPUT (0) or OUTPUT (1)</td>
 +
  </tr>
 +
    <tr>
 +
      <td> Switch PIN 4 direction </td>
 +
      <td>327</td>
 +
      <td>328</td>
 +
      <td>1{{!}}0</td>
 +
      <td>Toggles PIN 4 direction between INPUT (0) or OUTPUT (1)</td>
 +
  </tr>
 +
|}}
 
{{#ifeq:{{{name}}}|TRB141|
 
{{#ifeq:{{{name}}}|TRB141|
 
     <tr>
 
     <tr>
Line 195: Line 209:
 
       <td>Turns ACL functionality ON or OFF</td>
 
       <td>Turns ACL functionality ON or OFF</td>
 
   </tr>
 
   </tr>
}}
+
|}}
 
{{#ifeq:{{{wifi}}}|1|
 
{{#ifeq:{{{wifi}}}|1|
{{#switch:{{{series}}}
+
    <tr>
  | RUTX|TCR1=<tr>
 
 
       <td>Switch 2.4GHz WiFi ON/OFF</td>
 
       <td>Switch 2.4GHz WiFi ON/OFF</td>
 
       <td>390</td>
 
       <td>390</td>
Line 204: Line 217:
 
       <td>1 {{!}} 0</td>
 
       <td>1 {{!}} 0</td>
 
         <td>Turns 2.4GHz WiFi ON or OFF</td>
 
         <td>Turns 2.4GHz WiFi ON or OFF</td>
     </tr>
+
     </tr>{{#switch:{{{series}}}
 +
  | RUTX|TCR1=
 
     <tr>
 
     <tr>
 
       <td>Switch 5GHz WiFi ON/OFF</td>
 
       <td>Switch 5GHz WiFi ON/OFF</td>
Line 211: Line 225:
 
       <td>1 {{!}} 0</td>
 
       <td>1 {{!}} 0</td>
 
         <td>Turns 5GHz WiFi ON or OFF</td>
 
         <td>Turns 5GHz WiFi ON or OFF</td>
     </tr>
+
     </tr>}}
}}
+
|}}
}}
+
    <tr>
 +
      <td> Change LAN IP </td>
 +
      <td>394</td>
 +
      <td>395</td>
 +
      <td>IPv4 (in decimal form)</td>
 +
      <td>Changes device LAN IP</td>
 +
  </tr>
 +
{{#ifeq:{{{mobile}}}|1|
 +
    <tr>
 +
      <td> Send SMS </td>
 +
      <td>396</td>
 +
      <td>397</td>
 +
      <td>1{{!}}0</td>
 +
      <td>Sends an SMS with content defined in Add SMS (397) register</td>
 +
  </tr>
 +
    <tr>
 +
      <td> Add SMS </td>
 +
      <td>397</td>
 +
      <td>398</td>
 +
      <td>Message (in decimal form)</td>
 +
      <td>Define SMS content which will be sent using Send SMS (396) register.<br>The register array is split into two parts that represent the recipient's "phone number" (first 10 registers) and the "SMS message contents" (remaining 80 registers).</td>
 +
  </tr>
 +
|}}
 +
 
 
</table>
 
</table>

Revision as of 15:10, 27 January 2023

Set Parameters


The Modbus daemon can also set some device parameters.

value to set register address register number register value description
Hostname 7 8 Hostname (in decimal form) Changes hostname
Device name 71 72 Device name (in decimal form) Changes device name
Reboot 206 207 1 Reboots the router
Switch PIN 3 state 324 325 1|0 Toggles PIN 3 ON or OFF, when output is selected
Switch PIN 4 state 325 326 1|0 Toggles PIN 4 ON or OFF, when output is selected
Switch PIN 3 direction 326 327 1|0 Toggles PIN 3 direction between INPUT (0) or OUTPUT (1)
Switch PIN 4 direction 327 328 1|0 Toggles PIN 4 direction between INPUT (0) or OUTPUT (1)
Change LAN IP 394 395 IPv4 (in decimal form) Changes device LAN IP