Template:Networking rutos manual modbus: Difference between revisions
no edit summary
Gytispieze (talk | contribs) m (Text replacement - "\{\{Template: Networking_rutos_manual_fw_disclosure (.*) (.*) (.*) (.*) \}\}" to "{{Template: Networking_device_manual_fw_disclosure | series = {{{series}}} | name = {{{name}}} | fw_version ={{Template: Networking_device_manual_latest_fw | series = {{{series}}} | name = {{{name}}} }} }}") |
No edit summary |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
}} | }} | ||
}} | }} | ||
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} Modbus (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: | {{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} Modbus (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}} | ||
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} Modbus (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: | {{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} Modbus (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}} | ||
==Summary== | ==Summary== | ||
Line 17: | Line 17: | ||
| RUTX = | | RUTX = | ||
| RUTM = | | RUTM = | ||
| RUTC = | |||
| TRB1 = | | TRB1 = | ||
| TRB2 = | | TRB2 = | ||
| TRB2M = | |||
| RUT9|RUT9M = | | RUT9|RUT9M = | ||
| RUT14X = | |||
| #default = | | #default = | ||
<u><b> | <u><b> | ||
Line 111: | Line 114: | ||
After clicking 'Add' you will be redirected to the newly added server instance configuration page. | After clicking 'Add' you will be redirected to the newly added server instance configuration page. | ||
[[File:Networking_rutos_manual_modbus_modbus_serial_server_configuration_rs232_{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|1|0}} | [[File:Networking_rutos_manual_modbus_modbus_serial_server_configuration_rs232_{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|1|0}}_v2.png|border|class=tlt-border]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 138: | Line 141: | ||
<td>integer [0..255]; default: <b>1</b></td> | <td>integer [0..255]; default: <b>1</b></td> | ||
<td>Specifies which serial port will be used for serial communication.</td> | <td>Specifies which serial port will be used for serial communication.</td> | ||
</tr> | |||
<tr> | |||
<td>Mobile Data type</td> | |||
<td>Bytes {{!}} Kilobytes {{!}} Megabytes; default: <b>Bytes</b></td> | |||
<td>Selects mobile data unit representation type.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 146: | Line 154: | ||
<tr> | <tr> | ||
<td>Data bits</td> | <td>Data bits</td> | ||
<td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{# | <td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{#switch:{{{series}}}|TRB2|TRB2M=|#default=5 {{!}} 6 {{!}}}} 7 {{!}} |}}8; default: <b>8</b></td> | ||
<td>Number of data bits for each character.</td> | <td>Number of data bits for each character.</td> | ||
</tr> | </tr> | ||
Line 225: | Line 233: | ||
==Modbus TCP Client== | ==Modbus TCP Client== | ||
A <b>Modbus Client</b> device can request data from Modbus servers. The Modbus TCP Client section is used to configure Modbus TCP servers and enable Client. | A <b>Modbus Client</b> device can request data from Modbus servers. The Modbus TCP Client section is used to configure Modbus TCP servers and enable Client. | ||
[[File: | Notice the Global section config. It is used to outright turn the service off or on if any active configurations are present. | ||
[[File:Networking rutos manual modbus modbus tcp client modbus tcp server devices global button v1.png|border|class=tlt-border]] | |||
Clicking the Cog icon opens a modal window. The global configuration slider can be set and it's state saved. | |||
[[File:Networking rutos manual modbus modbus tcp client modbus tcp server devices global config modal v1.png|border|class=tlt-border]] | |||
By default, the server list is empty and client is disabled. To add a new server, click the 'Add' button | |||
[[File:Networking_rutos_manual_modbus_modbus_tcp_client_modbus_tcp_server_devices_add_button_v2.png|border|class=tlt-border]] | |||
After clicking 'Add' you will be redirected to the newly added server's configuration page. | After clicking 'Add' you will be redirected to the newly added server's configuration page. | ||
Line 327: | Line 345: | ||
<tr> | <tr> | ||
<td>Data type</td> | <td>Data type</td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool {{!}} PDU; default: <b>16bit INT, high byte first</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool {{!}} PDU; default: <b>16bit INT, high byte first</b></td> | ||
<td>Defines how read data will be stored.</td> | <td>Defines how read data will be stored.</td> | ||
</tr> | </tr> | ||
Line 377: | Line 395: | ||
The figure below is an example of the Alarms Configuration list. To create a new Alarm, click the 'Add' button. | The figure below is an example of the Alarms Configuration list. To create a new Alarm, click the 'Add' button. | ||
[[File: | [[File:Networking_rutos_manual_modbus_modbus_tcp_client_alarms_configuration_add_button_v2.png|border|class=tlt-border]] | ||
After adding the Alarm you should be redirected to its configuration page which should look similar to this: | After adding the Alarm you should be redirected to its configuration page which should look similar to this: | ||
Line 401: | Line 419: | ||
<tr> | <tr> | ||
<td>Compared condition data type</td> | <td>Compared condition data type</td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | ||
<td>Select data type that will be used for checking conditions.</td> | <td>Select data type that will be used for checking conditions.</td> | ||
</tr> | </tr> | ||
Line 436: | Line 454: | ||
<tr> | <tr> | ||
<td>Action</td> | <td>Action</td> | ||
<td>{{#ifeq:{{{mobile}}}|1|<span style="color: #0054a6;">SMS</span> {{!}}|}} <span style="color: purple;">MODBUS Write Request</span>{{#switch:{{{series}}}|TCR1 | <td>Ubus event {{!}} {{#ifeq:{{{mobile}}}|1|<span style="color: #0054a6;">SMS</span> {{!}}|}} <span style="color: purple;">MODBUS Write Request</span>{{#switch:{{{series}}}|TCR1|OTD140|OTD160|OTD500|RUT14X=|#default= {{!}} <span style="color: green;">Trigger output</span>}} | <span style="color: red;">MQTT message</span>; default: <b>MODBUS Write Request</b></td> | ||
<td>Action that will be taken if the condition is met. Possible actions: | <td>Action that will be taken if the condition is met. Possible actions: | ||
<ul>{{#ifeq: {{{mobile}}} | 1 | | <ul>{{#ifeq: {{{mobile}}} | 1 | | ||
<li><b>SMS</b> - sends and SMS message to a specified recipient(s).</li>|}} | <li><b>SMS</b> - sends and SMS message to a specified recipient(s).</li>|}} | ||
<li><b>Modbus Request</b> - sends a Modbus Write request to a specified server.</li> | <li><b>Modbus Request</b> - sends a Modbus Write request to a specified server.</li> | ||
{{#switch:{{{series}}}|TCR1 | {{#switch:{{{series}}}|TCR1|OTD140|OTD160|OTD500|RUT14X=|#default=<li><b>Trigger output</b> - changes state of selected I/O output pin.</li>}} | ||
</ul> | </ul> | ||
</td> | </td> | ||
Line 482: | Line 500: | ||
<tr> | <tr> | ||
<td><span style="color: purple;">MODBUS Write Request: Executed action data type</span></td> | <td><span style="color: purple;">MODBUS Write Request: Executed action data type</span></td> | ||
<td>8bit INT | 8bit UINT | 16bit INT, high byte first | 16bit INT, low byte first | 16bit UINT, high byte first | 16bit UINT, low byte first | 32bit float (various Byte order) | 32bit INT (various Byte order) | 32bit UNIT (various Byte order) | <td>8bit INT | 8bit UINT | 16bit INT, high byte first | 16bit INT, low byte first | 16bit UINT, high byte first | 16bit UINT, low byte first | 32bit float (various Byte order) | 32bit INT (various Byte order) | 32bit UNIT (various Byte order) 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII | Hex | Bool; default: <b>Bool</b></td> | ||
<td>Select data type that will be used for executing action.</td> | <td>Select data type that will be used for executing action.</td> | ||
</tr> | </tr> | ||
Line 494: | Line 512: | ||
<td>integer [0..65535]; default: <b>none</b></td> | <td>integer [0..65535]; default: <b>none</b></td> | ||
<td>Register/Coil values to be written (multiple values must be separated by space character).</td> | <td>Register/Coil values to be written (multiple values must be separated by space character).</td> | ||
</tr>{{#switch:{{{series}}}|TCR1 | </tr>{{#switch:{{{series}}}|TCR1|OTD140|OTD160|OTD500|RUT14X=|#default= | ||
<tr> | <tr> | ||
<td><span style="color: green;">Trigger output: Output</span></td>{{#switch:{{{series}}} | <td><span style="color: green;">Trigger output: Output</span></td>{{#switch:{{{series}}} | ||
| RUTX|RUT2 =<td> | | RUTX|RUT2|RUT2M =<td>Output (4); default: <b>Output (4)</b></td> | ||
| TRB1| | | TRB1={{#ifeq:{{{name}}}|TRB141|<td>Configurable Input/Output (3) {{!}} Configurable Input/Output (4) {{!}} Relay (3,4,5) {{!}} Latching Relay (11,12,13); default: <b>Configurable Input/Output (3)</b></td>|<td>Configurable Input/Output (3) {{!}} Configurable Input/Output (4); default: <b>Configurable Input/Output (3)</b></td>}}|RUT30X|RUT301|RUT36X|RUT361|TRB5 =<td>Configurable Input/Output (3) {{!}} Configurable Input/Output (4); default: <b>Configurable Input/Output (3)</b></td> | ||
| RUT9 =<td> | | TRB2|TRB2M =<td>Configurable Input/Output (2) {{!}} Configurable Input/Output (3) {{!}} Configurable Input/Output (4); default: <b>Configurable Input/Output (2)</b></td> | ||
| RUT9|RUT9M =<td>Output (4) {{!}} Isolated Output (3,4,8) {{!}} Relay (5,10); default: <b>Output (4)</b></td>}} | |||
<td>Selects which output will be triggered.</td> | <td>Selects which output will be triggered.</td> | ||
</tr> | </tr> | ||
Line 542: | Line 561: | ||
<td>At most once (0) | At least once (1) | Exactly once (2); default: <b>At most once (0)</b></td> | <td>At most once (0) | At least once (1) | Exactly once (2); default: <b>At most once (0)</b></td> | ||
<td>A period of time (in seconds) which has to pass after a trigger event before this Action is executed.</td> | <td>A period of time (in seconds) which has to pass after a trigger event before this Action is executed.</td> | ||
</tr> | |||
<tr> | |||
<td><span style="color: red;">MQTT message: Use root CA</span></td> | |||
<td>off | on; default: <b>off</b></td> | |||
<td>Use root CA for verifying the servers certificates </td> | |||
</tr> | |||
<tr> | |||
<td><span style="color: red;">MQTT message: Use TLS</span></td> | |||
<td>off | on; default: <b>off</b></td> | |||
<td>Turns the use of TLS/SSL for this MQTT connection on or off.</td> | |||
</tr><tr> | |||
<td><span style="color: red;">MQTT message: Use credentials</span></td> | |||
<td>off | on; default: <b>off</b></td> | |||
<td>Turns the use of username and password for this MQTT connection on or off.</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 549: | Line 582: | ||
The <b>Modbus Serial Client</b> page is used to configure the device as a Modbus RTU Client. Modbus RTU (remote terminal unit) is a serial communication protocol mainly used in communication via serial interfaces. | The <b>Modbus Serial Client</b> page is used to configure the device as a Modbus RTU Client. Modbus RTU (remote terminal unit) is a serial communication protocol mainly used in communication via serial interfaces. | ||
[[File: | [[File:Networking_rutos_manual_modbus_modbus_serial_client_v2.png|border|class=tlt-border]] | ||
<!--<u><b>Note:</b> Modbus Serial Client is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>--> | <!--<u><b>Note:</b> Modbus Serial Client is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>--> | ||
Notice the Global section config. It is used to outright turn the service off or on if any active configurations are present. | |||
[[File:Networking rutos manual modbus modbus serial client global button v1.png|border|class=tlt-border]] | |||
Clicking the Cog icon opens a modal window. The global configuration slider can be set and it's state saved. | |||
[[File:Networking rutos manual modbus modbus tcp client modbus tcp server devices global config modal v1.png|border|class=tlt-border]] | |||
===Modbus Serial Device Configuration=== | ===Modbus Serial Device Configuration=== | ||
Line 598: | Line 639: | ||
<tr> | <tr> | ||
<td>Data bits</td> | <td>Data bits</td> | ||
<td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{# | <td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{#switch:{{{series}}}|TRB2|TRB2M=|#default=5 {{!}} 6 {{!}}}} 7 {{!}} |}}8; default: <b>8</b></td> | ||
<td>Number of data bits for each character.</td> | <td>Number of data bits for each character.</td> | ||
</tr> | </tr> | ||
Line 728: | Line 769: | ||
<tr> | <tr> | ||
<td>Data type</td> | <td>Data type</td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool {{!}} PDU; default: <b>16bit INT, high byte first</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool {{!}} PDU; default: <b>16bit INT, high byte first</b></td> | ||
<td>Defines how read data will be stored.</td> | <td>Defines how read data will be stored.</td> | ||
</tr> | </tr> | ||
Line 802: | Line 843: | ||
<tr> | <tr> | ||
<td>Compared condition data type</td> | <td>Compared condition data type</td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | ||
<td>Select data type that will be used for checking conditions.</td> | <td>Select data type that will be used for checking conditions.</td> | ||
</tr> | </tr> | ||
Line 837: | Line 878: | ||
<tr> | <tr> | ||
<td>Action</td> | <td>Action</td> | ||
<td>{{#ifeq:{{{mobile}}}|1|SMS {{!}}|}} MODBUS Write Request{{#switch:{{{series}}}|TCR1 | <td>{{#ifeq:{{{mobile}}}|1|SMS {{!}}|}} MODBUS Write Request{{#switch:{{{series}}}|TCR1|OTD140|OTD160|OTD500|RUT14X=|#default= {{!}} <span style="color: green;">Trigger output</span>}}; default: <b>MODBUS Write Request</b></td> | ||
<td>Action that will be taken if the condition is met. Possible actions: | <td>Action that will be taken if the condition is met. Possible actions: | ||
<ul>{{#ifeq: {{{mobile}}} | 1 | | <ul>{{#ifeq: {{{mobile}}} | 1 | | ||
<li><b>SMS</b> - sends and SMS message to a specified recipient(s).</li>|}} | <li><b>SMS</b> - sends and SMS message to a specified recipient(s).</li>|}} | ||
<li><b>Modbus Request</b> - sends a Modbus Write request to a specified server.</li> | <li><b>Modbus Request</b> - sends a Modbus Write request to a specified server.</li> | ||
{{#switch:{{{series}}}|TCR1 | {{#switch:{{{series}}}|TCR1|OTD140|OTD160|OTD500|RUT14X=|#default=<li><b>Trigger output</b> - changes state of selected I/O output pin.</li>}} | ||
</ul> | </ul> | ||
</td> | </td> | ||
Line 873: | Line 914: | ||
<tr> | <tr> | ||
<td><span style="color: purple;">MODBUS Write Request: Executed action data type</span></td> | <td><span style="color: purple;">MODBUS Write Request: Executed action data type</span></td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UNIT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>Bool</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UNIT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>Bool</b></td> | ||
<td>Select data type that will be used for executing action.</td> | <td>Select data type that will be used for executing action.</td> | ||
</tr> | </tr> | ||
Line 885: | Line 926: | ||
<td>integer [0..65535]; default: <b>none</b></td> | <td>integer [0..65535]; default: <b>none</b></td> | ||
<td>Register/Coil values to be written (multiple values must be separated by space character).</td> | <td>Register/Coil values to be written (multiple values must be separated by space character).</td> | ||
</tr>{{#switch:{{{series}}}|TCR1 | </tr>{{#switch:{{{series}}}|TCR1|OTD140|OTD160|OTD500|RUT14X=|#default= | ||
<tr> | <tr> | ||
<td><span style="color: green;">Trigger output: Output</span></td>{{#switch:{{{series}}} | <td><span style="color: green;">Trigger output: Output</span></td>{{#switch:{{{series}}} | ||
| RUTX|RUT2 =<td> | | RUTX|RUT2|RUT2M =<td>Output (4); default: <b>Output (4)</b></td> | ||
| TRB1| | | TRB1={{#ifeq:{{{name}}}|TRB141|<td>Configurable Input/Output (3) {{!}} Configurable Input/Output (4) {{!}} Relay (3,4,5) {{!}} Latching Relay (11,12,13); default: <b>Configurable Input/Output (3)</b></td>|<td>Configurable Input/Output (3) {{!}} Configurable Input/Output (4); default: <b>Configurable Input/Output (3)</b></td>}}|RUT30X|RUT301|RUT36X|RUT361|TRB5 =<td>Configurable Input/Output (3) {{!}} Configurable Input/Output (4); default: <b>Configurable Input/Output (3)</b></td> | ||
| RUT9 =<td> | | TRB2|TRB2M =<td>Configurable Input/Output (2) {{!}} Configurable Input/Output (3) {{!}} Configurable Input/Output (4); default: <b>Configurable Input/Output (2)</b></td> | ||
| RUT9|RUT9M =<td>Output (4) {{!}} Isolated Output (3,4,8) {{!}} Relay (5,10); default: <b>Output (4)</b></td>}} | |||
<td>Selects which output will be triggered.</td> | <td>Selects which output will be triggered.</td> | ||
</tr> | </tr> | ||
Line 1,029: | Line 1,071: | ||
<tr> | <tr> | ||
<td>Data type</td> | <td>Data type</td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | ||
<td>Defines how read data will be stored.</td> | <td>Defines how read data will be stored.</td> | ||
</tr> | </tr> | ||
Line 1,103: | Line 1,145: | ||
<tr> | <tr> | ||
<td>Compared condition data type</td> | <td>Compared condition data type</td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UINT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>16bit INT, high byte first</b></td> | ||
<td>Select data type that will be used for checking conditions.</td> | <td>Select data type that will be used for checking conditions.</td> | ||
</tr> | </tr> | ||
Line 1,173: | Line 1,215: | ||
<tr> | <tr> | ||
<td><span style="color: purple;">MODBUS Write Request: Executed action data type</span></td> | <td><span style="color: purple;">MODBUS Write Request: Executed action data type</span></td> | ||
<td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UNIT (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>Bool</b></td> | <td>8bit INT {{!}} 8bit UINT {{!}} 16bit INT, high byte first {{!}} 16bit INT, low byte first {{!}} 16bit UINT, high byte first {{!}} 16bit UINT, low byte first {{!}} 32bit float (various Byte order) {{!}} 32bit INT (various Byte order) {{!}} 32bit UNIT (various Byte order) {{!}} 64bit INT (various Byte order) {{!}} 64bit UINT (various Byte order) {{!}} 64bit float (various Byte order) {{!}} ASCII {{!}} Hex {{!}} Bool; default: <b>Bool</b></td> | ||
<td>Select data type that will be used for executing action.</td> | <td>Select data type that will be used for executing action.</td> | ||
</tr> | </tr> | ||
Line 1,344: | Line 1,386: | ||
<tr> | <tr> | ||
<td>Data bits</td> | <td>Data bits</td> | ||
<td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{# | <td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{#switch:{{{series}}}|TRB2|TRB2M=|#default=5 {{!}} 6 {{!}}}} 7 {{!}} |}}8; default: <b>8</b></td> | ||
<td>Number of data bits for each character.</td> | <td>Number of data bits for each character.</td> | ||
</tr> | </tr> | ||
Line 1,496: | Line 1,538: | ||
After this you should be redirected to instance's configuration page which should look similar to this: | After this you should be redirected to instance's configuration page which should look similar to this: | ||
[[File:Networking_rutos_manual_modbus_modbus_tcp_over_serial_gateway_configuration_rs232_{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|1|0}} | [[File:Networking_rutos_manual_modbus_modbus_tcp_over_serial_gateway_configuration_rs232_{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|1|0}}_v2.png|border|class=tlt-border]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 1,526: | Line 1,568: | ||
<tr> | <tr> | ||
<td>Data bits</td> | <td>Data bits</td> | ||
<td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{#ifeq:{{{series}}}|TRB2||5 {{!}} 6 {{!}}}} 7 {{!}} |}}8; default: <b>8</b></td> | <td>{{#ifeq:{{#expr: {{{rs232}}} or {{{usb}}}}} |1|{{#ifeq:{{{series}}}|TRB2|TRB2M=|#default=5 {{!}} 6 {{!}}}} 7 {{!}} |}}8; default: <b>8</b></td> | ||
<td>Number of data bits for each character.</td> | <td>Number of data bits for each character.</td> | ||
</tr> | </tr> | ||
Line 1,606: | Line 1,648: | ||
Then enter the IP address and save. | Then enter the IP address and save. | ||
[[File: | [[File:Networking_rutos_manual_console_ip_filter_instance_v2.png|border|class=tlt-border]] | ||
|}} | |}} | ||
==See also== | ==See also== | ||
<ul> | <ul> | ||
<li><b>[[ | <li><b>[[Monitoring via Modbus|Monitoring via Modbus]]</b> - detailed examples on how to use Modbus TCP</li> | ||
</ul> | </ul> | ||
[[Category:{{{name}}} Services section]] | [[Category:{{{name}}} Services section]] |