Advantech PCI-1602, PCI-1620, PCI-1610, PCI-1612, PCI-1601A User Manual

...
2nd Edition
Printed in T aiwan July 2001
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.
Acknowledgments
PC-LabCard is a trademark of Advantech Co., Ltd. IBM, PC and PC/XT/AT are trademarks of International Business Machines Corporation. MS-DOS, MASM, QuickBASIC, Microsoft C and MS­PASCAL are trademarks of Microsoft Corporation. Intel is a trademark of Intel Corporation. Turbo C and T urbo PASCAL are trademarks of Borland International.
Contents
Chapter 1: Introduction ................................................ 1
Description ............................................................................. 2
Features .................................................................................. 2
Specifications ......................................................................... 3
Ordering Information .......................................................... 5
Chapter 2: Hardware Configuration ............................. 7
Initial Inspection .................................................................... 8
Jumper and Switch Locations ............................................. 9
Jumper settings ................................................................... 1 4
How to set jumpers ............................................................ 1 4
Default Settings ................................................................. 14
Card installation ..................................................................15
RS-422/485 selection (for PCI-1601/1602/1612) .......... 16
Enable mode selection ...................................................... 16
Terminator resistor setup (for PCI-1601/1602/1612) ..... 16
Chapter 3: Driver Setup & Installation ....................... 17
Overview .............................................................................. 18
For Windows 95/98 Driver Setup ..................................... 18
For Windows NT Driver Setup ......................................... 1 8
Windows 95/98 Driver Setup .............................................1 9
Steps for Windows 95/98 Driver Setup ........................... 1 9
Reboot your system after Win95/98 driver Setup.......... 2 2
PCI UARTs Device Driver Installation ...................................................... 22
PCI Bridge Device Driver Installation........................................................ 26
Verify your Win95/98 Driver Setup ................................. 2 7
Configure PCI ICOM serial devices on Windows 95/98 31
Configuring PCI UARTs Device ................................................................. 33
Configuring PCI Bridge Device................................................................... 34
Configuring ports ........................................................................................ 34
Remove PCI ICOM series device ..................................... 3 8
Steps for Complete Win98/98 Driver Uninstall .............. 42
Windows NT Driver Setup ................................................. 4 3
Steps for Windows NT Driver Setup ................................ 4 3
Start the Device Function in Windows NT ...................... 4 7
Verify your NT driver Setup ............................................. 4 8
Verify your NT Driver Function ...................................... 4 9
Stop the Device Function in Windows NT ...................... 5 0
Chapter 4: ICOM Tools ................................................. 51
Introduction ......................................................................... 52
Installation ........................................................................... 52
User Interface of ICOM Tools.......................................... 5 2
Using the ICOM Tools utility ............................................ 5 6
Port Selection ..................................................................... 5 6
4.3.2 Configure the Port .................................................. 5 8
Run the test................................................................................................. 5 9
Stop the test ................................................................................................ 6 0
Close Port ...........................................................................6 1
Exit the ICOM Tools utility............................................... 6 1
Messages on the Status Bar and Message Logo area ... 6 1
Status Bar messages .......................................................... 6 1
Message Logo messages .................................................. 6 1
Chapter 5: Pin Assignment & Wiring .......................... 63
Pin assignments ................................................................... 6 4
PCI-1601/1602 .................................................................. 6 4
RS-422 signal wiring ........................................................ 6 4
RS-485................................................................................ 6 4
PCI-1610/1612 .................................................................. 6 5
PCI-1620 ............................................................................ 6 6
Wiring ................................................................................... 6 8
RS-232 signal wiring ........................................................ 6 8
Terminal or PC (DTE) connections ........................................................... 6 8
Modem connections ................................................................................... 6 9
Terminal without handshake ....................................................................... 6 9
RS-422 signal wiring ........................................................ 7 0
Terminator Resistors setup ............................................... 7 0
RS-485 signal wiring ........................................................ 7 1
Termination resistor setup ................................................. 7 2
Chapter 1 Introduction 1
1
Introduction
CHAPTER
2 PCI Comm Card Series User's Manual
Description
The PCI Local Bus is a high-performance bus that provides a proces­sor-independent data path between the CPU and high-speed peripher­als. PCI is a robust interconnect mechanism designed specifically to accommodate multiple high performance peripherals for series communication, SCSI, LAN, etc.
Advantech serial communication cards leverages the " Plug and Play " capability defined in the PCI 2.1 bus specification. The board requires only one PCI slot within the personal computer and provides independent serial channels. All channels are addressed in a continu­ous 32 byte I/O block for simplified software access. And, all channels may also share one PCI interrupt. An interrupt status register is available for determining the interrupt source.
The Advantech PCI communication card comes standard with 16PCI954 UARTs containing 128 byte FIFOs which are available as an option. These upgraded FIFOs greatly reduce CPU overhead and are an ideal choice for heavy multitasking environments.
16PCI954
The 16PCI954 is a high performance Quad UART with an on-chip PCI interface. Targeted at PCI-based serial and parallel expansion cards, PCI-architecture computer systems and embedded applications, the 16PCI954 integrates a PCI bus interface together with four of 16C950 high performance UARTs, a bi-directional parallel port and a local bus bridge function. This single-chip solution replaces five or more integrated circuits used in today products, giving performance, cost and size advantages for new designs.
Features
• PCI Specification 2.1 compliant
• Speeds up to 921.6 Kbps
• 16C954/950 UARTs with 128-byte standard
• Standard Industrial Board size
• I/O address automatically assigned by PCI Plug-and-Play
Chapter 1 Introduction 3
• OS supported: Windows NT , W indows 95, Windows 98
• Optional surge protection
• Optional isolation protection for RS-422/485
• Interrupt status register for increased performance
• Space reserved for termination resistors
• Automatic RS-485 data flow control
Specifications
Bus Interface: PCI bus specification 2.1 compliant
IRQ: all ports use the same IRQ assigned by PCI Plug-and-Play
Data bits: 5, 6, 7, 8
Stop bits: 1, 1.5, 2
Parity: none, even, odd
Communication controller:
16PCI954 + 16C954 for PCI-1620A/B 16PCI954 for PCI-1610A/B, PCI-1612A/B 16PCI954 for PCI-1601A/B, 1602A/B
Speed (bps) : 50 ~ 921.6 K
Data signals:
TxD, RxD, R TS, CTS, DTR, DSR, DCD, GND (for RS-232) RI (for PCI-1610) TxD, RxD, R TS, CTS (for RS-422)
4 PCI Comm Card Series User's Manual
Typical Max
PCI-1620 120 mA (+ 12 V) 150 mA (+ 12 V)
180 mA (+ 5 V) 220 mA (+ 5 V)
PCI-1610 60 mA ( +12 V) 80 mA (+ 12 V)
150 mA (+ 5 V) 180 mA (+ 5 V)
PCI-1601 220 mA 270 mA
PCI-1602 250 mA 300 mA
PCI-1612 60 mA ( +12 V) 80 mA (+ 12 V)
270 mA (+ 5 V) 340 mA (+ 5 V)
Power requirement :
Dimensions: 185 mm x 100 mm (for PCI-1612/1620) 123 mm x 92 mm (for PCI-1601/1602/1610)
Operating temperature: 0o ~ 65o C (referring to IEC 68-2-1, 2)
Operating Humidity: 5 ~ 95% Relative Humidity, non-condensing (referring to IEC 68-2-1, 2)
Operating Humidity: 5 ~ 95% Relative Humidity, non-condensing (referring to IEC 68-2-3)
Storage Temperature: -25 ~ 85o C
Chapter 1 Introduction 5
Ordering Information
PCI-1601A: 2-port RS-422/485 PCI Comm Card PCI-1601B: 2-port RS-422/485 PCI Comm Card, w/surge protection PCI-1602A: 2-port RS-422/485 PCI Comm Card. w/ isolation protection PCI-1602B: 2-port RS-422/485 PCI Comm Card, w/isolation and
surge protection PCI-1620A: 8-port RS-232 PCI Comm Card PCI-1620B: 8-port RS-232 PCI Comm Card, w/surge protection PCI-1610A: 4-port RS-232 PCI Comm Card PCI-1610B: 4-port RS-232 PCI Comm Card, w/surge protection PCI-1612A: 4-port RS-232/422/485 PCI Comm Card PCI-1612B: 4-port RS-232/422/485 PCI Comm Card, w/surge protection
Series
PCI-1601 PCI-1602 PCI-1610 PCI-1612 PCI-1620
A B A B A B A B A B
No. of Port 2 2 2 2 4 4 4 4 8 8
Interface
RS-422/485 RS-422/485 RS-232
RS-232/422/
485
RS-232
Surge Protection
-
2500
V
DC
-
2500
V
DC
-
3000
V
DC
N/A
2500
V
DC
-
3000
V
DC
Isolation Protection
- -
3000
V
DC
3000
V
DC
- - - - - -
6 PCI Comm Card Series User's Manual
Chapter 2 Hardware Configuration
7
2
Hardware
Configuration
CHAPTER
8 PCI Comm Card Series User's Manual
Initial Inspection
You should find the following items inside the shipping package (in addition to this manual):
• PCI communication interface card
• Advantech Automation Software
• PCI communication card user's manual We carefully inspected the PCI communication card series mechani-
cally 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 PCI communication card series, 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 depart­ment or your local sales representative immediately. Also notify the carrier. Retain the shipping carton and packing material for inspec­tion by the carrier . After inspection we will make arrangements to repair or replace the unit.
When you handle the PCI communication card series, remove it from its protective packaging by grasping the rear metal panel. Keep the anti-vibration packing. Whenever you remove the card from the PC, store it in this package for protection.
Warning! Discharge your body’ s static electric charge by
touching the back of the grounded chassis of the system unit (metal) before handling the board. You should avoid contact with materials that hold a static charge such as plastic, vinyl and styrof oam. Handle the board only by its edges to av oid static damage to its integrated circuits. Avoid touching the exposed circuit connectors. We also recommend that you use a grounded wrist strap and place the card on a static dissipative mat whene v er y ou work with it.
Chapter 2 Hardware Configuration
9
Jumper and Switch Locations
PCI-1601 Silk ScreenPCI-1601 Silk Screen
PCI-1601 Silk ScreenPCI-1601 Silk Screen
PCI-1601 Silk Screen
10 PCI Comm Card Series User's Manual
PCI-1602 Silk ScreenPCI-1602 Silk Screen
PCI-1602 Silk ScreenPCI-1602 Silk Screen
PCI-1602 Silk Screen
Chapter 2 Hardware Configuration
11
PCI-1610 Silk ScreenPCI-1610 Silk Screen
PCI-1610 Silk ScreenPCI-1610 Silk Screen
PCI-1610 Silk Screen
12 PCI Comm Card Series User's Manual
PCI-1612 Silk ScreenPCI-1612 Silk Screen
PCI-1612 Silk ScreenPCI-1612 Silk Screen
PCI-1612 Silk Screen
Chapter 2 Hardware Configuration
13
PCI-1620 Silk ScreenPCI-1620 Silk Screen
PCI-1620 Silk ScreenPCI-1620 Silk Screen
PCI-1620 Silk Screen
14 PCI Comm Card Series User's Manual
PCI-1601 PCI-1602 PCI-1612 RS-422/485 M ode RS-422 RS-422 RS-422 Enable Mode Auto Auto Auto
Jumper settings
This section tells how to set the jumpers to configure your card. It gives the card default configuration and your options for each jumper.
How to set jumpers
You configure your card to match the needs of your application by setting jumpers. A jumper is the simplest kind of electric switch. It consists of two metal pins and a small metal clip (often protected by a plastic cover) that slides over the pins to connect them. To “close” a jumper you connect the pins with the clip. To “open” a jumper you remove the clip. Sometimes a jumper will have three pins, labeled 1, 2 and 3. In this case you would connect either pins 1 and 2 or 2 and 3.
You may find pair of needle-nose pliers useful for setting the jumpers. If you have any doubts about the best hardware configuration for your
application, contact your local distributor or sales representative before you make any changes.
Default Settings
The board is shipped with default settings. If you need to change these settings, however, see the following sections. Otherwise, you can simply install the card.
OpenOpen
OpenOpen
Open
ClosedClosed
ClosedClosed
Closed
Closed 2-3Closed 2-3
Closed 2-3Closed 2-3
Closed 2-3
Chapter 2 Hardware Configuration
15
Card installation
Warning! Turn off your PC’s pow er supply whenev er you install
or remove the PCI communication card or its cables. Static electricity can easily damage computer equipment. Ground yourself by touching the chassis of the computer (metal) before you touch any boards. See the static warning on page 6
1. Turn off the computer. Turn the power off to any peripheral devices (such as printers and monitors).
2. Disconnect the power cord and any other cables from the back of the computer. Turn the PC if necessary to gain access to the cables.
3. Remove the PC’s cover (refer to your user’s guide if necessary).
4. Locate the expansion slots or passive backplane (at the rear of the PC) and choose any unused slot.
5. Remove the screw that secures the expansion slot cover to the PC
(save the screw to secure the interface card retaining bracket). Re move the anti-vibration card clamp if supplied.
6. Carefully grasp the upper edge of the PCL-743/745 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. Replace the PC’s cover. Connect the cables you removed in step 2. Turn the computer power on.
The board is now installed in the computer. See Chapter 4 for infor­mation on cabling.
16 PCI Comm Card Series User's Manual
RS-422/485 selection (for PCI-1601/1602/
1612)
You can set each port individually for either RS-422 (the default) or RS-485 operation. The figure below shows the jumper settings. See the "Jumper and Switch Locations" figure from page 7 to 11 for help to locate the jumpers.
Enable mode selection
You set the Enable mode using two- or four- position DIP switches, one for each port. If the switches are set to "AUTO", the driver auto­matically senses the direction of the data flow and switches the direction of transmission. No handshaking is necessary.
If DIP switches are set to "On," the driver is always enabled, and always in high or low status. The user must select a mode before beginning RS-422 applications.
Terminator resistor setup (for PCI-1601/
1602/1612)
You can install terminator resistors if necessary to match impedance. Each signal line (R TS, CTS) has a separate resistor.
485485
485485
485
RS-485
RS-422 (default)
422422
422422
422
485485
485485
485
422422
422422
422
120
300
Chapter 3 Driver Setup & Installation
17
3
Driver Setup &
Installation
CHAPTER
18 PCI Comm Card Series User's Manual
Overview
This chapter describes the driver installation, configuration and removal procedures for Windows 95/98, and W indows NT. We strongly
recommend that you install the software driver first before you install the hardware into your system, since this will guarantee a smooth and trouble-free installation process.
For Windows 95/98 Driver Setup
To install the driver for the first time, please refer to Section
“Steps for Windows 95/98 Driver Setup” and Section “Reboot after Win95/98 driver Setup”
To verify your installation, refer to Section “Verify your Win 95/ 98 Driver Setup”
T o configure your PCI ICOM devices, refer to Section “Configure PCI ICOM Series Devices”
To remove the Device from your system, refer to Section “Remove Advantech PCI ICOM Series Devices”
T o remove the driver, refer to Section “Steps for Complete Windows 95/98 Driver Uninstall”
For Windows NT Driver Setup
To install the driver for the first time, please refer to Section
“Steps for Windows NT Driver Setup”
T o verify your installation, refer to Section “Verify your NT Driver Setup”
T o start the device function, refer to Section “Start the Device Function”
T o verify the driver function, refer to Section “Verify your NT Driver Function”
T o stop the device function, refer to Section “Stop the Device Function in Windows NT”
Chapter 3 Driver Setup & Installation
19
Windows 95/98 Driver Setup
Windows 95/98 supports up to 256 serial ports, from COM1 to COM256. Advantech PCI ICOM driver, however , will start to assign
port numbers beginning from COM 5. In order to fully utilize Windows 95/98 advanced features such as multi-process and multi­thread , we offer pure 32-bit Windows 95/98 virtual device port drivers, which are compliant with communication drivers, for the PCI­1601/ 1602/ 1610/ 1612/ 1620 multiport boards. All these drivers conform to Win32 COMM API standard to serve you with a smooth performance.
Steps for Windows 95/98 Driver Setup
Before you install the card into your system, we strongly recommend you install the driver first. Please follow the steps below for the PCI-
1601/ 1602/ 1610/1612/ 1620 Windows 95/98 driver installation.
1. Insert your driver installation diskette into your floppy drive, or insert companion CD-ROM disc into your CD-ROM drive.
2. Use Windows Explorer or Windows Run command to execute SETUP.EXE on your driver diskette or companion CD-ROM. Or if the autoplay function is enabled on your system, the driver setup program will be launched automatically from the CD-ROM.
3. After the Setup program is launched, you’ll see the following Setup Screen.
20 PCI Comm Card Series User's Manual
5. Click the Next button and the Choose Destination Location page appears.
4. Click the Next button and the License Agreement Page appears.
Chapter 3 Driver Setup & Installation
21
6. Click Next to bring up the Select Program Folder dialog box.
7. The Driver Setup program will begin copying files to your system.
22 PCI Comm Card Series User's Manual
9. After the installation process is completed, just click Finish to
close the driver setup program.
10.After you have finished the driver installation, you need to reboot your system for proper functioning of your card.
Chapter 3 Driver Setup & Installation
23
Reboot your system after Win95/98 driver
Setup
PCI UARTs Device Driver Installation
1. On rebooting your system, Windows 95/98 will recognize your card devices and will search for the device driver for PCI UARTs automatically as shown in the following dialog box.
2. Choose “Search for the most Suitable Driver” radio button, and click Next.
Loading...
+ 62 hidden pages