Advantech PCI-1710 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Advantech PCI-1710. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Advantech PCI-1710 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Advantech PCI-1710 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Advantech PCI-1710 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Advantech PCI-1710
- nom du fabricant et année de fabrication Advantech PCI-1710
- instructions d'utilisation, de réglage et d’entretien de l'équipement Advantech PCI-1710
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Advantech PCI-1710 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Advantech PCI-1710 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Advantech en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Advantech PCI-1710, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Advantech PCI-1710, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Advantech PCI-1710. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    PCI-1710/1710HG Multifunction DAS Card for PCI Bus User's manual[...]

  • Page 2

    Copyright This documentation and the software included with this product are copyrighted 1998 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 i[...]

  • Page 3

    Contents Chapter 1: General Information ............................. 1 1 . 1 Introduction ............................................................... 2 1. 2 Features .................................................................... 3 1 . 3 Specifications ............................................................. 4 1 . 4 Block Diagram ...[...]

  • Page 4

    4 .7 Control Register ....................................................... 39 4 .8 Status Register ......................................................... 40 4.9 Clear Interrupt and FIFO ......................................... 41 4.10 D/A Channel 0 Output ............................................. 42 4.11 D/A Channel 1 Output ............[...]

  • Page 5

    Chapter 1 General Information 1 1 General Information CHAPTER[...]

  • Page 6

    2 PCI-1710 /1710HG User's Manual 1.1 Introduction The PCI-1710/1710HG is a multifunction D AS card for the PCI bus. Advanced circuit design brings you higher quality and more func- tions, including the f ive most desired measurement and control functions: 12-bit A/D con version, D/A con version, digital input, digital output, and counter/timer[...]

  • Page 7

    Chapter 1 General Information 3 On-board Programmable Counter The PCI-1710/1710HG pro vides a pro g rammab le counter for generat- ing a pacer trigger for the A/D conv ersion. The counter chip is an 82C54 or equivalent, which includes three 16-bit counters on a 10 MHz clock. One counter is used as an event counter for counting e vents coming from t[...]

  • Page 8

    4 PCI-1710 /1710HG User's Manual 1.3 Specifications Analog Input: • Channels: 16 single-ended or 8 differential (software programma- ble) • Resolution: 12-bit • On-board FIFO: 4K samples • Conversion time: 8 µs • Input rang e : ( V , software programmable) • Maximum Input Ov er v oltage: ±30 V • Common Mode Rejection Ratio (CMR[...]

  • Page 9

    Chapter 1 General Information 5 • Maximum data throughput: PCI-1710: 100 kHz PCI-1710HG: (variable, depending on PGIA settling time) PC I -1710HG G ain Speed 0. 5 , 1 100 kH z 5, 10 35 kH z 50, 100 7 kH z 500, 1000 770 Hz PC I -1710 PC I -1710HG G ai n A ccur acy G ai n A ccur acy Rem ark 0. 5, 1 0. 01% of FSR ±1 LSB 0. 5, 1 0. 01% of FSR ±1 LS[...]

  • Page 10

    6 PCI-1710 /1710HG User's Manual Analog Output: • Channels: 2 • Resolution: 12-bit • Relative accuracy: ±1/2 LSB • Gain error: ±1 LSB • Maximum update rate: 100 K samples/s • Sle w rate: 10 V / µ s • Output range: (software programmable) W ith internal reference: 0 ~ +5 V , 0 ~ +10 V W ith external reference: 0 ~ +x V @ -x V ([...]

  • Page 11

    Chapter 1 General Information 7 Programmable Timer/Counter • Counter chip: 82C54 or equivalent • Counters: 3 channels, 16 bits, 2 channels are permanently configured as programmable pacers; 1 channel is free for user application • Input, gate: TTL/CMOS compatible • Time base: Channel 1: 10 MHz Channel 2: T akes input from output of channel [...]

  • Page 12

    8 PCI-1710 /1710HG User's Manual 1.4 Block Diagram Figure 1-1: PCI-1710/PCI-1710HG block diagram PCI Controller Address Decoder 16-bit Digital Output 16-bit Digital Input 12-bit D/A Output 0 12-bit D/A Output 1 Data Bus PC I B u s A/D & D/A Status Control Logic 4K Samples FIFO 12-bit A/D Convertor IRQ Control Logic A/D Trigger Logic 10 MHz[...]

  • Page 13

    Chapter 2 Installation 9 2 Installation CHAPTER[...]

  • Page 14

    10 PCI-1751/1710HG User's Manual 2.1 Initial Inspection Before installing the PCI-1710/1710HG, check the card for visible damage. W e ha ve carefull y inspected the card both mechanically and electrically before shipment. It should be free of marks and in perfect order upon receipt. As you unpack the PCI-1710/1710HG, check it for signs of ship[...]

  • Page 15

    Chapter 2 Installation 11 2.3 Installation Instructions The PCI-1710/1710HG can be installed in any PCI slot in the computer . Ho w ev er, refer to the computer user's manual to a void an y mistakes and danger before you follow the installation procedure below: 1. T ur n of f your computer and an y accessories connected to the computer . W arn[...]

  • Page 16

    12 PCI-1751/1710HG User's Manual[...]

  • Page 17

    Chapter 3 Signal Connections 1 3 3 Signal Connections CHAPTER[...]

  • Page 18

    14 PCI-1710/1710HG User's Manual 3.1 Overview Correct signal connections are one of the most important factors in ensuring that your application system is sending and receiving data correctly . A good signal connection can a void much unnecessary and costly damage to your valuable PC and other hardware devices. This chapter will provide some u[...]

  • Page 19

    Chapter 3 Signal Connections 1 5 Figure 3-1: I/O connector pin assignments for the PCI-1710/1710 HG card AI0 AI2 AI4 AI6 AI8 AI10 AI12 AI14 AIGND DA0_REF DA0_OUT AOGND DI0 DI2 DI4 DI6 DI8 DI10 DI12 DI14 DGND DO0 DO2 DO4 DO6 DO8 DO10 DO12 DO14 DGND CNT0_CLK CNT0_OUT CNT0_GATE +12V 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 [...]

  • Page 20

    16 PCI-1710/1710HG User's Manual I/O Connector Signal Descriptions Si gnal N ame Ref ere nce Di rec ti on Desc ri pt i on AI <0…1 5> AI GN D I n put A nalog I nput C hannels 0 t hrough 15. Each ch an n el pair , AI <i, i +1> (i = 0, 2 , 4. . .14) , can be con figu red as eith er t w o sin gl e-e n ded in pu t s or on e diff er en[...]

  • Page 21

    Chapter 3 Signal Connections 1 7 I/O Connector Signal Descriptions (part II) Si gnal Name Ref er ence Di rec ti on Desc ri pt i on DI <0 .. 15> DG N D I n pu t Di git al I nput si gnal s D O<0 ..15 > D GND Ou tput Di git al Out put si gnal s DG N D - - Di gi ta l G round . T his pi n suppl i es th e ref e ren ce for t he digi tal sign a[...]

  • Page 22

    18 PCI-1710/1710HG User's Manual I/O Connector Signal Descriptions (part III) Si gnal N ame Ref ere nce Di rec ti on Desc ri pt i on PA C E R _O UT D GND Ou tp u t Pacer Clock Out put - T h i s pi n pu lses on ce for each pacer cl ock wh en tu rn ed on . I f A/D con v ersi on is i n th e pac er tr i g ge r mode, u se rs can u se t h is sign al[...]

  • Page 23

    Chapter 3 Signal Connections 1 9 3.3 Analog Input Connections The PCI-1710/1710HG card supports either 16 single-ended or 8 differential analog inputs. Input channel configuration is selected by software. Selection by software is more convenient than selection by a slide switch on the card. In the past, if you set one single-ended (or differential)[...]

  • Page 24

    20 PCI-1710/1710HG User's Manual Figure 3-2: Single-ended input channel connection Differential Channel Connections The differential input configuration has two signal wires for each channel, and the differential input responds only to voltage differenc- es between High and Low inputs. On the PCI-1710/1710HG card, when all channels are configu[...]

  • Page 25

    Chapter 3 Signal Connections 2 1 card. W ith this connection, the PGIA rejects a common-mode voltage V cm between the signal source and the PCI-1710/1710HG ground, shown as V cm in Figure 3-3. Figure 3-3: Differential input channel connection - ground reference signal source If a floating signal source is connected to the differential input channel[...]

  • Page 26

    22 PCI-1710/1710HG User's Manual Figure 3-4: Differential input channel connection - floating signal source Ho w ev er, this connection has the disadv antage of loading the source down with the series combination (sum) of the two resistors. For r a and r b, for e xample, if the input impedance r s is 1 k Ω , and each of the tw o resistors is[...]

  • Page 27

    Chapter 3 Signal Connections 2 3 Figure 3-5: Analog output connections 3.4 Analog Output Connections The PCI-1710/1710HG card provides two D/A output channels, D A0_OUT and D A1_OUT . Users ma y use the PCI-1710/1710HG internally provided precision –5V (-10V) reference to generate 0 to +5 V (+10 V) D/A output range. Users also may create D/A outp[...]

  • Page 28

    24 PCI-1710/1710HG User's Manual 3.5 Trigger Source Connections Internal Pacer Trigger Connection The PCI-1710/1710HG card includes one 82C54 compatible programma- ble timer/counter chip which provides three 16-bit counters connected to a 1 MHz clock, designated as Counter 0, Counter 1 and Counter 2. Counter 0 is an event counter for counting [...]

  • Page 29

    Chapter 3 Signal Connections 2 5 3.6 Field Wiring Considerations When you use the PCI-1710/1710HG card to acquire outside data, environmental noise can seriously affect the accuracy of your mea- surements if you don’t provide any protection. The following sugges- tions will be helpful when running signal wires between signal sources and the PCI-1[...]

  • Page 30

    26 PCI-1710/1710HG User's Manual[...]

  • Page 31

    Chapter 4 Register Structure and Format 2 7 4 Register Structure and Format CHAPTER[...]

  • Page 32

    28 PCI-1710/1710HG User's Manual 4.1 Overview The PCI-1710/1710HG is delivered with an easy-to-use 32-bit DLL driv er for user programming under the W indows 95/NT operating system. W e advise users to program the PCI-1710/1710HG using the 32-bit DLL driver provided by Advantech to avoid the complexity of lo w-le vel pro gramming b y re gister[...]

  • Page 33

    Chapter 4 Register Structure and Format 2 9 Table 4-1: PCI-1710/1710HG register format (Part 1) Bas e Ad dr e ss + d e c im a l Rea d 7 6 5 432 1 0 Cha nnel Num ber and A /D Da t a 1 CH 3 CH 2 CH 1 C H 0 AD1 1 AD10 AD9 AD8 0 AD7 AD6 AD5 AD4 AD3 AD2 AD 1 AD 0 N/ A 3 2 N/ A 5 4 Status R eg ister 7 I R Q F/ F F/ H F/ E 6 CN T 0 O NE/ FH I RQ EN G A TE[...]

  • Page 34

    30 PCI-1710/1710HG User's Manual Bas e Ad dr e ss + d e c im a l Rea d 76543 2 1 0 N/ A 15 14 D ig ita l In p u t 17 DI 15 DI 14 DI 13 DI 12 DI 1 1 DI 10 DI 9 DI 8 16 DI 7 DI 6 DI 5 DI 4 DI 3 DI 2 DI 1 DI 0 Count er 0 25 24 D7 D6 D5 D4 D3 D2 D1 D0 Coun te r 1 27 26 D7 D6 D5 D4 D3 D2 D1 D0 Coun te r 2 29 28 D7 D6 D5 D4 D3 D2 D1 D0 N/ A 31 30 Ta[...]

  • Page 35

    Chapter 4 Register Structure and Format 3 1 Bas e Ad dr e ss + d e c im a l Write 765 4 3 2 1 0 S o ftw a r e A/D Trig g e r 1 0 A / D Channel Range Se tt i ng 3 2S / D B / U G 2 G 1 G 0 MU X C o n tro l 5 Stop ch ann el 4S t a r t c h a n n e l Cont rol Reg is t er 7 6 CN T 0 O NE/ FH I RQ EN G A T E EXT P AC ER SW C lea r Interru pt a n d F IF O [...]

  • Page 36

    32 PCI-1710/1710HG User's Manual Bas e Ad dr es s + d e c im a l Write 7 654 32 1 0 D/ A Refe r ence Cont rol 15 14 DA 1_I /E DA 1_5/10 DA 0_I /E D A0_5 /10 D ig ita l Outp ut 17 DO 15 DO 14 DO 13 DO 12 DO 1 1 DO1 0 DO 9 DO8 16 DO 7 DO 6 DO5 DO 4 DO 3 DO 2 DO 1 DO 0 Coun te r 0 25 24 D7 D6 D5 D4 D3 D2 D1 D0 Coun te r 1 27 26 D7 D6 D5 D4 D3 D2 [...]

  • Page 37

    Chapter 4 Register Structure and Format 3 3 4.3 Channel Number and A/D Data  BASE+0 and BASE+1 These two bytes, BASE+0 and BASE+1, hold the result of A/D conversion data. The 12 bits of data from the A/D conversion are stored in BASE+1 bit 3 to bit 0 and BASE+0 bit 7 to bit 0. BASE+1 bit 7 to bit 4 hold the source A/D channel number . Table 4-2:[...]

  • Page 38

    34 PCI-1710/1710HG User's Manual 4.5 A/D Channel Range Setting  BASE+2 Each A/D channel has its own input range, controlled by a range code stored in the on-board RAM. If you want to change the range code for a given channel, select the channel as the start channel and the stop channel in the registers of BASE+4 and BASE+5 (described in the[...]

  • Page 39

    Chapter 4 Register Structure and Format 3 5 PC I -1710 G ai n I nput Range( V) B/U Ga in Code G2 G1 G0 1 - 5 t o + 5 0 000 2 - 2.5 t o + 2.5 0 0 0 1 4 - 1.25 t o +1. 25 0 0 1 0 8 - 0.625 t o + 0.625 0 0 1 1 0. 5 - 10 to 10 0 1 0 0 N/A 0 1 0 1 N/A 0 1 1 0 N / A 0 111 1 0 t o 1 0 1 000 20 t o 51 0 0 1 40 t o 2 . 5 1 0 1 0 8 0 t o 1.25 1 0 1 1 N/A 1 1[...]

  • Page 40

    36 PCI-1710/1710HG User's Manual PC I - 1710HG G ain Input R ange(V) B/U Gain C o d e G2 G1 G0 1 - 5 t o + 5 000 0 10 -0.5 to +0 .5 0 0 0 1 100 -0. 05 to +0. 05 0 0 1 0 1000 -0. 00 5 t o +0. 005 0 0 1 1 0.5 -10 t o +10 0 1 0 0 5- 1 t o + 1 0 1 0 1 50 -0.1 to +0 .1 0 1 1 0 500 -0. 01 to +0. 01 0 1 1 1 10 t o 1 0 1 0 0 0 10 0 to 1 1 0 0 1 100 0 [...]

  • Page 41

    Chapter 4 Register Structure and Format 3 7 4.6 MUX ControlBASE+4 and BASE+5 Table 4.6: The register for multiplexer control CL3 ~ CL0 Start Scan Channel Number CH3 ~ CH0 Stop Scan Channel Number BASE+4 bit 3 to bit 0, CL3 ~ CL0, act as a pointer when you program the A/D channel setting (see previous section). When you set the MUX start channel [...]

  • Page 42

    38 PCI-1710/1710HG User's Manual the stop channel and then repeat. The following examples show the scan sequences of the MUXs (all channels are set as single-ended). Example 1 If the start scan input channel is AI3 and the stop scan input channel is AI7, then the scan sequence is AI3, AI4, AI5, AI6, AI7, AI3, AI4, AI5, AI6, AI7, AI3, AI4… Ex[...]

  • Page 43

    Chapter 4 Register Structure and Format 3 9 differential, and AI14 is differential, then the scan sequence is AI11, AI12, AI14, AI11, AI12, AI14, AI11… W arning! Only ev en channels can be set as differential. An odd channel will become unav ailab le if its preceding channel is set as diff erential. 4.7 Control Register  BASE+6 The write-only [...]

  • Page 44

    40 PCI-1710/1710HG User's Manual GA TE External trigger gate function enable bit Set 1 to enable external trigger gate function, and set 0 to disable. IRQEN Interrupt enable bit Set 1 to enable interrupt, and set 0 to disable. ONE/FH Interrupt source bit Set 0 to interrupt when an A/D conversion occurs, and set 1 to interrupt when the FIFO is [...]

  • Page 45

    Chapter 4 Register Structure and Format 4 1 F/H FIFO Half-full flag This bit indicates whether the FIFO is half-full. 1 means that the FIFO is half-full. F/F FIFO Full flag This bit indicates whether the FIFO is full. 1 means that the FIFO is full. IRQ Interrupt flag This bit indicates the interrupt status. 1 means that an interrupt has occurred. 4[...]

  • Page 46

    42 PCI-1710/1710HG User's Manual 4. 10 D/A Output Channel 0  BASE+10 and BASE+11 The write-only re gisters of B ASE+10 and B ASE+11 accept data for D/A Channel 0 output. Table 4-10: Registers for D/A channel 0 data D A11 ~ D A0 Digital to Analog data D A0 is the LSB and D A11 is the MSB of the D/A data. 4.11 D/A Output Channel 1  BASE+12[...]

  • Page 47

    Chapter 4 Register Structure and Format 4 3 4.12 D/A Reference Control  BASE+14 The write-only register of BASE+14 allows users to set the D/A reference source. Table 4-12: Registers for D/A reference control DA0_5/10 The internal reference voltage for the D/A output channel 0 This bit controls the internal reference voltage for the D/A output c[...]

  • Page 48

    44 PCI-1710/1710HG User's Manual 4.13 Digital I/O Registers  BASE+16 and BASE+17 The PCI-1710/1710HG card offers 16 digital input channels and 16 digital output channels. These I/O channels use the input and output ports at addresses BASE+16 and BASE+17. Table 4-13: Register for digital input Table 4-14: Register for digital output Note! Th[...]

  • Page 49

    Chapter 5 Calibration 45 5 Ca libr atio n CHAPTER[...]

  • Page 50

    46 PCI-1710/1710HG User's Manual 5.1 Introduction Regular calibration checks are important to maintain accuracy in data acquisition and control applications. W e pro vide tw o calibration programs, ADCAL.EXE and DACAL.EXE, on the PCI-1710/1710HG software CD-ROM. ADCAL.EXE assists you in A/D calibration, and DACAL.EXE in D/A calibration. The AD[...]

  • Page 51

    Chapter 5 Calibration 47 The following list shows the function of each VR: VR Function VR1 A/D unipolar offset VR2 A/D bipolar offset VR3 A/D full scale (gain) VR4 D/A channel 0 full scale VR5 D/A channel 1 full scale 5.3 A/D Calibration Regular and accurate calibration procedures ensure the maximum possible accurac y . The ADCAL.EXE calibration pr[...]

  • Page 52

    48 PCI-1710/1710HG User's Manual 5.4 D/A Calibration In a way similar to the ADCAL.EXE program, the DACAL.EXE program leads you through the whole D/A calibration procedure. Y ou can either use the on-board -5 V (-10 V) inter nal reference voltage or use an external reference. If you use an external reference, connect a reference voltage within[...]

  • Page 53

    Chapter 5 Calibration 49 5.5 Self A/D Calibration Under man y conditions, it is diff icult to f ind a good enough DC voltage source for A/D calibration. There is a simple method to solve this problem. F irst, you should calibrate D/A channel 0, D A0_OUT , with internal reference -5 V , and D/A channel 1, D A1_OUT , with reference -10 V . Then, run [...]

  • Page 54

    50 PCI-1710/1710HG User's Manual[...]

  • Page 55

    Appendix A 8524 Counter Chip Functions 51 A 82C54 Counter Chip Functions APPENDIX[...]

  • Page 56

    52 PCI-1750 User's Manual A.1 The Intel 82C54 The PCI-1710/1710HG uses one Intel 82C54 compatible programma- ble interval timer/counter chip. The popular 82C54 offers three independent 16-bit counters, counter 0, counter 1 and counter 2. Each counter has a clock input, control gate and an output. You can program each counter for maximum count [...]

  • Page 57

    Appendix A 8524 Counter Chip Functions 53 A.2 Counter Read/Write and Control Registers The 82C54 programmable interval timer uses four registers at addresses BASE + 24(Dec), BASE + 26(Dec), BASE + 28(Dec) and BASE + 30(Dec) for read, write and control of counter functions. Register functions appear below: Register Function BASE + 24(Dec) Counter 0 [...]

  • Page 58

    54 PCI-1750 User's Manual RW1 & RW0 Select read/write operation Operation RW1 RW0 Counter latch 0 0 Read/write LSB 0 1 Read/write MSB 1 0 Read/write LSB first, 1 1 then MSB M2, M1 & M0 Select operating mode M2 M1 M0 Mode Description 0 0 0 0 Stop on terminal count 0 0 1 1 Programmable one shot X 1 0 2 Rate generator X 1 1 3 Square wave [...]

  • Page 59

    Appendix A 8524 Counter Chip Functions 55 becomes: BASE + 30(Dec) 82C54 control, read-back mode Bit D7 D6 D5 D4 D3 D2 D1 D0 Value 1 1 C N T S T A C 2C 1C 0X CNT = 0 Latch count of selected counter(s). STA = 0 Latch status of selected counter(s). C2, C1 & C0 Select counter for a read-back operation. C2 = 1 select Counter 2 C1 = 1 select Counter [...]

  • Page 60

    56 PCI-1750 User's Manual A.3 Counter Operating Modes MODE 0  Stop on Terminal Count The output will initially be low after you set this mode of operation. After you load the count into the selected count register, the output will remain low and the counter will count. When the counter reaches the terminal count, its output will go high and[...]

  • Page 61

    Appendix A 8524 Counter Chip Functions 57 The gate input, when low, will force the output high. When the gate input goes high, the counter will start from the initial count. You can thus use the gate input to synchronize the counter. With this mode the output will remain high until you load the count register. You can also synchronize the output by[...]

  • Page 62

    58 PCI-1750 User's Manual A.4 Counter Operations Read/Write Operation Before you write the initial count to each counter, you must first specify the read/write operation type, operating mode and counter type in the control byte and write the control byte to the control register [BASE + 30(Dec)]. Since the control byte register and all three co[...]

  • Page 63

    Appendix A 8524 Counter Chip Functions 59 Counter Latch Operation Users often want to read the value of a counter without disturbing the count in progress. You do this by latching the count value for the specific counter then reading the value. The 82C54 supports the counter latch operation in two ways. The first way is to set bits RW1 and RW0 to 0[...]

  • Page 64

    60 PCI-1750 User's Manual[...]