Summary of the content on the page No. 1
Copyright
This documentation and the software included with this product are
copyrighted 2002 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 an
Summary of the content on the page No. 2
2
Summary of the content on the page No. 3
Contents 1. INTRODUCTION.................................................................................................................. 1 1.1 FEATURES........................................................................................................................ 1 1.2 APPLICATIONS ................................................................................................................. 4 1.3 INSTALLATION GUIDE..................................................................
Summary of the content on the page No. 4
C.10 SOFTWARE LATCH — BASE+28H.............................................................................. 41 C.11 BOARD ID — BASE+28H.......................................................................................... 42 C.12 RESET COUNTER — BASE+2CH................................................................................ 43 C.13 DIGITAL OUTPUT — BASE+30H................................................................................ 44 C.14 DIGITAL INPUT/OUTPUT — BASE+30H .
Summary of the content on the page No. 5
1. Introduction Thank you for buying the Advantech PCI-1784. The PCI-1784 is a 4- axis quadrature encoder and counter card for PCI bus. This card includes four 32-bit quadruple AB phase encoder counters, 8-bit timer with multi range time-base selector and four isolated digital input and four isolated digital output. Its flexible interrupt sources are suitable for motor control and position monitoring. The following sections of this chapter will provide further information about features of the m
Summary of the content on the page No. 6
Counters The PCI-1784 has four independent 32-bit counters. The maximum quadrature input rate is 2 MHz, and the maximum input rate in counter mode is 8 MHz. You can individually configure each counter for quadrature decoding, pulse/direction counting or up/down counting. Digital Input and Interrupts The PCI-1784 provides four digital input channels. Each channel accepts digital input as an index input for a rotary encoder or as a home sensor input for a linear encoder. The card can generate an i
Summary of the content on the page No. 7
default configuration, depending on jumper setting. This practical function eliminates danger caused by miss-operation during unexpected system reset. Board ID The PCI-1784 has a built-in DIP Switch that helps define each card’s ID when multiple PCI-1784 cards have been installed on the same PC chassis. The board ID setting function is very useful when users build their system with multiple PCI-1784 cards. With correct Board ID settings, you can easily identify and access each card during hardwa
Summary of the content on the page No. 8
1.2 Applications ❏ Motion control ❏ Position sensing, monitoring and measuring ❏ Coordinate measuring machines ❏ X-Y table monitors ❏ Robotics ❏ Machine control 1.3 Installation Guide Before you install your PCI-1784 card, please make sure you have the following necessary components: ❏ PCI-1784 DA&C card ❏ PCI-1784 User’s Manual ❏ Driver software Advantech DLL drivers (included in the companion CD-ROM) ❏ Wiring cable PCL-10137H (option) ❏ Wiring board ADAM-3937 (option) ❏ Computer Personal com
Summary of the content on the page No. 9
Install Driver from CD-ROM, then power-off PC Install Hardware and power-on PC Use driver utility to configure hardware Use test utility to test hardware Read examples & driver manual Start to write your own application Fig. 1-1 Installation Flow Chart 5
Summary of the content on the page No. 10
1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your PCI- 1784 card: ❏ Device Drivers (on the companion CD-ROM) ❏ LabVIEW driver* ❏ Advantech ActiveDAQ ❏ Advantech GeniDAQ Programming choices for DA&C cards: You may use Advantech application software such as Advantech Device Drivers. On the other hand, advanced users are allowed another option for register-level programming, although not
Summary of the content on the page No. 11
1.5 Device Drivers 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 codes are also given for your reference. Programming Tools
Summary of the content on the page No. 12
For information about using other function groups or other development tools, please refer to the Creating Windows 95/NT/2000 Application with Device Drivers chapter and the Function Overview chapter on the Device Drivers Manual. Programming with Device Drivers Function Library Advantech Device Drivers offers a rich function library to be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual C++, Visual Basic
Summary of the content on the page No. 13
1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1784 card. These accessories include: Wiring Cable ❏ PCL-10137H The PCL-10137H shielded cable is specially designed for PCI-1784 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 a
Summary of the content on the page No. 14
2. Installation This chapter gives users a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and card installation. 2.1 Unpacking After receiving your PCI-1784 package, please inspect its contents first. The package should contain the following items: ! PCI-1784 card ! Companion CD-ROM (DLL driver included) ! User’s Manual The PCI-1784 card harbors certain electronic components vulnerable to electrostatic discharge (ESD). ESD could easily da
Summary of the content on the page No. 15
Also pay extra caution to the following aspects to ensure proper 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. Note: ✎ Keep the anti-static bag for future use. You might need the original bag to store the card i
Summary of the content on the page No. 16
2.2 Driver Installation We recommend you to install the driver before you install the PCI- 1784 card into your system, since this will guarantee a smooth installation process. The Advantech Device Drivers Setup program for the PCI-1784 card is included on the companion CD-ROM that is shipped with your DA&C card package. Please follow the steps below to install the driver software: Step 1: Insert the companion CD-ROM into your CD-ROM drive. Step 2: The Setup program will be launched automaticall
Summary of the content on the page No. 17
Step 3: Select the Individual Drivers option. Step 4: Select the specific device then just follow the installation instructions step by step to complete your device driver setup. Fig. 2-2 Different options for Driver Setup For further information on driver-related issues, an online version of Device Drivers Manual is available by accessing the following path: Start/Programs/Advantech Device Drivers V2.0/Device Driver Manual 2.3 Hardware Installation
Summary of the content on the page No. 18
Step 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. Step 2: Remove the cover of your computer. Step 3: Remove the slot cover on the back panel of your computer. Step 4: Touch the metal part on the surface of your computer to neutralize the static electricity that might be on your body. Step 5: Insert the PCI-1784 card into a PCI slot. Hold the card only by its edges and carefully align it with t
Summary of the content on the page No. 19
Fig. 2-3 The device name listed on the Device Manager Note: ✎ If your card is properly installed, you should see the device name of your card listed on the Device Manager tab. If you do see your device name listed on it but marked with an exclamation sign “!”, it means your card has not been correctly installed. In this case, remove the card device from the Device Manager by selecting its device name and press the Remove button. Then
Summary of the content on the page No. 20
2.4 Device Setup & Configuration The PCI-1784 Utility program is a utility that allows you to setup, 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. Board selection After your card is properly inserted, the Windows system will install the drivers properly. You just need to launch the PCI-1784 Utility for board selection. Click Board Selection and the board dialog box will appea