background image

 

 
 

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 

Содержание VXC-112A

Страница 1: ...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 o...

Страница 2: ...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...

Страница 3: ...er 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 config...

Страница 4: ...Yes Yes Isolated 3KV 3KV 1 2 Specifications VXC 112A VXC 142 VXC 142i VXC 182i Data bit 5 6 7 8 Stop bit 1 1 5 2 Parity None Even Odd Mark Space Speed 50 115 2Kbps Connectors 2 x DB9 Male UART 2 x 16...

Страница 5: ...l 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 material...

Страница 6: ...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 CA 090910 9 pin Female D sub 9...

Страница 7: ...ardware configuration 2 1 Board Layout Board layout of the VXC 112A PCI BUS PCI controller CON2 CON1 LED 1 2 3 4 5 6 7 8 SW1 Note CN1 2 RS 232 Port VXC Cards User s Manual Ver 1 1 06 09 2005 pmh 012 0...

Страница 8: ...Board layout of the VXC 142 PCI BUS PCI controller CN2 CN1 LED 1 2 3 4 5 6 7 8 S1 Note CN1 2 Non Isolated RS 422 485 port VXC Cards User s Manual Ver 1 1 06 09 2005 pmh 012 01 8...

Страница 9: ...Board layout of the VXC 142i PCI BUS PCI controller CN2 CN1 LED 1 2 3 4 5 6 7 8 S1 Note CN1 2 Isolated RS 422 485 port VXC Cards User s Manual Ver 1 1 06 09 2005 pmh 012 01 9...

Страница 10: ...Board layout of the VXC 182i PCI BUS PCI controller CN2 CN1 LED 1 2 3 4 5 6 7 8 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...

Страница 11: ...ot 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 For Linux users it s the same as Windows users but for TTY devic...

Страница 12: ...COM 20 21 OFF OFF OFF ON OFF ON OFF OFF Board ID 0x1E COM 30 31 OFF OFF OFF ON ON ON ON OFF Board ID 0x28 COM 40 41 OFF OFF ON OFF ON OFF OFF OFF Board ID 0x32 COM 50 51 OFF OFF ON ON OFF OFF ON OFF...

Страница 13: ...nal DTE DB 9 PIN Signal PIN Signal 1 TxD 4 RxD 2 TxD 3 RxD 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 DATA DATA CH1 2 DB9 M 5 9 4 8 3...

Страница 14: ...S CTS RI CH2 DB9 M 5 9 4 8 3 7 2 6 1 VXC 112A VXC 182i Male DB 9 Null Modem Cable Wiring System 1 Pin Pin System 2 TX 3 2 RX RX 2 3 TX RTS 7 1 DCD CTS 8 DSR 6 4 DTR DCD 1 7 RTS 8 CTS DTR 4 6 DSR VXC C...

Страница 15: ...te the following steps 1 Turn off your computer 2 Remove all covers from the computer 3 Select an unused PCI slot 4 Remove the PCI slot cover from the PC 5 Carefully insert your VXC card into the PCI...

Страница 16: ...ndows NT 4 0 VxCard Driver 2K COM port driver for Windows 2000 XP 2003 VxCard Driver Linux tty driver for Linux Note VxCard Driver 2K also supports Windows XP and Windows Server 2003 For Windows users...

Страница 17: ...I O address and IRQ number of the card 3 To get the Board ID of the card 4 To Send receive data to from the COM ports 5 To control the LED On Off of the card 3 1 1 Installation Please refer to the Rel...

Страница 18: ...option and then click the Finish button to reboot the computer Note After the installation is completed users must restart the computer to start the driver Note It s recommended to install the softwa...

Страница 19: ...o stop the driver then run Net Start VxCarSer command to start the driver again Note When the hardware and software are well installed the driver turns off the LED on the card If there is something er...

Страница 20: ...r OK to finish it Note It s recommended to install the software first and then the hardware This reduces the configuration procedures 3 3 2 Verification To verify the installation please complete the...

Страница 21: ...the VxCard Utility The utility s short cut is placed on the desktop after installation To change the COM port mappings users should restart the driver by rebooting the computer or re install the VXC C...

Страница 22: ...g box just click next or OK to finish it Note It s recommended to install the software first and then the hardware This reduces the configuration procedures 3 4 2 Verification To verify the installati...

Страница 23: ...rd hardware in the Device Manager by un install card and then scan new hardware Note When the hardware and software are well installed the driver turns off the LED on the card If there is something er...

Страница 24: ...steps to complete it 1 Download or copy the IxCOM package to a directory that you have access to 2 Extract the package For example the package s file name is ixcom 0 05 0 tar gz and its path related t...

Страница 25: ...unused device major number dynamically and create correspond device node for access VXC serial port Use dmesg command to inspect the driver output message The script ixcom inst had loaded module into...

Страница 26: ...ySV8 crw rw rw 1 root root 254 73 Jul 14 10 13 dev ttySV9 3 5 4 Access to VXC Auxiliary Serial Port Each port of the VXC card has a corresponding auxiliary device named cuaV The auxiliary device cuaV...

Страница 27: ...13 dev cuaV1 crw rw rw 1 root root 253 66 Jul 14 10 13 dev cuaV2 crw rw rw 1 root root 253 67 Jul 14 10 13 dev cuaV3 crw rw rw 1 root root 253 68 Jul 14 10 13 dev cuaV4 crw rw rw 1 root root 253 69 Ju...

Страница 28: ...or wSubDevice wSubAux 2 PIO_GetConfigAddressSpace wBoardNo wBase wIrq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice 3 Show_PIO_PISO wSubVendor wSubDevice wSubAux All functions are defined in PIO...

Страница 29: ...in the library Note The IN symbolic indicates that the parameter should assign a value by users while the OUT symbolic indicates that the parameter will return a value after calling the function Sampl...

Страница 30: ...ndor wSubDevice wSubAux wSlotBus wSlotDevice wBoardNo IN Board index number which between 0 and total boards 1 wBase OUT The base address of this board wIrq OUT The IRQ channel number allocated to thi...

Страница 31: ...3 directly control the VXC 142 wBase wConfigSpace 0 0 get the base address of card_0 outport wBase 1 enable all D I O operations for card_0 wBase wConfigSpace 1 0 get the base address of card_1 outpor...

Страница 32: ...n for i 0 i wBoards i PIO_GetConfigAddressSpace i wBase wIrq wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf nCard_ d wBase x wIrq x subID x x x SlotID x x i wBase wIrq wSubVendor wSubDevice...

Страница 33: ...42 142i and VXC 182i series cards Address Read Write wBase 0 Same RESET control register wBase 2 Same Aux control register wBase 3 Same Aux data register wBase 5 N A INT mask control register wBase 7...

Страница 34: ...ending any D I O commands outportb wBase 1 RESET High all D I O are now enabled outportb wBase 0 RESET Low all D I O are now disabled 4 2 2 AUX Control Register Read Write wBase 2 Bit 7 Bit 6 Bit 5 Bi...

Страница 35: ...wbase 2 0x80 Set Aux7 is used as an output outportb wBase 3 0 turns the LED off outportb wBase 3 0x80 turns the LED on 4 2 4 INT Mask Control Register Read Write wBase 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3...

Страница 36: ...0 Aux1 INT_CHAN_1 For VXC 142 142i and VXC 182i card Aux2 INT_CHAN_0 Aux3 INT_CHAN_1 For VXC 112A card Aux0 3 are used as interrupt sources The interrupt service routine must read this register to per...

Страница 37: ...erted input of INT_CHAN_0 selects the non inverted input of INT_CHAN_1 4 2 7 Speed selection Read Write wBase 0xdc 0xfc Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 N A N A N A N A N A N A Speed N...

Страница 38: ...Reading the new status of all interrupt signal sources 2 Servicing it if INT0 is active 3 Servicing it if INT1 is active Note If the interrupt signal is too short the interrupt service routine cannot...

Страница 39: ...NT_CHAN_0 1 must be controlled as a pulse_type signal which must normally be fixed in a low_level state and should generate a high_pulse when sending an interrupt signal to the PC The INT_CHAN_0 1 pri...

Страница 40: ...e PC The EN0 1 can be used to enable disable the INT_CHAN_0 1 as follows Refer to Sec 4 2 4 Note VXC 112A using EN2 3 EN0 1 0 INT_CHAN_0 1 disabled EN0 1 1 INT_CHAN_0 1 enabled INV0 1 can be used to i...

Страница 41: ...Bit 0 Data 7 Data 6 Data 5 Data 4 Data 3 Data 2 Data 1 Data 0 wBase 0xC4 Port 0 Interrupt Enable Register IER wBase 0xE4 Port 1 Interrupt Enable Register IER Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1...

Страница 42: ...eady wBase 0xD4 Port 0 Line Status Register LSR wBase 0xF4 Port 1 Line Status Register LSR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Error in RCVR FIFO Transmitter Empty Transmitter Holding Regi...

Отзывы: