Acces PCI-DIO-24D User Manual

Manual is about: Digital I/O Cards

Summary of PCI-DIO-24D

  • Page 1

    10623 roselle street, san diego, ca 92121 • (858) 550-9559 • fax (858) 550-7322 contactus@accesio.Com • www.Accesio.Com models pci-dio-24d and pci-dio-24h digital i/o cards user manual file: mpci-dio-24dh.G1q.

  • Page 2

    Manual pci-dio-24dh 2 notice the information in this document is provided for reference only. Acces does not assume any liability arising out of the application or use of the information or products described herein. This document may contain or reference information and products protected by copyri...

  • Page 3

    Manual pci-dio-24dh 3 warranty prior to shipment, acces equipment is thoroughly inspected and tested to applicable specifications. However, should equipment failure occur, acces assures its customers that prompt service and support will be available. All equipment originally manufactured by acces wh...

  • Page 4: Table of Contents

    Manual pci-dio-24dh 4 table of contents chapter 1: introduction ................................................................................................. 5 specifications ............................................................................................................ 7 figure 1-1...

  • Page 5: Chapter 1: Introduction

    Manual pci-dio-24dh 5 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-stated under program control. • four and eight bit ports independently selectable for i/o. • pull-ups on i/o lines. Pull down resistors may be i...

  • Page 6

    Manual pci-dio-24dh 6 i/o wiring connections for the h card are via a 50-pin connector on the back plate of the card. Flat insulation-displacement ribbon cables can be used to connect these cards to termination panels and relay output cards. Also, the 50-pin connection provides compatibility with op...

  • Page 7

    Manual pci-dio-24dh 7 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 interval ...

  • Page 8

    Manual pci-dio-24dh 8 figure 1-1: card d or h block diagram.

  • Page 9: Chapter 2: Installation

    Manual pci-dio-24dh 9 chapter 2: installation a printed quick-start guide (qsg) is packed 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. The software provided...

  • Page 10

    Manual pci-dio-24dh 10 hardware installation 1. Make sure to set switches and jumpers from either 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 unp...

  • Page 11: Chapter 3: Option Selection

    Manual pci-dio-24dh 11 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. Buffer mode jumper a means of enabling or disabling (tristating) the 74abt245b input...

  • Page 12

    Manual pci-dio-24dh 12 3. 9" 4.8" irqd int ext irqt inten intsel0 tst ben figure 3-1 : option selection map version d figure 3-2: option selection map version h.

  • Page 13: Chapter 4: Address Selection

    Manual pci-dio-24dh 13 chapter 4: address selection these cards use one address space and occupy sixteen i/o locations. The s03 (which has 3 counters) version takes up 32 i/o locations. Pci architecture is plug-and-play. This means that the bios or operating system determines the resources assigned ...

  • Page 14: Chapter 5: Software

    Manual pci-dio-24dh 14 chapter 5: software there are sample programs provided with the card in c, pascal, quickbasic, and several windows languages. Dos samples are located in the dos directory and windows samples are located in the win32 directory. The following paragraphs describe the setup progra...

  • Page 15: Chapter 6: Programming

    Manual pci-dio-24dh 15 chapter 6: programming these cards are i/o-mapped devices that are easily configured from any language and any language can easily perform digital i/o through the card's ports. This is especially true if the form of the data is byte or word wide. All references to the i/o port...

  • Page 16

    Manual pci-dio-24dh 16 these cards use an 8255-5 ppi to provide a total of 24 bits input/output capability. The card is designed to use the ppi in mode 0 wherein: a. There are two 8-bit groups (a and b) and two 4-bit groups (c hi and c lo). B. Any port can be configured as an input or an output. C. ...

  • Page 17

    Manual pci-dio-24dh 17 c. Now, if any of the ports are to be set as outputs, 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 a...

  • Page 18

    Manual pci-dio-24dh 18 programming example (c) the following program fragment in c language illustrates the foregoing: const base_address 0x300; outportb(base_address +3, 0x89); /*this instruction sets the mode to mode 0, ports a and b as output, and port c as input. Since bit d7 is high, the output...

  • Page 19

    Manual pci-dio-24dh 19 enabling/disabling i/o buffers when using the tristate mode (jumper in the tst position), the method to disable the i/o buffers involved writing a control word to the control register at base address +3. This control word was required to have bit d7 (the most significant bit) ...

  • Page 20

    Manual pci-dio-24dh 20 chapter 7: 8254 counter/timer these cards have the option of one, two, or three 82c54 counter(s) that each include three 16-bit counter/timers factory configured in an optimal module for use as event counters, frequency output, pulse width, and frequency measurement (see block...

  • Page 21

    Manual pci-dio-24dh 21 counter/timer registers base + 10 write/read: counter#a0 when writing, this register is used to load a count value into the counter. The transfer is either a single or double byte transfer, depending on the control byte written to the counter control register at base address +...

  • Page 22

    Manual pci-dio-24dh 22 programming the 8254 the counters are programmed by writing a control byte into the counter control register. Refer to the previous register map for the base addresses of the counters and the counter control register. The control byte specifies the counter to be programmed, th...

  • Page 23

    Manual pci-dio-24dh 23 reading and loading the counters if you attempt to read the counters on the fly when there is a high input frequency, you will most likely get erroneous data. This is partly caused by carries rippling through the counter during the read operation. Also, the low and high bytes ...

  • Page 24

    Manual pci-dio-24dh 24 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 contents of its hold register must be read before any subsequent latches of that counter will have any effect. If a status latch command ...

  • Page 25

    Manual pci-dio-24dh 25 pulse width the pulse width function will measure the width of an applied 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. Softwar...

  • Page 26

    Manual pci-dio-24dh 26 chapter 8: connector pin assignments the h card has a 50-pin connector provided on the back plate of these cards for i/o connections. The mating connector is an amp type 1-746285-0 or equivalent. Connector pin assignments are listed below. Assignment pin assignment pin pc7 1 c...

  • Page 27

    Manual pci-dio-24dh 27 the d card has a 37-pin male d-sub connector provided on the back plate of these cards for i/o connections. If all three counters are present, pin 20 is counter c2's frequency output. Otherwise, pin 20 is fused +5v power. Assignment pin assignment pin ground 1 c2 freq out / fu...

  • Page 28: Customer Comments

    Manual pci-dio-24dh 28 customer comments if you experience any problems with this manual or just want to give us some feedback, please email us at: manuals@accesio.Com. Please detail any errors you find and include your mailing address so that we can send you any manual updates. 10623 roselle street...