Preview only show first 10 pages with watermark. For full document please download

Ds, Rs-422/rs-485 To Rs-232 Converter, Gfk-0550e

   EMBED


Share

Transcript

Accessories 36 IC690ACC900 GFK-0550E August 1997 RS-422/RS-485 to RS-232 Converter (IC690ACC900) datasheet GFK-0550E Features D Provides the IC69* programmable controllers with an interface to devices that use the RS-232 interface. D Allows connection to programming computer without a Work Station Interface board. D Easy cable connection to either an IC697, IC693, or IC692 programmable controller. D No external power needed - operates from +5 volt DC power on the programmable controller backplane. D Convenient, light weight self-contained unit. Functions The RS-422/RS-485 to RS-232 Converter provides an RS-232 serial interface for the IC69* programmable controllers, which have a built-in RS-422/RS-485 interface. Specifically, it provides a serial connection between an IC692, IC693, or IC697 programmable controller serial port and the serial port on the RS-422/RS-485 to RS-232 Converter programming computer without the need for a Work Station Interface to be installed in the computer. The programming computer can be an IBMr XT, AT, or PS/2r or compatible Personal Computer. Location in System The RS-422/RS-485 to RS-232 converter is a free-standing device which requires two cables as the connections between the programmable controller and the programmer. Its location is limited only by the length of the connecting cables as listed in the interface specifications (see Table 4). The cable at the programmable controller end that connects to the RS-422/RS-485 connector on the converter can be up to 10 feet in length (without an external source of +5 VDC) and up to 1000 feet (300m) in length with an external source of +5 VDC. The cable from the RS-232 connector on the converter to the programming computer’s serial port can be up to 50 feet (15m) in length. a44694 FRONT VIEW IC690ACC900A CABLE ADAPTER MADE IN USA r REAR VIEW ÎÎÎÎÎÎ ÎÎÎÎÎÎ ÎÎÎÎÎÎ ÎÎÎÎÎÎ Î Î ÎÎÎÎÎÎ ÎÎÎÎÎÎ IBM and PS/2 are registered trademarks of International Business Machines Corporation. Accessories 2 GFK-0550E August 1997 Installation Installation of the RS-422/RS-485 to RS-232 Converter consists of connecting two cables. Select the proper cables for your installation. Prewired cables (see below) are available, or if cables of different lengths are required by your application, you can build your own cables. Specifications for building these cables are provided later. You do not need to connect an external source of power to the converter for a cable length of 10 feet, or less, since the necessary power connections of +5 VDC and signal ground are derived from the programmable controller’s backplane bus through the cable which connects to the IC692, IC693, or IC697 programmable controller. D Select one of the three RS-232 compatible cables (10 feet in length) that will connect the programmer ’s (or other serial device) RS-232 serial port to the RS-232 port on the converter. The catalog numbers of these cables are: IC690CBL701 (use with the IC640 industrial computer, or IBM PC-XT or compatible personal computer), IC690CBL702 (use with IBM PC-AT or compatible personal computer), and IC690CBL705 (use with the IC647 industrial computer, or IBM PS/2 or compatible personal computer). D A standard 6-foot cable (HHP compatible) is available to connect the RS-422/RS-485 port on the converter to the RS-485 port on the programmable controller. The catalog number of this cable is IC693CBL303. Installation of these cables should be done with the programmable controller powered-down. D Connect the 25-pin male connector on the 10 foot cable to the 25-pin female connector on the converter. D Connect the female connector (9-pin or 25-pin) on the opposite end of this cable to the male RS-232 connector (serial port) on the selected programming (or other serial) device. If you build you own cable, use a connector that is compatible with your serial device. RS-422/RS-485 to RS-232 Converter D Notice that both ends of the 6-foot RS-422/RS-485 compatible cable are the same; a 15-pin male connector is attached at both ends. Connect one end of this cable to the 15-pin female connector on the RS-422/RS-485 connector on the converter. D Connect the other end of this cable to the 15-pin female connector, which interfaces to the RS-485 compatible serial port on the IC69* programmable controller. For the IC693 programmable controller, this connector is accessed by opening the hinged door on the power supply. The serial port connector for the IC697 programmable controller is on the CPU module, and is accessed by opening the hinged door on the module. The serial port for the IC692 programmable controller is located on the CPU module. Cable Description The serial connection to the IC697 programmable controller (see Figure 1) is to the RS-422/RS-485 compatible serial port connector, located at the bottom of the CPU module behind the hinged door, through an available 6 foot (2 meter) serial interface cable IC693CBL303. Wiring information and recommended cable and connectors are provided for those who may want to build their own cable having a different length. The serial connection to the IC693 programmable controller is to the RS-422/485 compatible serial port connector located behind the hinged door on the right front of the power supply, also through the same 6 foot serial interface cable, IC693CBL303 - or equivalent, as shown in Figure 2. The serial connection to the IC692 programmable controller (see Figure 3) is to the RS-422/RS-485 compatible serial port connector, located on the lower right of the CPU module, also through the available 6 foot (2 meter) serial interface cable - IC693CBL303. Accessories 3 GFK-0550E August 1997 RS-422/RS-485 to RS-232 Converter RS-232 Interface Pin Assignments PROGRAMMABLE CONTROLLER Î a44695 Î C P U RS-485 PROGRAMMER ÎÎÎÎ ÎÎÎÎ Î ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ RS-232 CONVERTER Pin assignments and signal definitions for the RS-232 interface are given in the table below. Table 1. RS-232 Interface for Converter Pin Signal Name 1 Shield Figure 1. Typical Configuration with an IC697 Programmable Controller ÎÎ ÎÎ Î ÎÎ Î ÎÎ Î ÎÎ Î ÎÎ ÎÎ Î ÎÎ ÎÎ Î ÎÎ Î ÎÎ Î ÎÎ Î ÎÎ Î ÎÎ ÎÎ Î ÎÎ Î ÎÎ ÎÎ ÎÎ Î Î Î ÎÎ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ Î PROGRAMMABLE CONTROLLER RS-485 RS-232 CONVERTER a44681 ÎÎÎÎ ÎÎÎÎ ÎÎÎÎ Î ÎÎÎÎ ÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ PROGRAMMER Figure 2. Typical Configuration with an IC693 Programmable Controller a44705 PROGRAMMABLE CONTROLLER ÎÎÎÎÎ ÎÎÎÎÎ ÎÎÎÎÎ Î ÎÎÎÎÎÎÎ ÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ PROGRAMMER ÎÎÎÎÎ Î ÎÎÎÎÎ ÎÎÎÎ RS-232 RS-485 CONVERTER Figure 3. Typical Configuration with an IC692 Programmable Controller Function Cable shield I/O - 2 SD Transmitted Data 3 RD Received Data 4 RTS Request to Send 5 CTS Clear to Send In 6 - No connection - 7 SG Signal Ground - Data Carrier Detect In No connection - 8 DCD 9-19 - 20 DTR 21-25 - Data Terminal Ready No connection Out In Out Out - RS-422/RS-485 Interface Pin Assignments Pin assignments and signal definitions for the RS-232 interface are given in the table below. Table 2. RS-422/RS-485 Interface for Converter Pin Signal Name Function I/O 1 Shield Cable shield 2 DCD (A) Differential Data Carrier Detect Out 3 DCD (B) Differential Data Carrier Detect Out 4 ATCH/ Attach (used with HHP) n/a 5 +5 VDC Logic Power In 6 RTS(A) Differential Request To Send 7 SG Signal Ground, 0V In 8 CTS(B’) Differential Clear To Send In 9 RT Resistor Terminator n/a 10 RD(A’) Differential Receive Data In 11 RD(B’) Differential Receive Data In 12 SD(A) Differential Send Data Out 13 SD(B) Differential Send Data Out 14 RTS(B) Differential Request To Send Out 15 CTS(A’) Differential Clear To Send Out In Accessories 4 GFK-0550E August 1997 RS-422/RS-485 to RS-232 Converter Logic Diagram The following figure is a logic diagram of the RS-422/RS-485 to RS-232 Converter. SHIELD RS-232 25-PIN 1 RS-232/RS-485 CONVERTER (IC690ACC900) a44539 RS-422/RS-485 15-PIN 1 SHIELD 9 TERMINATOR RESISTOR 120 Ω 11 SD 10 13 RD RD ( B’ ) 2 RD ( A’ ) SD (B ) 3 12 Î Î Î Î 8 SD (A ) CTS ( B’ ) MODEM RTS CTS 4 15 14 8 Î Î Î 3 DCD 2 LOGIC POWER SG RTS ( B ) 5 6 DCD CTS ( A’ ) 7 Î Î Î 5 7 RTS ( A ) DCD ( B ) DCD ( A ) +5 SG NC DTR 20 ATTACH 4 ATCH/ Figure 4. RS-422/RS-485 to RS-232 Converter Logic Diagram Accessories 5 GFK-0550E August 1997 RS-422/RS-485 to RS-232 Converter and placing it on the desired pair of pins. Jumper Configuration There are three jumper locations on the converter board for selection of user options. Each jumper position has three pins, as shown in the following illustration. These jumper positions, labeled JP2, JP3, and JP4, are accessed by removing the square plastic cover on the top of the converter. Configuration can be changed as required by carefully removing one or more of the jumpers with a pair of needle nose pliers RS-422/RS485 Refer to the description of these selectable jumper positions in the following table and place the jumper on the selected pair of pins. The pins are numbered 1, 2, and 3. As shown in Figure 4 and Table 3, the default jumper locations are indicated by a rectangle over the pins to be jumpered for each position. The default pin numbers are 1 and 2. ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎ Î Î ÎÎÎÎ a44680 RS-232 1 2 3 Figure 5. Location of Jumpers for User Options Table 3. Jumper Configuration for RS-422/RS-485 to RS-232 Converter Jumper Position JP2 JP3 JP4 Label DCD MODEM ATTACH Jumper Configuration Description [ 1 2 3 Defaultposition 1 and 2 is used when the device communicating with the PLC does not supply the Carrier Detect signal. JP2 forces the DCD signal active on the RS-485 port. 1 2 3 Use jumper positions 2 and 3 if the device does supply the Carrier Detect signal. This allows the programming device to control DCD. 1 2 3 Defaultposition 1 and 2 is used when an attached Modem does not require the Clear To Send (CTS) signal. This allows the programming device to control the RTS signal. 1 2 3 Jumper positions 2 and 3 are used when the attached Modem does require the CTS signal (most modems require this signal). Forces RTS to be continually active. 1 2 3 Defaultposition 1 and 2 is used for most applications communicating with the PLC via a serial programming port. 1 2 3 Jumper positions 2 and 3 are used if the device communicating with the PLC is intended to emulate the Hand-Held Programmerprotocol. [ Refer to the documentation for your serial device for signal requirements. Accessories 6 GFK-0550E August 1997 RS-422/RS-485 to RS-232 Converter Example of Cable Connections The following figure is an example of the wiring connections for the cables required in a typical PLC system using the RS-422/RS-485 to RS-232 converter. HOST COMPUTER ÎÎ Î Î ÎÎ Î RS-232 SHIELDED PAIRS PIN RS-232/RS-422 CONVERTER (IC690ACC900) Î Î Î Î Î Î Î PIN TD RD RTS CTS DCD DTR 3 2 5 4 RD SD CTS RTS 20 DTR 7 1 GND GND SHLD 25-PIN FEMALE RS-232 PORT 25-PIN MALE Î Î Î Î Î Î Î RS-422 TWISTED SHIELDED PAIRS DCD (A) DCD (B) RD (A’) RD (B’) SD (A) SD (B) RT CTS (A’) CTS (B’) RTS (A) RTS (B) +5V 0V SHLD 15-PIN FEMALE RS-422 PORT PIN 2 3 10 11 12 13 9 15 8 6 14 5 7 1 PIN 2 3 12 13 10 11 ** 9 6 14 15 8 * 5 * 7 1 15-PIN MALE SD (A) SD (B) RD (A’) RD (B’) RT RTS (A) RTS (B) CTS (A’) CTS (B’) +5V 0V SHLD 15-PIN MALE ÎÎ Î Î ÎÎ Î a44504 IC697 PLC RS-422 PORT 15-PIN FEMALE * POWER SOURCE FOR POINT-TO-POINT CONNECTION 10 FEET (3 METERS) ONLY. CONVERTER POWER SOURCE BEYOND 10 FEET (3 METERS) AND FOR MULTIDROP CONNECTION MUST BE EXTERNAL SOURCE. ** TERMINATION RESISTANCE FOR THE RECEIVE DATA (RD) SIGNAL NEEDS TO BE CONNECTED ONLY ON UNITS AT THE END OF THE LINES. THIS TERMINATION IS MADE ON THE IC697 PLC PRODUCTS BY CONNECTING A JUMPER BETWEEN PIN 9 AND PIN 10 INSIDE THE 15-PIN D-SHELL WITH THE FOLLOWING EXCEPTION. FOR IC697 PLCS, CATALOG NUMBERS IC697CPU731 AND IC697CPU771, THE TERMINATION FOR RD AT THE PLC IS IMPLEMENTED BY A JUMPER BETWEEN PIN 9 AND PIN 11. Figure 6. Example of Cable Wiring Connections to Converter Multidrop Configuration The following figure is an example of using the converter in a multidrop configuration. IC690CBL705 OR EQUIVALENT RS-232 SHIELDED PAIRS PROGRAMMER RS-232 PORT Î Î Î Î Î Î PIN PIN 2 3 4 5 8 20 3 2 5 20 8 TD RD RTS CTS DCD DTR GND 25-PIN MALE RD TD CTS DTR DCD 7 GND 1 SHLD 7 25-PIN FEMALE 25-PIN MALE ÎÎÎ Î Î ÎÎÎ ÎÎÎ ÎÎ ÎÎÎ ÎÎ ÎÎÎ Î ÎÎ 25-PIN FEMALE RS-232 PORT 15-PIN FEMALE RS-422 PORT NOTE Î ÎÎ ÎÎÎ Î Î WHEN WIRING RS-422 /485 MULTIDROP CABLES REFLECTIONS ON THE TRANSMISSION LINE CAN BE REDUCED BY CONFIGURING THE CABLE IN A DAISY CHAIN FASHION AS SHOWN BELOW. MASTER CONVERTER SLAVE STATION RS-422 MAKE CONNECTIONS INSIDE D-CONNECTORS RS-232/RS-422 CONVERTER (IC690ACC900) PIN PIN 2 3 10 11 12 13 9 15 8 6 14 5 +5V 7 0V 1 SHLD 2 3 12 13 10 11 9 6 14 15 8 5 7 1 DCD (A) DCD (B) RD (A’) RD (B’) SD (A) SD (B) RT CTS (A’) CTS (B’) RTS (A) RTS (B) * 15-PIN MALE SD (A) SD (B) RD (A’) RD (B’) RT RTS (A) RTS (B) CTS (A’) CTS (B’) +5V 0V SHLD POWER SOURCE FOR CONVERTER 0V * PLC 15-PIN CONNECTOR FOR IC693 PLC; LOCATED ON POWER SUPPLY FOR IC697 PLC: LOCATED ON CPU BOARD TO OTHER PLC’s 2 3 12 13 10 11 9 6 14 15 8 5 7 1 IC697 PLC CPU RS-422 PORT 15-PIN FEMALE Î Î Î Î ÎÎ LAST STATION PIN 5V Î Î ÎÎ ÎÎ SLAVE STATION 15-PIN MALE LAST STATION ALSO IT IS RECOMMENDED TO MAKE ANY NECESSARY CONNECTIONS INSIDE THE CABLE CONNECTOR TO BE MOUNTED ON THE PLC. IT IS NOT RECOMMENDED TO USE TERMINAL STRIPS OR OTHER TYPES OF CONNECTORS ALONG THE LENGTH OF THE TRANSMISSION LINE. a44511 SD (A) SD (B) RD (A’) RD (B’) RT RTS (A) RTS (B) CTS (A’) CTS (B’) +5V 0V SHLD 15-PIN MALE IC693 PLC PS RS-422 PORT 15-PIN FEMALE RESISTANCE FOR THE RECEIVE DATA (RD) SIGNAL NEEDS TO BE CONNECTED ONLY ON UNITS AT THE END OF THE LINES. THIS TERMINATION IS MADE * TERMINATION ON THE IC697 PLC PRODUCTS BY CONNECTING A JUMPER BETWEEN PIN 9 AND PIN 10 INSIDE THE 15-PIN D-SHELL WITH THE FOLLOWING EXCEPTION. FOR IC697 PLCs, CATALOG NUMBERS IC697CPU731 AND IC697CPU771, THE TERMINATION FOR RD AT THE PLC IS IMPLEMENTED BY A JUMPER BETWEEN PIN 9 AND PIN 11. GROUND POTENTIAL: MULTIPLE UNITS, NOT CONNECTED TO THE SAME POWER SOURCE, MUST HAVE COMMON GROUND POTENTIALS OR GROUND ISOLATION FOR PROPER OPERATION OF THIS SYSTEM. Figure 7. Example of Multidrop Configuration with Converter Accessories 7 GFK-0550E August 1997 RS-422/RS-485 to RS-232 Converter Table 4. Specifications for IC690ACC900 * Power Requirements Voltage +5 volts DC, +5% Current 170 mA, ±5% RS-422/RS-485Interface Cable MaximumCableLength 1000 feet (300 meters) Cable Lengths: [ Cable Type: 6 feet (2 meters) Belden 9508, AWG #24 (0.22mm2) wire 30 feet (10 meters) ] Belden 9309, AWG #22 (0.36 mm2) wire } 30 feet (10 meters), up to 1000 feet (300 meters) ] Same cable as for 30 feet (10 meters) 15-pin D-type Male Subminiature (programming device end) Connector Type RS-232Interface Cable 50 feet (15 meters) Maximum cable length Up to 50 feet (15 meters) Converter end: 25-pin D-type FemaleSubminiature Connector Type Programming device end: 9-pin, 15-pin, or 25-pin (depending on type of connector on your serial device) D-type FemaleSubminiature [ Catalog numbers are provided as suggestions only. Any cable having the same electrical characteristics is acceptable. It is strongly recommended that you use stranded wire. Since it is sometimes hard to find a cable with the desired number of twisted pairs (the Belden 9309 has an extra pair), you may end up with a cable with extra pairs. ] For distances over 10 feet (3 meters), the +5 volt DC logic power source must be provided externally by connecting an external power supply to the +5V and SG (0V) connections at the converter end of the cable. The +5V pin at the PLC connector end of the cable must not be connected to the cable. The +5V and SG connections from the external power supply must be isolated from its own power line ground connection. Ensure that there is no connection between the external supply and the PLC except the SG cable connection. * Refer to GFK-0867B, or later for product standards and general specifications. Table 5. Ordering Information Description Catalog Number Converter,RS-422/RS-485toRS-232 IC690ACC900