PCI-1718 Series12-bit Multifunction Cards with Universal PCI BusUser Manual
PCI-1718 Series User Manual 2Chapter 1 IntroductionThank you for buying the Advantech PCI-1718HDU/HGU. PCI-1718HDU/HGU is a PCI-Bus multifunction car
3 Chapter 1 1.1 Features• Register level programming compatible with PCL-818HD/HG• 16 single-ended or 8 differential A/D inputs, switch selectable
PCI-1718 Series User Manual 4Onboard FIFOThere are 1 K samples FIFO for A/D (AI) on PCI-1718HDU/HGU. This is an important feature for faster data tra
5 Chapter 1 1.3 Installation Guide Before you install your PCI-1718HDU/HGU card, please make sure you have the following necessary components:• PCI
PCI-1718 Series User Manual 6Figure 1.1: Installation Flow Chart
7 Chapter 1 1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully expl
PCI-1718 Series User Manual 81.5 Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application
9 Chapter 1 Programming with Device Drivers Function LibraryAdvantech Device Drivers offer a rich function library that can be uti-lized in various a
PCI-1718 Series User Manual 101.6 AccessoriesAdvantech offers a complete set of accessory products to support the PCI-1718HDU/HGU card. These accesso
2CHAPTER 2InstallationThis chapter provides a packaged item checklist, proper instructions for unpacking and step-by-step procedures for both driver a
PCI-1718 Series User Manual iiCopyrightThe documentation and the software included with this product are copy-righted 2005 by Advantech Co., Ltd. All
PCI-1718 Series User Manual 12Chapter 2 Installation2.1 UnpackingAfter receiving your PCI-1718HDU/HGU package, please inspect its contents first. Th
13 Chapter 2 .2.2 Driver InstallationWe recommend you install the driver before you install the PCI-1718HDU/HGU card into your system, since this wi
PCI-1718 Series User Manual 14Figure 2.1: Setup Screen of Advantech Automation Software3. Select the Device Drivers option.4. Select the specific devi
15 Chapter 2 2.3 Hardware InstallationAfter the Device Drivers installation is completed you can install the PCI-1718HDU/HGU card into any PCI slot
PCI-1718 Series User Manual 162.4 Device Setup & Configuration The Advantech Device Manager program is a utility that allows you to set up, confi
17 Chapter 2 Configuring the Device4. On the Device Setting dialog box (Fig. 2-4), you can configure the A/D channels configuration either as 8 Diffe
PCI-1718 Series User Manual 18After your card is properly installed and configured, you can click the Test… button to test your hardware by using the
2CHAPTER 3Signal ConnectionsThis chapter provides useful informa-tion about how to connect input and output signals to the PCI-1718 cards via the I/O
PCI-1718 Series User Manual 20Chapter 3 Signal Connections3.1 OverviewMaintaining signal connections is one of the most important factors in ensurin
21 Chapter 3 3.2.1 Setting the BoardID Switch (SW1)BoardID settings are used to set a board’s unique identifier when multiple identical cards are ins
iiiProduct Warranty (2 years)Advantech warrants to you, the original purchaser, that each of its prod-ucts will be free from defects in materials and
PCI-1718 Series User Manual 223.2.2 Channel Configuration, S/E or DIFF (SW2)The PCI-1718 cards offer 16 single-ended or eight differential analog inpu
23 Chapter 3 When you set JP11 to EXT, the D/A converter takes its reference voltage input from pin 31 of connector CN3. You can apply any voltage be
PCI-1718 Series User Manual 243.2.5 Timer Clock Selection (JP8)PCI-1718’s JP8 controls the input clock frequency for the 8254 program-mable clock/time
25 Chapter 3 3.2.6 Ext. trigger and Counter Gate 0 Control (JP5)Jumper 5 determines the source of A/D external trigger signal (Lower) and gate contr
PCI-1718 Series User Manual 26Table 3.7: Summary of Jumper SettingsJumper Function DescriptionJP1 (first) S0D0 (default)JP1 (sec-ond)S1D1 (default)JP1
27 Chapter 3 3.2.8 Setting the Time to Reset Digital OutputsSome users will want the capability of clearing each digital output when the system (or P
PCI-1718 Series User Manual 283.3 Signal ConnectionsPin AssignmentFigure 3-2 shows the pin assignments for the 37-pin I/O connector on the PCI-1718HD
29 Chapter 3 3.3.1 I/O Connector Signal DescriptionTable 3.9: I/O Connector Signal DescriptionsSignal NameReference Direction DescriptionA/D S <0.
PCI-1718 Series User Manual 303.3.2 Analog Input ConnectionsPCI-1718HDU/HGU supports either 16 single-ended or 8 differential analog inputs. Switch SW
31 Chapter 3 If the signal source has one side connected to a local ground, the signal source ground and the PCI-1718HDU/HGU ground will not be at ex
PCI-1718 Series User Manual ivCEThis product has passed the CE test for environmental specifications when shielded cables are used for external wiring
PCI-1718 Series User Manual 32Expanding Analog InputsYou can expand any or all of the PCI-1718HDU/HGU's A/D input chan-nels using multiplexing da
33 Chapter 3 Analog Output ConnectionThe PCI-1718HDU/HGU provides one D/A output channel. You can use the internal precision -5 V or -10 V reference
PCI-1718 Series User Manual 343.3.3 Digital Signal ConnectionsThe PCI-1718HDU/HGU has 16 digital input and 16 digital output chan-nels. The digital I/
35 Chapter 3 3.4 Field Wiring Considerations When you use PCI-1718 cards to acquire data from outside, noises in the environment might significantly
PCI-1718 Series User Manual 36
2CHAPTER 4Programming GuideThis chapter provides useful informa-tion about how to do register level pro-gramming for PCI-1718 cards.Sections include:•
PCI-1718 Series User Manual 38Chapter 4 Programming Guide4.1 OverviewThe PCI-1718 cards are delivered with an easy-to-use 32-bit Device Driver for u
39 Chapter 4 4.3.1 Software Trigger and Polling1. Set the input range for each A/D channel2. Set the input channel by specifying the MUX scan range3.
PCI-1718 Series User Manual 40Example Code:/********This code supports TurboC 3.0 or later versions********/#include <stdio.h>#include <DOS.h
41 Chapter 4 4.3.2 Pacer Trigger Mode with InterruptMUX ScanChannel Control &A/D RangeControlSet Scan ChannelSet To PacerTrigger Mode andEnable D
vContentsChapter 1 Introduction ... 21.1 Features ...
PCI-1718 Series User Manual 421. Set the input range for each A/D channel2. Set the input channel by specifying the MUX scan range3. Set pacer rate an
43 Chapter 4 /***** Set Pacer *****/ outportb(base_addr+0x0f,0x7E); //Pacer=1M/clk1/clk2 outportb(base_addr+0x0d,0x0A); //clk1 o
PCI-1718 Series User Manual 44void interrupt isr(void){ disable(); /***** Add code on here *****/ iflag = 1; //Interrupt Flag outportb(bas
45 Chapter 4 4.3.3 Pacer Trigger Mode with Interrupt and FIFOMUX ScanChannel Control &A/D RangeControlSet Scan Channelw Base+0 1Hw Base+0 2 HClea
PCI-1718 Series User Manual 461. Set the input range for each A/D channel2. Set the input channel by specifying the MUX scan range3. Set pacer rate an
47 Chapter 4 outportb(base_addr+0x02,0x00); //MUX Scan Channel Control outportb(base_addr+0x01,0x03); //Channel 1 Gain Setting outportb(
PCI-1718 Series User Manual 48 while(iflag==0) {;} /***** FIFO HALF Interrupt and Get Data *****/ for(k=0;k<512;k++) {
49 Chapter 4 4.4 Programming with LabVIEW and ActiveDAQAdvantech offers not only a rich set of DLL drivers, but also third-party driver support and
PCI-1718 Series User Manual 50
2 APPENDIX ASpecifications
PCI-1718 Series User Manual vi1718 Series 283.3.1 I/O Connector Signal Description ... 29Table 3.9:I/O Connector Signal D
PCI-1718 Series User Manual 52Appendix A SpecificationsA.1 Analog InputChannels16 single-ended or 8 differential or combinationResolution12-bitFIFO
53 Appendix A A.2 Analog OutputCommon Mode Voltage±11 V max. (operational)Max. Input Voltage±15 VInput Protect30 Vp-pInput Impedance100 MΩ/10pF(Off)
PCI-1718 Series User Manual 54A.3 Digital InputA.4 Digital OutputInput Channels16Input VoltageLow 0.4V max.High 2.4 V min.Input LoadLow 0.4 V max.@
55 Appendix A A.5 Counter/TimerCounter chip82C54 or equivalentChannels3 channels, 2 channels are permanently configured as programmable pacers; 1 ch
PCI-1718 Series User Manual 56A.6 GeneralI/O Connector Type37-pin DSUB female for Analog One 20-pin Box Header for DI One 20-pin Box Header for DODi
2 APPENDIX BBlock Diagrams
PCI-1718 Series User Manual 58Appendix B Block Diagrams
2 APPENDIX CRegister Structure & Format
PCI-1718 Series User Manual 60Appendix C Register Structure & FormatC.1 OverviewPCI-1718 cards are delivered with an easy-to-use 32-bit Device
61 Appendix C Table C.1: PCI-1718HDU/HGU Register Format (Part 1)Base Addr.+HEX7 6 54 321000HRA/D low byte data and channelsAD3 AD2 AD1 AD0 C3 C2 C1
viiTable C.12:Register for FIFO Interrupt Control ... 70C.11 Clear Interrupt Request — BASE+08H... 71Table C.13:Register
PCI-1718 Series User Manual 62Table C.2: PCI-1718HDU/HGU Register Format (Part 2)Base Addr.+HEX76 5432 1008H R A/D StatusEOC U/B MUX INT CN3 CN2 CN1
63 Appendix C Table C.3: PCI-1718HDU/HGU Register Format (Part 3)Base Addr.+HEX7 654321014HRBoardIDID3ID2ID1ID0WClear FIFO Interrupt Request17HRA/D d
PCI-1718 Series User Manual 64C.3 A/D Data and Channels — BASE+00H~01HAD11 ~ AD0 Analog to digital dataAD0 The least significant bit (LSB) of the A
65 Appendix C C.5 A/D Range Control — BASE+01H Each A/D channel has its own individual input range, controlled by a range code stored in onboard RAM
PCI-1718 Series User Manual 66PCI-1718HGUInput Range (V) Unipolar/BipolarGain CodeG3 G2 G1 G0±5V B 0000±0.5V B 0001±0.05V B 0 0 1 0±0.005V B 00110 to
67 Appendix C C.6 MUX Scan Channel Control — BASE+02HThe write register at BASE+02H controls multiplexer (MUX) scanning. The high nibble provides th
PCI-1718 Series User Manual 68C.7 MUX Scan Channel Status — BASE+02HRead register BASE+02H to get the current multiplexer (MUX) channel.CC3 ~ CC0 C
69 Appendix C DI15 ~ DI0 Digital input dataDI0 The least significant bit (LSB) of the DI dataDI15 The most significant bit (MSB)C.9 D/A Output —
PCI-1718 Series User Manual 70DA11 ~ DA0 Analog to digital dataDA0 The least significant bit (LSB) of the D/A dataDA11 The most significant bit (
71 Appendix C C.11 Clear Interrupt Request — BASE+08HWrite any value to register BASE+08H to clear the interrupt request.C.12 A/D Status — BASE+08H
PCI-1718 Series User Manual viii
PCI-1718 Series User Manual 72U/B Unipolar/bipolar mode indicator0 Bipolar mode1 Unipolar modeMUX Single-ended/differential channel indicator0 8 dif
73 Appendix C C.13 A/D Control — BASE+09HRead/write register BASE+09H provides information on the PCI-1718HDU/HGU's operating modes.INTE Disab
PCI-1718 Series User Manual 74C.14 Timer/Counter Enable — BASE+0AHWrite register BASE+0AH enables or disables the PCI-1718 card’s timer/counter.TC0
75 Appendix C C.16 Clear FIFO Interrupt Request — BASE+14HWrite any value to this I/O port to clear the FIFO's interrupt request.C.17 A/D Data
PCI-1718 Series User Manual 76C.18 FIFO Status — BASE+19HThe register at BASE+19H clears the FIFO buffer and sets its empty flag (EF). The FIFO stat
77 Appendix C C.20 Register Programming Flow ChartC.20.1 Software Trigger Mode with PollingMUX ScanChannel Control &A/D RangeControlSet Software
PCI-1718 Series User Manual 78C.20.2 Pacer Trigger Mode with InterruptMUX ScanChannel Control &A/D RangeControlSet Scan ChannelSet To PacerTrigge
79 Appendix C C.20.3 Pacer Trigger Mode with Interrupt [FIFO Used]MUX ScanChannel Control &A/D RangeControlSet Scan Channelw Base+0 1Hw Base+0 2
PCI-1718 Series User Manual 80
2 APPENDIX DCalibrationThis appendix provides brief informa-tion on PCI-1718 card calibration. Reg-ular calibration checks are important to main
2CHAPTER 1IntroductionThis chapter introduces the PCI-1718 cards and their typical applications.Sections include:• Features• Applications• Installa
PCI-1718 Series User Manual 82Appendix D CalibrationPCI-1718 cards are calibrated at the factory for initial use. However, a recalibration of the an
83 Appendix D D.1 VR Assignment The six variable resistors (VRs) on the PCI-1718HDU/HGU board help you make accurate adjustment on all A/D and D/A c
PCI-1718 Series User Manual 84D.2 A/D CalibrationRegular and accurate calibration ensures maximum possible accuracy. The CALB.EXE calibration progra
85 Appendix D D.3 D/A CalibrationConnect a reference voltage within the range ±10 V to the reference input of the D/A channel you want to calibrate.
PCI-1718 Series User Manual 86
Komentarze do niniejszej Instrukcji