PCL-741 Isolated Dual Port RS-232/Current-Loop Interface Card
Copyright Notice This documentation and the software included with this product are copyrighted 2001 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual or software may be reproduced, copied, translated or transmitted, in any form or by any means without the prior written permission of Advantech Co., Ltd.
Contents Chapter 1 Introduction .................................................. 1 Description ............................................................................. 2 Features ..........................................................................................3 Applications ...................................................................................3 Specifications .................................................................................4 Chapter 2 Hardware Installation ..
CHAPTER Introduction 1 Chapter 1 Introduction 1
Description The PCL-741 card provides two isolated RS-232 or current-loop serial ports for communication applications in difficult environments. You can configure each port individually to RS-232 or 4-20 mA current-loop using on-board jumpers. The card has two 16C550 UARTs (on-chip 16-byte FIFO buffers) making serial I/O more reliable. By buffering data into 16-byte packets before putting it on the bus the UARTs drastically reduce the CPU load.
Features Two independent RS-232 or Current-loop serial ports Each port can be individually configured to RS-232 or currentloop 16C550 FIFO UARTs (16-byte FIFO) Baud rate up to 56 Kbps IRQ selection: 3, 4, 5, 7, 9, 10, 11, 12 or 15 Complete RS-232 modem-control signals Up to four cards per system for a total of eight ports Provides 500 VDC isolation protection Fully isolated ground and signal lines COM1, COM2, COM3 and COM4 software compatibility Applications PLC monitoring and control
Specifications Board Number of ports: 2 Protocol selection: RS-232 or 4~20 mA current-loop UART: 2 x 16C550 (16-byte FIFO) I/O address selection: From 200H to 3F8H IRQ selection: 3, 4, 5, 7, 9, 10, 11, 12 or 15 Power isolation: 500 VDC Signalisolation: 2500 VAC Power consumption: +5 V, 300 mA typical, 1.1 A Max. Connectors: Dual DB-9 male Operating temperature: 32 to 122°F (0 to 50°C) Dimensions: 7.25" x 4.13" (18.4-cm x 10.5-cm) Weight: 0.
Current-loop interface Signal driver/Receiver: 6N136 Signals: TxD+, TxD-, RxD+, RxD Current value: 20 mA (Standard) Mode: Asynchronous, full duplex Baud-rate: 50 to 57600 bps Opto-isolators: HllL1 Transmission distance: 1000 m Chapter 1 Introduction 5
6 PCL-741 User's Manual
CHAPTER Hardware Installation 2 Chapter 2 Hardware Installation 7
Initial Inspection Depending on the option you ordered, you should find (in addition to this manual) the following items inside the shipping container: We carefully inspected the PCL-74 1 mechanically and electrically before we shipped it. It should be free of marks and scratches and in perfect working order on receipt. As you unpack the PCL-74 l, check it for signs of shipping damage (damaged box, scratches, dents, etc.).
Jumper and Switch Location Chapter 2 Hardware Installation 9
Card Configuration Each port of the PCL-741 card has four associated status jumper groups and one six position DIP switch. If you do not use the boards default settings then these all require configuring prior to use. I/O port base address, interrupt level, RS-232/current-loop driver mode and current-loop driver and receiver status all require setting up. The functions of these DIP switches and jumpers are shown below.
Default Settinos The board will be shipped in the RS-232 mode, the jumpers on the 10*3 pin jumper will be set to the upper position, this is the cards default setting. If your requirements are the same as the default settings, you may simply install the card without the need for any setting up.
Protocol Selection Firstly you have to decide which mode each port will be operating in, RS-232 or current-loop driver mode. You can configure each port to operate in a different mode if required. Each port has to be individualIy set-up by selecting the correct jumper configurations on the three jumper groups identified as CH1 and CH2, these consist of a 10*3 pin jumper, a 2*3 pin jumper and a 1*3 jumper. RS-232 Mode Selection For RS-232 mode operation the jumpers will be set as in the default mode.
You may configure both the Tx and Rx on one port to operate in the same mode, or you can configure each Tx and Rx on one port to operate in different modes. Note: Whatever mode you select you must ensure that this is not the :~ same mode as the device that your PCL-741 is connected to. The .i diagram below shows a typical configuration. I/0 Address and Interrupt Setup 1/0 Address setup The base address of each port is selectable by a 6 position DIP switch, SW1 for CH1 and SW2 for CH2.
The required switch settings for various base addresses are as shown below: Port base address (SW1 or SW2) Base address 200-207 A3 ● A4 ● A5 ● A6 ● A7 ● A8 ● 208-20F ¡ ● ● ● ● ● ¡ ● ¡ ¡ ¡ ● COM2:* 2F8-2EF ¡ ¡ ¡ ¡ ¡ ● 3E8-3EF ¡ ● ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ -2E8-2EF -- -COM1:* 3F8-3FF ●:ON ¡:OFF *:Default The following example shows how to set the base address to 2F8, the [t default setting for COM2: the switch sum is set to 2F8 = 200 + 80 +40 + 20 + 10 + 8, (HEX).
Interrupt Level (IRQ) Setting The PCL-741 card is designed to access interrupt levels 3 up to level 15 with the exception of 6, 8, 13, and 14. If the card is to be designated as COM1: and COM2:, the card must be set to interrupt levels and 3 respectively. Ensure this does not conflict with any other cards IRQ. Simply place the jumper links on the required interrupt level asshown below: Card installation Warnaing! Tum off your PC’s power supply whenever you installorremove the PCL-741 oritscables.
6.Carefully grasp the upper edge of the PCL-741 card. Align the hole in the retaining bracket with the hole on top of the expansion slot. Align the gold striped edge connector with the expansion slot socket. Press the board firmly into the socket. 7.Replace the screw in the expansion slot retaining bracket. Replace anti-vibration card holder. 8.Attach the DB-9 cable to the connector on the bracket. 9.Replace the PCs cover. Connect the cables you removed in step 2. Turn the computer power on.
CHAPTER Wiring 3 Chapter 3 Wiring 17
wiring RS-232 Signal wiring Since the RS-232 interface is not strictly defined, many devices have their own connection methods which may ignore some signal lines or define reserved lines to other functions. It is best to refer to the users manual for your device for installation instructions. You may find the following helpful. In general, DTE (Data Terminal Equipment) refers to the device that is leading the communication. Examples include PCs, terminals and some printers.
Modem connections PCL-741: DB-9 Male Modem (DCE) Pin 3 Signal TxD Pin 2 Signal RxD 2 RxD 3 TxD 7 RTS 4 CTS 8 CTS 5 RTS 6 DSR 6 DTR 5 GND 7 GND 4 DTR 20 DSR 1 DCD 8 DCD For DTE to DCE connection, use straight through cable connections, i.e. you dont have to reverse lines 2 and 3, lines 4 and 5, and lines 6 and 20. Because in general DCE RS-232 interfaces are reversed themselves.
The maximum length of a RS-232 cable is 100 ft. If you need to connect over longer distances7 (longer than 100 h), please use current-loop mode to match this requirement.
CHAPTER A PC I/O Address Reference Chapter A PC I/O Address Reference 29
APPENDIX B PC 1/0 Address usage The following table indicates the PC I/O address usage assignrnent. To prevent conflicting settings of the PCL-74 1 with other devices or I/O cards, you are recomrnended to refer this table.