Pci 1710 11 16
Pci 1710 11 16
Pci 1710 11 16
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.
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 trade-marks of
Microsoft Corporation. Intel and Pentium are trademarks of Intel
Corporation. Delphi and C++ Builder are trademarks of Inprise Corpora-
tion.
CE notification
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.
1. Introduction....................................................... 1
1.1 Features ............................................................................ 2
1.2 Installation Guide ............................................................. 4
1.3 Software ............................................................................ 6
1.4 Accessories ....................................................................... 6
2. Installation ........................................................ 9
2.1 Unpacking ......................................................................... 9
2.2 Driver Installation .......................................................... 11
2.3 Hardware Installation .................................................... 13
2.4 Device Setup & Configuration ...................................... 15
2.5 Device Testing ................................................................ 19
1.1 Features
The Advantech PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/
1716L provides users with the most requested measurement and
control functions as seen below:
❏ 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/
1716L)
❏ Programmable gain for each input channel (only for PCI-1710/
1710L/1710HG/1710HGL/1716/1716L)
❏ On board samples FIFO buffer:
4K for PCI-1710/1710L/1710HG/1710HGL, 1K for PCI-1711/
1711L1716/1716L
❏ 2-channel D/A Output (PCI-1710/1710HG/1711/1716)
❏ 16-channel Digital Input
❏ 16-channel Digital Output
❏ Programmable Counter/Timer
❏ Automatic Channel/Gain Scanning
The Advantech PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/
1716L offers the following main features:
Plug-and-Play Function
The Advantech PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/
1716L is a Plug-and-Play device, which fully complies with the PCI
Specification. Rev 2.1 for PCI-1710/1710L/1710HG/1710HGL/1711/
1711L, and Rev 2.2 for PCI-1716/1716L. During card installation, all bus-
related configurations such as base I/O address and interrupts are
conveniently taken care of by the Plug-and-Play function. You have
channels or pulse generation. The other two are cascaded into a 32-bit
timer for pacer triggering.
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.
1.3 Software
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
• Advantech GeniDAQ
For more information on software, please refer to Chapter 4, Software
Overview.
Users who intend to program directly at the registers of the Multifunc-
tion card can have register-level programming as an option. Since
register-level programming is often difficult and laborious, it is usually
recommended only for experienced programmers. For more information,
please refer to Appendix C, Register Structure and Format.
1.4 Accessories
Advantech offers a complete set of accessory products to support the
PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L cards. These
accessories include:
Wiring Cable
❏ PCL-10168 The PCL-10168 shielded cable is specially designed
for PCI-1710/1710L/1710HG/1710HGL/1711/1711L/
1716/1716L cards to provide high resistance to noise.
To achieve a better signal quality, the signal 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 to
neutralize EMI/EMC problems.
Wiring Boards
❏ ADAM-3968 The ADAM-3968 is a 68-pin SCSI wiring terminal
module for DIN-rail mounting. This terminal module
2.1 Unpacking
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:
þ PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card
þ Companion CD-ROM (DLL driver included)
þ User’s Manual
þ Quick Start
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L card
harbors certain electronic components vulnerable to electrostatic
discharge (ESD). ESD could easily damage the integrated circuits and
certain components if preventive measures are not carefully paid
attention to. Before removing the card from the antistatic plastic bag,
you should take following precautions to ward off possible ESD
damage:
• Touch the metal part of your computer chassis with your hand to
discharge static electricity accumulated on your body. Or one can
also use a grounding strap.
• Touch the antistatic bag to a metal part of your computer chassis
before opening the bag.
• Take hold of the card only by the metal bracket when removing it
out of the bag.
After taking out the card, first you should:
• Inspect the card for any possible signs of external damage (loose or
damaged components, etc.). If the card is visibly damaged, please
notify our service department or our local sales representative
immediately. Avoid installing a damaged card into your system.
Also pay extra caution to the following aspects to ensure proper instal-
lation:
Avoid physical contact with materials that could hold static electricity
such as plastic, vinyl and Styrofoam.
Whenever you handle the card, grasp it only by its edges. DO NOT
TOUCH the exposed metal pins of the connector or the electronic
components.
Note:
✎ 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.
Step 3: Scroll down the List of Devices box to find the device that you
wish to install, then click the Add... button to evoke the
Device(s) found dialog box such as one shown in Figure 2-6.
The Device(s) found dialog box lists all the installed devices
of selected option on your system. Select the device you want
to configure from the list box and press the OK button. After
you have clicked OK, you will see a Device Setting dialog box
such as the one in Figure 2-8.
Step 5: After you have finished configuring the device, click OK and
the device name will appear in the Installed Devices box as
seen below:
Figure 2-8: The Device Name appearing on the list of devices box
Note:
✎ As we have noted, the device name “000:PCI-1716 I/O=E000H”
begins with a device number “000”, which is specifically assigned to
each card. 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.
Figure 2-9: Analog Input tab on the Device Test dialog box
On the Device Test dialog box, users are free to test various functions
of PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L on the
Analog output, Digital input, Digital output or Counter tabs. And the
Analog output function only available for 1710/1710HG/1711/1716.
Note:
✎ 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.
Figure 2-10: Analog Input tab on the Device Test dialog box
Figure 2-11: Analog Output tab on the Device Test dialog box
Figure 2-12: Digital Input tab on the Device Test dialog box
Figure 2-13: Digital Output tab on the Device Test dialog box
3.1 Overview
Maintaining signal connections is one of the most important factors in
ensuring that your application system is sending and receiving data
correctly. 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
the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L via the I/
O connector.
Pin Assignment
Figure 3-1 shows the pin assignments for the 68-pin I/O connector on
the PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L.
Note:
✎ The three ground references AIGND, AOGND, and DGND should be
used discreetly each according to its designated purpose. Actually, we
offer the individual GND pin for AI, AO and DIO to provide best signal
quality. However, all the signals on the DA&C card need to refer to the
same GND finally. So we test and choice a best point to connect
AIGND, AOGND and DGND together. In short, this is base on the
"single-point" ground principle.
AI0 68 34 AI1
AI2 67 33 AI3
AI4 66 32 AI5
AI6 65 31 AI7
AI8 64 30 AI9
AI10 63 29 AI11
AI12 62 28 AI13
AI14 61 27 AI15
AIGND 60 26 AIGND
AO0_REF* 59 25 AO1_REF*
AO0_OUT* 58 24 AO1_OUT*
AOGND* 57 23 AOGND*
DI0 56 22 DI1
DI2 55 21 DI3
DI4 54 20 DI5
DI6 53 19 DI7
DI8 52 18 DI9
DI10 51 17 DI11
DI12 50 16 DI13
DI14 49 15 DI15
DGND 48 14 DGND
DO0 47 13 DO1
DO2 46 12 DO3
DO4 45 11 DO5
DO6 44 10 DO7
DO8 43 9 DO9
DO10 42 8 DO11
DO12 41 7 DO13
DO14 40 6 DO15
DGND 39 5 DGND
CNT0_CLK 38 4 PACER_OUT
CNT0_OUT 37 3 TRG_GATE
CNT0_GATE 36 2 EXT_TRG
+12V 35 1 +5V
Internal External
+5V AO0_REF
INT_REF
+10V
+
AO0_OUT External Reference
AO0 For DA Signal 0
Load _
Load _
External Reference
AO1_OUT
AO1 For DA Signal 1
+
AO1_REF
INT_REF
I/O Connector
DLL Driver
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
driver for Windows 95/98/NT/2000 works seamlessly with development
tools such as Visual C++, Visual Basic, Inprise C++ Builder and Inprise
Delphi.
Register-level Programming
Register-level programming is reserved for experienced programmers
who find it necessary to write codes directly at the level of device
registers. Since register-level programming requires much effort and
time, we recommend that you use the Advantech DLL drivers instead.
However, if register-level programming is indispensible, you should
refer to the relevant information in Appendix C, Register Structure and
Format, or to the example codes included on the companion CD-ROM.
Programming Tools
Programmers can develop application programs with their favorite
development tools:
❏ Visual C++
❏ Visual Basic
❏ Delphi
❏ 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. You can also take a look at the example source codes provided
for each programming tool, since they can get you very well-oriented.
The DLL Drivers Manual can be found on the companion CD-ROM.
Or if you have already installed the DLL Drivers on your system, The
DLL Drivers Manual can be readily accessed through the Start
button:
Start/Programs/Advantech Driver for 95 and 98 (or for NT/2000)/Driver
Manual
The example source codes could be found under the corresponding
installation folder such as the default installation path:
\Program Files\Advantech\ADSAPI\Examples
For information about using other function groups or other develop-
ment tools, please refer to the Creating Windows 95/NT/2000 Appli-
cation with DLL Driver chapter and the Function Overview chapter
on the DLL Drivers Manual.
VR Assignment
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. Please refer to the following two figures for the
VR positions.
A/D Calibration
Regular and accurate calibration procedures ensure the maximum
possible accuracy. The ADCAL.EXE calibration program leads you
through the whole A/D offset and gain adjustment procedure. The
basic steps are outlined below:
1. Set analog input channel AI0 as single-ended, bipolar, range ±5 V,
and set AI1 as single-ended, unipolar, range 0 to 10 V.
2. Connect a DC voltage source with value equal to 0.5 LSB (-4.9959
V) to AI0.
3. Adjust VR2 until the output codes from the card’s AI0 flickers
between 0 and 1.
4. Connect a DC voltage source with a value of 4094.5 LSB (4.9953 V)
to AI0.
5. Adjust VR3 until the output codes from the card’s AI0 flickers
between 4094 and 4095.
6. Repeat step 2 to step 5, adjusting VR2 and VR3.
7. Connect a DC voltage source with value equal to 0.5 LSB (1.22 mV)
to AI1.
8. Adjust VR1 until the output codes from the card’s AI1 flickers
between 0 and 1.
Note:
✎ Using a precision voltmeter to calibrate the D/A outputs is
recommended.
Set the D/A data register to 4095 and adjust VR3 until the D/A output
voltage equals the reference voltage minus 1 LSB, but with the
opposite sign. For example, if V ref is -5 V, then V out should be
+4.9959 V. If V ref is -10 V, V out should be +9.9918 V.
VR Assignment
There are four variable resistors (VRs) on the PCI-1711 card and two
variable resistors (VRs) on the PCI-1711L card. These variable resistors
are to facilitate accurate adjustments for all A/D and D/A channels.
Please refer to the following figure for the VR positions.
PCI-1711 Series
VR3
VR4
VR1
VR2
CN1
A/D Calibration
Regular and accurate calibration procedures ensure the maximum
possible accuracy. The A/D calibration program ADCAL.EXE leads
you through the whole A/D offset and gain adjustment procedure. The
basic steps are outlined below:
1. Connect a DC voltage source of +9.995 V to AI0.
2. Connect AGND to AI1, AI2, AI3, AI4 and AI5.
3. Run the ADCAL.EXE program.
4. Adjust VR2 until the output codes from the card’s AI0 are focused
on FFE (at least 70%), and adjust VR1 until the output codes from
the card’s AI1, AI2, AI3, AI4 and AI5 are focused on 7FF (at least
70%).
5. Press the SPACE key to finish A/D calibration.
You can adjust VR3 and VR4 until the D/A channel 0 and 1 output
voltages approach the reference voltage (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.
VR Assignment
There is one variable resistor (VR1) on the PCI-1716/1716L to adjust
the accurate reference voltage on the PCI-1716/1716L. We have
provided a test point (See TP4 in Figure 5-3) for you to check the
reference voltage on board. 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.
PCI-1716 Series
P1 VR1
TP4
SW1
Calibration Utility
The calibration utility, AutoCali, provides four functions - auto A/D
calibration, auto D/A calibration, manual A/D calibration and manual
D/A calibration. The program helps the user to easily finish the calibra-
tion procedures automatically; however, the user can calibrate the PCI-
1716/1716L manually. Appendix E illustrated the standard calibration
procedures for your reference. If you want to calibrate the hardware in
your own way, these two sections will guide you. The following steps
will guide you through the PCI-1716/1716L software calibration.
Step 1: Access the calibration utility program AutoCali.exe from the
default location:
C:\Program Files\Advantech\ADSAPI\Utility\Auto Calibration
Note:
✎ If you installed the program to another directory, you can find this
program in the corresponding subfolders in your destination directory.
✎ The input voltage will be analog code so the computer will convert the
voltage data into digitial code; therefore, the input voltage value you
selected from a precision standard voltage reference needs to
correspond with the one that the PCI-1716/1716L can read. For
example, if the input range is 0 ~ 5V, then input voltage should be
2.9992V not 3V.
Step 3: Adjust the registers until they fall between the input voltage
from the standard voltage reference and the receiving voltage
reflectected in the Manual A/D Calibration tab.
Figure 5-17 & Figure 5-18: Selecting D/A Range and Choosing
Output Voltage
PCI-1710/1710L/1710HG/1710HGL
Analog Input:
Channels 16 single-ended or 8 differential or combination
Resolution 12-bit
FIFO Size 4K samples
PCI-1710/1710L
100 KS/s
Max. Sampling Rate1
PCI-1710HG/1710HGL Gain 0.5, 1 5, 10 50, 100 500, 1000
Max. Sampling Rate Speed 100 KS/s 35 KS/s 7 KS/s 770 S/s
Conversion Time 8 µs
Input range and Gain 0.5 1 2 4 8
Gain List for Unipolar N/A 0~10 0~5 0~2.5 0~1.25
PCI-1710/1710L Bipolar ±10 ±5 ±2.5 ±1.25 ±0.625
Input range and Gain List Gain 0.5 1 5 10 50 100 500 1000
for PCI- Unipolar N/A 0~10 N/A 0~1 N/A 0~0.1 N/A 0~0.01
1710HG/1710HGL Bipolar ±10 ±5 ±1 ±0.5 ±0.1 ±0.05 ±0.01 ±0.005
Gain 1 2 4 8 16
Zero
Drift 15 15 15 15 15
(µV/º C)
Gain
25 25 25 30 40
(ppm//º C)
DC Gain
0.5 1 2 4 8
PCI-1710/1710LAccuracy
Gain error
0.01 0.01 0.02 0.02 0.04
(% FSR)
Ch Type S.E./D S.E./D S.E./D D D
SNR: 68 dB
AC
ENOB: 11 bits
INLE: ±1LSB
Monotonicity: 12 its
Offset error: Adjustable to zero
DC Gain
0.5,1 5,10 50,100 500 1000
PCI-1710HG/1710HGL
Accuracy Gain error
0.01 0.02 0.04 0.08 0.08
(% FSR)
Ch Type S.E./D S.E./D D D D
SNR: 68 dB
AC
ENOB: 11 bits
External TTL Trigger Low 0.4 V max.
Input High 2.4 V min.
Analog Output:
Channels 2
Resolution 12-bit
Output Range Using Internal Reference 0~+5V,0~+10 V
(Internal & External
Reference) Using External Reference 0 ~ +x V @ +x V (-10≤ x ≤ 10)
Relative ±0.5 LSB
Accuracy
Differential Non-linearity ±0.5 LSB (monotonic)
Gain Error Adjustable to zero
Slew Rate 10V/µs
Drift 40 ppm/° C
Driving Capability 3 mA
Max. Update Rate 100 K samples/s
Output Impedance 0.81 Ω (min.)
Digital Rate 5 MHz
Settling Time 26µs (to ±1/2 LSB of FSR)
Internal -5 V ~ + 5 V
Reference Voltage
External -10 V ~ + 10 V
Digital Input/Output:
Input Channels 16
Low 0.4V max.
Input Voltage
High 2.4 V min.
Low 0.4 V max. @ -0.2mA
Input Load
High 2.7 V min. @ 20µA
Output Channels 16
Low 0.4 V max.@ +8.0mA (sink)
Output Voltage
High 2.4 V [email protected] (source)
Counter/Timer:
General:
PCI-1711/1711L
Analog Input:
Channels 16 Single-Ended
Resolution 12-bit
FIFO Size 1K samples
Max. Sampling Rate 100 KS/s max.
Conversion Time 10 µs
Input range and Gain 1 2 4 8 16
Gain List Input ± 10 V ±5V ± 2.5 V ± 1.25 V ± 0.625 V
1 2 4 8 16
Drift
(ppm/°C) Zero 15 15 15 15 15
Gain 25 25 25 30 40
Small Signal 1 2 4 8 16
Bandwidth for PGA Bandwidth 4.0 MHz 2.0 MHz 1.5 MHz 0.65 MHz 0.35 MHz
Max. Input
±15 V
Overvoltage
Input Protect 70 Vp-p
Input Impedance 2 MΩ/5 pF
Trigger Mode Software, On-board Programmable Pacer or externa
INLE: ±0.5 LSB
Monotonicity: 12 bits
DC
Offset error: Adjustable to zero
Accuracy
Gain error: 0.005% FSR (Gain=1)
SNR: 68 dB
AC
ENOB: 11 bits
Channels 2
Resolution 12-bit
Output Range Internal Reference 0 ~ +5 V, 0 ~ +10 V
(Internal & External
Reference) External Reference 0 ~ +x V@ -x V (-10≤ x ≤10)
Relative ±1/2 LSB
Accuracy
Differential Non-linearity ±1/2 LSB
Gain Error Adjustable to zero
Slew Rate 11V/µs
Drift 40 ppm/° C
Driving Capability 3 mA
Throughput 38 kHz (min.)
Output Impedance 0.81 Ω
Settling Time 26 µs (to ±1/2 LSB of FSR)
Internal -5 V or -10 V
Reference Voltage
External -10 V ~ +10 V
Digital Input/Output:
Input Channels 16
Low 0.4V max.
Input Voltage
High 2.4 V min.
Low 0.4 V max. @ -0.2mA
Input Load
High 2.7 V min. @ 20µA
Output Channels 16
Low 0.4 V max.@ +8.0mA (sink)
Output Voltage
High 2.4 V [email protected] (source)
Progrmmable Counter/Timer:
General:
I/O C o n n e c to r Ty p e 6 8 - p in S C S I- II fe m a le
D im e n s io n s 1 7 5 m m x 1 0 0 m m ( 6 .9 " x 3 .9 ")
Pow er Ty p ic a l +5 V @ 850 m A
C o n s u m p tio n M ax. +5 V @ 1 A
0 ~ + 6 0 ° C (3 2 ~ 1 5 8 ° F )
O p e ra tio n
Te m p e r a tu re ( re fe r to IE C 6 8 - 2 - 1 ,2 )
S to r a g e - 2 0 ~ + 7 0 ° C (- 4 ~ 1 5 8 ° F )
5 ~ 8 5 % R H n o n - c o n d e n s in g
O p e ra tio n
( re fe r to IE C 6 8 - 1 ,-2 ,- 3 )
R e la tiv e H u m id ity
5 ~ 9 5 % R H n o n - c o n d e n s in g
S to r a g e
( re fe r to IE C 6 8 - 1 ,-2 ,- 3 )
C e rtific a tio n C E c e r tifie d
PCI-1716/1716L
Analog Input:
Channels 16 single-ended or 8ndifferential or combinatio
Resolution 16-bit
FIFO Size 1K samples
Sampling Rate* 250 kS/s max.
Conversion 2.5 µs
Time
Gain 0.5 1 2 4 8
Input rang and
Unipolar N/A 0~10 0~5 0~2.5 0~1.2
Gain List
Bipolar ±10 ±5 ±2.5 ±1.25 ±0.625
Small Signal Gain 0.5 1 2 4 8
Bandwidth for
PGA Gain Bandwidth 4.0 MHz 4.0 MHz 2.0 MHz 1.5 MHz 0.65 MHz
Common mode
±11 V max. (operational)
voltage
Max. Input
±20 V
voltage
Input Protect 30 Vp-p
Input
100 MΩ/10pF(Off); 100 MΩ/100pF(On)
Impedance
Trgger Mode Software, on-board programmable pacer or external
DNLE: ±1LSB
INLE: ±1LSB
Zero (Offset) error: Adjustable to ±1 LSB
DC
Ga in 0.5
. 1 2 4 8
Accuracy Gain error
0.15 0.03 0.03 0.05 0.1
(% FSR)
SNR: 82 dB
AC ENOB: 13.5 bits
THD: -84 dB typical
Trigger
Software, on-board programmable pacer or external
Mode
Clocking and A/D pacer 250 kHz (max.); 58µHz (min.)
Trigger Inputs clock
External
Min. pulse width: 2µs (high); 2µs (low)
A/D trigger
Max. frequency: 250 kHz
clock
Digital Input/Output:
Input Channels 16
Low 0.4V max.
Input Voltage
High 2.4 V min.
Low 0.4 V max. @ -0.2mA
Input Load
High 2.7 V min. @ 20µA
Output Channels 16
Low 0.4 V max.@ +8.0mA (sink)
Output Voltage
High 2.4 V [email protected] (source)
Counter/Timer:
General:
PCI-1710/1710L/1710HG/1710HGL
Address Bus
Address Decoder
PCI Controller
Data Bus 16-bit Digital Output
P C I B us
CNT0_CLK
COUNTER CNT0_OUT
1 MHz/10= 0 CNT0_GATE
IRQ Control 100 KH Z
4K Samples Logic
FIFO COUNTER
1
1 MHz
OSC
COUNTER PACER_OUT
12-bit A/D 2
Convertor
A/D Trigger
Logic
EXT_TRG
S/W_TRG
AI0
+
AI1
PGIA
-
Multiplexer
Channel Scan Logic
16 S/E
or
8 DIFF
Gain Control RAM
AI15
PCI-1711/1711L
Address Bus
Address Decoder
PCI Controller
Data Bus 16-bit Digital Output
P C I B us
CNT0_CLK
COUNTER CNT0_OUT
10 MHz/10= 0 CNT0_GATE
IRQ Control 1 MHZ
1K Samples Logic
FIFO COUNTER
1
10 MHz
OSC
COUNTER PACER_OUT
12-bit A/D 2
Convertor
A/D Trigger
Logic
EXT_TRG
S/W_TRG
AI0
+
AI1
PGIA
-
Multiplexer
Channel Scan Logic
16 S/E
PCI-1716/1716L
Address Bus
Address Decoder
PCI Controller
Data Bus 16-bit Digital Output
P C I B us
CNT0_CLK
COUNTER CNT0_OUT
10 MHz/10= 0 CNT0_GATE
IRQ Control 1 MHz
1K Samples Logic
FIFO COUNTER
1
10 MHz
OSC
COUNTER PACER_OUT
12-bit A/D 2
Convertor
A/D Trigger
Logic
EXT_TRG
S/W_TRG
AI0
+
AI1
PGIA
-
Multiplexer
Channel Scan Logic
16 S/E
or
8 DIFF
Gain Control RAM
AI15
C.1 Overview
The PCI-1710/1710L/1710HG/1710HGL/1711/1711L/1716/1716L is
delivered with an easy-to-use 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. The information in the
following sections is provided only for users who would like to do
their own low-level programming.
Base Read
Address
+decimal 7 6 5 4 3 2 1 0
A/D Data
1 AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD8
0 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0
N/A
3
2
N/A
5
4
A/D Status Register
7 CAL IRQ F/F F/H F/E
6 AD16/12 CNT0 ONE/FH IRQEN GATE EXT PACER SW
N/A
9
8
D/A channel 0 data
11
10
D/A channel 1 data
13
12
N/A
15
14
-Base Read
Address
+decimal 7 6 5 4 3 2 1 0
Digital Input
17 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8
16 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
N/A
19
18
Board ID (only for PCI-1716/1716L)
21
20 BD3 BD2 BD1 BD0
N/A
23
22
Counter 0
25
24 D7 D6 D5 D4 D3 D2 D1 D0
Counter 1
27
26 D7 D6 D5 D4 D3 D2 D1 D0
Counter 2
29
28 D7 D6 D5 D4 D3 D2 D1 D0
N/A
31
30
Base Write
Address
+decimal 7 6 5 4 3 2 1 0
Software A/D Trigger
1
0
A/D Channel Range Setting
3
2 *S/D *B/U G2 G1 G0
Multiplexer Control
5 Stop channel
4 Start channel
A/D Control Register
7
6 CNT0 ONE/FH IRQEN GATE EXT0 PACER SW
Clear Interrupt and FIFO
9 Clear FIFO
8 Clear interrupt
D/A Output Channel 0
11 DA11 DA10 DA9 DA8
10 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
D/A Output Channel 1
13 DA11 DA10 DA9 DA8
12 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
D/A Control Register
15
14 DA1_I/E DA1_5/10 DA0/I/E DA0_5/10
Base Write
Address
+decimal 7 6 5 4 3 2 1 0
Software A/D Trigger
1
0
A/D Channel Range Setting
3
2 S/D B/U G2 G1 G0
Multiplexer Control
5 Stop channel
4 Start channel
A/D Control Register
7 CAL
ONE
6 AD16/12 CNT0 IRQEN GATE EXT0 PACER SW
/FH
Clear Interrupt and FIFO
9 Clear FIFO
8 Clear interrupt
D/A Output Channel 0
11 DA15 DA14 DA13 DA12 DA11 DA10 DA9 DA8
10 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
D/A Output Channel 1
13 DA15 DA14 DA13 DA12 DA11 DA10 DA9 DA8
12 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
D/A Control Register
15 DA1_LDEN DA1_I/E DA0_B/U DA1_5/10
14 DA0_LDEN DA0/I/E DA0_B/U DA0_5/10
Base Read
Address
+decimal 7 6 5 4 3 2 1 0
Digital Output
17 DO15 DO14 DO13 DO12 DO11 DO10 DOI9 DO8
16 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
Calibration Command and Data (only for PCI-1716/1716L)
19 CM3 CM2 CM1 CM0
18 D7 D6 D5 D4 D3 D2 D1 D0
N/A
21
20
N/A
23
22
Counter 0
25
24 D7 D6 D5 D4 D3 D2 D1 D0
Counter 1
27
26 D7 D6 D5 D4 D3 D2 D1 D0
Counter 2
29
28 D7 D6 D5 D4 D3 D2 D1 D0
Counter Control
31
30 D7 D6 D5 D4 D3 D2 D1 D0
PCI-1710/1710L
Input Gain Code
Gain B/U
Range(V) G2 G1 G0
1 -5 to +5 0 0 0 0
2 -2.5 to +2.5 0 0 0 1
4 -1.25 to +1.25 0 0 1 0
8 -0.625 to +0.625 0 0 1 1
0.5 -10 to +10 0 1 0 0
N/A 0 1 0 1
N/A 0 1 1 0
N/A 0 1 1 1
1 0 to 10 1 0 0 0
2 0 to 5 1 0 0 1
4 0 to 2.5 1 0 1 0
8 0 to 1.25 1 0 1 1
N/A 1 1 0 0
N/A 1 1 0 1
N/A 1 1 1 0
N/A 1 1 1 1
PCI-1710HG/1710HGL
Input Gain Code
Gain B/U
Range(V) G2 G1 G0
1 -5 to +5 0 0 0 0
10 -0.5 to +0.5 0 0 0 1
100 -0.05 to +0.05 0 0 1 0
1000 -0.005 to +0.005 0 0 1 1
0.5 -10 to +10 0 1 0 0
5 -1 to +1 0 1 0 1
50 -0.1 to +0.1 0 1 1 0
500 -0.01 to +0.01 0 1 1 1
1 0 to 10 1 0 0 0
10 0 to 1 1 0 0 1
100 0 to 0.1 1 0 1 0
1000 0 to 0.01 1 0 1 1
N/A 1 1 0 0
N/A 1 1 0 1
N/A 1 1 1 0
N/A 1 1 1 1
PCI-1710HG/1710HGL
Input Gain Code
Gain
Range(V) G2 G1 G0
1 -10 to +10 0 0 0
2 -5 to +5 0 0 1
4 -2.5 to +2.5 0 1 0
8 -1.25 to +1.25 0 1 1
16 -0.625 to +0.625 1 0 0
Caution!
✎ We recommend you to set the same start and stop channel when
writing to the register BASE+2. Otherwise, if the A/D trigger source is
on, the multiplexer will continuously scan between channels and the
range setting may be set to an unexpected channel. Make sure the A/D
trigger source is turned off to avoid this kind of error.
Example 1
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...
Example 2
If the start scan channel is AI13 and the stop scan channel is AI2, then
the scan sequence is 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> ( i= 0, 2, 4, ...,14) work as a pair. For example, the
AI0 and AI1 is a pair. When in single-ended mode, we can get data
from AI0 and AI1 separately. But if we set them as differential mode,
the results polling AI0 and AI1 will be the same. That is if we set the
AI0 and AI1 as a differential input channel, we can get the correct
result no matter we polling channel 0 or channel 1.
But if we want to use the multiple channels input function, the things
will be a little bit different. If we set two AI channel as a differential
channel, it will be take as one channel in the data array. Since the
resulted data array of the multi-channel scan function is ranked with
the order of channel, let us give a example to make it more clear.
Now we set channel 0, 1 as differential and 2, 3 as single ended and
then 4,5 as differential mode. And we set the start channel as channel 0
and number of channel as 4, the result will be
##.#### -> channel 0,1
##.#### -> channel 2
##.#### -> channel 3
##.#### -> channel 4,5
##.#### -> channel 0,1
##.#### -> channel 2
##.#### -> channel 3
##.#### -> channel 4,5
##.#### -> channel 0,1
...
Warning!
✎ Only even channels can be set as differential. An odd channel will
become unavailable if its preceding channel is set as differential.
Only for PCL-1710/1710L/1710H/1710HG/1710HGL/1716/1716L
Note!
✎ The default configuration of the digital output channels is a logic 0.
D7 to D0 Calibration data
D0 LSB of the calibration data
D7 MSB of the calibration data
CM3 to CM0 Calibration Command and table C-18 lists the
command code for PCI-1716/1716L.
Counter 0
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; when set as an external source, then counter 0 is an event
counter and the clock source comes from CNT0_CLK. The counter is
controlled by CNT0_GATE. When CNT0_GATE input is high, counter
0 will begin to count.
Counter 1 & 2
Counter 1 and counter 2 of the counter chip are cascaded to create a
32-bit timer for the pacer trigger. A low-to-high edge of counter 2
output (PACER_OUT) will trigger an A/D conversion. At the same
time, you can use this signal as a synchronous signal for other
applications.
Register Function
BASE + 24 (Dec) Counter 0 read/write
BASE + 26 (Dec) Counter 1 read/write
BASE + 28 (Dec) Counter 2 read/write
BASE + 30 (Dec) Counter control word
Since the 82C54 counter uses a 16-bit structure, each section of read/
write data is split into a least significant byte (LSB) and most signifi-
cant byte (MSB). To avoid errors it is important that you make read/
write operations in pairs and keep track of the byte order.
The data format for the control register is as below:
Description:
SC1 & SC0 Select counter
Counter SC1 SC0
0 0 0
1 0 1
2 1 0
Read-back command 1 1
M2 M1 M0 Mode Description
0 0 0 0 Stop on terminal count
0 0 1 1 Programmable one shot
X 1 0 2 Rate generator
X 1 1 3 Square wave rate generator
1 0 0 4 Software triggered strobe
1 0 1 5 Hardware triggered strobe
BCD Type
0 Binary counting 16-bits
1 Binary coded decimal (BCD) counting
If you set the module for binary counting, the count can be any
number from 0 up to 65535. If you set it for BCD (Binary Coded
Decimal) 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 then
becomes:
The gate input, when low, will force the output high. When the gate
input goes high, the counter will start from the initial count. You can
thus use the gate input to synchronize the counter.
With this mode the output will remain high until you load the count
register. You can also synchronize the output by software.
Read/Write Operation
Before you write the initial count to each counter, you must first
specify the read/write operation type, operating mode and counter
type in the control byte and write the control byte to the control
register [BASE + 30(Dec)].
Since the control byte register and all three counter read/write registers
have separate addresses and each control byte specifies the counter it
applies to (by SC1 and SC0), no instructions on the operating se-
quence are required. Any programming sequence following the 82C54
convention is acceptable.
There are three types of counter operation: Read/load LSB, read /load
MSB and read /load LSB followed by MSB. It is important that you
make your read/write operations in pairs and keep track of the byte
order.
The 82C54 supports the counter latch operation in two ways. The first
way is to set bits RW1 and RW0 to 0. This latches the count of the
selected counter in a 16-bit hold register. The second way is to perform
a latch operation under the read-back command. Set bits SC1 and SC0
to 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.
(Manually)
E.1 A/D Calibration
Regular and proper calibration procedures ensure the maximum
possible accuracy. It is easy to complete the A/D calibration procedure
automatically (i.e. through software calibration) by executing the A/D
calibration program AutoCali. Therefore, it is not necessary to adjust
the hardware settings of the PCI-1716/1716L. However, the following
calibration steps are also provided for your reference in case manual
calibration is needed:
1. Adjust the on board reference voltage. First, adjust VR1 until the
reference voltage on TP4 has reached +5.0000 V. Next, to write
0x0080, 0x0180, 0x0280 and 0x0380 sequentially to Calibration
Command and Data register (BASE+18). After that, to set PCI-
1716/1716L to AI software trigger and calibration mode.
2. Adjust the PGA offset voltage. First, writing any value to BASE+9
to clear FIFO. Then to set A/D channel to channel 0.
3. Writing the value from 0x0200 to 0x02FF sequentially to Calibra-
tion Command and Data register (BASE+18), and get each
bipolar range’s data by software trigger A/D method. Be noted that
to repeat this procedure 1000 times then to average those data for
each value. After that, to compare the average data of the range
between ±5 V and ±0.625 V and to see whether the discrepancy is
less then 2 LSB. If so, to go to next step. Otherwise, you must
change the value and repeat all the procedure in this step again
until the discrepancy is less then 2 LSB.
4. Adjust the BIPOLAR offset voltage. First, writing any value to
BASE+9 to clear FIFO. Then to set A/D channel to channel 0, and
to set the range as -5 V to +5 V.
5. Writing the value from 0x0000 to 0x00FF sequentially to Calibra-
tion Command and Data register (BASE+18), and get each
bipolar range’s data by software trigger A/D method. Be noted that
to repeat this procedure 1000 times then to average those data for
each value. After that, to see whether the average data is close to
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.
Note:
✎ 1 LSB = FS / 65535 for Unipolar (For example: 1LSB = 10 / 65535, while
the range is 0 V to10 V)
✎ 1 LSB = +FS / 32768 for Bipolar (For example: 1LSB = 5 / 32768, while
the range is -5 V to +5 V)
Note:
✎ 1 LSB = FS / 65535 for Unipolar (For example: 1LSB = 10 / 65535, while
the range is 0 V to10 V)
✎ 1 LSB = +FS / 32768 for Bipolar (For example: 1LSB = 5 / 32768, while
the range is -5 V to +5 V)
F.1 Introduction
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.
Together with software compensation and linearization,every thermo-
couple type can be accommodated.
Due to its special PCB layout you can install passive components to
construct your own signal-conditioning circuits. The user can easily
construct a low-pass filter, attenuator or current shunt converter by
adding resistors and capacitors on to the board circuit pads.
F.2 Features
• Low-cost screw-terminal board for the PCI-1710 series card with 68-
pin SCSI-II connector.
• On-board CJC (Cold Junction Compensation) circuits for direct
thermocouple measurement.
• Reserved space for signal-conditioning circuits such as low-pass
filter, voltage attenuator and current shunt.
• Industrial-grade screw-clamp terminal blocks for heavy-duty and
reliable connections.
• DIN-rail mounting case for easy mounting.
• Dimensions:169 mm (W) x 112mm (L) x 51mm (H)
(6.7" x 4.4" x 2.0")
F.3 Applications
• Field wiring for the PCI-1710 series card equipped with 68-pinSCSI-
II connector.
F.4 Board Layout
CN1
DIG IN
PCLD-8710 WIRING TERMINAL BOARD REV.A1 01-1
CN3
DIG OUT
CN2
CJC ADJUST
VR1
JP0
JP1
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
VR1: Variable resistor for CJC sensing transducer adjustment
JP0, 1: Jumpers for CJC setting
CN2
DO 0 1 2 DO 1
DO 2 3 4 DO 3
DO 4 5 6 DO 5
DO 6 7 8 DO 7
DO 8 9 10 DO 9
DO 10 11 12 DO 11
DO 12 13 14 DO 13
DO 14 15 16 DO 15
DGND 17 18 DGND
+5 V 19 20 +12 V
CN3
DI 0 1 2 DI 1
DI 2 3 4 DI 3
DI 4 5 6 DI 5
DI 6 7 8 DI 7
DI 8 9 10 DI 9
DI 10 11 12 DI 11
DI 12 13 14 DI 13
DI 14 15 16 DI 15
DGND 17 18 DGND
+5 V 19 20 +12 V
Q2
1 +12V
V+
R 2
3
V- RJ
68
LM334Z
2 JP0
3 1
J1
3 2
Q1 VR1 C0 AI0
RA0
LM335 10K 1
DGND RB0
1 RD0 RA1
JP1 CD0 2
RB1 3 1
AIGND 3
2
C1 AI1
AIGND 4
C2 AI2
RA2
5
RB2
CD2 RD2 RA3
6
RB3
AIGND 7
C3 AI3
AIGND 8
70 C4 AI4
RA4
9
RB4
CD4 RD4 RA5
10
AI0 68 34 AI1 RB5
AIGND 31
C15 AI15
AIGND 32
DA0_REF 33
DA1_REF 34
AOGND 35
AOGND 36
DA0_OUT 37
DA1_OUT 38
AOGND 39
AOGND 40
TB40