Difference between revisions of "Template:Networking rutos manual rs232"
Gytispieze (talk | contribs) m (Text replacement - "Template: Networking_rutos_manual_latest_fw" to "Template: Networking_device_manual_latest_fw") Tags: Mobile edit Mobile web edit |
|||
(39 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Template: | + | {{Template:Networking_rutos_manual_fw_disclosure |
− | | | + | | fw_version = {{{series}}}_R_00.02.04.1 |
− | + | | series = {{{series}}} | |
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
__TOC__ | __TOC__ | ||
Line 18: | Line 10: | ||
This manual page provides an overview of the RS232 page in {{{name}}} devices. | This manual page provides an overview of the RS232 page in {{{name}}} devices. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==RS232 Configuration== | ==RS232 Configuration== | ||
Line 129: | Line 15: | ||
The <b>RS232 Configuration</b> section is used to set up the main operating parameters and the serial type of the RS232 connector. | The <b>RS232 Configuration</b> section is used to set up the main operating parameters and the serial type of the RS232 connector. | ||
− | [[File: | + | [[File:Networking_rutos_manual_rs232_rs232_configuration.png|border|class=tlt-border]] |
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 144: | Line 30: | ||
<tr> | <tr> | ||
<td>Baud rate</td> | <td>Baud rate</td> | ||
− | <td> | + | <td>300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 | 230400 | 460800 | 921600 | 1000000 | 3000000 ; default: <b>300</b></td> |
− | <td>Data rate for serial data transmission (in bits per second | + | <td>Data rate for serial data transmission (in bits per second).</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Data bits</td> | <td>Data bits</td> | ||
− | <td> | + | <td>5 | 6 | 7 | 8; default: <b>7</b></td> |
<td>Number of data bits for each character.</td> | <td>Number of data bits for each character.</td> | ||
</tr> | </tr> | ||
Line 180: | Line 66: | ||
<tr> | <tr> | ||
<td>Serial type</td> | <td>Serial type</td> | ||
− | <td>[[#Console|Console]] | [[#Over IP|Over IP | + | <td>[[#Console|Console]] | [[#Over IP|Over IP]] | [[#Modbus gateway|Modbus gateway]]; default: <b>Console</b></td> |
<td>Specifies the serial connection type.<br><b>Look to the sections below for information on different RS232 serial type options.</b></td> | <td>Specifies the serial connection type.<br><b>Look to the sections below for information on different RS232 serial type options.</b></td> | ||
</tr> | </tr> | ||
Line 189: | Line 75: | ||
<b>Console</b> mode requires no further configuration than the settings above and is used as a direct-access method to the device's shell interface. For this purpose you may want use such applications as PuTTY on Windows and microcom, minicom, picocom or similar applications on Linux. | <b>Console</b> mode requires no further configuration than the settings above and is used as a direct-access method to the device's shell interface. For this purpose you may want use such applications as PuTTY on Windows and microcom, minicom, picocom or similar applications on Linux. | ||
− | [[File: | + | [[File:Networking_rutos_manual_usb_tools_usb_to_serial_console_v1.png|border|class=tlt-border]] |
===Over IP=== | ===Over IP=== | ||
Line 195: | Line 81: | ||
The <b>Over IP</b> serial type is used to manage serial connections over a TCP/IP network. | The <b>Over IP</b> serial type is used to manage serial connections over a TCP/IP network. | ||
− | [[File: | + | [[File:Networking_rutos_manual_usb_tools_usb_to_serial_over_ip_v1.png|border|class=tlt-border]] |
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
<tr> | <tr> | ||
− | <th | + | <th>Field</th> |
<th>Value</th> | <th>Value</th> | ||
<th>Description</th> | <th>Description</th> | ||
Line 205: | Line 91: | ||
<tr> | <tr> | ||
<td>Protocol</td> | <td>Protocol</td> | ||
− | <td | + | <td>TCP | UDP; default: <b>TCP</b></td> |
<td>Protocol used in the communication process.</td> | <td>Protocol used in the communication process.</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Mode</td> | <td>Mode</td> | ||
− | <td><span style="color: red;">Server</span> | <span style="color: purple;">Client</span> | | + | <td><span style="color: red;">Server</span> | <span style="color: purple;">Client</span> | Bidirect; default: <b>Server</b></td> |
<td>This device's role in the connection: | <td>This device's role in the connection: | ||
<ul> | <ul> | ||
Line 235: | Line 116: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td><span style="color: red;">Server settings | + | <td><span style="color: red;">Server settings</span>: Timeout (s)</td> |
− | <td>integer | + | <td>integer; default: <b>none</b></td> |
− | <td>Specifies an inactivity time limit (in | + | <td>Specifies an inactivity time limit (in second) after which an inactive clients is disconnected.</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | + | <td><span style="color: red;">Server settings</span>: Open port automatically</td> | |
− | + | <td>off | on; default: <b>on</b></td> | |
− | + | <td>Automatically adds a traffic rule in the firewall configuration to open the required port for NTRIP communication.</td> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td><span style="color: red;">Server settings | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 282: | Line 131: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td><span style="color: | + | <td><span style="color: red;">Client settings</span>: Port</td> |
<td>integer [0..65535]; default: <b>none</b></td> | <td>integer [0..65535]; default: <b>none</b></td> | ||
<td>Server's listening port number.</td> | <td>Server's listening port number.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td><span style="color: | + | <td><span style="color: red;">Client settings</span>: Reconnect interval (s)</td> |
<td>integer; default: <b>none</b></td> | <td>integer; default: <b>none</b></td> | ||
<td>Time period (in seconds) between reconnection attempts in case a connection fails.</td> | <td>Time period (in seconds) between reconnection attempts in case a connection fails.</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Echo</td> | <td>Echo</td> | ||
<td>off | on; default: <b>off</b></td> | <td>off | on; default: <b>off</b></td> | ||
− | <td> | + | <td>Turn RS232 echo on or off.</td> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
===Modbus gateway=== | ===Modbus gateway=== | ||
Line 364: | Line 152: | ||
The <b>Modbus gateway</b> serial type allows redirecting TCP data coming to a specified port to an RTU specified by the Slave ID. The Slave ID can be specified by the user or be obtained directly from the Modbus header. | The <b>Modbus gateway</b> serial type allows redirecting TCP data coming to a specified port to an RTU specified by the Slave ID. The Slave ID can be specified by the user or be obtained directly from the Modbus header. | ||
− | [[File: | + | [[File:Networking_rutos_manual_usb_tools_usb_to_serial_modbus_gateway_v1.png|border|class=tlt-border]] |
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
Line 400: | Line 188: | ||
<td>Echo</td> | <td>Echo</td> | ||
<td>off | on; default: <b>off</b></td> | <td>off | on; default: <b>off</b></td> | ||
− | <td> | + | <td>Turn RS232 echo on or off.</td> |
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:{{{name}}} Services section]] | [[Category:{{{name}}} Services section]] |
Revision as of 08:49, 3 July 2020
Template:Networking rutos manual fw disclosure
Summary
The RS232 page is used to configure the operating parameter of RS232 serial connector.
This manual page provides an overview of the RS232 page in {{{name}}} devices.
RS232 Configuration
The RS232 Configuration section is used to set up the main operating parameters and the serial type of the RS232 connector.
Field | Value | Description |
---|---|---|
Enabled | off | on; default: off | Turns the RS232 service on or off. |
Baud rate | 300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 | 230400 | 460800 | 921600 | 1000000 | 3000000 ; default: 300 | Data rate for serial data transmission (in bits per second). |
Data bits | 5 | 6 | 7 | 8; default: 7 | Number of data bits for each character. |
Parity | None | Odd | Even; default: None | In serial transmission, parity is a method of detecting errors. An extra data bit is sent with each data character, arranged so that the number of 1 bits in each character, including the parity bit, is always odd or always even. If a byte is received with the wrong number of 1s, then it must have been corrupted. However, an even number of errors can pass the parity check.
|
Stop bits | 1 | 2; default: 1 | Stop bits sent at the end of every character allow the receiving signal hardware to detect the end of a character and to resynchronise with the character stream. Electronic devices usually use one stop bit. Two stop bits are required if slow electromechanical devices are used. |
Flow control | None | RTS/CTS | Xon/Xoff; default: None | In many circumstances a transmitter might be able to send data faster than the receiver is able to process it. To cope with this, serial lines often incorporate a "handshaking" method, usually distinguished between hardware and software handshaking.
|
Serial type | Console | Over IP | Modbus gateway; default: Console | Specifies the serial connection type. Look to the sections below for information on different RS232 serial type options. |
Console
Console mode requires no further configuration than the settings above and is used as a direct-access method to the device's shell interface. For this purpose you may want use such applications as PuTTY on Windows and microcom, minicom, picocom or similar applications on Linux.
File:Networking rutos manual usb tools usb to serial console v1.png
Over IP
The Over IP serial type is used to manage serial connections over a TCP/IP network.
File:Networking rutos manual usb tools usb to serial over ip v1.png
Field | Value | Description |
---|---|---|
Protocol | TCP | UDP; default: TCP | Protocol used in the communication process. |
Mode | Server | Client | Bidirect; default: Server | This device's role in the connection:
|
No leading zeros | off | on; default: off | When checked, indicates that the first hex zeros should be skipped. |
Server settings: Port | integer [0..65535]; default: none | Internal port number used to listen for incoming connections. |
Server settings: Timeout (s) | integer; default: none | Specifies an inactivity time limit (in second) after which an inactive clients is disconnected. |
Server settings: Open port automatically | off | on; default: on | Automatically adds a traffic rule in the firewall configuration to open the required port for NTRIP communication. |
Client settings: Server Address | ip | host; default: none | IP address or hostname of the server that this client will connect to. |
Client settings: Port | integer [0..65535]; default: none | Server's listening port number. |
Client settings: Reconnect interval (s) | integer; default: none | Time period (in seconds) between reconnection attempts in case a connection fails. |
Echo | off | on; default: off | Turn RS232 echo on or off. |
Modbus gateway
The Modbus gateway serial type allows redirecting TCP data coming to a specified port to an RTU specified by the Slave ID. The Slave ID can be specified by the user or be obtained directly from the Modbus header.
File:Networking rutos manual usb tools usb to serial modbus gateway v1.png
Field | Value | Description |
---|---|---|
Listening IP | ip; default: 0.0.0.0 | IP address to listen for incoming connections. The default value (0.0.0.0) means that this device will listen for incoming connections on any interface or IP address. |
Port | integer [0..65535]; default: 502 | Port number to listen for incoming connections. |
Slave ID configuration type | User defined | Obtained from TCP; default: User defined |
Specifies whether slave IDs are user defined or automatically obtained from TCP. |
Slave ID | Permitted slave IDs | integer | range of integers; default: 1 or 1-247 |
Specifies the slave ID of range of permitted slave IDs. The way this field is named and its function depends on the value of the Slave ID configuration field. A range of IDs can be specified by placing a hyphen (-) between two integer numbers. For example, if you permit slave IDs in the range of 10 to 20, you would specify it as: 10-20 You can also specify multiple values that are not connected in a range using commas (,). For example, to specify 6, 50 and 100 as permitted slave IDs, you would have to use: 6,50,100 |
Open port automatically | off | on; default: on | Automatically adds a traffic rule in the firewall configuration to open the required port for serial communication. Caution: use with care if listening IP is left as the default value (0.0.0.0). Leaving it as such will leave the device open for remote connections on the specified port. |
Echo | off | on; default: off | Turn RS232 echo on or off. |
[[Category:{{{name}}} Services section]]