Serial port 2 can be configured to multiple serial formats (RS-232/422/485). The default is RS-232.
|
PIN |
Function |
|---|---|
|
1 |
DCD |
|
2 |
RXD |
|
3 |
TXD |
|
4 |
DTR |
|
5 |
GND |
|
6 |
DSR |
|
7 |
RTS |
|
8 |
CTS |
|
9 |
RI |
|
Parameter |
Value |
|---|---|
|
Baud rate |
300...460800 bps |
|
Data bits |
8 |
|
Parity |
No parity |
|
Stop bits |
1 |
|
Flow control |
CTS/RTS |
By default, all DIP switches are set to the 0 position (RS-232 mode). DIP switches 2...4 apply only when DIP switch 1 is set to differential mode (RS-485/RS-422).
|
DIP switch |
Mode |
State |
Description |
|---|---|---|---|
|
1 |
RS-232 or differential |
0 = RS-232, 1 = RS-485 and RS-422 |
Selects the serial port operation mode |
|
2 |
DUPLEX |
0 = FULL, 1 = HALF |
Selects between RS-422 full-duplex (4- wire) and RS-485 half- duplex (2-wire) differential modes |
|
3 |
BIASING |
0 = OFF, 1 = ON |
Enables RS-422 biasing on pins 2 and 8 |
|
4 |
TERMINATION |
0 = OFF, 1 = ON |
Enables RS-422 termination on pins 2 and 8 |
|
PIN |
RS-422 full-duplex (4-wire) |
RS-485 half-duplex (2-wire) |
|---|---|---|
|
1 |
- |
- |
|
2 |
RXD positive (in) |
- |
|
3 |
TXD negative (out) |
TXD/RXD negative (out/in) |
|
4 |
- |
- |
|
5 |
GND |
GND |
|
6 |
- |
- |
|
7 |
TXD positive (out) |
TXD/RXD positive (out/in) |
|
8 |
RXD negative (in) |
- |
|
9 |
- |
- |