Industrial RS-232 to RS-485/422 Converter KSC-240 Installation Guide DOC.
(C) 2006 KTI Networks Inc. All rights reserved. No part of this documentation may be reproduced in any form or by any means or used to make any directive work (such as translation or transformation) without permission from KTI Networks Inc. KTI Networks Inc. reserves the right to revise this documentation and to make changes in content from time to time without obligation on the part of KTI Networks Inc. to provide notification of such revision or change.
The information contained in this document is subject to change without prior notice. Copyright (C) All Rights Reserved. TRADEMARKS Ethernet is a registered trademark of Xerox Corp. FCC NOTICE This device complies with Class B Part 15 the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received including the interference that may cause.
Table of Contents 1. Introduction ......................................................... 5 1.1 Features ........................................................................................ 6 1.2 Specifications ................................................................................ 7 2. Installation ......................................................... 12 2.1 Unpacking .................................................................................... 2.2 Safety Cautions ...............
1. Introduction The industrial converter is designed to convert RS-232 signals to optically isolated, balanced, full or half-duplex RS-422 or RS-485 signals at baud rate up to 115.2Kbps. It features RTS control design, which allows software to control RS-485 transmission. With smart ADCTM (Auto Data Control) design, the converter can uses send data signal to control RS485 transmission automatically so no software control is required in RS485 mode.
1.1 Features Supports RS-232 baud rate up to 115.
1.
Serial Interface (RS-232 Port) Connector DB9 female Pin Assignments DCE type Baud Rate Support Up to 115K baud Connector Shield Connect to chassis ground Connection Distance 15 meters High ESD Tolerance +/-15KV on Tx, Rx lines Overvoltage Protection Cutoff if over +/-28V Isolation Optical isolation with RS-485/422 interface RS-485/422 Interface Connector Signal Type Data Speed Standard High ESD Tolerance Overvoltage Protection Screw-type terminal block Balanced differential lines 115Kbps EIA-485, EIA-422 +
Configuration DIP SW Settings SW Name State Function SW1-2&1 4W Off 4-wire (RS-485/422 driver receiver separated) 2W On 2-wire (RS-485/422 driver receiver connected) SW1-3 T -D T -E Off On Disable RS-485/422 receiver terminator Enable RS-485/422 receiver terminator SW1-4 TXC TXE Off On RS-485/422 driver enable control by RTS or ADC RS-485/422 driver is forced to enable SW1-5 RTS-D Off RTS-E On Disable RTS control for RS-485/422 TX RX Enable RTS control for RS-485/422 TX RX SW1-6 RXC RXE RS-485/
DC Power Interface Interface Operating Input Voltages Power consumption Basic Information Conversion Optical Isolation Screw-type terminal block 1. Two pairs for power wire cascading 2. One pair for power failure relay output DC Jack (-D6.3mm/+D2.0mm) +7V ~ +30V(+5%) 0.6W @+7.
Certificate FCC CE/EMC CE/LVD Safety Part 15 Class B EMI EN50081-1 Class B EMS EN55024 EN 60950 EN 50081-1/1992 : EN55022:1994/A1:1995/A2:1997 EN61000-3-2:2000 EN61000-3-3:1995/A1:2001 EN 55024:1998/A1:2001 IEC 61000-4-2:1995 ESD Test IEC 61000-4-3:1995 RS Test IEC 61000-4-4:1995 EFT/BURST Test IEC 61000-4-5:1995 Surge Test IEC 61000-4-6:1996 CS Test IEC 61000-4-8:1993 Magnetic Field IEC 61000-4-11:1994 Volatge Int.
2. Installation 2.1 Unpacking Check that the following components have been included: • Information CD • The device unit • DIN-rail mounting bracket If any item is found missing or damaged, please contact your local reseller for replacement. The following are available optional accessories: • Panel Mounting Bracket The bracket is used for mounting the device on a panel surface. • Commercial-rated AC power adapters: - Rated AC120V/60Hz DC7.5V 1A - Rated AC230V/50Hz DC7.5V 1A - Rated AC100V/50-60Hz DC7.
2.2 Safety Cautions To reduce the risk of bodily injury, electrical shock, fire, and damage to the equipment, observe the following precautions. • Do not service any product except as explained in your system documentation. • Opening or removing covers may expose you to electrical shock. Only a trained service technician should service components inside these compartments.
2.3 DIN-Rail Mounting In the product package, a DIN-rail bracket is installed on the device for mounting the converter in a industrial DIN-rail enclosure. The steps to mount the device onto a DIN rail are: 1. Install the mounting bracket onto the device unit as shown below: 2. Attach bracket to the lower edge of the DIN rail and push the unit upward a little bit until the bracket can clamp on the upper edge of the DIN rail. 3. Clamp the unit to the DIN rail and make sure it is mounted securely. 4.
The final mechanical dimensions after installing DIN rail mounting bracket are: -15-
2.4 Panel Mounting The device is provided with an optional panel mounting bracket. The bracket support mounting the device on a plane surface securely. The mounting steps are: 1. Install the mounting bracket on the device unit. 2. Screw the bracket on the device unit. 3. Screw the device unit on a panel. 4. Make sure that there are proper heat dissipation from and adequate ventilation around the device. Do not place heavy objects on the device.
The screw locations and final dimension are shown below: -17-
2.5 Applying Power The power specifications of the device are: Operating Voltage +7 ~ +30VDC Power Consumption Max. 0.6W @+30VDC, +12VDC, +7.5VDC The device provides two types of power interfaces, terminal block and DC power jack for receiving DC power input from external power supply. Using Terminal Blocks Either DC1 interface or DC2 interface can be used to receive DC power from an external power system. Or, DC2 also can be used to deliver the power received on DC1 to next device in cascading way.
Power wires: 24 ~ 12AWG (IEC 0.5~2.5mm2) Install the power source wires with the plug properly. Screw the wire with plug securely. Then, plug in DC1 contacts. If cascading the power to next device is needed, install the power wires and plug for another switch. Then, use DC2 contacts. Note: Only up to four device units can be cascaded to receive power from one main power input source.
Using DC Power Jack DC Jack Connector: Jack D 6.3mm D 2.0mm AC Power Adapters: Optional commercial rated adapters are available for purchasing. Rated AC120V/60Hz DC7.5V 1A Rated AC230V/50Hz DC7.5V 1A Rated AC100V/50-60Hz DC7.5V 1A Rated AC240V/50Hz DC7.5V 1A Connect power adapter DC plug to the DC power jack of the converter before connecting to the AC outlet. Connect the power adapter to the AC outlet. Note: Before you begin the installation, check the AC voltage of your area.
2.6 Power Failure Relay Output The device provides a relay output to report power failure event to a remote alarm monitoring system. The replay output is provided with two contacts labeled PF+ and PF- in the terminal block interface. Use the provided 2P terminal plug for signal wiring and plug into the PF+/ - contacts. The function is designed as : Power is normal PF+ contact is shorted with PF- contact. Power failure PF+ contact is disconnected with PF- contact.
2.7 DIP SW Configuration SW1-2 & 1 4W 4-wire (RS-485/422 driver receiver separated) 2W 2-wire (RS-485/422 driver receiver connected) [2W] setting activates the internal connection between driver and receiver in RS-485/422 interface. It simplifies the installation of the converter in a 2-wire bus. RS-422 usually uses 2-wire topology only. RS-485 supports both 2-wire and 4-wire topology.
SW1-3 T-D Disable RS-485/422 receiver terminator T-E Enable RS-485/422 receiver terminator [T-E] setting enables the internal 120 ohms terminator on the receiver interface. A proper termination is important in a bus topology or multidrop network. The terminator is a resistor added in parallel with the receiver's "A" and "B" lines in order to match the data line characteristic impedance and reduce signal reflection. This setting is useful when the converter is installed at the end of a RS-485 or RS-422 bus.
SW1-4 TXC RS-485/422 driver enable control by RTS or ADC TXE RS-485/422 driver is forced to enable [TXC] setting enables RS-485/422 driver to be controlled by RTS method or ADC method. RTS method is described later. Refer to SW2 settings for more description about ADC method. [TXE] setting forces RS-485/422 driver to be enabled always. This setting is applied when Master function is required in an RS-485/RS-422 multidrop bus.
SW1-5 RTS-D RTS-E Disable RTS control for RS-485/422 driver Enable RTS control for RS-485/422 driver RTS control method allows the connected RS-232 device (such as a PC) to control RTS signal (CTS input at the converter end) by software to enable or disable RS-485/422 driver. [RTS-D] setting is used to disable RTS control method. SW1-6 RXC RS-485/422 receiver enable control by RTS or ADC RXE RS-485/422 receiver is forced to enable.
SW1-8&7 BIAS-D RS-485/422 receiver line bias is disabled BIAS-E RS-485/422 receiver line bias is enabled The line bias is used to maintain the proper idle-state voltage to the idle condition (when no driver is enabled on the bus). These bias resistors are pull-up resistors on the data B line and pull-down resistors (to ground) on data A line. In 4-wire configuration, the bias resistors are placed on the receiver lines. [BIAS-D] disables the internal BIAS resistors on receiver lines.
SW2-1 SDD Disable ADC control for RS-485/422 driver SDE Enable ADC control for RS-485/422 driver ADC method involves special circuitry that senses when data is received on the RS-232 interface and is being transmitted and automatically enables the RS-485/422 driver as well as disabling the driver within one character length of the end of transmission. This is a useful method for driver control since it needs no software involved.
2.7.1 RS-485/422 Driver and Receiver Control The following table lists the possible DIP SW settings related to RS-485 and RS-422 driver and receiver control: SW1-4 TXE SW1-6 RXC SW1-5 RTS-D TXE RXE TXC RXE RTS-D SDD Driver is disabled. Receiver is enabled. TXC RXE RTS-E SDD Driver controlled by RTS Receiver is enabled. TXC RXC RTS-E SDD Driver controlled by RTS Receiver is enabled when driver is disabled. TXC RXE RTS-D SDE Driver controlled by ADC Receiver is enabled.
2.
The RS-232 to RS-485/422 converter as an interface between an RS-232 device and RS-485 or RS-422 bus.
2.8.
3 Making RS-485/422 Connection EIA-485 [TIA-485] Balanced (differential) interface; defines the Physical layer, signaling protocol is not defined. EIA-485 specifies bidirectional, half-duplex data transmission. Up to 32 transmitters and 32 receivers may be interconnected in any combination, including one driver and multiple receivers (multi-drop), or one receiver and multiple drivers.
RS-485 and RS-422 are in wide use as an interface for telecommunications, industrial, medical, security and networking applications. The following sections describe examples of some of popular physical topologies. 3.1 RS-422 Point-to-Point Circuit This is the simplest configuration, just one driver and one receiver. If termination is used, it is only required at the receiver. Most RS-422 cables used to connect telecom or data-com equipment are point to point links.
It also can convert an RS-232 device into a receiver node in this point-topoint circuit. The configuration for a RECEIVER node is: SW1-4 SW1-6 SW1-5 SW2-1 TXC RXE RTS-D SDD Enable RTS/ADC Control for Driver Enable Receiver always Disable RTS control Disable ADC control 3.2 RS-422 Multi-drop Network In this topology there is only one driver sending to one or more receivers. One termination resistor is recommended at the extreme end of the bus to eliminate reflections.
The converter can convert an RS-232 device into a Master node in this multi-drop network. The configuration for MASTER node is: SW1-4 SW1-6 SW1-5 SW2-1 TXE RXC RTS-D SDD Enable Driver always Enable Receiver RTS/ADC Control Disable RTS control Disable ADC control It also can convert an RS-232 device into a SLAVE node in this multi-drop network.
3.3 RS-485 Multi-drop Network This topology is similar to RS-422 multi-drop. However, up to 32 receivers are permitted under RS-485. This may be used for point-to-multipoint communications.
It is also able to convert an RS-232 device into a SLAVE node in this multidrop network.
3.4 RS-485 Half-duplex 2-wire Network This is the typical RS-485 topology. It takes advantage of RS-485 capability to support multiple drivers on a bus. RS-422 devices should not be used in this configuration. This topology enables bidirectional communication from many nodes over long distances at low to medium data rates, all on a single pair of wires (2-wire). It can implement a very functional, very flexible and very economical data network.
The converter features RS-485 driver and receiver in one device. It also provides very flexible configuration settings for Driver Enable control and Receiver Enable control.
The master node may drive its bus while any of the slave nodes are driving the lower pair, making this 4-wire network a full-duplex communication channel. All communication occurs from master to slave or slave to master, so any peer to peer communications must be routed through the master node.
3.6 Summary of the Converter Applications The common topologies implemented with RS-485 and RS-422 are: 1. RS-422 point to point in 2 -wire circuit 2. RS-422 2-wire multi-drop network 3. RS-485 2-wire multi-drop network 4. RS-485 half-duplex bidirectional network in 2-wire topology 5. RS-485 full-duplex bidirectional network in 4-wire topology The converter is equipped with functionality and flexibility to convert an RS-232 device to a node in any one of the above topologies.
4 LED Indicators The following figure shows the locations of the LED indicators: 4.1 LED Indicators LED PWR DISPLAY Power status STATE ON OFF INTERPRETATION The device is powered on. The device is powered off. 232 TX RS-232 TX ON OFF RS-232 TX data is present No RS-232 TX data 232 RX RS-232 RX ON OFF RS-232 RX data is present No RS-232 RX data TXC RS-485 Driver Enable ON OFF The driver is enabled. The driver is disabled and is in tri-state (high-impedance).
5 Factory Default Configuration The following table lists the factory default settings for configuration DIP SW: SW Name SW1-2&1 4W Default Setting 4-wire (RS-485/422 driver receiver separated) SW1-3 T-D (Off) Disable RS-485/422 receiver terminator SW1-4 TXC (Off) RS-485/422 driver enable control by RTS or ADC SW1-5 RTS-D (Off) Disable RTS control for RS-485/422 driver SW1-6 RXC (Off) RS-485/422 receiver enable control by RTS or ADC SW1-8&7 BIAS-D (Off) Disable RS-485/422 line bias SW2-1 SDE (