Advantech PC-LabCard PCI-1784 Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Networking Advantech PC-LabCard PCI-1784. Advantech PC-LabCard PCI-1784 Specifications [en] [es] Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 57
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
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 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 trademarks of
Microsoft Corporation. Intel and Pentium are trademarks of Intel
Corporation. Delphi and C++ Builder are trademarks of Inprise
Corporation.
CE notification
The PCI-1784, 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.
On-line Technical Support
For technical support and service, please visit our support website at:
http://www.advantech.com/support
Note:
Concerning the environment protection, we’d like to reduce the paper
using for the user’s manual. Starting the page of Appendix C, please find
the PDF file of the CD-ROM.
Part No. 2003178400 1st Edition
Printed in Taiwan July 2002
Przeglądanie stron 0
1 2 3 4 5 6 ... 56 57

Podsumowanie treści

Strona 1

1CopyrightThis documentation and the software included with this product arecopyrighted 2002 by Advantech Co., Ltd. All rights are reserved.Advantech

Strona 2

61.4 Software OverviewAdvantech offers a rich set of DLL drivers, third-party driver supportand application software to help fully exploit the functi

Strona 3 - Contents

71.5 Device Drivers Programming RoadmapThis section will provide you a roadmap to demonstrate how to buildan application from scratch using Advante

Strona 4

8For information about using other function groups or otherdevelopment tools, please refer to the Creating Windows 95/NT/2000Application with Device D

Strona 5 - 1. Introduction

91.6 AccessoriesAdvantech offers a complete set of accessory products to support thePCI-1784 card. These accessories include:Wiring Cable❏ PCL-10137H

Strona 6

102. InstallationThis chapter gives users a package item checklist, proper instructionsabout unpacking and step-by-step procedures for both driver and

Strona 7

11Also pay extra caution to the following aspects to ensure properinstallation:! Avoid physical contact with materials that could hold staticelectr

Strona 8 - 1.3 Installation Guide

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

Strona 9

13Step 3: Select the Individual Drivers option.Step 4: Select the specific device then just follow the installationinstructions step by step to comple

Strona 10 - 1.4 Software Overview

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

Strona 11

15Fig. 2-3 The device name listed on the Device Manager Note:✎ If your card is properly i

Strona 13 - 1.6 Accessories

162.4 Device Setup & ConfigurationThe PCI-1784 Utility program is a utility that allows you to setup,configure and test your device, and later

Strona 14 - 2. Installation

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’

Strona 15

18Fig. 2-6 The “Operation” dialog boxAfter your card is properly installed and configured, you can click theOperation button to test your hardware. Fo

Strona 16 - 2.2 Driver Installation

193. Signal Connections3.1 OverviewMaintaining signal connections is one of the most important factors inensuring that your application system is sen

Strona 17 - 2.3 Hardware Installation

20Setting the time to reset the digital outputs and the countervalueSome users will want the capability of clearing each counter and theisolated digit

Strona 18

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

Strona 19

22Quadrature encoder inputSingle endedoutputs ofEncoderABIGNDPCI-1784connectorCHnA+CHnB+CHnZ+EGNDDifferentialoutputs ofEncoder orLine driverGNDA+A-B+B

Strona 20

23Up/DownCounterUPDNGNDPCI-1784connectorCHnA+CHnB+EGNDTwo_PulseUp CounterUPDNGNDPCI-1784connectorCHnA+CHnB+EGNDTwo_PulseDown CounterUPDNGNDPCI-1784con

Strona 21

24Isolated digital inputVCCGNDIDI0~IDI3InternalExternalIDI COMDC(5-30V)Figure 3-4: Isolated digital input connectionsIsolated digital outputIsolatedPr

Strona 22

25Appendix A. SpecificationsEncoder OutputNumber of Axis 4 (independent)Resolution 32-bitw/ Digital Filter 1.0 MHzMax. QuadratureInput Frequencyw/o Di

Strona 23 - 3. Signal Connections

3Contents1. INTRODUCTION... 11.1 FEATU

Strona 24

26InterruptSourceCounter overflow, Counter underflow,Index input, Compare, Timer, Digital inputCounter LatchSource Software, Timer, Index input, Digit

Strona 25 - 3.3 Signal Connections

27Appendix B. Block DiagramPCI BUSADDRESS, CONTROL AND DATA BUSPCI INTERFACE32-BIT MULTI-MODEUP/DOWN COUNTER32-BIT MULTI-MODEUP/DOWN COUNTERCONTROL UN

Strona 27

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

Strona 28 - Isolated digital input

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

Strona 29 - Appendix A. Specifications

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

Strona 30

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

Strona 31 - Appendix B. Block Diagram

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

Strona 32

34UL Counter underflow lock control0 Counter continues counting (wraps over) whencounter underflow1 Counter locked when counter underflowDF Digital F

Strona 33 - C.2 I/O Port Address Map

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

Strona 34

4C.10 SOFTWARE LATCH — BASE+28H... 41C.11 BOARD ID — BASE+28H...

Strona 35

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.

Strona 36

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

Strona 37 - Base Addr

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

Strona 38

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

Strona 39 - D31 ~ D0 Counter latch data

40C.9 Clear Interrupt — BASE+24HRead this register to clear the interrupt.Table C-8 PCI-1784 Register for clear interrupt1514131211109876543210Base

Strona 40

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

Strona 41

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

Strona 42

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

Strona 43

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

Strona 44 - Clear Interrupt

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

Strona 45 - SL3 SL2 SL1 SL0

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

Strona 47 - SR3 SR2 SR1 SR0

47Appendix D. OperationD.1 Quadrature encoder introductionIn typical closed-loop control systems, also know as servo system, theencoder interface sen

Strona 48

48Single-ended vs. differential inputMost encoders produce square wave signals with TTL levels. Industrialsystems often use encoder with differential

Strona 49

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

Strona 50

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

Strona 51 - Appendix D. Operation

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

Strona 52 - D.2 Counter modes

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

Strona 53 - D.3 Digital noise filter

53registers at BASE+20H. You will need to set the chip's interrupt maskregister to exclude all but one of the interrupt lines.

Strona 54 - D.4 Latch mode

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

Strona 55 - D.6 Timer function

3default configuration, depending on jumper setting. This practicalfunction eliminates danger caused by miss-operation during unexpectedsystem reset.B

Strona 56 - D.7 Interrupt function

41.2 Applications❏ Motion control❏ Position sensing, monitoring and measuring❏ Coordinate measuring machines❏ X-Y table monitors❏ Robotics❏ Machine c

Strona 57

5Fig. 1-1 Installation Flow ChartInstall Driver from CD-ROM, then power-off PCInstall Hardware and power-on PCUse driver utility to configure hardware

Komentarze do niniejszej Instrukcji

Brak uwag