Line 1: |
Line 1: |
− | {{Template:Networking_rutos_manual_fw_disclosure | + | {{Template: Networking_rutos_manual_fw_disclosure |
− | | fw_version = {{{series}}}_R_00.02.04.1 | + | | fw_version = {{{series}}}_R_00.07.01 |
| | series = {{{series}}} | | | series = {{{series}}} |
| }} | | }} |
Line 10: |
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. |
| + | {{#ifeq: {{{series}}} | TRB1 | |
| + | ==General information== |
| | | |
| + | ==RS232 connector pinout== |
| + | |
| + | The RS232 connector type on this device is a '''DCE female'''. DCE stands for Data Communication Equipment. |
| + | |
| + | <table class="nd-othertables"> |
| + | <tr> |
| + | <th style="width: 352px" colspan="3">RS232 connector pinout</th> |
| + | <th style="width: 250px; border-bottom: 1px solid white;" colspan="1" rowspan="7">[[File:Trb142 rs232 pinout v3.png|200px|right|bottom]]</th> |
| + | </tr> |
| + | <tr> |
| + | <td style="width: 50px;">Pin</td> |
| + | <td style="width: 100px;"><b>Name</b></td> |
| + | <td><b>Description</b></td> |
| + | </tr> |
| + | <tr> |
| + | <td style="font-weight: normal;">2</td> |
| + | <td>RXD</td> |
| + | <td>Output</td> |
| + | </tr> |
| + | <tr> |
| + | <td style="font-weight: normal;">3</td> |
| + | <td>TXD</td> |
| + | <td>Input</td> |
| + | </tr> |
| + | <tr> |
| + | <td style="font-weight: normal;">5</td> |
| + | <td>GND</td> |
| + | <td>-</td> |
| + | </tr> |
| + | <tr> |
| + | <td style="font-weight: normal;">7</td> |
| + | <td>RTS</td> |
| + | <td>Input</td> |
| + | </tr> |
| + | <tr> |
| + | <td style="font-weight: normal;">8</td> |
| + | <td>CTS</td> |
| + | <td>Output</td> |
| + | </tr> |
| + | </table> |
| + | |
| + | ==Cables== |
| + | |
| + | There are two types of RS232 serial devices: '''DTE''' and '''DCE'''. DTE typically refers to the serial port on a PC or terminal, while DCE refers to communication devices. Connectors mounted on DTE are likely to be male, and those mounted on DCE are likely to be female. |
| + | |
| + | This device is DCE and has a female connector. |
| + | ---- |
| + | To connect a standard DTE device, use a straight-through Female/Male RS232 cable: |
| + | |
| + | [[File:Services rs232 connector female male.PNG]] |
| + | |
| + | See straight cable pinout below: |
| + | |
| + | [[File:Straight cable pinout v2.png|400px]] |
| + | ---- |
| + | |
| + | To connect another DCE device to RUT955, a Null-modem (crossed) Male/Male cable should be used: |
| + | |
| + | [[File:Male male rs232 cable.jpg]] |
| + | |
| + | See straight crossed cable pinout below: |
| + | |
| + | [[File:Straight crossed rs232 cable pinout v2.png|400px]] |
| + | ---- |
| + | |
| + | Maximum cable length is 15 meters or the cable length equal to a capacitance of 2500 pF (for a 19200 baud rate). Using lower capacitance cables can increase the distance. Reducing communication speed can also increase maximum cable length.|}} |
| ==RS232 Configuration== | | ==RS232 Configuration== |
| | | |
| 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:Networking_rutos_manual_rs232_rs232_configuration.png|border|class=tlt-border]] | + | [[File:Networking_rutos_manual_rs232_rs232_configuration_data_bits_{{{data_bit}}}.png|border|class=tlt-border]] |
| | | |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
Line 30: |
Line 98: |
| <tr> | | <tr> |
| <td>Baud rate</td> | | <td>Baud rate</td> |
− | <td>300 | {{#ifeq:{{{series}}}|TRB2XX|600 <nowiki>|</nowiki> |}}1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200{{#ifeq:{{{series}}}|TRB2XX| <nowiki>|</nowiki> 230400 <nowiki>|</nowiki> 460800 <nowiki>|</nowiki> 921600 <nowiki>|</nowiki> 1000000 <nowiki>|</nowiki>|}} 3000000; default: <b>{{#ifeq:{{{series}}}|TRB2XX|300|115200}}</b></td> | + | <td>{{{baud_rates}}}; default: <b>{{{baud_rate}}}</b></td> |
− | <td>Data rate for serial data transmission (in bits per second).</td> | + | <td>Data rate for serial data transmission (in bits per second (bps)).</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Data bits</td> | | <td>Data bits</td> |
− | <td>{{#ifeq:{{{series}}}|TRB14X|5 <nowiki>|</nowiki> 6 <nowiki>|</nowiki> |}}7 | 8; default: <b>{{#ifeq:{{{series}}}|TRB2XX|7|8}}</b></td> | + | <td>{{{data_bits}}}; default: <b>{{{data_bit}}}</b></td> |
| <td>Number of data bits for each character.</td> | | <td>Number of data bits for each character.</td> |
| </tr> | | </tr> |
Line 66: |
Line 134: |
| <tr> | | <tr> |
| <td>Serial type</td> | | <td>Serial type</td> |
− | <td>[[#Console|Console]] | [[#Over IP|Over IP]] | [[#Modbus gateway|Modbus gateway]]; default: <b>Console</b></td> | + | <td>[[#Console|Console]] | [[#Over IP|Over IP]] | [[#Modem|Modem]] | [[#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 75: |
Line 143: |
| <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:Networking_rutos_manual_usb_tools_usb_to_serial_console_v1.png|border|class=tlt-border]] | + | [[File:Networking_rutos_manual_usb_tools_printer_server_usb_to_serial_console.png|border|class=tlt-border]] |
| | | |
| ===Over IP=== | | ===Over IP=== |
Line 81: |
Line 149: |
| 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:Networking_rutos_manual_usb_tools_usb_to_serial_over_ip_v1.png|border|class=tlt-border]] | + | [[File:Networking_rutos_manual_usb_tools_printer_server_usb_to_serial_over_ip.png|border|class=tlt-border]] |
| | | |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
Line 143: |
Line 211: |
| <td>Echo</td> | | <td>Echo</td> |
| <td>off | on; default: <b>off</b></td> | | <td>off | on; default: <b>off</b></td> |
− | <td>Turn RS232 echo on or off.</td> | + | <td>Turns RS232 echo on or off. RS232 echo is a loopback test usually used to check whether the RS232 cable is working properly.</td> |
| </tr> | | </tr> |
| </table> | | </table> |
| + | |
| + | {{#ifeq: {{{modem}}} | 1 | |
| + | ===Modem=== |
| + | ---- |
| + | The <b>Modem</b> serial type is used to manage modem functionality which could be accessed using shell interface. For this purpose you may want use such applications with CR/LF (Carriage Return, Line Feed) capable applications like PuTTY on Windows and microcom, minicom, cutecom or similar applications on Linux. |
| + | |
| + | [[File:Networking_rutos_manual_usb_tools_printer_server_usb_to_serial_modem.png|border|class=tlt-border]] |
| + | |
| + | <table class="nd-mantable"> |
| + | <tr> |
| + | <th>Field</th> |
| + | <th>Value</th> |
| + | <th>Description</th> |
| + | </tr> |
| + | <tr> |
| + | <td>Mode</td> |
| + | <td>Partial control {{!}} Full control; default: <b>Partial control</b></td> |
| + | <td>Specifies modem control mode. <ul> |
| + | <ul> |
| + | <li><b>Partial control</b>- enables modem control with AT commands, mobile connection will be controlled by RUTOS. |
| + | <li><b>Full control</b>- enables modem control with AT commands, mobile connection will be controlled by user. |
| + | </ul> |
| + | </td> |
| + | </tr> |
| + | </table> |
| + | |
| + | |}} |
| | | |
| ===Modbus gateway=== | | ===Modbus gateway=== |
Line 151: |
Line 246: |
| 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:Networking_rutos_manual_usb_tools_usb_to_serial_modbus_gateway_v1.png|border|class=tlt-border]] | + | [[File:Networking_rutos_manual_usb_tools_printer_server_usb_to_serial_modbus_gateway.png|border|class=tlt-border]] |
| | | |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
Line 187: |
Line 282: |
| <td>Echo</td> | | <td>Echo</td> |
| <td>off | on; default: <b>off</b></td> | | <td>off | on; default: <b>off</b></td> |
− | <td>Turn RS232 echo on or off.</td> | + | <td>Turns RS232 echo on or off. RS232 echo is a loopback test usually used to check whether the RS232 cable is working properly.</td> |
| </tr> | | </tr> |
| </table> | | </table> |
| + | |
| + | ==IP Filter== |
| + | |
| + | The <b>IP Filter</b> section is used for configuring which network is allowed to communicate with the device. You may add a new instance by selecting the Interface and pressing Add. |
| + | |
| + | [[File:Networking_rutos_manual_console_ip_filter.png|border|class=tlt-border]] |
| + | |
| + | Then enter the IP address and save. |
| + | |
| + | [[File:Networking_rutos_manual_console_ip_filter_instance.png|border|class=tlt-border]] |
| | | |
| [[Category:{{{name}}} Services section]] | | [[Category:{{{name}}} Services section]] |