Chapter 5: serial communications, 1 overview, 2 port descriptions – Horner APG XL7 OCS User Manual
Page 24: 3 wiring and dip switches

XL7 User Manual
CHAPTER 5: SERIAL COMMUNICATIONS
5.1
Overview
All XL7 OCS models provide two independent serial ports, on the first 8-pin modular RJ45 connector,
which is labeled MJ1/MJ2. The MJ1 serial port is RS232 while the MJ2 port is RS485. By default, MJ1 can
be connected to the COM port of a PC running Cscape, for OCS programming. In addition, both MJ1 and
MJ2 can be used for application-specific communication, using a variety of standard data exchange
protocols.
The second 8-pin modular RJ45 connector, which is labeled MJ3, provides a multiplexed serial port,
which can be configured for either RS232 or RS485. MJ3 can be optionally set for OCS programming via
the System Menu for connection to the COM port of a PC running Cscape.
5.2
Port Descriptions
The MJ1 serial port contains an RS232 interface with RTS/CTS handshaking. The MJ2 serial port contains
a half-duplex RS485 interface with no handshaking. The MJ3 serial port can be configured as either
RS232 or RS485. The MJ2 and MJ3 RS485 interfaces provide switchable termination and bias resistors
internally, which can be enabled/disabled with DIP switches.
5.3
Wiring and Dip Switches
Figure 5.1 – Wiring & Dip Switches
Page 24 of 110