Advantech PCI-1710 Bedienungsanleitung

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

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Advantech PCI-1710 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Advantech PCI-1710, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Advantech PCI-1710 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Advantech PCI-1710. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung Advantech PCI-1710 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Advantech PCI-1710
- Den Namen des Produzenten und das Produktionsjahr des Geräts Advantech PCI-1710
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Advantech PCI-1710
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Advantech PCI-1710 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Advantech PCI-1710 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Advantech finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Advantech PCI-1710 zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Advantech PCI-1710, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Advantech PCI-1710 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

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

  • Seite 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[...]

  • Seite 3

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

  • Seite 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 ............[...]

  • Seite 5

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 ([...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 13

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 16

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

  • Seite 17

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

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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)[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 30

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

  • Seite 31

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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:[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 49

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

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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 [...]

  • Seite 54

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

  • Seite 55

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

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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 [...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 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[...]

  • Seite 64

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