Page 3
Copyright Notice This documentation and the software included with this product are copyrighted 1997 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.
C o n t e n t s Chapter 1 Introduction ............. 1 Description ................2 Features ..................3 Specifications ................4 Chapter 2 Installation ............5 Initial Inspection ..............6 Card Installation ............... 8 Card Configuration ..............9 Driver Installation for DOS Users ......... 12 Chapter 3 Wiring ..............
D e s c r i p t i o n The half-size PCL-840 interface card is a simple and elegant multi- serial solution for your PC/AT connectivity needs. Its eight asynchro- nous serial communications channels can connect your modems, terminals, printers, and instruments.
F e a t u r e s • Transmission rates up to 115.2 Kbps • ASIC design, compact size • Complete RS-232 Modem Signal Controls • Software-configurable, no switches or jumpers • Independent I/O address for each port • Independent IRQ selection for each port (IRQ 2, 3, 4, 5, 7, 10, 11, 12, 15) •...
S p e c i f i c a t i o n s • Bus interface: ISA (EISA compatible) • Number of ports: 8 serial ports • I/O address range: 0x0000 ~ 0xFFFF • IRQ: 2, 3, 4, 5, 7, 10, 11, 12, 15 •...
Depending on the option you ordered, you should find (in addition to this manual) the following items inside the shipping container: ä ä ä ä ä PCL 840 with Opt 8B • One PCL-840 8-port RS-232 card • One 1.5 m DB-62 to DB-62 cable • One RS-232 connection box •...
Page 13
It should be free of marks and scratches and in perfect working order on receipt. As you unpack the PCL-840, check it for signs of shipping damage (damaged box, scratches, dents, etc.). If it is damaged or it fails to meet specifications, notify our service department or your local sales representative immediately.
(save the screw to secure the interface card retaining bracket). Remove the anti-vibration card clamp if supplied. 6. Carefully grasp the upper edge of the PCL-840 card. Align the hole in the retaining bracket with the hole on top of the expansion slot.
Card Configuration The PCL-840's advanced design eliminates the hassles with switches and jumpers during card configuration, making it ideal for industrial applications that require low MTTR. Instead, the card is configured entirely through the included easy-to-use setup software. Type IO IRQ at the DOS prompt and follow the on-screen instructions.
Page 16
Default Factory settings for the PCL 840 • I/O address: 1st port 0x180 2nd port 0x188 3rd port 0x190 4th port 0x198 5th port 0x1A0 6th port 0x1A8 7th port 0x1B0 8th port 0x1B8 • Configuration Access Port (CAP): 0x180 •...
Page 17
For example, if the PCL-840 is to be installed under SCO UNIX system as the primary (or first) eight port board, you can designate the PCL-840's I/O base to 0x280, IRQ to 4 and interrupt vector to 0x2C0 by simply selecting SCO UNIX (Arnet Compatible) on the menu.
Page 18
The PCL-840's driver determines the configuration of the installed cards by reading a data file, GEN DRV.CNF. When you first install the PCL-840, and each time you change the card's address and IRQ, you will need to run the card setup program to save the settings to the configuration file.
Page 19
After the screen shows up, move the cursor bar (using the arrow keys or the mouse) to the PCL-840 field and press ENTER. The screen shown below will appear. Setup Here you can set the configuration for each of the PCL-840 cards installed in the system.
Page 20
If any of your ports have the same setup, you can define them all at one time by pressing F5 to bring up the Group Setup screen shown below. Group Edit menu When you are finished setting up the ports, press the ESC key to return to the previous windows.
Page 21
– you do not have to install it in the CONFIG.SYS file. To install the PCL-840 card driver change to the directory or floppy disk containing the driver files and type GEN-DRV. You should soon see the following message: PC ComLIB Serial Communication Driver (Ver x.xx)
Page 22
Programming The following code fragment illustrates how the library functions can simplify card programming, reducing setup time and avoiding bugs. The following C program shows a simple data transfer test. It uses a PC-ComLIB function call to send data between Port 1 and Port 2 at a rate of 57.6 Kbps.
Page 24
DTE, you must switch the wires. • The Opt-8B box uses the traditional pin assignment for a DCE, even though the PCL-840 is a DTE. This makes connections easier when you connect to a DTE — the connection is straight through.
Page 27
Connecting to a terminal or PC ä ä ä ä ä PCL 840 with Opt 8C PCL 840/Opt 8C Terminal, PC (DTE) è è è è è Pin no Signal Pin no Signal è T x D R x D è...
Page 28
Connecting to a modem ä ä ä ä ä PCL 840 with Opt 8C PCL 840/Opt 8C Modem (DCE) Pin no Signal Pin no Signal è T x D R x D è R x D T x D è R T S C T S è...
Page 29
Connecting to a terminal or PC without hardware handshaking If you are not using the CTS, RTS, DSR and DTR hardware hand- shaking signals, you will need to loop back (connect) the flow control lines inside the connector. You can also disable flow control in software.
Page 32
Inside the shipping package you should find the PCL-8441/PCL- 8442 connection box, its external power adapter and the 62-pin cable to connect it to the PCL-840. The power adapter not only provides DC power for the internal circuit but also ensures proper isolation.
Page 33
S p e c i f i c a t i o n s • Speed: 50 to 115,200 bps • Isolation: 500 V minimum (PCLS-8442 only) • Signals: TxD+, TxD-, RxD+, RxD- and GND LED indicates data flow • Differential driver: Output Voltage min.: 2 V (w/ 100 W termination resistor) Output Voltage max.: 5 V (w/o termination resistor) •...
Page 34
PCL 8441/8442 Cable Pin Assignments The PCL-8441/8442 supplies eight female DB-25 connectors. Pin assignments appear below. PCL 8441/8442 pin assignments RS 422 Wiring PCL 8441/8442 Remote Site Pin no. Signal Signal è TxD+ RxD+ è T x D R x D è...
Page 35
PC I/O Address R e f e r e n c e Appendix B: PC I/O Address Assignments...
Page 36
PC I/O Address Usage The following table indicates the PC I/O address usage assignment. To prevent conflicting settings of the PCL-840 with other devices or I/O cards, you are recommended to refer this table. I/O Address D e v i c e...
Need help?
Do you have a question about the PCL-840 and is the answer not in the manual?
Questions and answers