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

From Teltonika Networks Wiki
Line 5: Line 5:
 
<table class="nd-othertables">
 
<table class="nd-othertables">
 
     <tr>
 
     <tr>
         <th width="350">value to set</th>
+
         <th width="300">value to set</th>
       <th width="180">register address</th>
+
       <th width="140">register address</th>
 +
      <th width="140">register address</th>
 
       <th width="150">register value</th>
 
       <th width="150">register value</th>
 
       <th width="466">description</th>
 
       <th width="466">description</th>
Line 13: Line 14:
 
       <td>Hostname</td>
 
       <td>Hostname</td>
 
       <td>7</td>
 
       <td>7</td>
 +
      <td>8</td>
 
       <td>Hostname (in decimal form)</td>
 
       <td>Hostname (in decimal form)</td>
 
         <td>Changes hostname</td>
 
         <td>Changes hostname</td>
Line 19: Line 21:
 
       <td>Device name</td>
 
       <td>Device name</td>
 
       <td>71</td>
 
       <td>71</td>
 +
      <td>72</td>
 
       <td>Device name (in decimal form)</td>
 
       <td>Device name (in decimal form)</td>
 
         <td>Changes device name</td>
 
         <td>Changes device name</td>
Line 26: Line 29:
 
         <td>Galvanically isolated open collector output status</td>
 
         <td>Galvanically isolated open collector output status</td>
 
         <td>201</td>
 
         <td>201</td>
 +
      <td>202</td>
 
         <td>1 {{!}} 0</td>
 
         <td>1 {{!}} 0</td>
 
         <td>Toggles DOUT1 ON or OFF</td>
 
         <td>Toggles DOUT1 ON or OFF</td>
Line 32: Line 36:
 
         <td>Relay output status</td>
 
         <td>Relay output status</td>
 
         <td>202</td>
 
         <td>202</td>
 +
      <td>2023</td>
 
         <td>1 {{!}} 0</td>
 
         <td>1 {{!}} 0</td>
 
         <td>Toggles DOUT2 ON or OFF</td>
 
         <td>Toggles DOUT2 ON or OFF</td>
Line 40: Line 45:
 
       <td>Switch WiFi ON/OFF</td>
 
       <td>Switch WiFi ON/OFF</td>
 
       <td>203</td>
 
       <td>203</td>
 +
      <td>204</td>
 
       <td>1 {{!}} 0</td>
 
       <td>1 {{!}} 0</td>
 
         <td>Turns WiFi ON or OFF</td>
 
         <td>Turns WiFi ON or OFF</td>
Line 48: Line 54:
 
       <td>Switch mobile data connection (ON/OFF<span class="asterisk">*</span>)</td>
 
       <td>Switch mobile data connection (ON/OFF<span class="asterisk">*</span>)</td>
 
       <td>204</td>
 
       <td>204</td>
 +
      <td>205</td>
 
       <td>1 {{!}} 0</td>
 
       <td>1 {{!}} 0</td>
 
         <td>Turns mobile data connection ON or OFF</td>
 
         <td>Turns mobile data connection ON or OFF</td>
Line 55: Line 62:
 
       <td>Switch SIM card</td>
 
       <td>Switch SIM card</td>
 
       <td>205</td>
 
       <td>205</td>
 +
      <td>206</td>
 
       <td>1 {{!}} 2 {{!}} 0</td>
 
       <td>1 {{!}} 2 {{!}} 0</td>
 
         <td>Changes the active SIM card slot
 
         <td>Changes the active SIM card slot
Line 69: Line 77:
 
     <td>Reboot</td>
 
     <td>Reboot</td>
 
         <td>206</td>
 
         <td>206</td>
 +
      <td>207</td>
 
         <td>1</td>
 
         <td>1</td>
 
         <td>Reboots the router</td>
 
         <td>Reboots the router</td>
Line 76: Line 85:
 
     <td>Change APN</td>
 
     <td>Change APN</td>
 
         <td>207</td>
 
         <td>207</td>
 +
      <td>208</td>
 
         <td>APN code</td>
 
         <td>APN code</td>
 
         <td>Changes APN. <br> The number of input registers may vary depending on the length of the APN, but the very first byte of the set APN command denotes the number of the SIM card for which to set the APN. This byte should be set to:
 
         <td>Changes APN. <br> The number of input registers may vary depending on the length of the APN, but the very first byte of the set APN command denotes the number of the SIM card for which to set the APN. This byte should be set to:
Line 90: Line 100:
 
       <td> Switch PIN 4 state </td>
 
       <td> Switch PIN 4 state </td>
 
       <td>325</td>
 
       <td>325</td>
 +
      <td>326</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Toggles PIN 4 ON or OFF</td>
 
       <td>Toggles PIN 4 ON or OFF</td>
Line 98: Line 109:
 
       <td> Switch PIN 3 state </td>
 
       <td> Switch PIN 3 state </td>
 
       <td>324</td>
 
       <td>324</td>
 +
      <td>325</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Toggles PIN 3 ON or OFF, when output is selected</td>
 
       <td>Toggles PIN 3 ON or OFF, when output is selected</td>
Line 104: Line 116:
 
       <td> Switch PIN 4 state </td>
 
       <td> Switch PIN 4 state </td>
 
       <td>325</td>
 
       <td>325</td>
 +
      <td>326</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Toggles PIN 4 ON or OFF, when output is selected</td>
 
       <td>Toggles PIN 4 ON or OFF, when output is selected</td>
Line 110: Line 123:
 
       <td> Switch PIN 3 direction </td>
 
       <td> Switch PIN 3 direction </td>
 
       <td>324</td>
 
       <td>324</td>
 +
      <td>325</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Toggles PIN 3 direction between INPUT (0) or OUTPUT (1)</td>
 
       <td>Toggles PIN 3 direction between INPUT (0) or OUTPUT (1)</td>
Line 116: Line 130:
 
       <td> Switch PIN 4 direction </td>
 
       <td> Switch PIN 4 direction </td>
 
       <td>325</td>
 
       <td>325</td>
 +
      <td>326</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Toggles PIN 4 direction between INPUT (0) or OUTPUT (1)</td>
 
       <td>Toggles PIN 4 direction between INPUT (0) or OUTPUT (1)</td>
Line 124: Line 139:
 
       <td> Switch PIN 2 state </td>
 
       <td> Switch PIN 2 state </td>
 
       <td>336</td>
 
       <td>336</td>
 +
      <td>337</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Toggles PIN 2 ON or OFF</td>
 
       <td>Toggles PIN 2 ON or OFF</td>
Line 132: Line 148:
 
       <td> Switch relay state </td>
 
       <td> Switch relay state </td>
 
       <td>337</td>
 
       <td>337</td>
 +
      <td>338</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Turns Relay ON or OFF</td>
 
       <td>Turns Relay ON or OFF</td>
Line 138: Line 155:
 
       <td> Switch latching relay state </td>
 
       <td> Switch latching relay state </td>
 
       <td>338</td>
 
       <td>338</td>
 +
      <td>339</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Turns latching relay ON or OFF</td>
 
       <td>Turns latching relay ON or OFF</td>
Line 144: Line 162:
 
       <td>Switch PIN 1 (Dry/Wet) state</td>
 
       <td>Switch PIN 1 (Dry/Wet) state</td>
 
       <td>343</td>
 
       <td>343</td>
 +
      <td>344</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Switches PIN 1 state to 0 (dry) / 1 (wet)</td>
 
       <td>Switches PIN 1 state to 0 (dry) / 1 (wet)</td>
Line 150: Line 169:
 
       <td>Switch PIN 2(Dry/Wet) state</td>
 
       <td>Switch PIN 2(Dry/Wet) state</td>
 
       <td>344</td>
 
       <td>344</td>
 +
      <td>345</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Switches PIN 2 state to 0 (dry) / 1 (wet)</td>
 
       <td>Switches PIN 2 state to 0 (dry) / 1 (wet)</td>
Line 156: Line 176:
 
       <td> Switch ACL activity </td>
 
       <td> Switch ACL activity </td>
 
       <td>345</td>
 
       <td>345</td>
 +
      <td>346</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Turns ACL activity ON or OFF</td>
 
       <td>Turns ACL activity ON or OFF</td>
Line 162: Line 183:
 
       <td> Switch ACL ON/OFF </td>
 
       <td> Switch ACL ON/OFF </td>
 
       <td>346</td>
 
       <td>346</td>
 +
      <td>347</td>
 
       <td>1{{!}}0</td>
 
       <td>1{{!}}0</td>
 
       <td>Turns ACL functionality ON or OFF</td>
 
       <td>Turns ACL functionality ON or OFF</td>

Revision as of 19:13, 23 December 2021

Set Parameters


The Modbus daemon can also set some device parameters.

value to set register address register address 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 324 325 1|0 Toggles PIN 3 direction between INPUT (0) or OUTPUT (1)
Switch PIN 4 direction 325 326 1|0 Toggles PIN 4 direction between INPUT (0) or OUTPUT (1)