Multi-Channel RS232 Port

The DS1206 features a multi-channel RS232 port. Internally, the DS1206 has four independent serial ports, and each of those ports can potentially have its own RX, TX, CTS, RTS, DSR, and DTR lines. Physically, the RS232 port of the DS1206 has three output lines and four input lines. Flexible mapping allows you to choose how these inputs and outputs will be used.

The serial-over-IP application supplied with the DS1206 defines 15 mapping options. These are presented in the table below:

A diagram illustrating the layout of a DB9M connector with power input.

Mapping option

Available signals

DB9M connector pins

Missing line

#2

#3

#8

#7

#6

#4

#1

Option 0

RX/TX/CTS/RTS/DSR/DTR

RX

TX

CTS

RTS

DSR

DTR

---

---

Option 1

RX/TX/CTS/RTS/DSR/DTR + RX/tx

RX

TX

CTS

RTS

DSR

DTR

RX4

tx4

Option 2

RX/TX/CTS/RTS + RX/TX + RX/tx

RX

TX

CTS

RTS

RX3

TX3

RX4

tx4

Option 3

RX/TX/CTS/RTS + RX/TX/CTS/rts

RX

TX

CTS

RTS

RX3

TX3

CTS3

rts3

Option 4

RX/TX/CTS/RTS + RX/TX/DSR/dtr

RX

TX

CTS

RTS

RX3

TX3

DSR3

dtr3

Option 5

RX/TX/DSR/DTR + RX/TX + RX/tx

RX

TX

RX2

TX2

DSR

DTR

RX4

tx4

Option 6

RX/TX/DSR/DTR + RX/TX/CTS/rts

RX

TX

RX2

TX2

DSR

DTR

CTS2

rts2

Option 7

RX/TX/DSR/DTR + RX/TX/DSR/dtr

RX

TX

RX2

TX2

DSR

DTR

DSR2

dtr2

Option 8

RX/TX + RX/TX + RX/TX + RX/tx

RX

TX

RX2

TX2

RX3

TX3

RX4

tx4

Option 9

RX/TX/CTS/rts + RX/TX + RX/TX

RX

TX

RX2

TX2

RX3

TX3

CTS

rts

Option 10

RX/TX/DSR/dtr + RX/TX + RX/TX

RX

TX

RX2

TX2

RX3

TX3

DSR

dtr

Option 11

RX/TX/CTS/RTS + RX/tx/CTS/RTS

RX

TX

CTS

RTS

CTS4

RTS4

RX4

tx4

Option 12

RX/TX/CTS/RTS + RX/tx/DSR/DTR

RX

TX

CTS

RTS

DSR4

DTR4

RX4

tx4

Option 13

RX/TX/DSR/DTR + RX/tx/CTS/RTS

RX

TX

CTS4

RTS4

DSR

DTR

RX4

tx4

Option 14

RX/TX/DSR/DTR + RX/tx/DSR/DTR

RX

TX

DSR4

DTR4

DSR

DTR

RX4

tx4

The "Available signals" column shows a particular combination of I/O lines for each option. For example, option 0 defines the standard serial port arrangement with RX, TX, CTS, RTS, DSR, and DTR lines. Option 2 gives you one channel with RX, TX, CTS, and RTS lines, one more channel with just RX and TX lines, and yet another channel with a single RX line. The TX line is "missing" because, once again, there are only three outputs available. This is why this line is shown in gray and lowercase (tx).

Notice that on the DS1206, pin 9 of the RS232 port can be used to power the DS1206 or to provide power to an attached serial device. See Power Arrangement for details.

For additional programming information regarding serial ports, see the ser. object.