Advantech PCI-1710 Manual
Hide thumbs Also See for PCI-1710:
Table of Contents

Advertisement

This documentation and the software included with this product are
copyrighted 2001 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.
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 trade-marks of
Microsoft Corporation. Intel and Pentium are trademarks of Intel
Corporation. Delphi and C++ Builder are trademarks of Inprise Corpora-
tion.
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L,
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.
For technical support and service, please visit our support website at:
http:\\www.advantech.com/support
Part No. 2003171600
1st Edition
Printed in Taiwan
June 2001

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-1710 and is the answer not in the manual?

Questions and answers

Summary of Contents for Advantech PCI-1710

  • Page 1 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 trade-marks of Microsoft Corporation.
  • Page 2: Table Of Contents

    Contents 1. Introduction............1 Features ................2 Installation Guide ............. 4 Software ................6 Accessories ............... 6 2. Installation ............9 Unpacking ................. 9 Driver Installation ............11 Hardware Installation ............ 13 Device Setup & Configuration ........15 Device Testing ..............19 3.
  • Page 3 5. Calibration ............37 PCI-1710/1710L/1710HG/1710HGL Calibration ..38 PCI-1711/1711L Calibration .......... 41 PCI-1716/1716L Calibration .......... 43 Appendix A. Specifications ........ 55 Appendix B. Block Diagram ....... 65 C. Register Structure and Format ..... 69 C.1 Overview ................. 69 C.2 I/O Port Address Map ........... 70 C.3 Channel Number and A/D Data - BASE+0 and BASE+1...
  • Page 4 C.18 Programmable Timer/Counter Registers BASE+24, BASE+26, BASE+28 and BASE+30 ......92 Appendix D. 82C54 Counter Function ....93 D.1 The Intel 82C54 .............. 93 D.2 Counter Read/Write and Control Registers ....94 D.3 Counter Operating Modes ..........96 D.4 Counter Operations ............98 Appendix E.
  • Page 5 Figure 2-2: Different options for Driver Setup ......... 12 Figure 2-3: The device name listed on the Device Manager ...... 14 Figure 2-4: The Advantech Device Installation utility program ....15 Figure 2-5: The I/O Device Installation dialog box........16 Figure 2-6: The “Device(s) Found”...
  • Page 6 Figure 5-9: A/D Calibration Procedure 3 ..........47 Figure 5-11: Range Selection in D/A Calibration ........48 Figure 5-10: A/D Calibration is finished ............ 48 Figure 5-12: Calibrating D/A Channel 0 ............ 49 Figure 5-13: Calibrating D/A Channel 1 ............ 49 Figure 5-14: D/A Calibration is finished ............
  • Page 7 Register for load D/A channel 1 data ........87 Table C-15: Register for D/A channel 1 data ..........88 Table C-16: PCI-1710/1710HG/1711 Register for D/A reference control ....................89 Table C-17: PCI-1716 Register for D/A reference control ....... 89 Table C-18: Register for digital input ............
  • Page 8 Table C-21: Calibration Command and Data Register ......91 Table C-22: Register for Board ID ............92 Table E-1: A/D binary code table ............102 Table E-2: D/A binary code table ............105...
  • Page 9 Chapter 1 Thank you for buying the Advantech PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L PCI card. The Advantech PCI-1710/ 1710L/1710HG/1710HGL/1711/1711L/1716/1716L is a powerful data acquisition (DAS) card for the PCI bus. It features a unique circuit design and complete functions for data acquisition and control, including A/D conversion, D/A conversion, digital input, digital output, and counter/timer.
  • Page 10: Features

    PCI-bus mastering for data transfer 16-channel Single-Ended or 8-channel Differential A/D Input 12-bit A/D conversion with up to 100 kHz sampling rate (PCI-1710/ 1710L/1710HG/1710HGL/1711/1711L) 16-bit A/D conversion with up to 250 kHz sampling rate (PCI-1716/...
  • Page 11 This useful feature enables a continuous high-speed data transfer with a more predictable performance on operating systems. The PCI-1710/1710HG/1711/1716 goes further with 2 analog output channels, while the PCI-1710L/1710HGL/1711L/1716L doesn’t. It is for users to differentiate between the PCI-1710/1710HG/1711/1716 and the PCI-1710L/1710HGL/1711L/1716L according to what they really need as the best solution with no extra cost.
  • Page 12 Note: Pace trigger determines how fast A/D conversion will be done in pacer trigger mode. For detailed specifications of the PCI-1710/1710L/1710HG/1710HGL/ 1711/1711L/1716/1716L, please refer to Appendix A, Specifications. Before you install your PCI-1710/1710L/1710HG/1710HGL/1711/1711L/ 1716/1716L card, please make sure you have the following necessary...
  • Page 13: Figure 1-1: Installation Flow Chart

    Chapter 1 Figure 1-1: Installation Flow Chart Advantech Co., Ltd. – 5 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 14: Software

    Chapter 1 Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCI- 1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card: • DLL driver (on the companion CD-ROM) • LabVIEW driver • Advantech ActiveDAQ •...
  • Page 15 Chapter 1 can be readily connected to the Advantech PC-Lab cards and allow easy yet reliable access to individual pin connections for the PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L card. PCLD-8710 The PCLD-8710 is a DIN-rail mounting screw-terminal board to be used with any of the PC-LabCards which have 68-pin SCSI connectors.
  • Page 16 Chapter 1 This page is left blank on purpose. Advantech Co., Ltd. – 8 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 17: Installation

    This chapter gives users a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and card installation. Be noted that using PCI-1716/1716L for example. After receiving your PCI-1710/1710L/1710HG/1710HGL/1711/1711L/ 1716/1716L package, please inspect its contents first. The package should contain the following items:...
  • Page 18 Keep the antistatic bag for future use. You might need the original bag to store the card if you have to remove the card from PC or transport it elsewhere. Advantech Co., Ltd. PCI-1710 series User’s Manual – 10 – www.advantech.com...
  • Page 19: Figure 2-1: The Setup Screen Of Advantech Automation Software

    1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card into your system, since this will guarantee a smooth installation process. The 32-bit DLL driver Setup program for the PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L card is included on the companion CD-ROM that is shipped with your DAS card package. Please follow the steps below to install the driver software: Step 1: Insert the companion CD-ROM into your CD-ROM drive.
  • Page 20: Figure 2-2: Different Options For Driver Setup

    Figure 2-2: Different options for Driver Setup For further information on driver-related issues, an online version of DLL Drivers Manual is available by accessing the following path: Start/Programs/Advantech Driver for 95 and 98 (or for NT/2000)/ Driver Manual Advantech Co., Ltd.
  • Page 21: Driver Installation

    You should ignore the prompting messages (just click the Cancel button) and set up the driver according to the steps described in 2.2 Driver Installation. Advantech Co., Ltd. – 13 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 22: Figure 2-3: The Device Name Listed On The Device Manager

    Device Manager: 1. Access the Device Manager through Control Panel/System/Device Manager. 2. The device name of the PCI-1710/1710L/1710HG/1710HGL/1711/ 1711L/1716/1716L should be listed on the Device Manager tab on the System Property Page. Figure 2-3: The device name listed on the Device Manager...
  • Page 23: Figure 2-4: The Advantech Device Installation Utility Program

    Advantech 32-bit DLL drivers. Step 1: To install the I/O device for your card, you must first run the Device Installation program (by accessing Start/Programs/ Advantech Driver for 95 and 98 (or for NT/2000)/Device Installation). Figure 2-4: The Advantech Device Installation utility program...
  • Page 24: Figure 2-5: The I/O Device Installation Dialog Box

    OK button. After you have clicked OK, you will see a Device Setting dialog box such as the one in Figure 2-8. Advantech Co., Ltd. PCI-1710 series User’s Manual – 16 – www.advantech.com...
  • Page 25: Figure 2-6: The "Device(S) Found" Dialog Box

    : By inputting an external reference voltage: -xV , where |x| <= 10, you will get a output voltage range: 0 to xV. Advantech Co., Ltd. – 17 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 26: Figure 2-8: The Device Name Appearing On The List Of Devices Box

    The device number is passed to the driver to specify which device you wish to control. If you want to test the card device further, go right to the next section on the Device Testing. Advantech Co., Ltd. PCI-1710 series User’s Manual – 18 – www.advantech.com...
  • Page 27: Figure 2-9: Analog Input Tab On The Device Test Dialog Box

    You can access the Device Test dialog box either by the previous procedure for the Device Installation Program or simply by accessing Start/Programs/Advantech Driver for 95 and 98 (or for NT/2000) / Test Utility. All the functions are performed by software polling method. For high- speed data acquirement or output, they have to use corresponding VC example like ADINT or ADDMA or ADBMDMA.
  • Page 28: Figure 2-10: Analog Input Tab On The Device Test Dialog Box

    You can also configure the waveform frequency and output voltage range. Figure 2-11: Analog Output tab on the Device Test dialog box Advantech Co., Ltd. PCI-1710 series User’s Manual – 20 – www.advantech.com...
  • Page 29: Figure 2-13: Digital Output Tab On The Device Test Dialog Box

    Figure 2-13: Digital Output tab on the Device Test dialog box Advantech Co., Ltd. – 21 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 30: Figure 2-14: Counter Tab On The Device Test Dialog Box

    Only after your card device is properly set up, configured and tested, can the device installation procedure be counted as complete. After the device installation procedure is completed, you can safely proceed to the next chapter, Signal Connections. Advantech Co., Ltd. PCI-1710 series User’s Manual – 22 – www.advantech.com...
  • Page 31: Signal Connections

    1711L/1716/1716L is a 68-pin connector that enable you to connect to accessories with the PCL-10168 shielded cable. Note: The PCL-10168 shielded cable is especially designed for the PCI-1710/ 1710L/1710HG/1710HGL/1711/1711L/1716/1716L to reduce noise in the analog signal lines. Please refer to Section 1.4 Accessories.
  • Page 32: Figure 3-1: I/O Connector Pin Assignments For The Pci-1710/1710L/ 1710Hg/1710Hgl/1711/1711L/1716/1716L

    CNT0_CLK PACER_OUT CNT0_OUT TRG_GATE CNT0_GATE EXT_TRG +12V Figure 3-1: I/O connector pin assignments for the PCI-1710/1710L/ 1710HG/1710HGL/1711/1711L/1716/1716L *: Pins 23~25 and pins 57~59 are not defined for PCI-1710L/1710HGL/ 1711L/1716L Advantech Co., Ltd. PCI-1710 series User’s Manual – 24 – www.advantech.com...
  • Page 33: Table 3-1: I/O Connector Signal Description

    Digital Ground. Counter 0 Clock Input. Counter 0 Output. Counter 0 Gate Control. Pacer Clock Output. A/D External Trigger Gate. A/D External Trigger. +12 VDC Source. +5 VDC Source. Advantech Co., Ltd. – 25 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 34: Figure 3-2: Single-Ended Input Channel Connection

    A signal source without a local ground is also called a “floating source”. It is fairly simple to connect a single-ended channel to a floating signal source. In this mode, the PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L provides a reference ground for external floating signal sources. Figure 3-2 shows a single-ended...
  • Page 35: Figure 3-3: Differential Input Channel Connection - Ground Reference

    Low input. Figure 3-3 shows a differential channel connection between a ground- reference signal source and an input channel on the PCI-1710/1710L/ 1710HG/1710HGL/1716/1716L. With this connection, the PGIA rejects a common-mode voltage V...
  • Page 36: Figure 3-4: Differential Input Channel Connection - Floating Signal Source

    100 kW, then the resistors load down the signal source with 200 kΩ (100 kΩ+ 100 kΩ), resulting in a -0.5% gain error. The following gives a simplified representation of the circuit and calculating process. Advantech Co., Ltd. PCI-1710 series User’s Manual – 28 – www.advantech.com...
  • Page 37: Figure 3-5: Analog Output Connections

    The PCI-1710/1710HG/1711/1716 provides two D/A output channels (PCI-1710L/1710HGL/1711L/1716L are not designed to have this function), AO0_OUT and AO1_OUT. Users may use the PCI-1710/ 1710HG/1711/1716 internally-provided precision -5V (-10V) reference to generate 0 to +5 V (+10 V) D/A output range. Users also may create D/ A output range through external references, AO0_REF and AO1_REF.
  • Page 38 Counter 1 and Counter 2 are cascaded to create a 32-bit timer for pacer triggering. A low-to-high edge from the Counter 2 output (PACER_OUT) will trigger an A/D conversion on the PCI-1710/1710L/ 1710HG/1710HGL/1711/1711L/1716/1716L. At the same time, you can also use this signal as a synchronous signal for other applications.
  • Page 39 Chapter 3 When you use the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L to acquire data from outside, noises in the environment might significantly affect the accuracy of your measurements if due cautions are not taken. The following measures will be helpful to reduce possible interference running signal wires between signal sources and the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L.
  • Page 40 Chapter 3 This page is left blank on purpose. Advantech Co., Ltd. PCI-1710 series User’s Manual – 32 – www.advantech.com...
  • Page 41: Programming Choices

    The Advantech DLL Drivers software is included on the companion CD-ROM at no extra charge. It also comes with all the Advantech DAS cards. Advantech’s DLL driver features a complete I/O function library to help boost your application performance. The Advantech DLL...
  • Page 42 C++ Builder For instructions on how to begin programming works in each develop- ment tool, Advantech offers a Tutorial Chapter in the DLL Drivers Manual for your reference. Please refer to the corresponding sections in this chapter on the DLL Drivers Manual to begin your programming efforts.
  • Page 43 Or you can refer to the DLL Driver Error Codes Appen- dix in the DLL Drivers Manaul for a detailed listing of the Error Code, Error ID and the Error Message. Advantech Co., Ltd. – 35 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 44 Chapter 4 This page is left blank on purpose. Advantech Co., Ltd. – 36 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 45: Calibration

    Chapter 5 This chapter provides brief information on PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L/1716/1716L calibration. Regular calibration checks are important to maintain accuracy in data acquisition and control applications. We provide the calibration programs or utility on the companion CD-ROM to assist you in A/D and D/A calibration.
  • Page 46: Figure 5-1: Pci-1710/1710L/1710Hg/1710Hgl Vr Assignment

    Access these programs from the default location: C:\Program Files\Advantech\ADSAPI\Utility\PCI1710 There are five variable resistors (VRs) on the PCI-1710/1710HG card and three variable resistors (VRs) on the PCI-1710L/1710HGL card. These variable resistors are to facilitate accurate adjustments for all A/ D and D/A channels.
  • Page 47 ±10 V to the reference input of the D/A output channel you want to calibrate. Adjust the full scale (gain) of D/A channel 0 and 1, with VR4 and VR5 respectively. Advantech Co., Ltd. – 39 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 48 7. Connect DA1_OUT with codes equal to 1 LSB (2.44 mV) to AI2. 8. Adjust VR1 until the output codes from the card’s AI1 flicker between 0 and 1. 9. Finish ADCAL.EXE. PCI-1710 series User’s Manual Advantech Co., Ltd. – 40 – www.advantech.com...
  • Page 49: Figure 5-2: Pci-1711/1711L Vr Assignment

    A/D and D/A channels. Please refer to the following figure for the VR positions. PCI-1711 Series Figure 5-2: PCI-1711/1711L VR assignment The following list shows the function of each VR : Function Advantech Co., Ltd. – 41 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 50 (at least 1LSB), but with the reverse sign. For example, if Vref is -5V, then Vout should be +5V. If Vref is -10V, Vout should be +10V. PCI-1710 series User’s Manual Advantech Co., Ltd. – 42 –...
  • Page 51: Pci-1716/1716L Calibration

    Before you start to calibrate A/D and D/A channels, please adjust VR1 until the reference voltage on TP4 has reached +5.0000 V. Figure 5-3 shows the locations of VR1 and TP4. Advantech Co., Ltd. – 43 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 52: Figure 5-3: Pci-1716/1716L Vr Assignment

    If you installed the program to another directory, you can find this program in the corresponding subfolders in your destination directory. Step 2: Select PCI-1716/1716L in the ADSDAQ dialog box. PCI-1710 series User’s Manual Advantech Co., Ltd. – 44 –...
  • Page 53: Figure 5-4: Selecting The Device You Want To Calibrate

    Figure 5-4: Selecting the device you want to calibrate Step 3: After you start to calibrate the PCI-1716/1716L, please don’t forget to adjust VR1. Figure 5-5: Warning message before start calibration Advantech Co., Ltd. – 45 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 54: Figure 5-6: Auto A/D Calibration Dialog Box

    (Fig. 5-6). Press the start button to calibrate A/D channels automatically. Figure 5-6: Auto A/D Calibration Dialog Box Step 5: The first A/D calibration procedure is enabled (Fig. 5-7). Figure 5-7: A/D Calibration Procedure 1 PCI-1710 series User’s Manual Advantech Co., Ltd. – 46 – www.advantech.com...
  • Page 55: Figure 5-8: A/D Calibration Procedure 2

    Step 6: The second A/D calibration procedure is enabled (Fig. 5-8) Figure 5-8: A/D Calibration Procedure 2 Step 7: The third A/D calibration procedure is enabled (Fig. 5-9) Figure 5-9: A/D Calibration Procedure 3 Advantech Co., Ltd. – 47 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 56: Figure 5-11: Range Selection In D/A Calibration

    There are two D/A channels in PCI-1716; select the output range for each channel and then press the start button to calibrate D/A channels (Fig. 5-11). Figure 5-11: Range Selection in D/A Calibration PCI-1710 series User’s Manual Advantech Co., Ltd. – 48 – www.advantech.com...
  • Page 57: Figure 5-12: Calibrating D/A Channel 0

    Step 10: D/A channel 0 calibration is enabled (Fig. 5-12) Figure 5-12: Calibrating D/A Channel 0 Step 11: D/A channel 1 calibration is enabled (Fig. 5-13) Figure 5-13: Calibrating D/A Channel 1 Advantech Co., Ltd. – 49 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 58: Figure 5-14: D/A Calibration Is Finished

    PCI-1716/1716L can read. For example, if the input range is 0 ~ 5V, then input voltage should be 2.9992V not 3V. PCI-1710 series User’s Manual Advantech Co., Ltd. – 50 – www.advantech.com...
  • Page 59: Figure 5-15: Selecting Input Rage In Manual A/D Calibration Panel

    Step 2: According to the difference between reference voltage and receiving data in PCI-1716/1716L, adjust the gain, bipolar offset and unipolar offset registers (Figure 5-16) Figure 5-16: Adjusting registers Advantech Co., Ltd. – 51 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 60: Figure 5-17 & Figure 5-18: Selecting D/A Range And Choosing Output Voltage

    Step 2: For example, choose channel 0; select the Range and select the wished output voltage code or value from the radio buttons (Fig. 5-17 and Fig. 5-18). Figure 5-17 & Figure 5-18: Selecting D/A Range and Choosing Output Voltage PCI-1710 series User’s Manual Advantech Co., Ltd. – 52 – www.advantech.com...
  • Page 61: Figure 5-19: Adjusting Registers

    (Fig. 5-19) Figure 5-19: Adjusting registers Step 4: Adjust registers until they fall between the output voltage from the D/A channel and the value in the multimeter. Advantech Co., Ltd. – 53 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 62 Chapter 5 This page is left blank on purpose. PCI-1710 series User’s Manual Advantech Co., Ltd. – 54 – www.advantech.com...
  • Page 63 Appendix A Analog Input: Gain º º Gain Ω Gain Gain Advantech Co., Ltd. – 55 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 64 Appendix A Analog Output: ≤ ≤ Ω Digital Input/Output: Advantech Co., Ltd. PCI-1710 series User’s Manual – 56 – www.advantech.com...
  • Page 65 Appendix A Counter/Timer: General: Advantech Co., Ltd. – 57 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 66 Appendix A Analog Input: Ω Advantech Co., Ltd. PCI-1710 series User’s Manual – 58 – www.advantech.com...
  • Page 67 Appendix A Analog Output: (Only for PCI-1711) ≤ ≤ Ω Digital Input/Output: Advantech Co., Ltd. – 59 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 68 Appendix A Progrmmable Counter/Timer: General: Advantech Co., Ltd. PCI-1710 series User’s Manual – 60 – www.advantech.com...
  • Page 69 Appendix A Analog Input: 0 10 Advantech Co., Ltd. – 61 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 70 Appendix A Analog Output: (Only for PCI-1716) Digital Input/Output: Advantech Co., Ltd. PCI-1710 series User’s Manual – 62 – www.advantech.com...
  • Page 71 Appendix A Counter/Timer: General: Advantech Co., Ltd. – 63 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 72 Appendix A This page is left blank on purpose. Advantech Co., Ltd. PCI-1710 series User’s Manual – 64 – www.advantech.com...
  • Page 73 4K Samples FIFO COUNTER 1 MHz COUNTER PACER_OUT 12-bit A/D Convertor A/D Trigger Logic EXT_TRG S/W_TRG PGIA Multiplexer Channel Scan Logic 16 S/E 8 DIFF Gain Control RAM AI15 Advantech Co., Ltd. – 65 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 74 1 MH Logic 1K Samples FIFO COUNTER 10 MHz COUNTER PACER_OUT 12-bit A/D Convertor A/D Trigger Logic EXT_TRG S/W_TRG PGIA Multiplexer Channel Scan Logic 16 S/E Gain Control RAM AI15 Advantech Co., Ltd. PCI-1710 series User’s Manual – 66 – www.advantech.com...
  • Page 75 1K Samples FIFO COUNTER 10 MHz COUNTER PACER_OUT 12-bit A/D Convertor A/D Trigger Logic EXT_TRG S/W_TRG PGIA Multiplexer Channel Scan Logic 16 S/E 8 DIFF Gain Control RAM AI15 Advantech Co., Ltd. – 67 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 76 Appendix B This page is left blank on purpose. Advantech Co., Ltd. PCI-1710 series User’s Manual – 68 – www.advantech.com...
  • Page 77 32-bit DLL driver for user programming under the Windows 95/98/NT/2000 operating system. We advise users to program the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L using the 32-bit DLL driver provided by Advantech to avoid the complexity of low-level programming by register. The most important consideration in programming the PCI-1710/1710L/ 1710HG/1710HGL/1711/1711L/1716/1716L at the register level is to understand the function of the card’s registers.
  • Page 78 BASE+0 is the card’s base address and BASE+7 is the base address plus seven bytes. The table C-1 shows the function of each register of the PCI-1710/ 1710L/1710HG/1710HGL/1711/1711L/1716/1716L or driver and its address relative to the card’s base address.
  • Page 79 Appendix C Table C-1: PCI-1716/1716L register format (Part 2) Read A/D Data A/D Status Register D/A channel 0 data D/A channel 1 data Advantech Co., Ltd. – 71 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 80: Table C-1: Pci-1710/1710L/1710Hg/1710Hgl/1711/1711L/1716/ 1716L Register Format (Part 3)

    Appendix C Table C-1: PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L register format (Part 3) Read Digital Input Board ID (only for PCI-1716/1716L) Counter 0 Counter 1 Counter 2 Advantech Co., Ltd. PCI-1710 series User’s Manual – 72 – www.advantech.com...
  • Page 81: Table C-1: Pci-1710/1710L/1710Hg/1710Hgl/1711/1711L Register Format (Part 4)

    A/D Channel Range Setting Multiplexer Control A/D Control Register Clear Interrupt and FIFO D/A Output Channel 0 D/A Output Channel 1 D/A Control Register *: S/D, B/U are not supported for PCI-1711/1711L Advantech Co., Ltd. – 73 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 82: Table C-1: Pci-1716/1716L Register Format (Part 5)

    Table C-1: PCI-1716/1716L register format (Part 5) Write Software A/D Trigger A/D Channel Range Setting Multiplexer Control A/D Control Register Clear Interrupt and FIFO D/A Output Channel 0 D/A Output Channel 1 D/A Control Register Advantech Co., Ltd. PCI-1710 series User’s Manual – 74 – www.advantech.com...
  • Page 83: Table C-1: Pci-1710/1710L/1710Hg/1710Hgl/1711/1711L/1716/ 1716L Register Format (Part 6)

    Appendix C Table C-1: PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/ 1716L register format (Part 6) Read Digital Output Calibration Command and Data (only for PCI-1716/1716L) Counter 0 Counter 1 Counter 2 Counter Control Advantech Co., Ltd. – 75 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 84: Table C-3: Pci-1716/1716L Register For A/D Data

    Appendix C BASE+0 and BASE+1 hold the result of A/D conversion data. For PCI-1710/1710L/1710HG/1710HGL/1711/1711L, the 12 bits of data from the A/D conversion are stored in BASE+1 bit 3 to bit 0 and BASE+0 bit 7 to bit 0.BASE+1 bit 7 to bit 4 hold the source A/D channel number.
  • Page 85 BASE+6, Bit 2 to bit 0, select the trigger source. (see Section C.7, Control Register — BASE+6 ) If you select software triggering, a write to the register BASE+0 with any value will trigger an A/D conversion. Advantech Co., Ltd. – 77 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 86: Table C-4: Register For A/D Channel Range Setting

    Bipolar or Unipolar bipolar unipolar. G2 to G0 Gain Code table C-5 lists the gain codes for the PCI-1710/1710L. table C-6 lists the gain codes for the PCI-1710HG/ 1710HGL. table C-7 lists the gain codes for the PCI-1711/1711L. Advantech Co., Ltd.
  • Page 87: Table C-5: Gain Codes For Pci-1710/1710L

    Appendix C Table C-5: Gain codes for PCI-1710/1710L Advantech Co., Ltd. – 79 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 88: Table C-6: Gain Codes For Pci-1710Hg/1710Hgl

    1. Write channel 3 to BASE+4 as 00000011. 2. Write channel 3 to BASE+5 as 00000011. 3. Refer to the gain code list, write gain=1 to BASE+2 as 00000000. Advantech Co., Ltd. PCI-1710 series User’s Manual – 80 – www.advantech.com...
  • Page 89: Table C-8: Register For Multiplexer Control

    If the start scan input channel is AI3 and the stop scan input channel is AI7, then the scan sequence is AI3, AI4, AI5, AI6, AI7, AI3, AI4, AI5, AI6, AI7, AI3, AI4... Advantech Co., Ltd. – 81 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 90 AI13, AI14, AI15, AI0, AI1, AI2, AI13, AI14, AI15, AI0, AI1, AI2, AI13, AI14... The scan logic of the PCI-1710/1710L/1710HG/1710HGL/1716/1716L card is powerful and easily understood. You can set the gain code, B/U and S/D, for each channel. For the Analog Input function, we set two AI channel AI<i, i+1>...
  • Page 91: Table C-9: Control Register

    Counter 0 clock source select bit 0 The clock source of Counter 0 comes from the internal clock 1 MHz for PCI-1711/1711L/17161716L 100 KHz for PCI-1710/1710L/1710HG/1710HGL 1 The clock source of Counter 0 comes from the external clocock maximum up to 10 MHz for PCI-1711/1711L/ 17161716L Advantech Co., Ltd.
  • Page 92 Appendix C maximum up to 1 MHz for PCI-1710/1710L/ 1710HG/1710HGL AD16/12 Analog Input resolution. 16 bit 12 bit. And those two registers BASE+0 & BASE+1 will the same as PCI-1710/1710L/ 1710HG/1710HGL/1711/1711L (Table C-2) Analog I/O calibration bit Normal mode All analog input and outputs channels are connected to 68 pin SCSI-II connector respectively.
  • Page 93: Table C-10: Status Register

    This bit indicates whether the FIFO is full. 1 means that the FIFO is full. Interrupt flag This bit indicates the interrupt status. 1 means that an interrupt has occurred. Advantech Co., Ltd. – 85 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 94: Table C-11: Register To Clear Interrupt And Fifo

    BASE+10 and BASE+11 to output the data to the Analog Output channel. Table C-12: Register for load D/A channel 0 data Advantech Co., Ltd. PCI-1710 series User’s Manual – 86 – www.advantech.com...
  • Page 95: Table C-13: Register For D/A Channel 0 Data

    *: DA15, DA14, DA13, DA12 are only supported for PCI-1716/1716L DA11 ~ DA0 Digital to analog data LSB of the D/A data DA11 MSB of the D/A data (for PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L) DA15 MSB of the D/A data (for PCI-1716/1716L) The PCI-1716 provides the innovative design as gate control for Analog Output function.
  • Page 96: Table C-15: Register For D/A Channel 1 Data

    *: DA15, DA14, DA13, DA12 are only supported for PCI-1716/1716L DA11 ~ DA0 Digital to analog data LSB of the D/A data DA11 MSB of the D/A data (for PCI-1710/1710L/1710HG/ 1710HGL/1711/1711L) DA15 MSB of the D/A data (for PCI-1716/1716L) Advantech Co., Ltd.
  • Page 97: Table C-16: Pci-1710/1710Hg/1711 Register For D/A Reference Control

    PCI-1710L/1710HGL/1711L/1716L The PCI-1710L/1710HGL/1711L/1716L is not equipped with the D/A functions. PCI-1710/1710HG/1711/1716 Table C-16: PCI-1710/1710HG/1711 Register for D/A reference control Table C-17: PCI-1716 Register for D/A reference control DAn_5/10 The internal reference voltage for the D/A output channel n...
  • Page 98: Table C-18: Register For Digital Input

    Appendix C The PCI-1710/1710L/1710HG/1710HG/1711/1711L/1716/1716L offers 16 digital input channels and 16 digital output channels. These I/O channels use the input and output ports at addresses BASE+16 and BASE+17. Table C-18: Register for digital input Table C-19: Register for digital output Note! The default configuration of the digital output channels is a logic 0.
  • Page 99: Table C-20: Calibration Command And Data Register

    LSB of the calibration data MSB of the calibration data CM3 to CM0 Calibration Command and table C-18 lists the command code for PCI-1716/1716L. Table C-21: Calibration Command and Data Register Advantech Co., Ltd. – 91 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 100: Table C-22: Register For Board Id

    82C54 programmable timer/counter. Please refer to Appendix D 82C54 Counter Chip Functions for detailed application information. Note! Users have to use a 16-bit (word) command to read/write each register. Advantech Co., Ltd. PCI-1710 series User’s Manual – 92 – www.advantech.com...
  • Page 101 MHz input frequencies to the counter chip from an on-board crystal oscillator. On the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L , 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 timer;...
  • Page 102 BASE+30(Dec) 82C54 control, standard mode Value SC1 SC1 & SC0 Select counter Counter Read-back command RW1 & RW0 Select read/write operation Operation Counter latch Read/write LSB Read/write MSB Read/write LSB first, then MSB Advantech Co., Ltd. PCI-1710 series User’s Manual – 94 – www.advantech.com...
  • Page 103 If you set both SC1 and SC0 to 1 and STA to 0, the register selected by C2 to C0 contains a byte which shows the status of the counter. The data format of the counter read/write register then becomes: Advantech Co., Ltd. – 95 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 104 If you reload the counter register between output pulses, the present period will not be affected, but the subsequent period will reflect the value. Advantech Co., Ltd. PCI-1710 series User’s Manual – 96 – www.advantech.com...
  • Page 105 The counter will start counting after the rising edge of the trigger input and will go low for one clock period when the terminal count is reached. The counter is retriggerable. Advantech Co., Ltd. – 97 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 106 Users often want to read the value of a counter without disturbing the count in progress. You do this by latching the count value for the specific counter then reading the value. Advantech Co., Ltd. PCI-1710 series User’s Manual – 98 – www.advantech.com...
  • Page 107 1 and CNT = 0. The second method has the advantage of operating several counters at the same time. A subsequent read operation on the selected counter will retrieve the latched value. Advantech Co., Ltd. – 99 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 108 Appendix D This page is left blank on purpose. Advantech Co., Ltd. PCI-1710 series User’s Manual – 100 – www.advantech.com...
  • Page 109 32767.5. If so, to go to next step. Otherwise, you must change the value and repeat all the procedure in this step again until the average data close to 32767.5. Advantech Co., Ltd. – 101 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 110: Table E-1: A/D Binary Code Table

    0 V to10 V) 1 LSB = +FS / 32768 for Bipolar (For example: 1LSB = 5 / 32768, while the range is -5 V to +5 V) Advantech Co., Ltd. PCI-1710 series User’s Manual – 102 – www.advantech.com...
  • Page 111 65534.6. If so, to go to next step. Otherwise, you must change the value and repeat all the procedure in this step again until the average data close to 65534.6. Advantech Co., Ltd. – 103 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 112 32767.5. If so, to go to next step. Otherwise, you must change the value and repeat all the procedure in this step again until the average data close to 32767.5. 10. Repeat steps 2 to 9 several times. Advantech Co., Ltd. PCI-1710 series User’s Manual – 104 – www.advantech.com...
  • Page 113: Table E-2: D/A Binary Code Table

    0 V to10 V) 1 LSB = +FS / 32768 for Bipolar (For example: 1LSB = 5 / 32768, while the range is -5 V to +5 V) Advantech Co., Ltd. – 105 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 114 Appendix E This page is left blank on purpose. Advantech Co., Ltd. PCI-1710 series User’s Manual – 106 – www.advantech.com...
  • Page 115 Appendix F The PCLD-8710 Screw-terminal Board provides convenient and reliable signal wiring for the PCI-1710 series card, both of which have a 68-pin SCSI-II connector. This screw terminal board also includes cold junction sensing circuitry that allows direct measurement of thermocouples trans-ducers.
  • Page 116 Appendix F • Field wiring for the PCI-1710 series card equipped with 68-pinSCSI- II connector. CJC ADJUST CN1: 68-pin SCSI-II connector for connection with the PCI-1710 series card CN2: 20-pin connector for digital output CN3: 20-pin connector for digital input...
  • Page 117 DI 4 DI 5 DI 6 DI 7 DI 8 DI 9 DI 10 DI 11 DI 12 DI 13 DI 14 DI 15 DGND DGND +5 V +12 V Advantech Co., Ltd. – 109 – PCI-1710 series User’s Manual www.advantech.com...
  • Page 118 AIGND C 1 4 AI14 RA14 RB14 RA15 RD14 CD14 CONNECTOR SCSI 68P_4 RB15 AIGND C 1 5 AI15 AIGND DA0_REF DA1_REF AOGND AOGND DA0_OUT DA1_OUT AOGND AOGND TB40 Advantech Co., Ltd. PCI-1710 series User’s Manual – 110 – www.advantech.com...

Table of Contents