The documentation and the software included with this product are copyrighted 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. 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.
Acknowledgements
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of
Microsoft Corp.
All other product names or trademarks are properties of their respective
owners.
This Manual Covers the Following Models
• PCI-1718HDU
• PCI-1718HGU
Part No. 20031718001st Edition
Printed in TaiwanMarch 2005
PCI-1718 Series User Manualii
Product Warranty (2 years)
Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years
from the date of purchase.
This warranty does not apply to any products which have been repaired or
altered by persons other than repair personnel authorized by Advantech,
or which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability under the terms of this warranty as
a consequence of such events.
Because of Advantech’s high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an
Advantech product is defective, it will be repaired or replaced at no
charge during the warranty period. For out-of-warranty repairs, you will
be billed according to the cost of replacement materials, service time and
freight. Please consult your dealer for more details.
If you think you have a defective product, follow these steps:
1.Collect all the information about the problem encountered. (For
example, CPU speed, Advantech products used, other hardware
and software used, etc.) Note anything abnormal and list any
onscreen messages you get when the problem occurs.
2.Call your dealer and describe the problem. Please have your manual, product, and any helpful information readily available.
3.If your product is diagnosed as defective, obtain an RMA (return
merchandize authorization) number from your dealer. This allows
us to process your return more quickly.
4.Carefully pack the defective product, a fully-completed Repair and
Replacement Order Card and a photocopy proof of purchase date
(such as your sales receipt) in a shippable container. A product
returned without proof of the purchase date is not eligible for warranty service.
5.Write the RMA number visibly on the outside of the package and
ship it prepaid to your dealer.
iii
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 information.
Technical Support and Assistance
Step 1. Visit the Advantech web site at www.advantech.com/support
where you can find the latest information about the product.
Step 2. Contact your distributor, sales representative, or Advantech's cus-
tomer service center for technical support if you need additional
assistance. Please have the following information ready before
you call:
- Product name and serial number
- Description of your peripheral attachments
- Description of your software (operating system, version, application software, etc.)
- A complete description of the problem
- The exact wording of any error messages
Packing List
Before setting up the system, check that the items listed below are
included and in good condition. If any item does not accord with the
table, please contact your dealer immediately.
• PCI-1718HDU/HGU DA&C card
• PCI-1718HDU/HGU User Manual
• Companion CD-ROM with DLL drivers
Safety Precaution - Static Electricity
Follow these simple precautions to protect yourself from harm and the
products from damage.
1.To avoid electrical shock, always disconnect the power from your
PC chassis before you work on it. Don't touch any components on
the CPU card or other cards while the PC is on.
2.Disconnect power before making any configuration changes. The
sudden rush of power as you connect a jumper or install a card may
damage sensitive electronic components.
This chapter introduces the PCI-1718
cards and their typical applications.
Sections include:
• Features
• Applications
• Installation Guide
• Software Overview
• Device Driver Programming Roadmap
• Accessories
Chapter 1 Introduction
Thank you for buying the Advantech PCI-1718HDU/HGU. PCI1718HDU/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
• Digital input
• Digital output
• Timer/counter.
A programmable-gain instrument amplifier lets you acquire different
input signals without external signal conditioning. An onboard 1 K word
FIFO buffer provides high-speed data transfer and predictable performance under Windows. Automatic channel scanning circuitry and
onboard SRAM let you perform multiple-channel A/D conversion with
DMA and individual gains for each channel.
PCI-1718HDU/HGU is compatible* with its ISA-Bus predecessor, the
PCL-818HD/HG. This puts rich software support and a wide variety of
external signal conditioning boards at your disposal.
The following sections of this chapter will provide further information
about features of the multifunction cards, a Quick Start for installation,
together with some brief information on software and accessories for the
PCI-1718 cards.
Note*
PCI-1718 Series User Manual2
1. PCI-1718HDU/HGU is register-level- programming compatible with PCL-818HD/HG
2. Due to the difference between ISA and PCI
architecture, we use “interrupt + FIFO” to emulate the DMA function. But it makes no difference to your programming and applications.
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 buffer with software selectable interrupt
• Software selectable Bipolar/Unipolar analog input ranges
• 16 digital inputs and 16 digital outputs, TTL/DTL compatible
• One 12-bit analog output channel
• Data transfers by program control and interrupt handler routine
• Universal PCI-Bus (Support 3.3V or 5V PCI-Bus signal)
• BoardID switch
PCI-1718HDU/HGU offers the following main features:
PCI-Bus Plug & Play
The PCI-1718 cards use a PCI controller to interface the card to the PCI
bus. The controller fully implements the PCI bus specification Rev 2.2.
All configurations related to the bus, such as base address and interrupt
assignment, are automatically controlled by software. No jumper or
switch is required for user configuration.
Automatic Channel/Gain Scanning
PCI-1718HDU/HGU features an automatic channel/gain scanning circuit.
This circuit, instead of your software, controls multiplexer switching during sampling. On-board SRAM stores different gain values for each channel. This combination lets user perform multi-channel high-speed
sampling (up to 100 kHz) for each channel.
3Chapter 1
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 performance under Windows system.
Onboard Programmable Timer/Counter
PCI-1718HDU/HGU provides a programmable timer counter for generating pacer trigger for the A/D conversion. The timer/counter chip is
82C54, which includes three 16-bit counters of 10 MHz clock. One
counter is used as an event counter for counting events coming from the
input channel. The other two are cascaded together to make a 32-bit timer
for pacer trigger time base.
BoardID Switch
PCI-1718HDU/HGU has a built-in DIP switch that helps define each
card’s ID when multiple PCI-1718HDU/HGU cards have been installed
on the same PC chassis. The BoardID setting function is very useful when
building a system with multiple PCI-1718 cards. With the correct BoardID settings, you can easily identify and access each card during hardware configuration and software programming.
Note:For detailed specifications of the PCI-
1718HDU/HGU, please refer to Appendix A.
1.2 Applications
• Transducer and sensor measurements
• Waveform acquisition and analysis
• Process control and monitoring
• Vibration and transient analysis
PCI-1718 Series User Manual4
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 workstation with a PCI-bus slot (running Windows 98/2000/XP)
Some other optional components are also available for enhanced operation:
• ActiveDAQ, ADAQView, LabView or other third-party software packages
After you get the necessary components and maybe some of the accessories for enhanced operation of your multifunction card, you can then
begin the installation procedure. Figure 1.1 on the next page provides a
concise flow chart to give users a broad picture of the software and hardware installation procedures:
5Chapter 1
Figure 1.1: Installation Flow Chart
PCI-1718 Series User Manual6
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 PCI1718HDU/HGU card:
• Device Drivers (on the companion CD-ROM)
• LabVIEW driver
• Advantech ActiveDAQ
• Advantech ADAQView
Programming choices for DA&C cards
You may use Advantech application software such as Advantech Device
Drivers. On the other hand, advanced users can use register-level programming, although this is not recommended due to its laborious and
time-consuming nature.
Device Drivers
Advantech Device Driver software is included on the companion CDROM at no extra charge. It also comes with all Advantech DA&C cards.
Advantech’s Device Drivers features a complete I/O function library to
help boost your application performance. Advantech Device Drivers for
Windows 98/2000/XP works seamlessly with development tools such as
Visual C++, Visual Basic, Borland C++ Builder and Borland Delphi.
Register-level Programming
Register-level programming is available for experienced programmers
who find it necessary to write code directly at the level of the device register. Since register-level programming requires much effort and time, we
recommend that you use the Advantech Device Drivers instead. However, if register-level programming is indispensable, 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.
7Chapter 1
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-by-step instructions on how to build your own
applications using each development tool will be given in the Device Drivers Manual. Moreover, a rich set of example source code is also
given for your reference.
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 development tool, Advantech offers a Tut orial Chapter in the Device Drivers Manual for your reference. Please refer to the corresponding sections in
this chapter on the Device Drivers Manual to begin your programming
efforts. You can also look at the example source code provided for each
programming tool, since they can get you very well oriented.
The Device Drivers Manual can be found on the companion CD-ROM.
Alternatively, if you have already installed the Device Drivers on your
system, The Device Drivers Manual can be readily accessed through the
Start button:
The example source code could be found under the corresponding installation folder such as the default installation path:
Program Files\Advantech\ADSAP\Examples
For information about using other function groups or other development
tools, please refer to the Creating Windows 98/2000/XP Application with
Device Drivers chapter and the Function Overview chapter on the Device
Drivers Manual.
PCI-1718 Series User Manual8
Programming with Device Drivers Function Library
Advantech Device Drivers offer a rich function library that can be utilized in various application programs. This function library consists of
numerous APIs that support many development tools, such as Visual
C++, Visual Basic, Delphi and C++ Builder.
According to their specific functions or services, APIs can be categorized
into several function groups:
• Analog Output Function Group
• Digital Input/Output Function Group
• Counter Function Group
• Port Function Group (direct I/O)
• Event Function Group
For the usage and parameters of each function, please refer to the Func-tion Overview chapter in the Device Drivers Manual.
Troubleshooting Device Drivers Error
Driver functions will return a status code when they are called to perform
a certain task for the application. When a function returns a code that is
not zero, it means the function has failed to perform its designated function. To troubleshoot the Device Drivers error, you can pass the error
code to DRV_GetErrorMessage function to return the error message.
Alternatively, you can refer to the Device Drivers Error Codes Appendix
in the Device Drivers Manual for a detailed listing of Error Codes, Error
IDs and Error Messages.
9Chapter 1
1.6 Accessories
Advantech offers a complete set of accessory products to support the
PCI-1718HDU/HGU card. These accessories include:
Wiring Cables
PCL-10120
The PCL-10120 cable is a 20-pin flat cable for PCI-1718HDU/HGU
cards.
PCL-10137
The PCL-10137 shielded cable is specially designed for PCI-1718HDU/
HGU 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 “twistedpair 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-3920 20-pin wiring terminal for DIN-rail mounting
• ADAM-3937 37-pin D-type wiring terminal for DIN-rail mounting
• PCLD-7216 16-channel SSR I/O module carrier board
• PCLD-780 Universal screw-terminal board
• PCLD-782 16-channel opto-isolated D/I board
• PCLD-782B 24-channel opto-isolated D/I board
• PCLD-785 16-channel relay output board
• PCLD-785B24-channel relay output board
• PCLD-7868-channel SSR I/O module carrier board
• PCLD-788 16-channel relay multiplexer board
• PCLD-789DAmplifier and multiplexer board
• PCLD-880 Universal screw-terminal board
• PCLD-88516-channel power relay output board
• PCLD-8115Industrial wiring terminal with CJC circuit
PCI-1718 Series User Manual10
2
2
CHAPTER
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
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 cards harbor certain electronic components vulnerable to
electrostatic discharge (ESD). ESD can easily damage the integrated circuits and certain components if preventive measures are ignored.
Before removing the card from the antistatic plastic bag, you should take
the following precautions to ward off possible ESD damage:
• Touch the metal part of your computer chassis with your hand to discharge the static electricity accumulated on your body. Alternatively,
one can also use a grounding strap.
• Touch the anti-static 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, you should first:
• 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. Do not install a damaged card into your system.
Also, pay extra caution to the following aspects during installation:
• 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.
PCI-1718 Series User Manual12
.
Note:Keep the anti-static bag for future use. You
might need the original bag to store the card if
you have to remove the card from a PC or transport it elsewhere.
2.2 Driver Installation
We recommend you install the driver before you install the PCI1718HDU/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-ROM that is shipped with
your DA&C card package. Please follow the steps below to install the
driver software:
1.Insert the companion CD-ROM into your CD-ROM drive.
2.The Setup program will be launched automatically if you have the
autoplay function enabled on your system. When the Setup Program is launched, you will see the following Setup Screen.
Note:If the autoplay function is not enabled on
your computer, use Windows Explorer or
Windows Run command to execute
SETUP.EXE on the companion CD-ROM.
13Chapter 2
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 Options for Driver Setup
For further information on driver-related issues, an online version of the
Device Drivers Manual is available by accessing the following path:
driver before you install the card
(please refer to chapter 2.2 Driver
Installation)
After the Device Drivers installation is completed you can install the PCI1718HDU/HGU card into any PCI slot on your computer. However, it is
suggested that you refer to the computer’s user manual or related documentation if you have any doubts. Please follow the steps below to install
the card onto your system.
1.Turn off your computer and unplug the power cord and cables.
TURN OFF your computer before installing or removing any components on the computer.
2.Remove the cover of your computer.
3.Remove the slot cover on the back panel of your computer.
4.Touch the metal part on the surface of your computer to neutralize
the static electricity that might be on your body.
5.Insert the PCI-1718HDU/HGU card into a PCI slot. Hold the card
only by its edges and carefully align it with the slot. Insert the card
firmly into place. Use of excessive force must be avoided; otherwise, the card might be damaged.
6.Fasten the bracket of the PCI card on the back panel rail of the
8.Replace the cover of your computer chassis. Re-connect the cables
you removed in step 2.
9.Plug in the power cord and turn on the computer.
After your card is properly installed on your system, you can now configure your device using the Advantech Device Manager Program that has
itself already been installed on your system during driver setup. A complete device installation procedure should include device setup, configu-ration and testing. The following sections will guide you through the
Setup, Configuration and Testing of your device.
15Chapter 2
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 Device Drivers.
Setting Up the Device
1.To install the I/O device for your card, you must first run the
2.You can then view the device(s) already installed on your system
(if any) on the Installed Devices list box. Since you have not
installed any device yet, you might see a blank list such as the one
below (Fig. 2-3).
Figure 2.3: The Device Manager Dialog Box
3.Scroll down the List of Devices box to find the device that you wish
to install, then click the Add… button. You will see a Device Set-
ting dialog box such as the one in Fig. 2-4.
PCI-1718 Series User Manual16
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.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.5: Device Name Appearing on the List of Devices Box
17Chapter 2
After your card is properly installed and configured, you can click the
Tes t… 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 Manual.
You can also find rich examples on the CD-ROM to speed up your programming.
PCI-1718 Series User Manual18
2
3
CHAPTER
Signal Connections
This chapter provides useful information 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
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 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 PCI1718 cards via the I/O connector.
3.2 Switch and Jumper Settings
PCI-1718 cards have two function switches and five jumper settings.
Figure 3.1: Card Connector, Jumper and Switch Locations
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 the unique identifier in
the register as shown in Table 3.1. If there are multiple identical cards in
the same chassis, the BoardID switch helps differentiate the boards by
identifying each card’s device number with the switch setting. The BoardID switch’s unique identifier has been set to 0 at the factory.
If you need to adjust it to other numbers, set SW1 by referring to DIP
switch settings below.
Table 3.1: Board ID Setting (SW1)
SW13210
BoardIDID3ID2ID1ID0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ONONONON
ONONONOFF
ONONOFFON
ONONOFFOFF
ONOFFONON
ONOFFONOFF
ONOFFOFFON
ONOFFOFFOFF
OFFONONON
OFFONONOFF
OFFONOFFON
OFFONOFFOFF
OFFOFFONON
OFFOFFONOFF
OFFOFFOFFON
OFFOFFOFFOFF
Default Setting is 0
21Chapter 3
Loading...
+ 65 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.