background image

 

 

 

Copyright 

The documentation and the software included with this product are copyrighted 2003 by 
Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to 
make improvements in the  products described in this manual at any time without notice. 
No part of this manual may be reproduced, copied, translated or transmitted in any form 
or by any means without the prior written permission of Advantech Co., Ltd. 
Information provided in this manual is intended to be accurate and reliable. However, 
Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of 
the rights of third parties, which may result from its use. 

 

Acknowledgments 

PC-LabCard is a trademark of Advantech Co., Ltd. IBM and PC are trademarks of 
International Business Machines Corporation. MS-DOS, Windows, Microsoft Visual 
C++ and Visual BASIC are trademarks of Microsoft Corporation. Intel and Pentium are 
trademarks of Intel Corporation. Delphi and C++ Builder are trademarks of Borland 
Corporation. 

 

CE notification 

The PCI-1755, developed by ADVANTECH CO., LTD., has passed the CE test for 
environmental specifications when shielded cables are used for external wiring. We 
recommend the use of shielded cables. This kind of cable is available from Advantech. 
Please contact your local supplier for ordering information. 

 

On-line Technical Support 

For technical support and service, please visit our support website at: 

http://www.advantech.com/support 

 
 
 
 
 
 
 
 
 
 

 

     Part No. 2003175500      1st Edition 

Printed  in Taiwan           Jul 2003 

 

 

 

Содержание PCI-1755

Страница 1: ...ts use Acknowledgments PC LabCard is a trademark of Advantech Co Ltd IBM and PC are trademarks of International Business Machines Corporation MS DOS Windows Microsoft Visual C and Visual BASIC are tra...

Страница 2: ...ii This page is left blank for hard printing...

Страница 3: ...N 11 2 1 UNPACKING 11 2 2 DRIVER INSTALLATION 13 2 3 HARDWARE INSTALLATION 15 2 4 DEVICE SETUP CONFIGURATION 18 3 SIGNAL CONNECTIONS 23 3 1 OVERVIEW 23 3 2 SWITCH ANDJUMPER SETTINGS 23 3 3 SIGNAL CONN...

Страница 4: ...iv This page is left blank for hard printing...

Страница 5: ...v 1 Introduction Chapter...

Страница 6: ...vi This page is left blank for hard printing...

Страница 7: ...Handshaking I O n Interrupt handling capability n On board active terminators for high speed and long distance transfers n Pattern match and Change state detection interrupt function n General purpos...

Страница 8: ...digital input and 16K for digital output conversion Pattern Match Function The PCI 1755 provides Pattern Match interrupt function for digital input channels The card monitors the state of digital inp...

Страница 9: ...ROM Wiring cable PCL 101100 option Wiring board ADAM 39100 option Computer Personal computer or workstation with a PCI bus slot running Windows 2000 95 98 ME NT XP Some other optional components are a...

Страница 10: ...ow Chart Install Driver from CD ROM then power off PC Install Hardware and power on PC Use driver utility to configure hardware Use test utility to test hardware Read examples driver manual Start to w...

Страница 11: ...tra charge It also comes with all Advantech DA C cards Advantech s device drivers feature a complete I O function library to help boost your application performance The Advantech Device Drivers for Wi...

Страница 12: ...Tutorial Chapter in the Device Drivers Manual for your reference Please refer to the corresponding sections in this chapter of the Device Drivers Manual to begin your programming efforts You can also...

Страница 13: ...Group direct I O Event Function Group For the usage and parameters of each function please refer to the Function Overview chapter in the Device Drivers Manual Troubleshooting Device Drivers Error Dri...

Страница 14: ...al wires are twisted in such a way as to form a twisted pair cable reducing cross talk and noise from other signal sources Furthermore its analog and digital lines are separately sheathed and shielded...

Страница 15: ...9 2 Installation Chapter...

Страница 16: ...10 This page is left blank for hard printing...

Страница 17: ...d off possible ESD damage l Touch the metal part of your computer chassis with your hand to discharge static electricity accumulated on your body Or use a grounding strap l Touch the anti static bag t...

Страница 18: ...al pins of the connector or the electronic components Note Keep the anti static bag for future use You might need the original bag to store the card if you have to remove the card from the PC or trans...

Страница 19: ...nion CD ROM into your CD ROM drive Step 2 The Setup program will be launched automatically if you have the AUTORUN function enabled on your system When the Setup program is launched you ll see the fol...

Страница 20: ...t options for Driver Setup For further information on driver related issues an online version of Device Drivers Manual is available by accessing Start Programs Advantech Automation Device Manager Devi...

Страница 21: ...ize the static electricity that might be on your body Step 5 Insert the PCI 1755 card into a PCI slot Hold the card only by its edges and carefully align it with the slot Insert the card firmly into p...

Страница 22: ...tem Property Page Fig 2 3 The device name listed in the Device Manager Note If your card is properly installed you should see the device name of your card listed on the Device Manager tab If you do se...

Страница 23: ...t has itself already been installed on your system during driver setup A complete device installation procedure should include board selection and device setup After that you can operate this card thr...

Страница 24: ...ing Up and Configuring the Device Step 1 To install the I O device for your card you must first run the Device Manager program by accessing Start Programs Advantech Automation Device Manager Advantech...

Страница 25: ...e list box and press the OK button Step 4 After you have finished configuring the device click OK and the device name will appear in the Installed Devices box as the following Fig 2 5 Fig 2 5 The Devi...

Страница 26: ...lled and configured you can click the Test button to test your hardware For more detailed information please refer to Chapter 2 of the Device Drivers Manual Y ou can also find the rich examples on the...

Страница 27: ...21 3 Signal Connections Chapter...

Страница 28: ...22 This page is left blank for hard printing...

Страница 29: ...ctly A good signal connection can avoid unnecessary and costly damage to your PC and other hardware devices This chapter provides useful information about how to connect input and output signals to th...

Страница 30: ...0 0 0 7 0 1 1 1 8 0 1 1 0 9 0 1 0 1 10 0 1 0 0 11 0 0 1 1 12 0 0 1 0 13 0 0 0 1 14 0 0 0 0 15 You can configure the Auxiliary DIO0 DIO7 Pin23 Pin29 randomly by SW2 For instance if you configure SW2 a...

Страница 31: ...PD04 PD05 PD06 PD07 PA00 2 3 4 5 6 7 8 10 9 11 12 13 14 15 16 18 17 19 20 21 22 23 24 25 27 26 28 29 30 31 32 33 35 34 36 37 38 39 40 41 43 42 44 45 46 47 48 49 50 1 52 53 54 55 56 57 58 60 59 61 62 6...

Страница 32: ...Input Request line for digital input channels EXT_CLKIN GND Input Clock input channel DI_STR GND Input Start trigger line for digital input channels DI_STP GND Input Stop trigger line for digital inpu...

Страница 33: ...27 Appendixes...

Страница 34: ...28 This page is left blank for hard printing...

Страница 35: ...or DI Timer 1 for DO External EXT_CLKIN for DI EXT_CLKOUT for DO Handshaking Mode Samples No Finite transfer Continuous I O Input Data Acquisition at a predetermined rate by internal external clock Ou...

Страница 36: ...nt operation completes Terminator On board Schottky diode termination Low 0V min 0 8 V max Input Voltage High 2 0 V min 5V max Terminator OFF TTL compatible Low 0 5V 20mA High 2 7V 1mA max Terminator...

Страница 37: ...eme Using the Schottky Diode Termination Scheme to prevent from overshooting undershooting and reflection phenomenon Resistive termination scheme is not recommended because of the current drawn by the...

Страница 38: ...32 This page is left blank for hard printing...

Страница 39: ...REG 16K FIFO REG REG D8 D15 D24 D31 REG REG 16K FIFO Address Bus Control Bus Data Bus Control Timing Interrupt Logic Port A 8 I O Active Terminator Port B 8 I O Port C 8 I O Port D 8 I O Active Termin...

Страница 40: ...34 This page is left blank for hard printing...

Страница 41: ...e PCI 1755 at register level is to understand the function of the card s registers The information in the following sections is provided only for users who would like to do their own low level program...

Страница 42: ...FF FH FE HS0 CLK RF ACK RF REQ RF STP RF STR RF Pattern match register W C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0 Pattern match register 08H R C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3...

Страница 43: ...ct W D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 DI FIFO direct 12H R D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 DI O CLK STR and STP W DO_ CLK DI_ CLK Board I...

Страница 44: ...Register 24H R 8254 Counter 1 Register W 8254 Counter 1 Register 26H R 8254 Counter 2 Register W 8254 Counter 2 Register 28H R 8254 Counter 2 Register W 8254 Counter 2 Register 2AH R W D15 D14 D13 D12...

Страница 45: ...9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DI Value Preview 34H R D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DO value preset W D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 DI Value Pre...

Страница 46: ...ock select 000 Disable 001 30 MHz sampling clock 010 15 MHz sampling clock 011 10 MHz sampling clock 100 Timer0 output of 8254 101 External clock input by EXT_CLKIN 3 STR1 STR0 Start mode of normal DI...

Страница 47: ...l active 1 Low level active 8 ACKRF DI_ACK triggering control 0 High level active 1 Low level active 9 CLKRF Sampling clock triggering control 0 Rising edge trigger 1 Falling edge trigger 10 HS0 Hands...

Страница 48: ...Disable 001 30 MHz sampling clock 010 15 MHz sampling clock 011 10 MHz sampling clock 100 Timer1 output of 8254 101 External clock input by EXT_CLKIN 3 STR1 STR0 Start mode of normal mode 00 Disable...

Страница 49: ...8 ACKRF DO_ACK triggering control 0 High level active 1 Low level active 9 CLKRF Sampling clock triggering control 0 Rising edge trigger 1 Falling edge trigger 10 HS0 Handshaking mode 0 Burst Handsha...

Страница 50: ...DO Pattern Match Register Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Pattern match register 08H W C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0 Pattern match register 0AH W C31 C30 C29 C...

Страница 51: ...DI_S TP UN OV TM PM CD CH4 CH3 CH2 CH1 CH0 1 DIn Interrupt by digital input enable 1 DInRF DI triggering control 0 Rising edge trigger 1 Falling edge trigger 3 CH4 CH0 Channel of change detection 4 C...

Страница 52: ...r for DO FIFO Direct Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DO FIFO direct 10H W D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DO FIFO direct 12H W D31 D30 D29 D28 D27 D26 D25 D24 D23...

Страница 53: ...I CLK command 0 DI stop triggering 1 DI start triggering 2 DO_CLK DO CLK command 0DO stop triggering 1 DO start triggering 3 DI_TERM DI Terminator OFF ON 0Terminator ON 1Terminator OFF 4 DO_TERM DO Te...

Страница 54: ...C 8 PCI 1755 Register for Clear Interrupt Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Clear Interrupt 18H W Write this address clear interrupt Clear Interrupt 0AH W Write this address clear interr...

Страница 55: ...8 7 6 5 4 3 2 1 0 Clear FIFO 1CH W UN OV DO DI Clear FIFO 1EH W 1 DI Clear DI FIFO command 0N A 1Clear DI FIFO 2 DO Clear DO FIFO command 0 N A 1Clear DO FIFO 3 OV Clear DI FIFO overflow flag 0 N A 1...

Страница 56: ...ry DO BASE 30 H Table C 10 PCI 1755 Register for Auxiliary DO Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Auxiliary DO 30H W DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 Auxiliary DO 32H W 1 DOn Digital output...

Страница 57: ...r for DO Value Preset Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DO value preset 34H W D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DO value preset 36H W D31 D30 D29 D28 D27 D26 D25 D24...

Страница 58: ...CI 1755 Register for DO FIFO Out Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DO FIFO Out 38H W Write this address DO FIFO out to DO port DO FIFO Out 3AH W Write this address DO FIFO out to DO port...

Страница 59: ...ock select 000 Disable 001 30 MHz sampling clock 010 15 MHz sampling clock 011 10 MHz sampling clock 100 Timer0 output of 8254 101 External clock input by EXT_CLKIN 3 STR1 STR0 Start mode of normal mo...

Страница 60: ...vel active 9 CLKRF Sampling clock triggering control 0 Rising edge trigger 1 Falling edge trigger 10 HS0 Handshaking mode 0 Burst Handshaking 1 8255 Emulation 11 FE FIFO empty 0 No occurred 1 Occurred...

Страница 61: ...00 Disable 001 30 MHz sampling clock 010 15 MHz sampling clock 011 10 MHz sampling clock 100 Timer1 output of 8254 101 External clock input by EXT_CLKIN 3 STR1 STR0 Start mode of normal mode 00 Disabl...

Страница 62: ...clock triggering control 0 Rising edge trigger 1 Falling edge trigger 10 HS0 Handshaking mode 0 Burst Handshaking 1 8255 Emulation 11 FE FIFO empty 0 No occurred 1 Occurred 12 FH FIFO half full 0 No...

Страница 63: ...er for Pattern Match Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Pattern match register 08H R C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0 Pattern match register 0AH R C31 C30 C29 C28 C27...

Страница 64: ...F DO_S TP DI_S TP UN OV TM PM CD CH4 CH3 CH2 CH1 CH0 1 DIn Interrupt by digital input flag 2 DInRF DI triggering control 0 Rising edge trigger 1 Falling edge trigger 3 CH4 CH0 Channel of change detect...

Страница 65: ...er for DI FIFO Direct Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DI FIFO direct 10H R D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DI FIFO direct 12H R D31 D30 D29 D28 D27 D26 D25 D24 D2...

Страница 66: ...DW0 DO_ TERM DI_ TERM 1 BD3 BD0 Board ID 2 DI_TERM DI Terminator OFF ON 0 Terminator ON 1 Terminator OFF 3 DO_TERM DO Terminator OFF ON 0 Terminator ON 1 Terminator OFF 4 DW1 DW0 Double word wide 00 D...

Страница 67: ...I O Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Auxiliary DI O 30H R DIP7 DIP6 DIP5 DIP4 DIP3 DIP2 DIP1 DIP0 DIO7 DIO6 DIO5 DIO4 DIO3 DIO2 DIO1 DIO0 Auxiliary DI O 32H R 1 DIOn Digital input outpu...

Страница 68: ...for DI Value Preview Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DI Value Preview 34H R D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DI Value Preview 36H R D31 D30 D29 D28 D27 D26 D25 D2...

Страница 69: ...755 Register for DI FIFO in Base Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DI FIFO in 38H R Read this address DI port value into DI FIFO DI FIFO in 3AH R Read this address DI port value into DI FIFO...

Страница 70: ...64 This page is left blank for hard printing...

Страница 71: ...board crystaloscillator Counter 0 On the PCI 1755 counter 0 can be a 16 bit timer or an event counter selectable by users When the clock source is set as an internal source counter 0 is a 16 bit time...

Страница 72: ...ructure each section of read write data is split into a least significant byte LSB and most significant byte MSB To avoid errors it is important that you make read write operations in pairs and keep t...

Страница 73: ...l counting the count can be any number from 0 to 9999 If you set both SC1 and SC0 bits to 1 the counter control register is in read back command mode The control register data format thenbecomes BASE...

Страница 74: ...ard read back mode Bit D7 D6 D5 D4 D3 D2 D1 D0 Value OUT NC RW1 RW0 M2 M1 M0 BCD OUT Current state of counter output NC Null count is 1 when the last count written to the counter register has been loa...

Страница 75: ...e One shot Pulse The output is initially high The output will go low on the count following the rising edge of the gate input It will then go high on the terminal count If you load a new count value w...

Страница 76: ...k pulse after the count is loaded decrements the count by 1 Subsequent clock pulses decrement the count by 2 After time out the output goes low and the full count is reloaded The first clock pulse fol...

Страница 77: ...lets you check the count value programmed mode and current states of the OUT pin and Null Count flag of the selected counter s You write this command to the control word register Format is as shown at...

Страница 78: ...register The second way is to performa latch operation under the read back command Set bits SC1 and SC0 to 1 and CNT 0 The second method has the advantage of operatingseveral counters at the same time...

Страница 79: ...signal or stop it by stop signal You can generate start or stop signal by software command external trigger via DI_STR DI_STPand pattern DI When PCI 1755 gets the start signal it will start to receiv...

Страница 80: ...t stop signal are shown as active high 2 Note that you can t generate start and stop signal by pattern DI at the same time 3 There are two types of DI clock source listed below Internal 30MHz 15MHz 10...

Страница 81: ...data to external device at next clock Point A When PCI 1755 gets the stop signal from external device it will stop to send the data at next clock Point B Normal Mode of Ultra speed Digital Output Cloc...

Страница 82: ...755 If PCI 1755 is ready to get the data it will also enable the DI_ACK signal to external device and then the data will be transmitting from external device to the PCI 1755 according to EXT_CLKIN Han...

Страница 83: ...e data it will also enable the DO_ACKsignal to PCI 1755 and then the data will be transmitting from PCI 1755 to the external device according to EXT_CLKOUT Handshaking Mode of Ultra speed Digital Outp...

Страница 84: ..._REQ signal to PCI 1755 If PCI 1755 is ready to get the data it will also response a DI_ACK signalto external device and then one unit of data will be transmitting from external device to the PCI 1755...

Страница 85: ...signal to external device If the external device is ready to get the data it will also response a DO_ACK signal to PCI 1755 and then one unit of data will be transmitting from PCI 1755 to the external...

Отзывы: