Advertisement

Quick Links

Acces 104-DIO-48E User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Acces 104-DIO-48E

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
  • Page 2 10623 Roselle Street, San Diego, CA 92121 (858) 550-9559 Fax (858) 550-7322 contactus@accesio.com www.accesio.com MODEL 104-DIO-48E and 104-DIO-24E USER MANUAL FILE: M104-DIO-48E.A1n...
  • Page 3 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 copyrights or patents and does not convey any license under the patent rights of ACCES, nor the rights of others.
  • Page 4 Under this Warranty, liability of ACCES is limited to replacing, repairing or issuing credit (at ACCES discretion) for any products which are proved to be defective during the warranty period. In no case is ACCES liable for consequential or special damage arriving from use or misuse of our product. The customer is responsible for all charges caused by modifications or additions to ACCES equipment not approved in writing by ACCES or, if in ACCES opinion the equipment has been subjected to abnormal use.
  • Page 5: Table Of Contents

    Reading and Loading the Counters ......................23 8254 Driver ..............................25 Enabling the Counter/Timer .......................... 26 Chapter 7: Connector Pin Assignments ................27 Table 7-1: Digital I/O (P3 and P4) Connector Pin Assignments ..............27 Table 7-2: Counter/Timer (82C54) Connector Pin Assignments ..............28 Manual 104-DIO-48E, 24E...
  • Page 6: Chapter 1: Introduction

    PPI. Further, a jumper on the board allows the tristate buffers to be enabled or disabled under program control. (See the Option Selection section to follow.) Manual 104-DIO-48E, 24E...
  • Page 7: Specification

    Type: 82C54 programmable interval counters • Output Drive: 8mA. • Input Gate: TTL/CMOS compatible. • Clock Output: 1MHz crystal-controlled oscillator. • Active Count Edge: Negative edge. • Timer Range: 16 bits event counter, 32 bits rate generator. Manual 104-DIO-48E, 24E...
  • Page 8 GROUP PORT C HI PORT C LO DI/O INTERRUPT INTERRUPT LEVEL SELECT ENABLE 1MHz XTAL 16-BIT 16-BIT 16-BIT COUNTER COUNTER COUNTER COUNTER 0 COUNTER 2 CLOCK INPUT CLOCK OUTPUT COUNTER 1 GATE INPUT Figure 1-1: Block Diagram Manual 104-DIO-48E, 24E...
  • Page 9: Chapter 2: Installation

    START | RUN and type , click OK or press Follow the on-screen prompts to install the software for this board. LINUX Please refer to linux.htm on the CD-ROM for information on installing serial ports under linux. Manual 104-DIO-48E, 24E...
  • Page 10 Check that all connections in your PC/104 stack are correct and secure then power up the system. Run one of the provided sample programs appropriate for your operating system that was installed from the CD to test and validate your installation. Figure 2-1: PC/104 Key Information Manual 104-DIO-48E, 24E...
  • Page 11: Chapter 3: Option Selection

    Counter/Timer, write any value to base address + Dh. After programming the counters, read base address + Dh to ‘map out’ the counters and re-enable access to the DIO. This trick halves the I/O space required by the board. Manual 104-DIO-48E, 24E...
  • Page 12 Pin 1 IRQ 3 IRQ 4 IRQ 5 IRQ 7 IRQ 10 IRQ 11 IRQ 12 Pin 1 Pin 1 Figure 3-1: Option Selection Map Manual 104-DIO-48E, 24E...
  • Page 13: Chapter 4: Address Selection

    Address Setup jumpers. These jumpers are marked A4-A9 and form a binary representation of the address in negative-true logic. (assign '0' to all Address Setup jumpers placed ON the posts, and assign '1' to all Address Setup jumpers left OFF.) Manual 104-DIO-48E, 24E...
  • Page 14 230h - 23Fh 220h - 22Fh 210h - 21Fh 200h - 20Fh Table 4-2: Base Address Table To set the base address of the board, install the jumpers “ON” the posts for that address according to the table. Manual 104-DIO-48E, 24E...
  • Page 15 Carefully review the address selection reference table on the previous page before selecting the board address. If the addresses of two circuits overlap you will experience unpredictable computer behavior. Note that address ranges 100h-10Fh through 1F0h-1FFh can be selected with the jumpers for A8 off and A9 on. Manual 104-DIO-48E, 24E...
  • Page 16: Chapter 5: Programming

    Base Address +B Disable Interrupt Read Base Address +C Base Address +D Enable Counter/Timer Addressing Write Base Address +D Disable Counter/Timer Addressing Read Base Address +E Base Address +F Clear Interrupt Read/Write Table 5-1: Address Selection Table Manual 104-DIO-48E, 24E...
  • Page 17: Digital I/O

    Group 0 ports A, B, and C. If, for example, hex 80 is sent to Base Address +3, the Group 0 PPI will be configured in mode 0 with Ports A, B, and C as outputs. Manual 104-DIO-48E, 24E...
  • Page 18 See item c. above.*/ outportb(BASE_ADDRESS +3, 0x09); /*Enable the tristate output buffers by using the same control byte used to configure the PPI, but now set bit D7 low. See item d. above.*/ Manual 104-DIO-48E, 24E...
  • Page 19: Programming Example (Basic)

    "zero" state. For example, if all the outputs were 1's, they will now be 0's and the output buffers will be disabled. This problem can be resolved as follows. Manual 104-DIO-48E, 24E...
  • Page 20: Counter/Timer

    PPI 0 while the counter/timer continues to generate the frequency. The counter/timer has a variety of uses: event counting, frequency measurement, frequency generation. See the 8254 Counter/Timer chapter for details on how to use it. Manual 104-DIO-48E, 24E...
  • Page 21: Sharing Interrupts On The Isa Bus

    (or more) report generating an interrupt even though only one interrupt was processed by the CPU. The interrupt driver circuit on the board will drive the selected IRQ line for approximately 500nS and then tri- state. Manual 104-DIO-48E, 24E...
  • Page 22: Chapter 6: 8254 Counter/Timer

    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. Manual 104-DIO-48E, 24E...
  • Page 23 * See section on Reading and Loading the Counters. RW0-RW1: These bits select the read/write mode of the selected counter. Counter Read/Write Function Counter Latch Command Read/Write LS Byte Read/Write MS Byte Read/Write LS Byte, then MS Byte Manual 104-DIO-48E, 24E...
  • Page 24: Reading And Loading The Counters

    C2 through C0 are latched simultaneously. When STA=0, the counter status byte is read when the counter I/O location is accessed. The counter status byte provides information about the current output state of the selected counter and its configuration. Manual 104-DIO-48E, 24E...
  • Page 25 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 is issued before the hold register is read, then the first read will read the status, not the latched value. Manual 104-DIO-48E, 24E...
  • Page 26: 8254 Driver

    GATE IN pin of the board (P1 pin 7). Software latency will be affected by the operating system and will set a limit on the precision of the measurement. unsigned pulse_width(unsigned BaseAddress); Manual 104-DIO-48E, 24E...
  • Page 27: Enabling The Counter/Timer

    (for example) map in the counter/timer, set it to generate a particular frequency, then map it out and use PPI 0 while the counter/timer continues to generate the frequency. Manual 104-DIO-48E, 24E...
  • Page 28: Chapter 7: Connector Pin Assignments

    Connector pin assignments are listed below. Notice that every second line is grounded to minimize crosstalk between signals. Table 7-1: Digital I/O (P3 and P4) Connector Pin Assignments Assignment Assignment Port C Hi Port C Lo All Even Numbered Pins are Port B GROUND Port A +5 VDC Manual 104-DIO-48E, 24E...
  • Page 29 Table 7-2: Counter/Timer (82C54) Connector Pin Assignments Assignment Ground Ground 1MHz Clock output Ground Clock 0 a.k.a. CLOCK IN (events) input Ground Gate 1 a.k.a. GATE IN input Ground Output 2 a.k.a. CLOCK OUT Ground Manual 104-DIO-48E, 24E...
  • Page 30 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, San Diego CA 92121 Tel. (858)550-9559 FAX (858)550-7322 www.accesio.com Manual 104-DIO-48E, 24E...
  • Page 31 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...

This manual is also suitable for:

104-dio-24e

Table of Contents