Serial Communications
Serial Communications
Port Descriptions 96
Wiring—MJ1/MJ2 Serial Ports 96
RS-485 Termination and Biasing 97
Cscape Programming via Serial Port 97
Ladder-Controlled Serial Communication 98
Configuration via Mini-B USB 98
All Micro OCS Controller models provide two serial ports, which are implemented with a single 8-position modular
jack that is labeled MJ1/2. The MJ1 serial port is RS-232 while the MJ2 port is RS-485. MJ1 defaults to OCS pro-
gramming by connecting it to the COM port of a PC running Cscape. In addition, both MJ1 and MJ2 can be used for
application-specific communication, using a variety of standard data exchange protocols.
Port Descriptions
n
The MJ1 serial port contains a RS-232 interface with RTS/CTS handshaking.
n
The MJ2 serial port contains half-duplex RS-485 interface with no handshaking. The MJ2 RS-485 interface
provides switchable termination and bias resistors internally.
Wiring—MJ1/MJ2 Serial Ports
n
MJ1: RS-232 w/Full Handshaking
n
MJ2: RS-485 Half-Duplex
Pin MJ1 Pins MJ2 Pins
Signal Direction Signal Direction
8 TXD OUT -- --
7 RXD IN -- --
6 0V Common 0V Common
5 +5VDC @ 60mA OUT +5VDC @ 60mA OUT
4 RTS OUT -- --
3 CTS IN -- --
2 -- -- RX- / TX- IN / OUT
1 -- -- RX+ / TX+ IN / OUT
Page 96 of 163