NuDAQ ACL-8454 Multi-Functions Counter/Timer Card User’s Manual Recycled Paper
2 Introduction The card also provides digital output and input port. There are 8 digital output channels and these channels can be used to control
Introduction 3 1.1 Features The ACL-8454 Counter/Timer and digital I/O Card provides the following advanced features: Default 6 counters/timers
4 Introduction 1.3 Specifications Programmable Counter/Timer Device : 8254 x 2 (default), or 8254 x 4 (at most) Counters : 16-bit down count
Installation & Configurations 5 2 Installation & Configurations This chapter describes the configuration and function of the ACL-8454 and t
6 Installation & Configurations 2.2 Unpacking Your ACL-8454 card contains sensitive electronic components that can be easily damaged by static
Installation & Configurations 7 2.4 Default Configurations To operate the ACL-8454 correctly, users should understand the structure of ACL-8454
8 Installation & Configurations 2.5 Base Address Setting The ACL-8454 requires 8 consecutive address locations in the I/O address space. The ba
Installation & Configurations 9 I/O port Address (Hex) 1 A8 2 A7 3 A6 4 A5 5 A4 6 A3 200-207 ON (0) ON (0) ON (0) ON (0) ON (0) ON (0) 208-20
10 Installation & Configurations 2.6 Pin Assignment of Connector (1)(9)(8)(7)(6)(5)(2)(3)(4)(14)(10)(13)(11)(12)(19)(15)(18)(16)(37)(24)(23)(2
Installation & Configurations 11 2.7 Clock System The clock system of ACL-8454 provides the internal clock source for the 8254 chips. The block
12 Installation & Configurations CLOCK1 (High Frequency) The clock source of CLOCK1 can be set by jumper ‘CLOCK1’. The frequency could be 10 MH
Installation & Configurations 13 2.8 Counters Architecture There are at most four 8254 chips on the ACL-8454 card. The chip #1 (U1) and chip #2
14 Installation & Configurations There are three signals (2 input,1 output) for each counter, a clock input signal, a gate control signal, and
Installation & Configurations 15 Independent Counters (Counter #1~#4, & Counter #7~#10) The Counter #1 to Counter #4 and Counter #7 to Coun
16 Installation & Configurations The ACL-8454 provides multi-configurations for many situations. Users may need more independent counters for s
Installation & Configurations 17 The two internal clock sources, CLOCK1 and CLOCK2 come from the clock system (see 'Clock System section&a
18 Installation & Configurations (3) Use cascaded clock source from the last channel. CLOCK1 CLOCK2 EXTERNAL LAST CHANNELCLK n CK nIIVIIIIII:I
Installation & Configurations 19 2.10 Gate Control Configurations The gate control signals of the independent counters are internally pulled h
20 Installation & Configurations The timer/counter output signals (COUT n) of 8254 are controlled by clock source, gate control and software pr
Installation & Configurations 21 COUT12 IRQ356 79JP2IRQ 101112 15XJP1/COUT6JP3 High IRQ LevelLow IRQ LevelExt.Int. (ECLK10) Figure 2.15 Bloc
Copyright 1997~2001 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 1.40: March 21, 2001 Part No. 50-11017-101 The information in this d
22 Installation & Configurations To program digital I/O operation is fairly straightforward. The digital input operation is just to read data f
Installation & Configurations 23 2.15 Notes for Installing More 8254 Chips The user can install 8254 chips to ACL-8454 card by yourself. Befor
24 Registers Format 3 Registers Format This chapter describes details of the register format of the ACL-8454. This information is quite useful for
Registers Format 25 3.2 Timer/Counter Registers Every 8254 occupies 4 I/O address locations in the ACL-8454 as shown below. Condensed information i
26 Registers Format 3.4 Digital Input Registers There are 16 digital input channels on the ACL-8454. The digital input channels are common with the
Registers Format 27 3.6 Low-level Programming To manipulate the ACL-8454, users may understand how to write a hardware dependent low-level program.
28 Registers Format BASIC language To write an output port: 10 BASE=&H240 20 VALUE% = &H2F 30 OUT( BASE+2), VALUE % or 1
Signal Connections & Applications 29 4 Signal Connections & Applications This chapter describes the connectors and some application wiring
30 Signal Connections & Applications 4.3 Digital I/O Connection The ACL-8454 provides 16 digital input and 8 digital output channels through t
Signal Connections & Applications 31 4.5 Frequency Generator Example 1 : To generate a 250 KHz Square Wave. step 1: To use fixed clock source
Getting service from ADLINK Customer Satisfaction is always the most important thing for ADLink Tech Inc. If you need any help or service, please
32 Signal Connections & Applications 360,000,000 = 60000 x 6000 Therefore, ‘user configurable cascaded counters’ can be used to solve this prob
Signal Connections & Applications 33 4.6 Pulse Width Measurement Example : To measure pulse width (with T < 32ms) step 1: To use fixed c
34 Signal Connections & Applications 4.7 Frequency Measurement Example : To measure frequency around 1~100 K Hz step 1: This application needs
Signal Connections & Applications 35 COUT5COUT6Counter #68254 Chip #2 C G O'H'COUT1Counter #18254 Chip #1 C G OJumperCK1/COUT6frequen
36 Signal Connections & Applications 4.8 Event Counter Example : To count external event in 1 sec step 1: This application needs one counter
Signal Connections & Applications 37 4.9 Double Interrupt System One Internal plus one external interrupt sources The ACL-8454 provides double
38 High-Level Programming 5 High-Level Programming There are more than 10 functions provided by the C language library. By using the C language li
High-Level Programming 39 With CD-ROM: 1. Turn your PC's power switch on. 2. Put the CD-ROM into your CD-ROM drive. 3. Type the commands:
40 High-Level Programming [Win-NT only] When the software component installation process is completed and the system that ACL-8454 Library is insta
High-Level Programming 41 If you don’t need to use both of these two IRQ lines, set the unused IRQ level as “0”. Then you can save one IRQ level fo
Table of Concents i Table of Contents Chapter 1 INTRODUCTION... 1 1.1 Features...
42 High-Level Programming 5.2 W_8454_Initial @ Description To initial the base address used which used by the following functions. The default base
High-Level Programming 43 5.3 Set_Chip @ Description This is a macro which is used to select or active one of the four 8254 chips. Refer the 8454.H
44 High-Level Programming @ Arguments int CntrNo : Counter number, equals to 1~12 int Mode : Operation mode of counter, equal
High-Level Programming 45 5.6 W_8454_Stop_Counter @ Description This function is used to stop a specified counter. The user can directly assign the
46 High-Level Programming 5.7 W_8454_DO @ Description To write an 8 bits data to the digital output port. @ Syntax Microsoft C/C++ (Windows, Win95
High-Level Programming 47 W_8454_DI_L (DI_LValue As Long) As Long W_8454_DI_H (DI_HValue As Long) As Long W_8454_DI_bit (ByVal Bit_No As Long) As L
48 High-Level Programming @ Syntax Microsoft C/C++ (Windows, Win95 & Win-NT) W_8454_Interrupt_on_TC(CN,Val) == W_8454_Write_Counter( CN, 0,
High-Level Programming 49 @ Syntax Microsoft C/C++ (Win95 & Win-NT) int W_8454_INT_Enable(int irq_no, int irql, HANDLE *phEvent) Visual Basic (
50 High-Level Programming Appendix A Using of IRQ Channels IRQ Level Used by 0 It is used by motherboard and not available on expansion slot. 1 It
High-Level Programming 51 Appendix B Timer/Counter Operation The ACL-8454 has at most four 8254 chips on board. Refer to section 2.8 for the signal
ii Table of Concents 4.6 Pulse Width Measurement ...33 4.7 Frequency Measurement...
52 Appendix B Timer/Counter Operation Control Byte Before loading or reading any of these individual counters, the control byte (BASE+3) must be lo
High-Level Programming 53 Mode Definitions In 8254, six operating modes can be selected. They are: Mode 0: Interrupt on Terminal Count Mode
54 Warranty Policy Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please
Warranty Policy 55 Damage caused by leakage of battery fluid during or after change of batteries by customer/user. Damage from improper rep
How to Use This Guide This manual is designed to help you use the ACL-8454. The manual describes how to modify various settings on the ACL-8454 card
Introduction 1 1 Introduction The ACL-8454 is a general purpose counter/timer and digital I/O card. It is a compact-size add-on card for IBM AT com
Kommentare zu diesen Handbüchern