background image

Manual PCIe-DIO-24HC PCI Express Digital I/O w/CTR 

Chapter 1: Introduction 

 
The PCIe-DIO-24HC is a x1 lane PCI Express (PCIe) board designed for use in a 
variety of Digital I/O (DIO) applications. It uses the high speed PCIe bus to transfer 
digital data to and from the board. The board includes a single 8255 chip and three 
82C54 Counter/Timers making it easy to program. This also allows for simple 
migration from older ACCES’ PCI-based DIO boards. IRQ capabilities relieve software 
from constant polling routines that consume valuable processing time. Lastly, the x1 
lane PCIe connector is very flexible and can be inserted into any x1, x4, x8, x16, or 
x32 PCIe slots.

 

Features

 

 

24 high-current DIO lines 

 

Three 82C54 Counter/Timers 

 

IRQ generation from Port C bit 3, an external source & Counter A2, configurable 
for edge-(rising/falling) and/or level-triggered (high/low) 

 

DIO lines buffered 

 

Four and eight bit ports independently selectable for inputs or outputs 

 

Jumper selectable 10k ohm Pull-up/Pull-down resistors on DIO lines 

 

Jumper selectable VCCIO (5V, 3.3V) 

 

VCCIO voltage available to the user via 0.5A resettable fuse 

 

Latching 50 pin male header on card mounting bracket for secure cable retention 

Applications

 

●  Automatic Test Systems 
●  Laboratory Automation 
●  Robotics 
●  Machine Control 
●  Security Systems, Energy Management 
●  Relay Monitoring and Control 
●  Parallel Data Transfer to PC 
●  Sensing Switch Closures or TTL, DTL, CMOS Logic 
●  Driving Indicator Lights or Recorders 

 

Functional Description 

This product is a x1 lane PCIe DIO board with basic DIO, Counter/Timers and interrupt 
generation capabilities.  The card uses an 8255 compatible chip, providing 24 DIO 
lines.  The DIO lines are grouped into three 8-bit ports: A, B, and C. Each 8-bit port is 
configured via software to function as either inputs or outputs. Port C is further broken 
into two 4-bit nybbles via software, configured as either inputs or outputs. 
 
Each DIO line is buffered and capable of up to 32mA source/sink.  The VCCIO logic 
level is globally configured via jumper selection as 5V or 3.3V.  Also, ports A, B, C low 
nybble, and C high nybble are individually jumper configurable as pull-up or pull-down 
through 10kΩ resistor networks. 
 

Summary of Contents for PCIe-DIO-24HC

Page 1: ...File PCIe DIO 24HC A1 10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL PCIe DIO 24HC Digital I O Card USER MANUAL ...

Page 2: ...patent rights of ACCES nor the rights of others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD ...

Page 3: ...arge for labor or parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired ac...

Page 4: ... Installer 8 Installing from CD 8 Hardware Installation 9 Chapter 3 Hardware Details 10 Figure 3 1 Option Selection Map 10 Buffer Mode Jumper 11 Buffer VCCIO 11 Interrupt Mode Jumpers 11 Chapter 4 Address Selection 12 Chapter 5 Programming 13 Table 5 1 Address Assignment Table 13 8255 13 Table 5 2 Control Register Bit Assignment 14 8254 Counter Timer 15 Operational Modes 15 Chapter 6 Connector Pin...

Page 5: ...l down resistors on DIO lines Jumper selectable VCCIO 5V 3 3V VCCIO voltage available to the user via 0 5A resettable fuse Latching 50 pin male header on card mounting bracket for secure cable retention Applications Automatic Test Systems Laboratory Automation Robotics Machine Control Security Systems Energy Management Relay Monitoring and Control Parallel Data Transfer to PC Sensing Switch Closur...

Page 6: ...in connection provides compatibility with OPTO 22 Gordos Potter Brumfield and Western Reserve Controls module mounting racks Fused VCCIO 5V or 3 3V via jumper selection power is available on the I O connector at pin 49 The on board fuse is rated at 0 5A at room temperature and can be reset by cycling computer power or by removing the load The card can generate an interrupt to the computer on bit 3...

Page 7: ...wing components are included with your shipment Please take time now to ensure that no items are damaged or missing DIO Board Packing Slip Optional Accessories CAB50F 6 CAB50 6 STB 120CH ROB 24 1781 A24A 6 Foot Female to Female Ribbon Cable Assembly 6 Foot Female to Edge Card Ribbon Cable Assembly Screw terminal boards installed in T BOX 24 Electromechanic al Relays Board Solid State Module Mounti...

Page 8: ...ease visit http github com accesio for information on installing under Linux Installing from CD Perform the following steps as appropriate for your operating system Substitute the appropriate drive letter for your drive where you see D in the examples below Windows 1 Place the CD into your CD ROM drive 2 The system should automatically run the install program If the install program does not run pr...

Page 9: ...ove the blank back plate for an available PCIe slot Carefully plug the card into the PCI Express expansion slot 5 Inspect for proper fit of the card and tighten the bracket screw Make sure that the card mounting bracket is properly screwed into place and that there is a positive chassis ground 6 Replace the computer cover and turn ON the computer which should auto detect the card depending on the ...

Page 10: ...O w CTR Chapter 3 Hardware Details Refer to the settings programs installed with the software package for the card Also refer to the Block Diagram and the Option Selection Map when reading this section of the manual Figure 3 1 Option Selection Map ...

Page 11: ... function Buffer VCCIO VCCIO signaling levels are globally configured via jumper selection Refer to the specifications chapter for signal levels for each possible selection Interrupt Mode Jumpers Place the Interrupt Select 0 jumper in the INT position to select the Digital I O interrupt port C bit 3 Place the Interrupt Select 0 jumper in the EXT position to select the External Input interrupt Inst...

Page 12: ...d EXE utility program provided This utility will display a list of all of the cards detected on the PCI Express bus the addresses assigned to each function on each of the cards and the respective IRQs Alternatively some operating systems can be queried to determine which resources were assigned In these operating systems you can use either AIOWDMFind Windows 7 or later PCIFind or the Device Manage...

Page 13: ...pts Write Only Base Address E Enable Interrupts Write Only Base Address F Clear Interrupt latch Write Only Base Address 10 Counter Timer A0 Read Write Base Address 11 Counter Timer A1 Read Write Base Address 12 Counter Timer A2 Read Write Base Address 13 Counter Timer A Control Read Write Base Address 14 Counter Timer B0 Read Write Base Address 15 Counter Timer B1 Read Write Base Address 16 Counte...

Page 14: ...sed in PPI Mode 2 because of byte nibble wide buffering Note In Mode 0 do not use the control register byte for the individual bit control feature The hardware uses the I O bits to control buffer direction on this card The control register should only be used for setting up input and output of the ports and enabling the buffer These cards provide a means to enable disable the tristate I O buffers ...

Page 15: ...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 Diagram Each counter can be programmed to any count as low as 1 or 2 and up to 65 535 depending on the mode chosen For those interested in more detailed ...

Page 16: ...a symmetrical square wave If the count is odd then the output is high for N 1 2 counts and low for N 1 2 counts Periodic triggering or frequency synthesis are two possible applications for this mode Note that in this mode to achieve the square wave the counter decrements by two for the total loaded count then reloads and decrements by two for the second part of the wave form Mode 4 Software Trigge...

Page 17: ...binary format depending on the mode chosen 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 the counter mode the type of read write operation and the modulus The control byte fo...

Page 18: ...e of operating simultaneously on several counters is through a readback command to be discussed later A subsequent read operation on the selected counter returns the held value Latching is the best way to read a counter on the fly without disturbing the counting process You can only rely on directly read counter data if the counting process is suspended while reading by bringing the gate low For e...

Page 19: ... The exact time of load depends on the configuration selected Until the count is loaded into the counter it cannot be read RW1 RW0 Read Write command M2 M1 M0 Counter mode BCD BCD 0 is binary mode otherwise counter is in BCD mode If both STA and CNT bits in the readback command byte are set low and the RW1 and RW0 bits have both been previously set high in the counter control register thus selecti...

Page 20: ...ter A0 Input PC6 3 4 Counter A1 Gate Input PC5 5 6 Counter A2 Frequency Out PC4 7 8 Counter B0 Input Port C Lo PC3 9 10 Counter B1 Gate Input PC2 11 12 Counter B2 Frequency Out PC1 13 14 Counter C0 Input PC0 15 16 Counter C1 Gate Input Port B PB7 17 18 Counter C2 Frequency Out PB6 19 20 Digital Interrupt Disable PB5 21 22 External Interrupt Source PB4 23 24 Even pins 24 50 are all Ground PB3 25 26...

Page 21: ...uA Low Outputs 0 55V 32mA High Outputs 3 8V 32mA Logic Levels 3 3V Low Inputs 0 8V 2uA High Inputs 2 0V 2uA Low Outputs 0 55V 24mA High Outputs 2 4V 24mA Counter Timers Number Type Three 82C54 programmable counters Counter size 16 bit Logic level VCCIO On board clock 1MHz Clock Pulse Width See 82C54A datasheet Environmental Operating Temp 0 to 70 C optional 40 to 85 C Storage Temp 55 to 150 C Humi...

Page 22: ...blems 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 San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com ...

Reviews: