Gebruiksaanwijzing /service van het product PCI-DIO-24D(H) van de fabrikant Access
Ga naar 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.
Een belangrijk punt na aankoop van elk apparaat Access PCI-DIO-24D(H) (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Access PCI-DIO-24D(H) heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Access PCI-DIO-24D(H) vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Access PCI-DIO-24D(H) leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Access PCI-DIO-24D(H) krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Access PCI-DIO-24D(H) bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Access PCI-DIO-24D(H) kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Access PCI-DIO-24D(H) . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.