Advantech PC-LabCard PCI-1784 User Manual

Browse online or download User Manual for Networking Advantech PC-LabCard PCI-1784. Advantech PC-LabCard PCI-1784 User manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - User Manual

PCI-17808-ch Counter/Timer Card User Manual

Page 2

1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully utilize the fu

Page 3

1.5 Device Drivers Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Ad

Page 4 - Contents

For information about using other function groups or other development tools, please refer to the Creating Windows 95/NT/2000 Application with Devic

Page 5

1.6 Accessories Advantech offers a complete set of accessory products to support the PCI-1780 card. These accessories include: Wiring Cable ❏ PCL

Page 6 - 1. Introduction

2. Installation This chapter gives users a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver a

Page 7

Also, pay extra caution to the following aspects to ensure proper installation: a Avoid physical contact with materials that could hold static el

Page 8

2.2 Driver Installation We recommend you to install the driver before you install the PCI-1780 card into your system, since this will guarantee a

Page 9

Step 3: Select the Individual Drivers option. Step 4: Select the specific device then just follow the installation instructions step by step to comp

Page 10 - 1.4 Software Overview

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 com

Page 11

Fig. 2-3 The device name listed in the Device Manager Note: ✎ If your card is proper

Page 12

Copyright The documentation and the software included with this product are copyrighted 2002 by Advantech Co., Ltd. All rights are reserved. Advante

Page 13 - 1.6 Accessories

2.4 Device Setup & Configuration The PCI-1780 Utility program is a utility that allows you to setup, configure and test your device, and la

Page 14 - 2. Installation

Step 3: Scroll down the Supported Devices box to find the device that you wish to install, then click the Add… button to evoke the Existing unconfig

Page 15

Step 4: After you have finished configuring the device, click OK and the device name will appear in the Installed Devices box as seen below: Fig.

Page 17 - 2.3 Hardware Installation

3. Signal Connections 3.1 Overview Maintaining signal connections is one of the most important factors in ensuring that your application system is

Page 18

Board ID setting (SW1) ID3 ID2 ID1 ID0 Board ID 1 1 1 1 0 1 1 1 0 1 1 1 0 1 2 1 1 0 0 3 1 0 1 1 4 1 0 1 0 5 1 0 0 1 6 1 0 0 0 7 0 1 1 1

Page 19

3.3 Signal Connections Pin Assignment Figure 3-2 shows the pin assignments for the 68-pin I/O connector on the PCI-1780. GND 68 34 FOUT3 G

Page 20

I/O Connector Signal Description Table 3-2 I/O connector signal descriptions Signal Name Reference Direction Description GND - - DC ground +5V

Page 21

Period measurement This approach is a particular fit for a low frequency signal. CLK OUT GATE Counter 0 CLK OUT GATE Counter 1 Unknown Sig

Page 22

Frequency measurement This approach is a particular fit for a high frequency signal. Standard Clock Unknown Signal CLK OUT GATE Counter

Page 24 - 3. Signal Connections

Appendix A. Specifications Programmable Counter Channels 8 (independent) Resolution 16-bit Programmable Clock Source 8 independent Programmable C

Page 26 - 3.3 Signal Connections

Appendix B. Block Diagram PCIInterfaceClockDividerPCIBUSAddressDecoderOutputBufferInputBufferDI 0~7DO 0~7InterruptControlLogic16-bitCounter0~7GateCo

Page 28 - OUT GATE

Appendix C. Register Structure and Format C.1 Overview The PCI-1780 is delivered with an easy-to-use 32-bit DLL driver for user programming under

Page 29 - Unknown Signal

Table C-1 PCI-1780 register format (Part 1) PCI-1780 Register Format Base Address + HEX 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Counter 0 Mode W CM1

Page 30 - Appendix A. Specifications

Table C-1 PCI-1780 register format (Part 2) PCI-1780 Register Format Base Address + HEX 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Counter 2 Mode W CM1

Page 31

Table C-1 PCI-1780 register format (Part 3) PCI-1780 Register Format Base Address + HEX 15 13 12 11 7 6 5 4 3 2 1 0 Counter 4 Mode W CM15 20H 14

Page 32 - Appendix B. Block Diagram

Table C-1 PCI-1780 register format (Part 4) PCI-1780 Register Format Base Address + HEX 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Counter 6 Mode W CM1

Page 33

Table C-1 PCI-1780 register format (Part 5) PCI-1780 Register Format Base Address + HEX 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Enable W

Page 34 - C.1 Overview

Contents 1. INTRODUCTION... 1 1.1 FE

Page 35

Table C-1 PCI-1780 register format (Part 6) PCI-1780 Register Format Base Address + HEX 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FOUT 0 Control W

Page 36

C.3 Counter 0/1/2/3/4/5/6/7 mode — BASE+00/08/10/18/20/28/30/38H Table C-2 PCI-1780 Register for counter 0/1/2/3/4/5/6/7 mode Base Addr. 15 14 13

Page 37

CM5 Count control (reload) 0 Reload from LOAD register 1 Reload from LOAD or HOLD register CM6 Count control (special gate) 0 Disable speci

Page 38

CM14 Gating polarity selection 0 High level for level active, rising edge for edge active 1 Low level for level active, falling edge for edge a

Page 39 -

C.4 Counter 0/1/2/3/4/5/6/7 load — BASE+02/0A/12/1A/22/2A/32/3AH Table C-3 PCI-1780 Register for counter 0/1/2/3/4/5/6/7 load Base Addr. 15 14 1

Page 40

C.5 Counter 0/1/2/3/4/5/6/7 hold — BASE+04/0C/14/1C/24/2C/34/3CH Table C-4 PCI-1780 Register for counter 0/1/2/3/4/5/6/7 hold Base Addr. 15 14 13

Page 41 - Base Addr

C.6 Counter 0/1/2/3/4/5/6/7 command — BASE+06/0E/16/1E/26/2E/36/3EH Table C-5 PCI-1780 Register for counter 0/1/2/3/4/5/6/7 command Base Addr. 1

Page 42

C.7 Command enable — BASE+40H Table C-6 PCI-1780 Register for command enable Base Addr. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command enable 40H

Page 43

C.8 Interrupt control — BASE+42H Table C-7 PCI-1780 Register for interrupt control Base Addr. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Interrupt c

Page 44

C.10 Clear interrupt — BASE+44H Write any data to these two bytes to clear the interrupt. Table C-9 PCI-1780 Register for clear interrupt Base

Page 45

C.10 CLEAR INTERRUPT — BASE+44H ... 44 C.11 DIGITAL OUTPUT — BASE+48H...

Page 46

C.13 Board ID — BASE+4EH The PCI-1780 offers Board ID register BASE+4EH. With correct Board ID settings, users can easily identify and access each

Page 47 - Command enable

C.14 FOUT 0/1/2/3/4/5/6/7 control — BASE + 50~5FH Table C-13 PCI-1780 Register for FOUT 0/1/2/3/4/5/6/7 Control Base Addr. 15 14 13 12 11 10 9 8

Page 48

FS2 ~ FS0 FOUT source 000 External clock 001 CLK N 010 FOUT N-1 011 10 MHz clock 100 1 MHz clock 101 100 KHz clock 110

Page 50 - C.13 Board ID — BASE+4EH

Appendix D. Waveform of each mode The PCI-1780 offers 16 powerful counter functions to fulfill your industrial or laboratory applications. This chap

Page 51

As is fully explained in the TC section of the document, for these modes the counter is actually stopped or disarmed following the active-going sour

Page 52

D.1 Mode A waveform Software-Triggered Strobe with No Hardware Gating Mode A is one of the simplest operating modes. The counter will be available

Page 53

D.2 Mode B waveform Software-Triggered Strobe with Level Gating Mode B is identical to Mode A except that source edges are counted only when the a

Page 54

D.3 Mode C waveform Hardware-Triggered Strobe Mode C is identical to Mode A, except that counting will not begin until a Gate edge is applied to t

Page 55

D.4 Mode D waveform Rate Generator with No Hardware Gating Mode D is typically used in frequency generation applications. In this mode, the Gate i

Page 56 - D.1 Mode A waveform

1. Introduction Thank you for buying the Advantech PCI-1780. The PCI-1780 is a general purpose multiple channel counter/timer card for the PCI bus.

Page 57 - D.2 Mode B waveform

D.5 Mode E waveform Rate Generator with Level Gating Mode E is identical to Mode D, except the counter will only count those source edges that occ

Page 58 - D.3 Mode C waveform

D.6 Mode F waveform Non-Retriggerable One-Shot Mode F provides a non-retriggerable one-shot timing function. The counter must be armed before it w

Page 59 - D.4 Mode D waveform

D.7 Mode G waveform Software-Triggered Delayed Pulse One-Shot In Mode G, the Gate does not affect the counter's operation. Once armed, the co

Page 60 - D.5 Mode E waveform

D.8 Mode H waveform Software-Triggered Delayed Pulse One-Shot with Hardware Gating Mode H is identical to Mode G except that the Gate input is use

Page 61 - D.6 Mode F waveform

D.9 Mode I waveform Hardware-Triggered Delayed Pulse Strobe Mode I is identical to Mode G, except the counting will not begin until a Gate edge is

Page 62 - D.7 Mode G waveform

D.10 Mode J waveform Variable Duty Cycle Rate Generator with No Hardware Gating Mode J will find the greatest usage in frequency generation applic

Page 63 - D.8 Mode H waveform

D.11 Mode K waveform Variable Duty Cycle Rate Generator with Level Gating Mode K is identical to Mode J except that source edges are only counted

Page 64 - D.9 Mode I waveform

D.12 Mode L waveform Hardware-Triggered Delayed Pulse One-Shot Mode L is similar to Mode J except that counting will not begin until a Gate edge i

Page 65 - D.10 Mode J waveform

D.13 Mode O waveform Hardware-Triggered Strobe with Edge Disarm Mode O, shown in Figure O, is identical to Mode C except that the counter will be

Page 66 - D.11 Mode K waveform

D.14 Mode R waveform Non-Retriggerbale One-Shot with Edge Disarm Mode R is identical to Mode F except that the counter will be disarmed while an i

Page 67 - D.12 Mode L waveform

Special Shielded Cable for Noise Reduction The PCL-10168 shielded cable is specially designed for the PCI-1780 for reducing noise. Its wires are all

Page 68 - D.13 Mode O waveform

D.15 Mode U waveform Hardware-Triggered Delayed Pulse Strobe with Edge Disarm Mode U is identical to Mode I except that the counter will be disarm

Page 69 - D.14 Mode R waveform

66D.16 Mode X waveform Hardware-Triggered Delayed Pulse One-Shot with Edge Disarm Mode X is identical to Mode L except that the counter will be d

Page 70 - D.15 Mode U waveform

1.2 Applications ❏ Event counting ❏ One shot output ❏ Programmable frequency output ❏ Frequency measurement ❏ Pulse width measurement ❏ PWM output

Page 71 - D.16 Mode X waveform

Start to write your own application Read examples & driver manual Use test utility to test hardware Use driver utility to configure hardware I

Comments to this Manuals

No comments