1CopyrightThis documentation and the software included with this product arecopyrighted 2002 by Advantech Co., Ltd. All rights are reserved.Advantech
61.4 Software OverviewAdvantech offers a rich set of DLL drivers, third-party driver supportand application software to help fully exploit the functi
71.5 Device Drivers Programming RoadmapThis section will provide you a roadmap to demonstrate how to buildan application from scratch using Advante
8For information about using other function groups or otherdevelopment tools, please refer to the Creating Windows 95/NT/2000Application with Device D
91.6 AccessoriesAdvantech offers a complete set of accessory products to support thePCI-1784 card. These accessories include:Wiring Cable❏ PCL-10137H
102. InstallationThis chapter gives users a package item checklist, proper instructionsabout unpacking and step-by-step procedures for both driver and
11Also pay extra caution to the following aspects to ensure properinstallation:! Avoid physical contact with materials that could hold staticelectr
122.2 Driver InstallationWe recommend you to install the driver before you install the PCI-1784 card into your system, since this will guarantee a sm
13Step 3: Select the Individual Drivers option.Step 4: Select the specific device then just follow the installationinstructions step by step to comple
14Step 1: Turn off your computer and unplug the power cord and cables.TURN OFF your computer before installing or removing anycomponents on the comput
15Fig. 2-3 The device name listed on the Device Manager Note:✎ If your card is properly i
162.4 Device Setup & ConfigurationThe PCI-1784 Utility program is a utility that allows you to setup,configure and test your device, and later
17Setting Up and configure the deviceClick Setup to configure each parameter. The dialog box will appear asseen below (Fig. 2-5):Fig. 2-5 The ‘Setup’
18Fig. 2-6 The “Operation” dialog boxAfter your card is properly installed and configured, you can click theOperation button to test your hardware. Fo
193. Signal Connections3.1 OverviewMaintaining signal connections is one of the most important factors inensuring that your application system is sen
20Setting the time to reset the digital outputs and the countervalueSome users will want the capability of clearing each counter and theisolated digit
213.3 Signal ConnectionsPin AssignmentFigure 3-2 shows the pin assignments for the 37-pin I/O connector onthe PCI-1784.EGND 1 20 CH0A-CH0A+ 2 21 CH0B
22Quadrature encoder inputSingle endedoutputs ofEncoderABIGNDPCI-1784connectorCHnA+CHnB+CHnZ+EGNDDifferentialoutputs ofEncoder orLine driverGNDA+A-B+B
23Up/DownCounterUPDNGNDPCI-1784connectorCHnA+CHnB+EGNDTwo_PulseUp CounterUPDNGNDPCI-1784connectorCHnA+CHnB+EGNDTwo_PulseDown CounterUPDNGNDPCI-1784con
24Isolated digital inputVCCGNDIDI0~IDI3InternalExternalIDI COMDC(5-30V)Figure 3-4: Isolated digital input connectionsIsolated digital outputIsolatedPr
25Appendix A. SpecificationsEncoder OutputNumber of Axis 4 (independent)Resolution 32-bitw/ Digital Filter 1.0 MHzMax. QuadratureInput Frequencyw/o Di
3Contents1. INTRODUCTION... 11.1 FEATU
26InterruptSourceCounter overflow, Counter underflow,Index input, Compare, Timer, Digital inputCounter LatchSource Software, Timer, Index input, Digit
27Appendix B. Block DiagramPCI BUSADDRESS, CONTROL AND DATA BUSPCI INTERFACE32-BIT MULTI-MODEUP/DOWN COUNTER32-BIT MULTI-MODEUP/DOWN COUNTERCONTROL UN
29Appendix C. Register Structure and FormatC.1 OverviewThe PCI-1784 is delivered with an easy-to-use 32-bit DLL driver foruser programming under the
30Table C-1 PCI-1784 register format (Part 1)PCI-1784 Register Format151413121110987654321 0BaseAddress+ HEX31 30 29 28 27 26 25 24 23 22 21 20 19 18
31Table C-1 PCI-1784 register format (Part 2)PCI-1784 Register Format151413121110987654321 0BaseAddress+ HEX31 30 29 28 27 26 25 24 23 22 21 20 19 18
32Table C-1 PCI-1784 register format (Part 3)PCI-1784 Register Format151413121110987654321 0BaseAddress+ HEX31 30 29 28 27 26 25 24 23 22 21 20 19 18
33C.3 Counter 0/1/2/3 mode — BASE+00/04/08/0CHTable C-2 PCI-1784 Register for counter 0/1/2/3 mode151413121110987654321 0Base Addr.31 30 29 28 27 2
34UL Counter underflow lock control0 Counter continues counting (wraps over) whencounter underflow1 Counter locked when counter underflowDF Digital F
35C.4 Counter 0/1/2/3 latch data — BASE+00/04/08/0CHTable C-3 PCI-1784 Register for counter 0/1/2/3 latch data151413121110987654321 0Base Addr.31 3
4C.10 SOFTWARE LATCH — BASE+28H... 41C.11 BOARD ID — BASE+28H...
36C.5 Counter 0/1/2/3 compare data — BASE+10/14/18/1CHTable C-4 PCI-1784 Register for counter 0/1/2/3 compare data151413121110987654321 0Base Addr.
37C.6 Interrupt control register — BASE+20HTable C-5 PCI-1784 Register for interrupt control151413121110987654321 0Base Addr.31 30 29 28 27 26 25 2
38C.7 Interrupt status register — BASE+20HTable C-6 PCI-1784 Register for interrupt status151413121110987654321 0Base Addr.31 30 29 28 27 26 25 24
39C.8 Clear Interrupt — BASE+24HTable C-7 PCI-1784 Register for clock control1514131211109876543210Base Addr.31 30 29 28 27 26 25 24 23 22 21 20 19
40C.9 Clear Interrupt — BASE+24HRead this register to clear the interrupt.Table C-8 PCI-1784 Register for clear interrupt1514131211109876543210Base
41C.10 Software latch — BASE+28HTable C-9 PCI-1784 Register for software latch1514131211109876543210Base Addr.31 30 29 28 27 26 25 24 23 22 21 20 1
42C.11 Board ID — BASE+28HThe PCI-1784 offers Board ID register BASE+28H. With correct Board IDsettings, user can easily identify and access each c
43C.12 Reset counter — BASE+2CHTable C-11 PCI-1784 Register for reset counter1514131211109876543210Base Addr.31 30 29 28 27 26 25 24 23 22 21 20 19
44C.13 Digital output — BASE+30HTable C-12 PCI-1784 Register for digital output1514131211109876543210Base Addr.31 30 29 28 27 26 25 24 23 22 21 20
45C.14 Digital input/output — BASE+30HTable C-13 PCI-1784 Register for digital input/output1514131211109876543210Base Addr.31 30 29 28 27 26 25 24
11. IntroductionThank you for buying the Advantech PCI-1784. The PCI-1784 is a 4-axis quadrature encoder and counter card for PCI bus. This cardinclud
47Appendix D. OperationD.1 Quadrature encoder introductionIn typical closed-loop control systems, also know as servo system, theencoder interface sen
48Single-ended vs. differential inputMost encoders produce square wave signals with TTL levels. Industrialsystems often use encoder with differential
492-pulse modeIn 2-pulse mode the PCI-1784 uses two input pulses as countingsources: one for clockwise (CW) and one for counterclockwise (CCW)counting
50to 500 KHz quadrature input frequency.A 3600 rpm motor with 2000 ppr encoder will nave a maximumquadrature frequency of 3600×2000÷60=120 KHz. In the
51DI0 latchA rising edge on the board's DI0 line will latch the counter value forthe channel.DI1 latchA rising edge on the DI1 line will latch th
52D.7 Interrupt functionThe PCI-1784 can generate an interrupt to the PC for any of thefollowing conditions:1. Counter 0 overflow2. Counter 1 overf
53registers at BASE+20H. You will need to set the chip's interrupt maskregister to exclude all but one of the interrupt lines.
2CountersThe PCI-1784 has four independent 32-bit counters. The maximumquadrature input rate is 2 MHz, and the maximum input rate in countermode is 8
3default configuration, depending on jumper setting. This practicalfunction eliminates danger caused by miss-operation during unexpectedsystem reset.B
41.2 Applications❏ Motion control❏ Position sensing, monitoring and measuring❏ Coordinate measuring machines❏ X-Y table monitors❏ Robotics❏ Machine c
5Fig. 1-1 Installation Flow ChartInstall Driver from CD-ROM, then power-off PCInstall Hardware and power-on PCUse driver utility to configure hardware
Comentários a estes Manuais