background image

Manual USB-DIO24-CTR6 

18 

 Appendix A: 8254 Counter/Timer

 

  

These boards ship standard with two 82C54 counter(s) that each include three 16-bit 
counter/timers. Each counter can be programmed to any count as low as 1 or 2, and up to 
65,536, depending on the mode chosen. For those interested in more detailed information, a 
full description can be found in the Intel (or equivalent manufacturer's) data sheet, provided 
in the /chipdocs directory on the Software Master CD.  
  
Refer to Chapter 5: Programming, and the .html Driver Manual document installed by the 
Software Master CD for information on using the installed software driver for this board. The 
following data is provided only for reference, as it is unlikely to be needed when using the 
provided driver. Please note the block diagram description of how the 9 pins associated with 
8254 counters are all independently brought to the I/O connector on this board. 

 

Operational Modes

 

  

The 8254 modes of operation are described in the following paragraphs to familiarize you 
with the versatility and power of this device. For those interested in more detailed 
information, a full description of the 8254 programmable interval timer can be found in the 
Intel (or equivalent manufacturers') data sheets. The following conventions apply for use in 
describing operation of the 8254 :  
  
 

Clock:   

 

A positive pulse into the counter's clock input 

 

Trigger: 

 

A rising edge input to the counter's gate input 

 

Counter Loading: 

Programming a binary count into the counter 

 

Mode 0: Pulse on Terminal Count

 

After the counter is loaded, the output is set low and will remain low until the counter 
decrements to zero. The output then goes high and remains high until a new count is loaded 
into the counter. A trigger enables the counter to start decrementing.  

 

Mode 1: Retriggerable One-Shot

 

The output goes low on the clock pulse following a trigger to begin the one-shot pulse and 
goes high when the counter reaches zero. Additional triggers result in reloading the count 
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 period equal to the counter count-down time. 

 

Mode 2: Rate Generator

 

This mode provides a divide-by-N capability where N is the count loaded into the counter. 
When triggered, the counter output goes low for one clock period after N counts, reloads the 
initial count, and the cycle starts over. This mode is periodic, the same sequence is 
repeated indefinitely until the gate input is brought low. This mode also works well as an 
alternative to mode 0 for event counting. 

 

Summary of Contents for USB-DIO-24

Page 1: ...iego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL USB DIO24 CTR6 and MODEL USB DIO 24 24 Channel Digital I O Module with two 82C54 Counter Timer Chips USER MANUAL...

Page 2: ...ot convey any license under the patent rights of ACCES nor the rights of others Printed in USA Copyright by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 1506 All rights reserved WARN...

Page 3: ...r 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: ...apter 2 Installation 11 Software CD Installation 11 Windows 11 Linux 11 Hardware Installation 11 Chapter 3 Hardware Details 12 Option Selections 12 Figure 3 1 Option Selection Map 12 Figure 3 2 UTBK 5...

Page 5: ...configurable as pull up pull down or no bias Powered via USB cable optional external power supply for sourcing higher total current Vccio at connector for general purpose use protected by polyfuse Sta...

Page 6: ...d two 4 bit ports Port CLo Port CHi Each port can be configured independently via onboard jumpers for pull up pull down or no bias Each port can also be configured independently via software command f...

Page 7: ...Manual USB DIO24 CTR6 7 Figure 1 1 Block Diagram...

Page 8: ...Contact factory with your special requirement Examples of special orders would be conformal coating latching I O headers and or single 8254 installed etc Customization and Special Functions Due to the...

Page 9: ...ard STB 50 Screw terminal board typically ships with standoffs but can also mount on SNAP TRACK or DIN SNAP STB 50U Kit Spring cage terminal board with PC 104 compatible mounting mounts on enclosure o...

Page 10: ...Manual USB DIO24 CTR6 10 Figure 1 2 USB DIO24 CTR6 Enclosure Label Figure 1 3 USB DIO 24 Enclosure Label...

Page 11: ...your CD ROM drive b The install program automatically run If the install program does not run click START RUN and type click OK or press c Follow the on screen prompts to install the software for this...

Page 12: ...ption Selections Refer to the settings program on the CD provided with the board Also refer to the Block Diagram and the Option Selection Map when reading this section of the manual Figure 3 1 Option...

Page 13: ...ap for a visual reference 50 Pin Box Header The 50 pin box header has standard 0 100 spacing between pins and is keyed to prevent improper connections It can be used with standard IDC type ribbon cabl...

Page 14: ...rently installed and each device s type This information is returned as a Vendor ID VID Product ID PID and Device Index The board s VID is 0x1605 The PID for the USB DIO24 CTR6 is 0x8006 The PID for t...

Page 15: ...es a wide variety of functions for your use The following functions represent those most commonly used for this device For more details consult the USB Software Reference Manual pdf or the linux doc t...

Page 16: ...N C 11 PC2 12 IPC1GATE 12 N C 13 PC1 14 OPC1OUT 14 N C 15 PC0 16 GROUND 16 GROUND 17 PB7 18 IPC2CLK 18 N C 19 PB6 20 IPC2GATE 20 N C 21 PB5 22 OPC2OUT 22 N C 23 PB4 24 GROUND 24 GROUND 25 PB3 26 IPC3C...

Page 17: ...s Type USB2 0 high speed 480 Mb s USB3 0 and USB1 1 compatible Power Basic unit 140 mA typical no load 5 VDC from the USB bus or external power supply depending on user configuration The USB bus is sp...

Page 18: ...turers data sheets The following conventions apply for use in describing operation of the 8254 Clock A positive pulse into the counter s clock input Trigger A rising edge input to the counter s gate i...

Page 19: ...l loaded count then reloads and decrements by two for the second part of the wave form Mode 4 Software Triggered Strobe This mode sets the output high and when the count is loaded the counter begins t...

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

Reviews: