Difference between revisions of "Template:Networking rutos manual modbus modbus tcp set parameters table"
From Teltonika Networks Wiki
Gytispieze (talk | contribs) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
<th width="466">description</th> | <th width="466">description</th> | ||
</tr> | </tr> | ||
+ | <tr> | ||
+ | <td>Hostname</td> | ||
+ | <td>7</td> | ||
+ | <td>Hostname (in decimal form)</td> | ||
+ | <td>Changes hostname</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Device name</td> | ||
+ | <td>71</td> | ||
+ | <td>Device name (in decimal form)</td> | ||
+ | <td>Changes device name</td> | ||
+ | </tr> | ||
+ | {{#ifeq:{{{name}}}|RUT955| | ||
+ | <tr> | ||
+ | <td>Galvanically isolated open collector output status</td> | ||
+ | <td>201</td> | ||
+ | <td>1 {{!}} 0</td> | ||
+ | <td>Toggles DOUT1 ON or OFF</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Relay output status</td> | ||
+ | <td>202</td> | ||
+ | <td>1 {{!}} 0</td> | ||
+ | <td>Toggles DOUT2 ON or OFF</td> | ||
+ | </tr> | ||
+ | |}} | ||
{{#ifeq:{{{wifi}}}|1| | {{#ifeq:{{{wifi}}}|1| | ||
<tr> | <tr> | ||
Line 25: | Line 51: | ||
<td>Turns mobile data connection ON or OFF</td> | <td>Turns mobile data connection ON or OFF</td> | ||
</tr> | </tr> | ||
+ | {{#ifeq:{{{dualsim}}}|1| | ||
<tr> | <tr> | ||
<td>Switch SIM card</td> | <td>Switch SIM card</td> | ||
Line 33: | Line 60: | ||
<li>1 - switch to SIM1</li> | <li>1 - switch to SIM1</li> | ||
<li>2 - switch to SIM2</li> | <li>2 - switch to SIM2</li> | ||
− | <li>0 - switch from the the SIM card opposite of the one currently in use (SIM1 → SIM2 or SIM2 → SIM1</li> | + | <li>0 - switch from the the SIM card opposite of the one currently in use (SIM1 → SIM2 or SIM2 → SIM1)</li> |
</ul> | </ul> | ||
− | + | </td> | |
</tr> | </tr> | ||
+ | |}} | ||
}} | }} | ||
<tr> | <tr> | ||
Line 58: | Line 86: | ||
}} | }} | ||
{{#switch:{{{series}}} | {{#switch:{{{series}}} | ||
− | |RUTX= {{#ifeq:{{{name}}}| RUTXR1|| | + | |RUTX|RUT2|RUT2M|RUT9|TRB2= {{#ifeq:{{{name}}}| RUTXR1|| |
− | + | <tr> | |
<td> Switch PIN 4 state </td> | <td> Switch PIN 4 state </td> | ||
<td>325</td> | <td>325</td> | ||
<td>1{{!}}0</td> | <td>1{{!}}0</td> | ||
− | <td>Toggles PIN 4 ON or OFF | + | <td>Toggles PIN 4 ON or OFF</td> |
</tr> | </tr> | ||
}} | }} | ||
− | | | + | | #default = |
<tr> | <tr> | ||
<td> Switch PIN 3 state </td> | <td> Switch PIN 3 state </td> | ||
Line 78: | Line 106: | ||
<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> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> Switch PIN 3 direction </td> | ||
+ | <td>324</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>325</td> | ||
+ | <td>1{{!}}0</td> | ||
+ | <td>Toggles PIN 4 direction between INPUT (0) or OUTPUT (1)</td> | ||
</tr> | </tr> | ||
}} | }} | ||
− | {{#ifeq:{{{series}}}| | + | {{#ifeq:{{{series}}}|TRB2| |
<tr> | <tr> | ||
− | <td> Switch | + | <td> Switch PIN 2 state </td> |
<td>336</td> | <td>336</td> | ||
<td>1{{!}}0</td> | <td>1{{!}}0</td> | ||
− | <td>Toggles PIN 2 ON or OFF | + | <td>Toggles PIN 2 ON or OFF</td> |
</tr> | </tr> | ||
}} | }} | ||
− | |||
{{#ifeq:{{{name}}}|TRB141| | {{#ifeq:{{{name}}}|TRB141| | ||
<tr> | <tr> | ||
Line 113: | Line 152: | ||
<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> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> Switch ACL activity </td> | ||
+ | <td>345</td> | ||
+ | <td>1{{!}}0</td> | ||
+ | <td>Turns ACL activity ON or OFF</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> Switch ACL ON/OFF </td> | <td> Switch ACL ON/OFF </td> | ||
− | <td> | + | <td>346</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 11:38, 2 December 2021
Set Parameters
The Modbus daemon can also set some device parameters.
value to set | register address | register value | description |
---|---|---|---|
Hostname | 7 | Hostname (in decimal form) | Changes hostname |
Device name | 71 | Device name (in decimal form) | Changes device name |
Reboot | 206 | 1 | Reboots the router |
Switch PIN 3 state | 324 | 1|0 | Toggles PIN 3 ON or OFF, when output is selected |
Switch PIN 4 state | 325 | 1|0 | Toggles PIN 4 ON or OFF, when output is selected |
Switch PIN 3 direction | 324 | 1|0 | Toggles PIN 3 direction between INPUT (0) or OUTPUT (1) |
Switch PIN 4 direction | 325 | 1|0 | Toggles PIN 4 direction between INPUT (0) or OUTPUT (1) |