Page 2 - Copyright; st Edition
PCI-1718 Series User Manual ii Copyright The documentation and the software included with this product are copy-righted 2005 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...
Page 4 - CE; Step 1. Visit the Advantech web site at; Packing List
PCI-1718 Series User Manual iv CE This product 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 informati...
Page 5 - Contents; Chapter
v Contents Chapter 1 Introduction ..................................................... 2 1.1 Features ............................................................................. 3 1.2 Applications ..................................................................... 4 1.3 Installation Guide ........
Page 9 - Introduction; map
2 CHAP T ER 1 Introduction This chapter introduces the PCI-1718 cards and their typical applications.Sections include: • Features• Applications• Installation Guide• Software Overview• Device Driver Programming Road- map • Accessories
Page 10 - Chapter 1 Introduction
PCI-1718 Series User Manual 2 Chapter 1 Introduction Thank you for buying the Advantech PCI-1718HDU/HGU. PCI-1718HDU/HGU is a PCI-Bus multifunction card for IBM PC/XT/AT or compatible computers. It offers the five most desired measurement and control functions:• 12-bit A/D conversion• D/A conversion...
Page 11 - Automatic Channel/Gain Scanning
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• 12-bit A/D converter, up to 100 kHz sampling rate• Programmable gain for each input channel• Automatic Channel/Gain Scanning• On-board 1 K word FIFO bu...
Page 12 - Onboard FIFO
PCI-1718 Series User Manual 4 Onboard FIFO There are 1 K samples FIFO for A/D (AI) on PCI-1718HDU/HGU. This is an important feature for faster data transfer and more predictable per-formance under Windows system. Onboard Programmable Timer/Counter PCI-1718HDU/HGU provides a programmable timer counte...
Page 13 - Installation Guide; • Personal computer or workstation with a PCI-bus slot (running Win-
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-1718HDU/HGU DA&C card• PCI-1718HDU/HGU User Manual• Driver software Advantech DLL drivers (included in the companion CD-ROM) • Personal computer or ...
Page 15 - Software Overview; Programming choices for DA&C cards; Appendix C, Register Structure and Format
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 exploit the functions of your PCI-1718HDU/HGU card:• Device Drivers (on the companion CD-ROM)• LabVIEW driver• Advantech ActiveDAQ• Advantech ADAQView Progr...
Page 16 - Device Driver Programming Roadmap; Programming Tools
PCI-1718 Series User Manual 8 1.5 Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech Device Drivers with your favorite development tools such as Visual C++, Visual Basic, Delphi and C++ Builder. The step-b...
Page 17 - Programming with Device Drivers Function Library; tion Overview; Troubleshooting Device Drivers Error; Device Drivers Error Codes
9 Chapter 1 Programming with Device Drivers Function Library Advantech Device Drivers offer a rich function library that can be uti-lized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual C++, Visual Basic, Delphi and...
Page 18 - Wiring Boards
PCI-1718 Series User Manual 10 1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1718HDU/HGU card. These accessories include: Wiring CablesPCL-10120 The PCL-10120 cable is a 20-pin flat cable for PCI-1718HDU/HGU cards. PCL-10137 The PCL-10137 shielded cable is ...
Page 19 - Installation
2 CHAP T ER 2 Installation This chapter provides a packaged item checklist, proper instructions for unpacking and step-by-step procedures for both driver and card installation..Sections include: • Unpacking• Driver Installation• Hardware Installation• Device Setup & Configuration
Page 20 - Chapter 2 Installation; electrostatic discharge
PCI-1718 Series User Manual 12 Chapter 2 Installation 2.1 Unpacking After receiving your PCI-1718HDU/HGU package, please inspect its contents first. The package should contain the following items:• PCI-1718HDU or PCI-1718HGU card• Companion CD-ROM (Device Drivers included)• User Manual The PCI-1718 ...
Page 21 - Driver Installation
13 Chapter 2 . 2.2 Driver Installation We recommend you install the driver before you install the PCI-1718HDU/HGU card into your system, since this will guarantee a smooth installation process. The Advantech Device Drivers Setup program for the PCI-1718HDU/HGU card is included in the companion CD-RO...
Page 22 - Figure 2.1: Setup Screen of Advantech Automation Software
PCI-1718 Series User Manual 14 Figure 2.1: Setup Screen of Advantech Automation Software 3. Select the Device Drivers option. 4. Select the specific device then just follow the installation instruc-tions step by step to complete your device driver installation and setup. Figure 2.2: Different Option...
Page 23 - Hardware Installation; Advantech Device Manager
15 Chapter 2 2.3 Hardware Installation After the Device Drivers installation is completed you can install the PCI-1718HDU/HGU card into any PCI slot on your computer. However, it is suggested that you refer to the computer’s user manual or related docu-mentation if you have any doubts. Please follow...
Page 24 - Setting Up the Device; Figure 2.3: The Device Manager Dialog Box
PCI-1718 Series User Manual 16 2.4 Device Setup & Configuration The Advantech Device Manager program is a utility that allows you to set up, configure and test your device, and later stores your settings on the system registry. These settings will be used when you call the APIs of Advantech Devi...
Page 25 - Configuring the Device; Figure 2.4: The Device Setting Dialog Box
17 Chapter 2 Configuring the Device 4. On the Device Setting dialog box (Fig. 2-4), you can configure the A/D channels configuration either as 8 Differential or 16 Single- ended , and specify the D/A voltage reference either as External or Internal . Figure 2.4: The Device Setting Dialog Box 5. Afte...
Page 26 - Test...; For more detailed information, please refer to
PCI-1718 Series User Manual 18 After your card is properly installed and configured, you can click the Test… button to test your hardware by using the testing utility supplied. Figure 2.6: The Test Utility Dialog Box For more detailed information, please refer to Chapter 2 of the Device Drivers Manu...
Page 27 - Signal Connections
2 CHAP T ER 3 Signal Connections This chapter provides useful informa-tion about how to connect input and output signals to the PCI-1718 cards via the I/O connector..Sections include: • Overview• Switch and Jumper Settings• Signal Connections• Field Wiring Considerations
Page 28 - Chapter 3 Signal Connections; Switch and Jumper Settings; JP
PCI-1718 Series User Manual 20 Chapter 3 Signal Connections 3.1 Overview Maintaining signal connections is one of the most important factors in ensuring that your application system is sending and receiving data cor-rectly. A good signal connection can avoid unnecessary and costly dam-age to your PC...
Page 29 - Default Setting is 0
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 installed in the same system.PCI-1718 cards have a built-in DIP switch (SW1), which is used to define each card’s unique identifier. You can determine th...
Page 30 - Table 3.2: Summary of Switch SW2 Settings
PCI-1718 Series User Manual 22 3.2.2 Channel Configuration, S/E or DIFF (SW2) The PCI-1718 cards offer 16 single-ended or eight differential analog input channels. Slide switch SW2 changes the channels between single-ended or differential input. Slide the switch to the left-hand position, marked DIF...
Page 31 - When you use an external reference with voltage V; you can program; Table 3-1: Summary of jumper JP10 settings
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 between -10 V and +10 V to this pin to function as the external reference. The ref-erence input can be either DC or AC (<100 kHz). When you use an ext...
Page 32 - Table 3.5: Summary of Jumper JP8 Settings
PCI-1718 Series User Manual 24 3.2.5 Timer Clock Selection (JP8) PCI-1718’s JP8 controls the input clock frequency for the 8254 program-mable clock/timer. You have two choices: 10 or 1 MHz. This lets you generate pacer output frequencies from 2.5 MHz to 0.00023 Hz (71 min-utes/pulse). The following ...
Page 33 - Jumper
25 Chapter 3 3.2.6 Ext. trigger and Counter Gate 0 Control (JP5) JP5 has two jumpers. The upper jumper selects the card's A/D trigger source when you use external triggering. The lower jumper selects the gate control for counter 0 of the card's 8254 timer/counter. 3.2.7 Digital Output, 20-pin or 37-...
Page 35 - Setting the Time to Reset Digital Outputs
27 Chapter 3 3.2.8 Setting the Time to Reset Digital Outputs Some users will want the capability of clearing each digital output when the system (or PC) issues a reset signal on the PCI bus. Other users will want to clear their signal outputs only as part of system power-on.PCI-1718 cards satisfy bo...
Page 36 - Signal Connections; Pin Assignment
PCI-1718 Series User Manual 28 3.3 Signal Connections Pin Assignment Figure 3-2 shows the pin assignments for the 37-pin I/O connector on the PCI-1718HDU/HGU. Figure 3.2: I/O Connector Pin Assignments for the PCI-1718 Series Note: S0/S1 is NC, and S2/S3 is AGND for PCI-1718HGU CN1 CN2 D/O 0 1 2 D/O ...
Page 37 - Description
29 Chapter 3 3.3.1 I/O Connector Signal Description Table 3.9: I/O Connector Signal Descriptions Signal Name Reference Direction Description A/D S <0..15> A.GND Input Analog input (single-ended), channels 0 through 15. A/D H <0..7> A.GND Input Analog input high (differential), channels 0...
Page 38 - Single-ended Channel Connections
PCI-1718 Series User Manual 30 3.3.2 Analog Input Connections PCI-1718HDU/HGU supports either 16 single-ended or 8 differential analog inputs. Switch SW2 selects the input channel configuration. Single-ended Channel Connections Single-ended connections use only one signal wire per channel. The volt-...
Page 39 - Correct Connection
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 exactly the same voltage, as they are connected through the ground return of the equipment and building wiring. The difference between the ground volt-ag...
Page 40 - Expanding Analog Inputs
PCI-1718 Series User Manual 32 Expanding Analog Inputs You can expand any or all of the PCI-1718HDU/HGU's A/D input chan-nels using multiplexing daughterboards. Daughterboards without D-type connectors require the PCLD-774 Analog Expansion Board. The PCLD-789(D) Amplifier and Multiplexer multiplexes...
Page 41 - Analog Output Connection
33 Chapter 3 Analog Output Connection The PCI-1718HDU/HGU provides one D/A output channel. You can use the internal precision -5 V or -10 V reference to generate 0 to +5 V or 0 to +10 V D/A output. Use an external reference for other D/A output ranges. The maximum reference input voltage is ±10 V an...
Page 42 - DO
PCI-1718 Series User Manual 34 3.3.3 Digital Signal Connections The PCI-1718HDU/HGU has 16 digital input and 16 digital output chan-nels. The digital I/O levels are TTL compatible. The following figure shows connections to exchange digital signals with other TTL devices: To receive an OPEN/SHORT sig...
Page 43 - Field Wiring Considerations; • The signal cables must be kept away from strong electromagnetic
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 affect the accuracy of your measure-ments if due cautions are not taken. The following measures will be help-ful to reduce possible interference runnin...
Page 45 - Programming Guide; ActiveDAQ
2 CHAP T ER 4 Programming Guide This chapter provides useful informa-tion about how to do register level pro-gramming for PCI-1718 cards.Sections include: • Overview• Programming with the Driver• Register Programming• Programming with LabVIEW and ActiveDAQ
Page 46 - Chapter 4 Programming Guide; Programming with the Driver
PCI-1718 Series User Manual 38 Chapter 4 Programming Guide 4.1 Overview The PCI-1718 cards are delivered with an easy-to-use 32-bit Device Driver for user programming under the Windows 98/2000/XP operating systems.At the Windows driver level, PCI-1718 cards are fully compatible with the PCL-818 seri...
Page 47 - Set the input range for each A/D channel
39 Chapter 4 4.3.1 Software Trigger and Polling 1. Set the input range for each A/D channel 2. Set the input channel by specifying the MUX scan range 3. Trigger the A/D conversion by writing to the A/D low byte register (BASE+0) with any value. 4. Check for the end of the conversion by reading the A...
Page 53 - Pacer Trigger Mode with Interrupt and FIFO
45 Chapter 4 4.3.3 Pacer Trigger Mode with Interrupt and FIFO MUX Scan Channel Control & A/D Range Control Set Scan Channel w Base+0 1 H w Base+0 2 H Clear FIFO Set To Pacer Trigger Mode To Enable Trigger w Base+0 9 H w Base+ 1 9 H Interrupt Set Pacer Trigger and Disable Generated Interrupt Set ...
Page 57 - Programming with LabVIEW and ActiveDAQ; LabView; ActiveDAQ Driver's Manual
49 Chapter 4 4.4 Programming with LabVIEW and ActiveDAQ Advantech offers not only a rich set of DLL drivers, but also third-party driver support and application software to help fully exploit the functions of your PCI-1718 cards. For more detailed information for these applications, please refer to:...
Page 59 - APPENDIX; Specifications
Page 60 - Appendix A Specifications
PCI-1718 Series User Manual 52 Appendix A Specifications A.1 Analog Input Channels 16 single-ended or 8 differential or combination Resolution 12-bit FIFO Size 1K samples Max. Sampling Rate 100 kS/s Input range and Gain List for PCI-1718HDU Gain 0.5 1 2 4 8 Unipolar N/A 0~10 0~5 0~2.5 0~1.25 Bipolar...
Page 65 - Block Diagrams
Page 66 - Appendix B Block Diagrams
PCI-1718 Series User Manual 58 Appendix B Block Diagrams
Page 68 - Appendix C Register Structure & Format
PCI-1718 Series User Manual 60 Appendix C Register Structure & Format C.1 Overview PCI-1718 cards are delivered with an easy-to-use 32-bit Device Drivers for user programming under the Windows 98/2000/XP operating sys-tems. We advise users to program the PCI-1718 cards using the 32-bit Device Dr...
Page 72 - Analog to digital data
PCI-1718 Series User Manual 64 C.3 A/D Data and Channels — BASE+00H~01H AD11 ~ AD0 Analog to digital data AD0 The least significant bit (LSB) of the A/D data AD11 The most significant bit (MSB) C3 ~ C0 A/D channel number from which the data is derived C0 The least significant bit (LSB) of the channe...
Page 73 - Range codes appear below:
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. If you want to change the range code for a given channel, select the channel as the start channel in register BASE+02H, MUX scan (described in the nex...
Page 74 - G3 and G2 are not used for PCL-818L
PCI-1718 Series User Manual 66 PCI-1718HGU Input Range (V) Unipolar/Bipolar Gain Code G3 G2 G1 G0 ±5V B 0 0 0 0 ±0.5V B 0 0 0 1 ±0.05V B 0 0 1 0 ±0.005V B 0 0 1 1 0 to 10V U 0 1 0 0 0 to 1V U 0 1 0 1 0 to 0.1V U 0 1 1 0 0 to 0.01V U 0 1 1 1 ±10V B 1 0 0 0 ±1V B 1 0 0 1 ±0.1V B 1 0 1 0 ±0.01V B 1 0 1...
Page 75 - Stop scan channel number; Programming example for PCI-1718HDU; Table C.7: Register for MUX Scan Channel Control
67 Appendix C C.6 MUX Scan Channel Control — BASE+02H The write register at BASE+02H controls multiplexer (MUX) scanning. The high nibble provides the stop scan channel number, and the low nib-ble provides the start scan channel number. Writing to this register auto-matically initializes the MUX to ...
Page 76 - The least significant bit (LSB) of the stop channel
PCI-1718 Series User Manual 68 C.7 MUX Scan Channel Status — BASE+02H Read register BASE+02H to get the current multiplexer (MUX) channel. CC3 ~ CC0 Current channel numberCC0 The least significant bit (LSB) of the stop channel CC3 The most significant bit (MSB) C.8 Digital I/O Registers - BASE + 03/...
Page 77 - The least significant bit (LSB) of the DI data
69 Appendix C DI15 ~ DI0 Digital input dataDI0 The least significant bit (LSB) of the DI data DI15 The most significant bit (MSB) C.9 D/A Output — BASE+04/05H Write-only registers BASE+04H and BASE+05H accept data for D/A output.The PCI-1718 cards provide one D/A output channel with two double-buffe...
Page 78 - Table C.12: Register for FIFO Interrupt Control
PCI-1718 Series User Manual 70 DA11 ~ DA0 Analog to digital data DA0 The least significant bit (LSB) of the D/A data DA11 The most significant bit (MSB) When you write data to D/A channels, write the low byte first. The low byte is temporarily held by a register in the D/A and not released to the ou...
Page 79 - EOC
71 Appendix C C.11 Clear Interrupt Request — BASE+08H Write any value to register BASE+08H to clear the interrupt request. C.12 A/D Status — BASE+08H Read-only register BASE+08H provides information on the A/D configu-ration and operation. Including:• Bipolar or unipolar input for the channel to be ...
Page 82 - enabled
PCI-1718 Series User Manual 74 C.14 Timer/Counter Enable — BASE+0AH Write register BASE+0AH enables or disables the PCI-1718 card’s timer/counter. TC0 Disable/enable pacer0 Pacer enabled 1 Pacer controlled by TRIG0. This blocks trigger pulses sent from the pacer to the A/D until TRIG0 is taken high....
Page 83 - C.16 Clear FIFO Interrupt Request — BASE+14H
75 Appendix C C.16 Clear FIFO Interrupt Request — BASE+14H Write any value to this I/O port to clear the FIFO's interrupt request. C.17 A/D Data and Channel from FIFO - BASE + 17/18H The PCL-818HD/HG stores data from A/D conversions in a 1 K word First-In First-Out (FIFO) data buffer. Registers at B...
Page 85 - C.20 Register Programming Flow Chart; C.20.1 Software Trigger Mode with Polling
77 Appendix C C.20 Register Programming Flow Chart C.20.1 Software Trigger Mode with Polling MUX Scan Channel Control & A/D Range Control Set Software Trigger and Disable Generated Interrupt Software A/D Trigger Check EOC Get Data EOC=0 w Base+0 1 H w Base+0 2 H w Base+ 09H w Base+ 00H r Base+ 0...
Page 89 - Calibration; data acquisition
2 APPENDIX D Calibration This appendix provides brief informa-tion on PCI-1718 card calibration. Reg-ular calibration checks are important to maintain accuracy in data acquisition and control applications.
Page 90 - Appendix D Calibration; This calibration utility is designed for the Microsoft
PCI-1718 Series User Manual 82 Appendix D Calibration PCI-1718 cards are calibrated at the factory for initial use. However, a recalibration of the analog input and the analog output function is recom-mended: 1. Every six months.2. Everytime the analog output range is changed. We provide a calibrati...