Advertisement

Quick Links

DIO48S/AT-P Series
Product Manual
MANUAL NUMBER : 00650-526-1B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIO48S/AT-P Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ICS DIO48S/AT-P Series

  • Page 1 DIO48S/AT-P Series Product Manual MANUAL NUMBER : 00650-526-1B...
  • Page 2 Support Library. Thank you. The information in this document is provided for reference only. ICS Advent does not assume any liability arising from 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 ICS Advent, nor the rights of others.
  • Page 3 This page intentionally left blank Page - iv...
  • Page 4 The limited warranty is void if the product has been subjected to alteration, neglect, misuse, or abuse; if any repairs have been attempted by anyone other than ICS Advent or its authorized agent; or if the failure is caused by accident, acts of God, or other causes beyond the control of ICS Advent or the manufacturer.
  • Page 5 Limitation of Liability In no event shall ICS Advent be liable for any defect in hardware, software, loss, or inadequacy of data of any kind, or for any direct, indirect, incidental, or consequential damages in connection with or arising out of the performance or use of any product furnished hereunder.
  • Page 6 Use caution when servicing any electrical component. We have tried to identify the areas which may pose a Caution or Warning condition in this manual; however, ICS Advent does not claim to have covered all situations which might require the use of a Caution or Warning.
  • Page 7 This page intentionally left blank Page - viii...
  • Page 8: Table Of Contents

    Table of Contents Chapter 1: Introduction ..........1-1 Description .
  • Page 9 List of Figures Figure 1-1: DIO48S/AT-P Block Diagram ........1-4 Figure 3-1: DIO48S/AT-P Option Selection Map .
  • Page 10: Chapter 1: Introduction

    Chapter 1: Introduction Features • 48 Bits of Digital Input/Output. • Interrupt Generation on Input Change of State. • Change-of-state Interrupt Software Enabled in Six 8-Input Ports. • All 48 I/O Lines Buffered on the Board. • I/O Buffers Can Be Enabled/Disabled under Program Control. •...
  • Page 11 DIO48S/AT-P Manual Also, bit C3 at each 24-bit port can be used as an external interrupt to the computer if jumpers are installed. When bit C3 goes high (edge triggering), an interrupt is requested. Interrupts from the ports are OR'ed together and OR'ed with the change-of-state interrupt. Interrupts are directed to levels #2 through #7, #10 through #12, #14 and #15 by jumper installation.
  • Page 12: Specification

    Specification Digital Inputs (TTL Compatible) • Logic High: 2.0 to 5.0 VDC. • Logic Low: -0.5 to +0.8 VDC. • Input Load (Hi): 20 uA. • Input Load (Lo): -200 uA. Digital Outputs • Logic High: 2.5 VDC min., source 15 mA. •...
  • Page 13: Figure 1-1: Dio48S/At-P Block Diagram

    DIO48S/AT-P Manual Figure 1-1: DIO48S/AT-P Block Diagram Page 1-4 Manual 00650-526-1...
  • Page 14: Cd Installation

    Chapter 2: Installation The software provided with this card is contained on either one CD or multiple diskettes and must be installed onto your hard disk prior to use. To do this, perform the following steps as appropriate for your software format and operating system. Substitute the appropriate drive letter for your CD-ROM or disk drive where you see d: or a: respectively in the examples below.
  • Page 15: Directories Created On The Hard Disk

    DIO48S/AT-P Manual To copy the files on the master diskette to your hard disk, perform the following steps. Place the master diskette into a floppy drive. Change the active drive to the drive that has the diskette installed. For example, if the diskette is in drive A, type a:K.
  • Page 16 SAMPLES Samples for using ACCES32.DLL are provided in this directory. Using this DLL not only makes the hardware programming easier (MUCH easier), but also one source file can be used for both Windows 95/98 and WindowsNT. One executable can run under both operating systems and still have full access to the hardware registers.
  • Page 17: Installing The Card

    DIO48S/AT-P Manual Findbase.exe DOS utility to determine an available base address for ISA bus , non-Plug-n-Play cards. Run this program once, before the hardware is installed in the computer, to determine an available address to give the card. Once the address has been determined, run the setup program provided with the hardware to see instructions on setting the address switch and various option selections.
  • Page 18 Input/Output connections are via two 50-pin headers on the card. A blank mounting bracket is provided with units that are marked for CE (European) Certification and for these units CE-certifiable cable and break-out methodology (cables connect to chassis ground at the aperture, shielded twisted pair wiring, etc.) must be used.
  • Page 19: Chapter 3: Option Selection

    Chapter 3: Option Selection Refer to the setup programs provided with the card. Also, refer to the Block Diagram on Page 1-4 and the Option Selection Map on the following page when reading this section of the manual. External Interrupts are accepted on the I/O connector pin 9 (bit C3). The Interrupt signal is positive true.
  • Page 20: Figure 3-1: Dio48S/At-P Option Selection Map

    DIO48S/AT-P Manual Figure 3-1: DIO48S/AT-P Option Selection Map Page 3-2 Manual 00650-526-1...
  • Page 21: Chapter 4: Address Selection

    Chapter 4: Address Selection The DIO48S/AT-P card occupies 16 bytes of I/O space. The card base address can be selected anywhere within the I/O address range 100-3F0 hex in AT's (except 1F0 to 1F8) and 200-3F0 in XT's. If in doubt where to assign the base address, refer to the following tables and the FINDBASE program to find an available address for your system.
  • Page 22 DIO48S/AT-P Manual To set desired board address , refer to the illustrated Board Address setup program on the CD provided with the card. Type the desired address in hexadecimal code and the graphic display shows you how to set the Address Setup switches. These switches are marked A4-A9 and form a binary representation of the address in negative-true logic.
  • Page 23: Chapter 5: Software

    Chapter 5: Software ICS Advent supplies programs to support the DIO48S/AT-P Digital I/O card and, also, to help you develop your applications software. These programs are on CD that comes with your card and are as follows: SETUP This is a menu-driven, pictorial program to help you set the card address, interrupt level, change-of-state interrupt, and high level interrupt enable.
  • Page 24: Chapter 6: Programming

    Chapter 6: Programming The DIO48S/AT-P is an I/O-mapped device that is 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 ports would be in absolute port addressing.
  • Page 25: Table 6-2: Control Register Bit Assignment

    DIO48S/AT-P Manual Each 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. Each PPI should be configured during initialization by writing to the Control Registers even if the ports are only going to be used as inputs.
  • Page 26 The card is initialized in the receive mode by the computer reset command. When bit D7 of the Control Register is set high, direction of the three ports of the associated PPI chip as well as the mode can be set. For example, a write to Base Address +3 with data bit D7 high programs port direction at Group 0 ports A, B, and C.
  • Page 27: Programming Example (Basic)

    DIO48S/AT-P Manual Programming Example (Basic) The following example 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 Port C Hi = Input...
  • Page 28: Enabling/ Disabling I/O Buffers

    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 and Base Address +7. This control word was required to have bit D7 (the most significant bit) set. That meant that the PPI translated it as an "active mode set"...
  • Page 29: Change-Of-State Interrupts

    DIO48S/AT-P Manual Change-of-state Interrupts At power-up or Reset, a register that enables change-of-state interrupts is set to zero. This enables all inputs to generate change-of-state interrupts. During initialization this register should be programmed to prevent interrupt generation by inputs that you do not want to cause change-of-state interrupts or by ports that are programmed as outputs.
  • Page 30: Sharing Interrupts On The Isa Bus

    Sharing Interrupts on the ISA Bus As noted on page 1-1, DIO48S/AT-P can facilitate an external interrupt via bit C3 at each 24-bit port. (The external interrupt is OR'ed with the change-of-state interrupt.) On occasion, however, a system application will require more interrupt levels than are available on the ISA bus. While this is not recommended, IRQ sharing is possible.
  • Page 31: Chapter 7: Connector Pin Assignments

    Chapter 7: Connector Pin Assignments Two 50-pin headers are provided on the DIO48S/AT-P; one for each 24 I/O group. The mating connector is an AMP type 1-746285-0 or equivalent. Connector pin assignments are listed below. Notice that every second line is grounded to minimize crosstalk between signals. Assignment Assignment Port C Hi...
  • Page 32: Appendix A: Programmable Peripheral Interface Data Sheets

    Appendix A: Programmable Peripheral Interface Data Sheets The data sheets in this Appendix are provided to help your understanding of the 8255-5 PPI which is made by a number of companies. These sheets are reprinted with permission of Mitsubishi Electric Corp. © 1987. The information, diagrams, and all other data included are believed to be correct and reliable.
  • Page 33 The technical documentation required to demonstrate this product meets the requirements of the EMC Directive and the Low Voltage Directive has been compiled by ICS Advent and is available for inspection by the relevant enforcement authorities. The CE mark was first applied in 2000.

Table of Contents