Вы находитесь на странице: 1из 2

13

Serial Port Connections


Providing Power to an External Device from Port 1 or 2
If either port is set up for communications with a serial device that requires 00mA
or less at 5VDC, the device can obtain power from either Port  or Port 2. The
total current drawn from both ports added together cannot exceed 00mA.

Short Circuit Protection on 5VDC for Units Later than June 2005
In the event that a short occurs across 5VDC on any serial port on a VersaMax
Micro or Nano PLC manufactured after June 2005, date code 523 (the date code
is a three-digit code located on side of unit) the unit will power down until the
short is removed. By removing the short, the unit will recover fully.
Micro and Nano PLCs prior to date code 523 have a non-replacable internal fuse
for 5VDC. On those units, if the fuse blows, the RS-232 continues to function but
the port no longer provides 5VDC to external devices. The 5VDC is also lost on
the RS-485 port.

Cable Lengths and Baud Rates


Maximum cable lengths (the total number of feet from the CPU to the last device
attached to the cable) are:
Port  (RS-232) = 5 meters (50 ft.)
Port 2 (RS-485) = 200 meters (4000 ft.)
Both ports support configurable baud rates from 300 to 9.2k bps ( 4800 bps to
38.4k bps for Micro 20/40/64 PLCs).

Port 1: RS-232
Port  is an RS-232 port with a 8-pin RJ-45 vertical jack. In addition to being a
general serial communications port, this port is also used as the boot loader port
for upgrading the PLC firmware.
Top of Module

8
8 7
7
6 6 Micro or Nano PLC Serial
5 5 Port on PLC, 8-Pin RJ-45
Pin 8 4
3 4 Jack Orientation
2 3
Pin  
2
1
RJ-45 Cable with Plug

Note: There is no shield or frame-ground or shield pin on this connector.

GFK-1645G Chapter 13 Installation Instructions 13-29


13

Pin Signal Direction Function


1 RTS Output Request to Send output
2 CTS Input Clear to Send input
3 RXD Input Receive Data input
4 TXD Output Transmit Data output
5 DCD Input Data Carrier Detect input
6 DTR Output Data Terminal Ready output
7 +5V Output +5VDC output to power external protocol converters
8 GND -- 0V/Gnd signal reference

Port 1 Cable Wiring to a 9-pin D-sub PC-style RS-232 Port


An RJ-45 to DB9F adapter can be used to connect Port  to the standard 9-pin D-
Sub port found on most PCs. Programmer wiring to an RJ-45 to DB9F adapter is
shown below. For a PC that is not used as a programmer, only the Transmit,
Receive, and Ground wires are needed on port  and Port 2.

Pin  DCD  (not required)N/C


DSR  DTR
6 Black
RXD  TXD

4 Green
RTS CTS

2 Brown
TXD RXD
CTS  RTS
3 Yellow
DTR  DCD
 White/Grey
 (not Required)N/C
5 Red
RI
7 Orange
0V   GND
Pin 5 8 Blue
Shell   Shell

RJ45 Jack
To VersaMax Nano/Micro Port 1
To IBM-AT RS232 Port (8-pin RJ-45 to RJ-45 cable wired
(9-pin Female) straight through)

* Dotted lines are optional wires and not required

RJ45 to DB9F Adapter Wiring


The color codes shown below are standard for most RJ-45 to DB9F adapter kits,
but be sure to review your kit’s particular documentation. Wire the adapter kit
following the pin numbers as shown.
Adapter Wire Color DB9F pin RJ45 pin Micro PLC signal DB9F (PC Serial Port) signal
n/c 1 - n/c DCD (in)
Green 2 4 TxD (out) RxD (in)
Yellow 3 3 RxD (in) TxD (out)
Red 4 5 DCD (in) DTR (out)
Blue 5 8 Ground Ground
Black 6 6 DTR (out) DSR (in)
Brown 7 2 CTS (in) RTS (out)
White 8 1 RTS (out) CTS (in)
Orange 9 7 +5V (out) RI (in)

13-30 VersaMax® Micro PLCs and Nano PLCs User’s Manual – September 2007 GFK-1645G

Вам также может понравиться