ICPDAS VXC-142, VXC-112A, VXC-142i, VXC-182i User Manual

VXC Cards User’s Manual
VXC-112A, VXC-142/142i, VXC-182i
Warranty
All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages consequent to the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, ICP DAS assumes no responsibility for its use, or for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright 2004 by ICP DAS. All rights are reserved. Trademark
The names used for identification only may be
registered trademarks of their respective companies.
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----1
Tables of Contents
1. INTRODUCTION ...................................................................................................................3
1.1 FEATURES.......................................................................................................................4
1.2 SPECIFICATIONS..............................................................................................................4
1.3 PRODUCT CHECK LIST.....................................................................................................5
1.4 ORDERING INFORMATION .................................................................................................5
1.5 OPTIONS.........................................................................................................................6
2. HARDWARE CONFIGURATION..........................................................................................7
2.1 BOARD LAYOUT...............................................................................................................7
2.2 COM PORT MAPPING AND BOARD ID.............................................................................11
2.3 PIN ASSIGNMENT AND CABLE WIRING.............................................................................13
2.4 HARDWARE INSTALLATION..............................................................................................15
3. SOFTWARE INSTALLATION.............................................................................................16
3.1 DOS LIB.......................................................................................................................17
3.2 WINDOWS NT 4.0 .........................................................................................................18
3.3 WINDOWS 2000 ............................................................................................................20
3.4 WINDOWS XP/2003 ......................................................................................................22
3.5 LINUX............................................................................................................................24
4. PROGRAMMING REFERENCE .........................................................................................28
4.1 DETERMINING THE I/O ADDRESS....................................................................................28
4.2 I/O ADDRESS MAPPING .................................................................................................33
4.3 INTERRUPT OPERATION .................................................................................................38
5. APPENDIX...........................................................................................................................41
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----2
1. Introduction
The VXC series multi-port serial card enables user to install additional communication ports on the PC. It’s the best choice for time-critical and reliably communications and controls on the industrial environment. For example: Communicates to PLC, FAB machine, meter, console management of devices, laboratory instruments and Modem link, etc. In harsh industrial environments, the onboard surge protection protects the computer and other equipment from being damaged by high potential voltages.
COM-Selector:
The VXC series cards equip a COM-Selector (dip switch) for the COM port number selection (automatically or manually). It’s an important and innovative feature of the VXC cards. It has the following advantages:
Simplifies the COM port number selection without using configuration utility programs.
Users specify the COM port number exactly what they want, no matter which PCI slot
is using.
Automatically select an available COM port number is supported by setting the COM­Selector (dip switch) to 0 (default).
Needn’t to install configuration utility for different OS, and needn’t to study operations of the utility.
Prevents confusion. Other PnP COM port devices always confusing users by using a dynamic COM port number.
Replacing an existing card is very easy, just setting the COM-Selector (dip switches) to the same.
It’s great for mass system installation, just setting the COM-Selector (dip switches) to use the same COM port number in systems.
Up To 128KB Software FIFO:
The VXC card driver for Windows features a maximums 128KB software
FIFO for each port (default is 4KB). It’s practical for large file transmission.
Self-Tuner:
The RS-485 ports of VXC cards equip a “Self-Tuner” chip, which controls the sending/receiving direction, baud rate and data format automatically and reduces the software loading for such controls.
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----3
1.1 Features
VXC-112A VXC-142 VXC-142i VXC-182i Common Features
RS-422/485 - 2-Port 2-Isolated 1-Isolated RS-232 2-Port - - 1-Port Self-tuner - Yes Yes Yes Isolated - - 3KV 3KV
5V PCI Bus add-on card COM-Selector Provides surge protection LED diagnostic indicators 16-byte UART FIFO
1.2 Specifications
VXC-112A VXC-142 VXC-142i VXC-182i Data bit Stop bit
Parity
Speed
Connectors
UART
Isolation
Operating
Temperature
Storage
Temperature
Humidity
Dimensions
(mm)
5, 6, 7, 8
1, 1.5, 2
None, Even, Odd, Mark, Space
50~115.2Kbps
2 x DB9 (Male)
2 x 16C550 Compatible
- - 3 KV 3 KV (RS-422/485)
o
0~50
-20 to 70
0~90% non-condensing
140 x 95 130 x 105 140 x 95 140 x 95
C
o
C
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----4
1.3 Product Check List
In addition to this manual, the package includes the following items:
One VXC-112A, VXC-142/142i or VXC-182i card
One ICP DAS floppy diskette or CD
One copy of the release notes
Before continuing, it is recommended that you read the release notes,
which contain the following important information:
1. The location of the software driver & utility
2. How to install the software & utility
3. The location of the diagnostic program
Attention! If any of these items are missing or damaged, contact the dealer from whom you purchased the product. Save all shipping materials and the carton in case you need to ship or store the product in the future.
1.4 Ordering Information
VXC-112A: 2-port RS-232 Communication Board VXC-142: 2-port RS-422/485 Communication Board VXC-142i: 2-port Isolated RS-422/485 Communication Board VXC-182i: 1-port isolated RS-422/485 and 1-port RS-232 Communication
Board
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----5
1.5 Options
Item Description
CA-0903
9-pin Female D-sub & 5-wire RS-232 cable, 30cm
CA-0910
9-pin Female D-sub & 3-wire RS-232 cable, 1M
CA-0910F
9-pin Female-Female D-sub Cable, 1M
DN-09-2F
I/O Connector Block with DIN-Rail Mounting and two 9-pin Male Header. Includes: CA-0910F x 2 (9-pin Female­Female D-sub Cable, 1M)
VXC-112A
VXC-142
VXC-142i
VXC-182i
-
-
CA-090910
CA-PC09F
CA-0915
9-pin Female D-sub & (9-wire) RS-422 Cable, 1M
9-pin Female D-sub connector with plastic cover
9-pin Male-Female D-sub cable, 1.5M
-
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----6
2. Hardware configuration
2.1 Board Layout
Board layout of the VXC-112A
CO N2
CON1
SW1
PCI controller
PCI BUS
12345678
Note: CN1/2 => RS-232 Port
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----7
LED
Board layout of the VXC -142
CN2
CN1
S1
PCI controller
PCI BUS
12345678
LED
Note: CN1/2 => Non-Isolated RS-422/485 port
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----8
Board layout of the VXC-142i
CN2
CN1
PCI controller
PCI BUS
S1
Note: CN1/2 => Isolated RS-422/485 port
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----9
12345678
LED
Board layout of the VXC-182i
CN2
CN1
PCI controller
PCI BUS
S1
Note: CN1 => Isolated RS-422/485 port
CN2 => RS-232 port
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----10
12345678
LED
r
2.2 COM Port Mapping and Board ID
The Board ID and COM port mapping are the same, which is set by the S1
DIP switch. The S1 DIP switch has different functions under different OS.
For DOS users, the S1 DIP switch acts as Board ID. When there are two or
more multi-port serial cards in a single system, it is difficult to identify individual card number. For easier identification, the VXC series card includes a Board ID function.
For Windows users, the S1 DIP switch acts as COM port number selector
and the COM port number is depending on the Board ID. If the Board ID is 0, then the driver finds a valid number for each port. If the Board ID is not 0, then the driver uses the “Board ID” to be the first COM port number and uses the “Board ID +1” to be the next COM port number and so on.
Note: It’s recommended to select a unique COM port number (Board ID) by users. This helps users to identify and fix these cards and ports in a system without confuses.
Note: The port will not work if the COM port number is conflicted under Windows or Linux system. In that case, users should try other COM port numbers.
number selector.
Usually, the COM1 and COM2 are reserved by systems. And it’s recommended to reserve the COM3 and COM4 if you will have othe Plug&Play serial ports in the future. This prevents confliction.
For Linux users, it’s the same as Windows users but for TTY device
The configuration examples are as follows.
S1
8 7 6 5 4 3 2 1
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----11
ON
S1 DIP Switch 8 7 6 5 4 3 2 1
Board ID=0x00 (Default) COM = Auto-defined
Board ID=0x03 COM = 3/4
Board ID=0x05 COM = 5/6
Board ID=0x07 COM = 7/8
Board ID=0x09 COM = 9/10
Board ID=0x14 COM = 20/21
Board ID=0x1E COM = 30/31
Board ID=0x28 COM = 40/41
OFF OFF OFF OFF OFF OFF OFF OFF
OFF OFF OFF OFF OFF OFF
OFF OFF OFF OFF OFF
OFF OFF OFF OFF OFF
OFF OFF OFF OFF
OFF OFF OFF
OFF OFF OFF
OFF OFF
ON
ON
ON ON ON ON
OFF
ON
OFF
ON
ON
ON ON ON
OFF OFF
ON
OFF OFF OFF
ON ON
OFF
ON
ON
OFF OFF
OFF
Board ID=0x32 COM = 50/51
Board ID=0x3C COM = 60/61
Board ID=0x64 COM = 100/101
Board ID=0x96 COM = 150/151
Board ID=0xC8 COM = 200/201
. . .
Board ID=0xFF COM = 255/256
OFF OFF
OFF OFF
OFF
ON
ON ON
OFF OFF
ON ON
ON ON
OFF OFF
ON ON ON ON
OFF OFF
ON
OFF OFF
OFF
ON
ON
ON ON
OFF OFF OFF
ON
OFF OFF
OFF OFF
OFF
OFF
ON ON ON ON ON ON ON ON
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----12
2.3 Pin Assignment and Cable Wiring
2.3.1 RS-422 Cable Wiring
TxD­TxD+ RxD+ RxD­GND
VXC-142/142i, VXC-182i DTE (MALE DB-9) Terminal DTE (DB-9)
PIN Signal PIN Signal
1 TxD- 4 RxD­2 TxD+ 3 RxD+
1
2
3
4
5
CH1~ 2
DB9(M)
6
7
8
9
RTS­RTS+ CTS+ CTS-
3 RxD+ 2 TxD+ 4 RxD- 1 TxD­5 GND 5 GND 6 RTS- 9 CTS­7 RTS+ 8 CTS+ 8 CTS+ 7 RTS+ 9 CTS- 6 RTS-
2.3.2 RS-485 Cable Wiring
CH1~ 2
DATA­DATA+
1
6
2
7
3
8
4
9
5
DB9(M)
VXC-142/142i, VXC-182i DTE (MALE DB-9) Terminal DTE (DB-9)
PIN Signal PIN Signal
1 DATA - 1 DATA ­2 DATA + 2 DATA +
VXC Cards User’s Manual (Ver. 1.1, 06/09.2005, pmh-012-01) -----13
Loading...
+ 29 hidden pages