User manual
WI-GTWY-9-xxx Wireless Gateway V1.18
36
3.5 Serial Port
3.5.1 RS232 Serial Port
The serial port is a 9 pin DB9 female and provides for connection to a terminal or to a PC for
configuration, field testing and for factory testing. It is also used by the Modbus/DF1 version for
fieldbus connection.
This port is internally shared with the RS485 - ensure that the RS485 is disconnected before
attempting to use the RS232 port. Communication is via standard RS232 signals. The WI-
GTWY-9-xxx is configured as DCE equipment with the pinout detailed below.
DB9 Connector Pinout:
Pin Name Direction Function
1 DCD Out
Used for "active" signal.
2 RD Out Serial Data Output
3 TD In Serial Data Input
4 DTR In
Data Terminal Ready - may be used by Host Protocol Driver
5 SG Signal Ground
6 DSR Out Data Set Ready - always high when unit is powered on.
7 RTS In Request to Send - may be used by Host Protocol Driver
8 CTS Out Clear to send - may be used by Host Protocol Driver
9 RI Ring indicate - not connected
Hardware handshaking using the CTS/RTS lines is provided, and are under the control of the
Host Comms Driver. Example cable drawings for connection to a DTE host (a PC) or another DCE
host are detailed below:
3.5.2
RD
TD
SG
RTS
CTS
DSR
DTR
DCD
2
3
5
7
8
6
4
1
2
3
5
7
8
6
4
1
RD
TD
SG
RTS
CTS
DSR
DTR
DCD
2
3
5
7
8
6
4
1
2
3
5
7
8
6
4
1
DCE HOST
DB9
MALE
DCE HOST
MODEM
MODEM
DB9
MALE
DB9
MALE
DB9
FEMALE
RD
TD
SG
RTS
CTS
DSR
DTR
DCD
RD
TD
SG
RTS
CTS
DSR
DTR
DCD