Template:Networking rutos manual modbus modbus tcp set parameters table: Difference between revisions
(2 intermediate revisions by one other user not shown) | |||
Line 26: | Line 26: | ||
</tr> | </tr> | ||
{{#switch:{{{name}}} | {{#switch:{{{name}}} | ||
|RUT955|RUT956= | | 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 53: | Line 52: | ||
{{#ifeq:{{{mobile}}}|1| | {{#ifeq:{{{mobile}}}|1| | ||
<tr> | <tr> | ||
<td>Switch mobile data connection (ON/OFF<span class="asterisk">*</span>)</td> | |||
<td>204</td> | |||
<td>205</td> | |||
<td>1 {{!}} 0</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>205</td> | |||
<td>206</td> | |||
<td>1 {{!}} 2 {{!}} 0</td> | |||
<td>Changes the active SIM card slot | |||
<ul> | |||
<li>1 - switch to SIM1</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> | |||
</ul> | |||
</td> | |||
</tr> | </tr> | ||
|}} | |}} | ||
|}} | |}} | ||
<tr> | <tr> | ||
<td>Reboot</td> | |||
<td>206</td> | <td>206</td> | ||
<td>207</td> | <td>207</td> | ||
Line 92: | Line 91: | ||
<li>1 - to set APN for SIM1</li> | <li>1 - to set APN for SIM1</li> | ||
<li>2 - to set APN for SIM2</li> | <li>2 - to set APN for SIM2</li> | ||
</ul> | |||
</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 101: | ||
<td>1{{!}}0</td> | <td>1{{!}}0</td> | ||
<td>Toggles PIN 3 ON or OFF</td> | <td>Toggles PIN 3 ON or OFF</td> | ||
</tr> | </tr>|}} | ||
|}} | |||
{{#switch:{{{series}}} | {{#switch:{{{series}}} | ||
|RUTX|RUT2|RUT2M|RUT9|RUT9M|TRB2= {{#ifeq:{{{name}}}|RUTXR1|| | |RUTX|RUT2|RUT2M|RUT9|RUT9M|TRB2= {{#ifeq:{{{name}}}|RUTXR1|| | ||
Line 147: | Line 144: | ||
}} | }} | ||
{{#ifeq:{{{series}}}|TRB2| | {{#ifeq:{{{series}}}|TRB2| | ||
<tr> | |||
<td> Switch PIN 2 state </td> | |||
<td>336</td> | |||
<td>337</td> | |||
<td>1{{!}}0</td> | |||
<td>Toggles PIN 2 ON or OFF</td> | |||
</tr> | |||
<tr> | <tr> | ||
<td> Switch PIN 3 direction </td> | <td> Switch PIN 3 direction </td> | ||
Line 160: | Line 164: | ||
<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> | ||
</tr> | </tr> | ||
|}} | |}} | ||
{{# | {{#ifeq:{{{name}}}|TRB141| | ||
<tr> | <tr> | ||
<td> Switch relay state </td> | <td> Switch relay state </td> | ||
Line 205: | Line 202: | ||
<td>Turns ACL activity ON or OFF</td> | <td>Turns ACL activity ON or OFF</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> Switch ACL | <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 | <td>Turns ACL functionality ON or OFF</td> | ||
</tr> | |||
|}} | |}} | ||
{{#ifeq:{{{wifi}}}|1| | {{#ifeq:{{{wifi}}}|1| | ||
Line 221: | 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= | |||
|RUTX|TCR1= | |||
<tr> | <tr> | ||
<td>Switch 5GHz WiFi ON/OFF</td> | <td>Switch 5GHz WiFi ON/OFF</td> | ||
Line 230: | 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> | <tr> |
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 |