Adlink PCI-8554 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Matériel Adlink PCI-8554. ADLINK PCI-8554 User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 67
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
cPCI/PCI-8554/R
®
Multi-functions
Counter / Timer Card
User’s Guide
Recycle Paper
Vue de la page 0
1 2 3 4 5 6 ... 66 67

Résumé du contenu

Page 1 - Recycle Paper

cPCI/PCI-8554/R® Multi-functions Counter / Timer Card User’s Guide Recycle Paper

Page 3

Introduction •1 1 Introduction cPCI/PCI-8554/R is a general-purpose counter / timer and digital I/O card. The card is designed with four 8254, a pro

Page 4 - Getting service from ADLINK

2 • Introduction Figure 1: Functional Block diagram 1.1 Features The cPCI/PCI-8554/R Counter / Timer and digital I/O Card provides the following a

Page 5 - Table of Contents

Introduction •3 1.2 Applications • Event counter • Frequency generator • Frequency synthesizer • Pulse width measurement • Low level pulse generator

Page 6

4 • Introduction Digital Filter Circuits • Device: MC14490 • De-bounce clock: (Programmable) 3 8MHz internal base clock 3 Programmable counter 11

Page 7

Introduction •5 1.4 Software Supporting ADLINK provides versatile software drivers and packages for users’ different approach to building a system. A

Page 8 - Figures

6 • Introduction 1.4.2 PCIS-LVIEW: LabVIEW® Driver PCIS-LVIEW contains the VIs, which is used to interface with the NI LabVIEW® software package. The

Page 9 - How to Use This Guide

Getting Started •7 2 Getting Started This chapter discusses how to setup the cPCI/PCI-8554R and configure the card to meet the requirements of your a

Page 10

8 • Getting Started Inspect the card module carton for obvious damages. Shipping and handling may cause damage to your module. Be sure there are no s

Page 11 - Introduction

Getting Started •9 Figure 3: PCB Layout of cPCI-8554/R 2.4 Default Jumper Setting To operate the cPCI/PCI-8554/R correctly, users need to underst

Page 13 - 1.3 Specifications

10 • Getting Started ECLK10 No Debounce function JP10 E_INT No Debounce function JP11 ECLK11 Internal 8MHz Clock JP12 ECLK12 Output of CLK11 J

Page 14

Getting Started •11 2.5 cPCI/PCI-8554/R Installation 2.5.1 Hardware configuration The PCI cards (or CompactPCI cards) is equipped with the plug and

Page 15 - 1.4 Software Supporting

12 • Getting Started 2.6 Device Installation for Windows Systems Once Windows 95/98/2000 has started, the Plug and Play function of the Windows OS wi

Page 16 - 1.4.4 DAQBench

Getting Started •13 2.7 Pin Assignment of Connector (1) +12V (26) GND (51) GND (76) ECLK9 (2) +12V (27) GND (52) GOUT2 (77) COUT8 (3) +12V (2

Page 17 - Getting Started

14 • Getting Started (2) +12V (27) GND (52) GOUT2 (77) COUT8 (3) +12V (28) GND (53) GIN2 (78) GATE8 (4) Vcc (29) GND (54) GND (79) ECLK8 (5)

Page 18

Getting Started •15 2.8 Clock System The clock system of the cPCI/PCI-8554/R provides the internal clock source for the 8254 chips. The clock for

Page 19 - 2.4 Default Jumper Setting

16 • Getting Started There are three signals (2 input and 1 output) for each counter, a clock input signal, a gate control signal, and an output signa

Page 20

Getting Started •17 2.9.1 Independent Counters (Counter 1~10) Counters 1 to 10 are independent counters because the clock source and gate control of

Page 21 - 2.5.1 Hardware configuration

18 • Getting Started Figure 10: Cascaded Counter Configuration 2.9.3 User Configurable Cascaded Counters Although by default there is only one

Page 22

Getting Started •19 2.10 Clock Source Configurations For each independent counter, one of four different clock sources maybe selected using the soft

Page 23 - Legend:

©Copyright 1998~2002 ADLINK Technology Inc, All Rights Reserved. Manual Rev. 1.02: July 31, 2002 Part No: 50-11130-100 The information in th

Page 24

20 • Getting Started The internal clock sources of CK1 can be either C8M or COUT11, and is selected by using the “_8554_SET_CK1” function. If the coun

Page 25 - 2.9 Counters Architecture

Getting Started •21 2.13 Debounce System The debounce system is used to eliminate the affects of bounce phenomenons. If an external clock is used, u

Page 26 - 8254 Chip

22 • Getting Started DB_CLKinputsignaloutputsignal glitch iseliminated Figure 17: Basic Timing of the debounce system 2.14 Interrupt System The cP

Page 27 - 2.9.2 Cascaded Counters

Getting Started •23 Even though it is a dual interrupt system, only one interrupt level is ever used. The card uses the INT #A interrupt request sig

Page 28 - Counter #2

24 • Getting Started 2.16 12V and 5V Power Supply The 100-pin SCSI-II connector provides +12 and +5 volt power sources. To avoid shorts or overload

Page 29

Registers •25 3 Registers Detailed descriptions of the registers are specified in this chapter. This information is useful for programmers who wish

Page 30 - 2.12 Counter Outputs

26 • Registers 3.2 I/O Address Map All cPCI/PCI-8554/R registers are 8 bits long. Users can access these registers using 8-bit I/O instructions. Th

Page 31 - 2.13 Debounce System

Registers •27 3.3 Timer/Counter Registers The 8254-chips occupies 4 I/O address locations on the cPCI/PCI-8554/R as shown below. Users can refer to

Page 32 - 2.14 Interrupt System

28 • Registers There are a total of twenty-two bits on the cPCI/PCI-8554/R used for selecting clock sources for Timer/Counter 1 ~ 10, CK1 and the debo

Page 33

Registers •29 3.6 Digital Output Register This register is a general-purpose 8 bits digital output port. These signals can be used to control exte

Page 34

Getting service from ADLINK • Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please conta

Page 35 - Registers

30 • Signal Connection and Applications 4 Signal Connections & Applications This chapter describes the connectors and applications of the cPCI/PCI

Page 36 - 3.2 I/O Address Map

Signal Connection and Applications • 31 4.3 Timer/Counter Connection The cPCI/PCI-8554/R has four 8254 chips on board. It can offer 10 independent 16

Page 37 - 3.3 Timer/Counter Registers

32 • Signal Connection and Applications 4.4 Frequency Generator 4.4.1 To generate a 250 KHz Square Wave. Step 1: Use a fixed clock source because

Page 38 - 3.5 Digital Input Register

Signal Connection and Applications • 33 4.4.2 To generate a 1 pulse/1 hour signal Step 1: Use a fixed clock source because the output is a fixed

Page 39

34 • Signal Connection and Applications 4.5 Pulse Width Measurement Step 1: Use a fixed clock source as base time interval (or base frequency). Step

Page 40 - Applications

Signal Connection and Applications • 35 4.6 Frequency Measurement To measure a frequency around 1~100 KHz the following steps can be followed. Step 1

Page 41 - 4.3 Timer/Counter Connection

36 • Signal Connection and Applications Figure 23: Example of frequency measurement (1)

Page 42

Signal Connection and Applications • 37 4.7 Event Counter This example counts how many external events in 1 second Step 1: This application require

Page 43 - Counter #3

38 • Signal Connection and Applications 4.8 Dual Interrupt System The cPCI/PCI-8554/R provides a dual interrupt source (one internal plus one externa

Page 44 - 4.5 Pulse Width Measurement

C/C++ Libraries • 39 5 C/C++ Library This chapter describes the software libraries for operating this card. Only the functions in the DOS library and

Page 45 - 4.6 Frequency Measurement

Table of Contents • i Table of Contents Tables... iii Figures ...

Page 46

40 • C/C++ Libraries 5.2 Programming Guide 5.2.1 Naming Convention The functions of the NuDAQ PCI or NuIPC CompactPCI card software drivers uses full-

Page 47 - 4.7 Event Counter

C/C++ Libraries • 41 5.3 _8554_Initial @ Description The cPCI/PCI-8554/R cards are initialized by this function. The software library could be used

Page 48 - 4.8 Dual Interrupt System

42 • C/C++ Libraries 5.4 _8554_Write_Counter @ Description User can directly write commands to counters 1~12 using this function. Using this function,

Page 49 - C/C++ Library

C/C++ Libraries • 43 5.5 _8554_Read_Counter @ Description User can directly read counter information with this function. @ Syntax C/C++ (DOS) U16 _8

Page 50 - 5.2 Programming Guide

44 • C/C++ Libraries 5.6 _8554_Stop_Counter @ Description User can directly stop the counter with this function. This function will stop the counter b

Page 51 - 5.3 _8554_Initial

C/C++ Libraries • 45 5.7 _8554_Read_Status @ Description User can directly read current counter status with this function. @ Syntax C/C++ (DOS) U16

Page 52 - 5.4 _8554_Write_Counter

46 • C/C++ Libraries 5.8 _8554_DO @ Description Write an 8-bit data to the digital output port. @ Syntax C/C++ (DOS) U16 _8554_DO (U16 cardNo, U16 doD

Page 53 - 5.5 _8554_Read_Counter

C/C++ Libraries • 47 5.9 _8554_DI @ Description Read an 8-bit data from the digital input port. @ Syntax C/C++ (DOS) U16 _8554_DI (U16 cardNo, U16 *

Page 54 - 5.6 _8554_Stop_Counter

48 • C/C++ Libraries 5.10 _8554_SET_cntCLK @ Description This function is used to select the clock source for counters 1~10 (Clock source for counter

Page 55 - 5.7 _8554_Read_Status

C/C++ Libraries • 49 5.11 _8554_SET_CK1 @ Description Select source for CK1. @ Syntax C/C++ (DOS) U16 _8554_SET_CK1 (U16 cardNo, U16 selCK1) C/C++ (

Page 56 - 5.8 _8554_DO

ii • Table of Contents Chapter 4 Signal Connections & Applications... 30 4.1 Connectors Pin Assignment ...

Page 57 - 5.9 _8554_DI

50 • C/C++ Libraries 5.12 _8554_SET_DBCLK @ Description Select debounce clock. @ Syntax C/C++ (DOS) U16 _8554_SET_DBCLK (U16 cardNo, U16 DBCLK) C/C++

Page 58 - 5.10 _8554_SET_cntCLK

C/C++ Libraries • 51 5.13 _8554_Set_INT_Control @ Description The cPCI/PCI-8554/R has a dual interrupts system. Two interrupt sources can be generate

Page 59 - 5.11 _8554_SET_CK1

52 • C/C++ Libraries 5.14 _8554_Get_IRQ_Status @ Description The cPCI/PCI-8554/R has dual interrupts system. Two interrupt sources can be generated an

Page 60 - 5.12 _8554_SET_DBCLK

C/C++ Libraries • 53 5.15 _8554_INT_Enable @ Description This function is only available to the Windows 95 driver. It is used to activate the interru

Page 61 - 5.13 _8554_Set_INT_Control

54 • C/C++ Libraries 5.16 _8554_INT_Disable @ Description This function is only available to the Windows 95 driver. It is used to disable the generati

Page 62 - 5.14 _8554_Get_IRQ_Status

C/C++ Libraries • 55 5.18 _8554_CLR_IRQ2 @ Description This function is only available to the DOS driver. It is used to clear the interrupt request,

Page 63 - 5.15 _8554_INT_Enable

56 • Warranty Policy Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, pleas

Page 64 - 5.17 _8554_CLR_IRQ1

Warranty Policy • 57 • Damage caused by inappropriate storage environments such as with high temperatures, high humidity, or volatile chemicals. •

Page 65 - 5.18 _8554_CLR_IRQ2

Tables • iii Tables Table 1. Default Jumper Settings on PCI-8554 ... 10 Table 2. Extra Default Jumper Setting on cPCI-

Page 66 - Warranty Policy

iv • Figures Figures Figure 1: Functional Block diagram..... 2 Figure 2: PCB Layout of PCI-8554...

Page 67

Figures • v How to Use This Guide This manual is designed to help you use the cPCI/PCI-8554/R. The manual describes how to modify various settings

Commentaires sur ces manuels

Pas de commentaire