background image

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. 

Outputs are latched. 

 

d. 

Inputs are not latched. 

  
The PPI contains a Control Register. This write-only, 8-bit register is used to set the mode and direction of 
the ports. At Power-Up or Reset, all I/O lines are set as inputs. The PPI should be configured during 
initialization by writing to the Control Registers even if the ports are only going to be used as inputs. 
Output buffers are automatically set by hardware according to the Control Register states. Note that 
Control Register is located at base a3 and bit assignments are as follows: 
 

 Bit

 

Assignment

 

Code

 

  D0 

Port C Lo (C0-C3) 

1=Input, 0=Output 

  D1 

Port B 

1=Input, 0=Output 

  D2 

Mode Select 

1=Mode 1, 0=Mode 0 

  D3 

Port C Hi (C4-C7) 

1=Input, 0=Output 

  D4 

Port A 

1=Input, 0=Output 

D5,D6 

Mode Select 

00=Mode 0, 01=Mode 1, 1X=Mode 2 

    D7 

Mode Set Flag 

1=Active 

 

Table 6-2: 

Control Register Bit Assignment 

 

Note

 

Mode 1 cannot be used by these cards without modification (Consult factory.). Thus, bits D2, D5, and D6 
should always be set to "0". If your card has been modified for use in Mode 1, then there will be an 
Addenda sheet in the front of this manual. These cards cannot be used 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 under program control. If the 
TST/BEN jumper on the card is installed in the BEN position, the I/O buffers are permanently enabled. 
However, if that jumper is in the TST position, enable/disable of the buffers is software controlled via the 
control register as follows: 
  
 

a. 

The card is initialized in the input mode by the computer reset command. 

 

b. 

When bit D7 of the Control Register is set high, direction of the three groups of the 
associated PPI chip as well as the mode can be set. For example, a write to Base 
A3 with data bit D7 high programs port direction at 0 ports A, B, and C. If, for 
example, hex 80 is sent to Base A3, the Port 0 PPI will be configured in mode 0 
with Groups A, B, and C as outputs. 

  
At the same time, data bit D7 is also latched in a buffer controller for the associated PPI chip. A high state 
disables the buffers and, thus, all four buffers will be put in the tristate mode; i.e. disabled. 
  

Summary of Contents for 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: ...S 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 2001 2005 by ACCES I O Products Inc 10623 Rosell...

Page 3: ...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...

Page 4: ...ction Map version D 12 Figure 3 2 Option Selection Map version H 12 Chapter 4 Address Selection 13 Chapter 5 Software 14 Chapter 6 Programming 15 Table 6 1 Address Assignment Table 15 Table 6 2 Contro...

Page 5: ...while I O connections to the H are via a 50 pin connector The cards are 4 8 inches long and may be installed in any 5V PCI bus slot in IBM and compatible personal computers These cards provide 24 bit...

Page 6: ...3 of Port C if the IRQD jumper is installed and the INTSEL0 jumper is installed in the INT position When bit C3 goes high edge triggering an interrupt is requested For the H model card a rising edge...

Page 7: ...MHz crystal controlled oscillator Active Count Edge Negative edge falling edge Min Clock Pulse Width 30 ns high 40 ns low Timer Range 16 bits x3 per i8254 Power Output Resettable 0 5A fused 5 VDC from...

Page 8: ...Manual PCI DIO 24DH 8 Figure 1 1 Card D or H Block Diagram...

Page 9: ...for usage of the various card options CD Software Installation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessar...

Page 10: ...nding on the operating system and automatically finish installing the drivers 9 Run PCIfind exe to complete installing the card into the registry for Windows only and to determine the assigned resourc...

Page 11: ...er must be installed in EITHER the TST or the BEN position for the card to function Interrupt Mode Jumpers Place the Interrupt Select 0 jumper in the INT position to select the Digital I O interrupt p...

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: ...cards and the respective IRQs if any allotted Alternatively some operating systems Windows95 98 2000 can be queried to determine which resources were assigned In these operating systems you can use ei...

Page 14: ...tory as a tool for you to use in configuring jumpers on the card It is menu driven and provides pictures of the card on the computer monitor You make simple keystrokes to select functions The picture...

Page 15: ...up 0 Read Write Base Address 2 PC Group 0 Read Write Base Address 3 Control byte Write Only Base Address 4 Unused Base Address 5 Unused Base Address 6 Unused Base Address 7 Unused Base Address 8 Unuse...

Page 16: ...0 If your card has been modified for use in Mode 1 then there will be an Addenda sheet in the front of this manual These cards cannot be used in PPI Mode 2 because of byte nibble wide buffering Note...

Page 17: ...oller is addressed If for example a control byte of hex 80 has been sent as previously described and the data to be output are correct and it is now desired to open the three groups then it is necessa...

Page 18: ...in BASIC is provided as a guide to assist you in developing your working software In this example the card base address is 2D0 hex and the I O lines of group 0 are to be setup as follows Port A Input...

Page 19: ...te to the card while the TST jumper is installed the PPI output buffers are disabled Thus when you desire to to change the mode you must first set the new mode and then enable the buffers Enabling the...

Page 20: ...ount and starting the cycle over If a trigger occurs before the counter decrements to zero a new count is loaded This forms a retriggerable one shot In mode 1 a low output pulse is provided with a per...

Page 21: ...e Read Counter A1 See description for Base 10 Write Read Base 12 Write Read Counter A2 See description for Base 10 Write Read Base 13 Write Counter Control Register The control byte specifies the coun...

Page 22: ...1 M0 BCD SC0 SC1 These bits select the counter that the control byte is destined for SC1 SC0 Function 0 0 Program Counter 0 0 1 Program Counter 1 1 0 Program Counter 2 1 1 Read Write Cmd See section o...

Page 23: ...is most generally used and is selected for each counter by setting the RW1 and RW0 bits to ones Subsequent read load operations must be performed in pairs in this sequence or the sequencing flip flop...

Page 24: ...ditional parameter that identifies which features should be implemented on this call to the function Each feature can be identified by its unique integer value Multiple features can be run in a single...

Page 25: ...s 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 Software latency will be affected...

Page 26: ...I Gate 4 PC5 5 Counter A2 Freq Out 6 Port C Hi PC4 7 Counter B0 Freq in 8 PC3 9 Ctr B1 P W I Gate 10 PC2 11 Counter B2 Freq Out 12 PC1 13 Counter C0 Freq In 14 Port C Lo PC0 15 Ctr C1 P W I Gate 16 P...

Page 27: ...rt C 7 Hi 3 Port B 7 22 Port C 6 Hi 4 Port B 6 23 Port C 5 Hi 5 Port B 5 24 Port C 4 Hi 6 Port B 4 25 Port C 3 Lo 7 Port B 3 26 Port C 2 Lo 8 Port B 2 27 Port C 1 Lo 9 Port B 1 28 Port C 0 Lo 10 Port...

Page 28: ...anual 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 R...

Reviews: