Manuale d’uso / di manutenzione del prodotto PCI-DIO-24D(H) del fabbricante Access
Vai alla pagina of 29
10623 Roselle Street, San Diego, CA 92 121 • (858) 550-9559 • FAX (858) 550-7322 contactus@accesi o.com • www.accesio.com MODEL PCI-DIO-24D(H) USER MANUAL FILE: MPCI-DIO-24DH.
Notice The information in this document is provided for reference only. ACCES does n ot assume any liability arising out of the application or use of the informat ion or products d escribed herein.
Warranty Prior to shipment, ACCES equipment is thoroughly insp ected and tested to applicable sp ecifications. However, should equipment failure occu r, ACCES assu res its customers that prompt service a nd support will be available.
Table of Contents Chapter 1: Introduction ................................................................................................. 5 Specifications ..............................................................................................
Chapter 1: Introduction Features • 24 Bits of Digital Input/Output. • All 24 I/O Lines Buffered on the Card. • I/O Buffers Can Be Tri-st ated under Program Control. • Four and Eight Bit Ports Independently Selectabl e for I/O. • Pull-Ups on I /O Lines.
output use according to direction assignment from a control register in the PPI. Further, if a jumper i s properly placed on the card, the tristate buffers may be enabled/di sabled under program control. (See the Option Selection section to follow.) I/O wiring connections for t he H card are via a 50- pin conne ctor on the back plate of the card.
Specifications Digital Inputs (TTL Compatible) • Logic High: 2.0 to 5.0 VDC • Logic Low: -0.5 to +0.8 VDC • Load: ±20 μ A Digital Outputs • Logic High: 2.0 VDC min., source 32 ma • Logic Low: 0.55 VDC max., sink 64 ma Optional Counter/Timers • Type: 82C54 programmable in terval counters (up to three) • Output drive: Source 2.
Figure 1-1: Card D or H Block Diagra m Manual PCI-DIO-24DH 8.
Optional Counter/Timers These cards have options to includ e one, two, or th ree 82C54 counter(s) that each inclu de three 16-bit counter/timers factory configured in an optimal m odule for use as ev ent counters, frequency output, pulse width, and frequency measurem ent.
Chapter 2: Installation A printed Quick-Start Guide (QSG) is pa cked with the card for your convenience. If you’ve already performed the steps from the QSG, you may find this chapter to be redundant and may skip forward to begin developing your application.
Hardware Installation 1. Make sure to set switches and jump ers from eith er the Option Selection section of this manual or from the suggestions of SETUP.EXE. 2. Do not install card into the computer until the software has been fully installed. 3. Turn OFF computer power AND unplug AC power from the system.
Chapter 3: Option Selection Refer to the setup programs on the CD provided with the card. Also, refer to the Block Diagram and the Option Selection Map when reading this section of the manual.
3.9" 4. 8" IR Q D I NT EXT IR Q T IN T E N IN T S E L 0 TST BEN Figure 3-1 : Option Selection Map version D Figure 3-2: Option Selection Map version H Manual PCI-DIO-24DH 13.
Chapter 4: Address Selection These cards use one ad dress space and occupy sixteen I/O locations. The S03 (whi ch has 3 counters) version takes up 32 I/O locations.
Chapter 5: Software There are sample program s provided with the card in C, Pascal, QuickBASIC, and several Windows languages. DOS samples are located in the DOS directory and Win dows samples are located in the WIN32 directory. The follo wing paragraphs descri be the setup program and the 16- and 32-bit utility drivers.
Chapter 6: Programming These cards are I/O-m apped devices that are easily configure d from any language and any language can easily perform digital I/O through the card's port s. This is especially true if the form of the data is byte or word wide.
These cards use an 825 5-5 PPI to provide a total of 24 bits input/output capability. The card is de signed to use the PPI in Mode 0 wherein: a. There are two 8-bit groups (A and B) and two 4-bit group s (C Hi and C Lo). b. Any port can be configured as an input or an output.
c. Now, if any of the ports are to be set as output s, you may set the values to that port with the outputs still in the tristate condition. (If all ports are to be set as inputs, this step is not necessary.) d. If data bit D7 is low when the control byte is written, ONLY the associated buffer controller is addressed.
Programming Example (C) The following program fra gment in C language illustrates the fore going: const BASE_ADDRESS 0x300; outportb(BASE_ADDRESS +3, 0x89); /* This instruction sets the m ode to Mode 0, ports A and B as output, and port C as input. Since bit D7 is high, the output buffers are set to tristate condition.
Enabling/Disabling I/O Buffers When using the tristate mode (Jumper in the TST posit ion), the method to disable the I/O buffers involved writing a control word to th e Control Register at Ba se Address +3. This control word wa s required to have bit D7 (the most significant bit) set.
Chapter 7: 8254 Counter/Timer These cards have the opti on of one, two, or three 82C54 cou nter(s) that each include three 16-bit counter/timers factory configured in an optimal m odule for use as ev ent counters, frequency output, pulse width, and frequency measurem ent (See Block Diagram).
Counter/Timer Registers Base + 10 Write/Read: Counter#A0 When writing, th is registe r is used to load a count value into the counter. The transfer is eit her a single or double byte transfer, depending on the control byte written to the counter control register at BASE ADDRESS +13.
Programming the 8254 The counters are prog rammed by writing a control byte into the counter control regi ster. Refer to the previous register map for the base addresse s of the counters and the co unter control register. The control byte specifies the counter to be programmed, the co unter mode, the type of read/write operati on, and the modulus.
Reading and Loading the Counters If you attempt to read the counters on the fly when there is a high input frequen cy, you will most likely get erroneous data.
1st Read: Status byte 2nd Read: Low byte of latched data 3rd Read: High byte of latched data After any latching operation on a counter, the conten ts of its hold registe r must be read before any subsequent latches of that counter will have any effect.
Pulse Width The Pulse Width function will measure the width of an applie d event from its rise to its fall (effectively one half the period). The Base Address of the card is required as input to the function . The signal should be applied to the CLOCK IN pin of the card.
Chapter 8: Connector Pin Assignments The H card has a 50-pin conne ctor provided on the ba ck plate of these cards for I/O connections. The mating connector is an AMP type 1-746 285-0 or equiva lent. Connector pin assignment s are listed below. Assignment Pin Assignment Pin PC7 1 Counter A0 Freq In 2 PC6 3 Ctr A1 P.
The D card has a 37-pin D-su b connector provided on the back plate of these cards for I/O conne ctions. If all three counters are present, pin 20 is counter C2 ' s frequency output.
Customer Comments If you experience any problems with this manual or ju st want to give us some feedback, please email us at: manuals@accesio.com. Please detail any errors you find and in clude your mailing address so that we can send you any manual updates.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Access PCI-DIO-24D(H) è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Access PCI-DIO-24D(H) - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Access PCI-DIO-24D(H) imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Access PCI-DIO-24D(H) ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Access PCI-DIO-24D(H), ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Access PCI-DIO-24D(H).
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Access PCI-DIO-24D(H). Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Access PCI-DIO-24D(H) insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.