The information in this page is updated in accordance with firmware version TRB2_R_00.02.06.1.
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 TRB255 devices.
RS232 Configuration[edit source]
The RS232 Configuration section is used to set up the main operating parameters and the serial type of the RS232 connector.
|Enabled||off | on; default: off||Turns the RS232 service on or off.|
|Baud rate||300 | 600 | 1200 | 2400 | 4800 | 9600 | 14400 | 19200 | 38400 | 56000 | 57600 | 115200 | 230400 | 460800 | 921600 | 1000000 | 3000000; default: 300||Data rate for serial data transmission (in bits per second (bps)).|
|Data bits||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 | Modem | Modbus gateway; default: Console||Specifies the serial connection type.
Look to the sections below for information on different RS232 serial type options.
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.
Over IP[edit source]
The Over IP serial type is used to manage serial connections over a TCP/IP network.
|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||Turns RS232 echo on or off. RS232 echo is a loopback test usually used to check whether the RS232 cable is working properly.|
The Modem 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.
Modbus gateway[edit source]
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.