BLUE CHIP PIO-96 User Manual

96 channel programmable input/output board

Advertisement

Quick Links

PIO-96
96 Channel Programmable
Input/Output Board
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIO-96 and is the answer not in the manual?

Questions and answers

Summary of Contents for BLUE CHIP PIO-96

  • Page 1 PIO-96 96 Channel Programmable Input/Output Board User Manual...
  • Page 3 All rights reserved. No part of this publication may be reproduced, stored in any retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopied, recorded or otherwise, without the prior permission, in writing, from the publisher. For permission in the UK contact Blue Chip Technology.
  • Page 4 Amendment History Issue Issue Author Amendment Details Level Date First draft 24.11.97 Window front cover and logo. See ECN 98/088...
  • Page 5: Table Of Contents

    Example Program 1 ..............16 Example Program 2 ..............17 7.0 COMMERCIAL DATA ACQUISITION PACKAGES ....20 7.1 Use of the PIO-96 Board with ASYST ........20 APPENDIX..................21 A1 I/O Address Map for PC/XT/AT Computers ......21 A2 Hardware Interrupt Levels for PC/XT ........22 A3 Hardware Interrupt Levels for PC/AT ........
  • Page 7: Introduction

    “PIO-96 Rev. B”. Whilst every effort has been taken to ensure that the information provided is accurate, Blue Chip Technology cannot assume responsibility for any errors in this manual or their consequences. Should any errors be detected, the company would greatly appreciate being informed of them.
  • Page 8: Electromagnetic Compatibility (Emc)

    This product meets the requirements of the European EMC Directive (89/336/EEC) and is eligible to bear the CE mark. It has been assessed operating in a Blue Chip Technology Icon industrial PC. However, because the board can be installed in a variety of computers, certain conditions have to be applied to ensure that the compatibility is maintained.
  • Page 9: Emc Specification

    This is a Class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures. EMC Specification A Blue Chip Technology Icon industrial PC fitted with this card meets the following specification: Emissions: EN 55022:1995...
  • Page 10: User Adjustments

    However, for those who do not possess a copy of this document a good place is the location normally allocated to the prototyping card as supplied by IBM. This address is 300 (hex) or 768 (decimal). All Blue Chip Technology cards are preset to this address at the factory.
  • Page 11 To set the base address to 300 hex (768 decimal) set the pattern on the links as indicated below: 100H 200H Figure 1 - Selecting the Base Address More example addresses are shown in Appendix A. Note: No Two cards must occupy the same address. Blue Chip Technology Ltd. 01271015.doc Page 5...
  • Page 12: Setting The Interrupt Channel (Jp2)

    User Adjustments Setting the Interrupt Channel (JP2) The PIO-96 card supports the use of the interrupts generated from the µPD71055 chips. These chips are identical functionally to the Intel 8255 integrated circuit. The use of the interrupts provides a means to monitor digital inputs only when there has been a change at the input signal lines.
  • Page 13: Port Map

    Page 7 PORT MAP The PIO-96 has four µPD71055 (8255) chips. Each chip has three 8 bit ports (A, B & C) which can be programmed as inputs or outputs by writing a control word to the control port. (See Table 2). All “A” ports and “B” ports much each be all input or all output, i.e.
  • Page 14: Control Port Bit Functions

    Port C (Lower) 0=Output 1=Input Table 2 - Control Port - Bit Functions The software described in section 5 the Operating Guide gives examples of the more typical control bytes and their effects. Page 8 01271015.doc Blue Chip Technology Ltd.
  • Page 15: Electrical Options

    If access to individual channels is required, a 50 way IDC ribbon cable may be used to connect the I/O channels to a 50 way screw terminal block available from Blue Chip Technology as part number ST-24.
  • Page 16 1 at the top of the connector. Figure 3 - Connector Pin Details (P1 and P2) (View with gold edge connector facing downwards.) Page 10 01271015.doc Blue Chip Technology Ltd.
  • Page 17: Connector Pin Details

    BIT NO. PORT A (1) A (2) B (1) B (2) C (1) C (2) Digital Ground Digital Ground Table 3 - Signal Pin Connection Details (Pin out of both connectors is identical) Blue Chip Technology Ltd. 01271015.doc Page 11...
  • Page 18: Operating Guide

    Operating Guide OPERATING GUIDE Using the Device A total of 24 I/O channel signals from each 71055 I/O device on the PIO-96 board provides twelve 8-bit ports. Each signal is connected to one bit within one of these ports i.e.
  • Page 19: Programming Guide

    Simple Outputs The state of the output lines may be modified by using either of the following methods: Microsoft BASIC A or GW BASIC. OUT P,D Outputs the byte D to Port P Blue Chip Technology Ltd. 01271015.doc Page 13...
  • Page 20 Mode 1 enables the transfer of data to or from a specified 8 bit port (A or B) in conjunction with strobes or handshaking signals provided by Port C. In mode 2 data is transferred via one bi-directional 8 bit port (A) with handshakes (Port C). Page 14 01271015.doc Blue Chip Technology Ltd.
  • Page 21: Typical Register Setups

    Input Table 4 - Simple I/O Control Words For a full explanation of the various modes of operating, and the use of the signal lines consult the Intel 8255 or NEC µPD71055 datasheet. Blue Chip Technology Ltd. 01271015.doc Page 15...
  • Page 22: Example Programs

    EXAMPLE PROGRAMS Example Program 1 The following program in Microsoft Basic will test the operation of the PIO-96 if a link is made between corresponding pins on the rear of the connector. 10 P1=&H300 : REM BASE OF FIRST PIA 15 P2 = &H304 : REM BASE OF SECOND PIA...
  • Page 23: Example Program 2

    • If the ports were set to inputs then interrupts will only occur if Port 2 input lines 0 and 3 are LOW for each µPD71055 not being used in an interrupt mode. • The above is necessary because each µPD71055 “INT0” and “INT1” lines are logically OR-ed together. Blue Chip Technology Ltd. 01271015.doc Page 17...
  • Page 24 REM set all ports for µPD71055 Nos 2, 3 and 4 to LOW OUT port0B%, 0 OUT port1B%, 0 OUT port2B%, 0 OUT port0C%, 0 OUT port1C%, 0 OUT port2C%, 0 OUT port0D%, 0 OUT port1D%, 0 OUT port2D%, 0 Page 18 01271015.doc Blue Chip Technology Ltd.
  • Page 25 IF irq% = 0 THEN GOTO pol LOCATE 3, 1: PRINT "Before Interrupt"; dt% rddat: REM read data from port 0 dta% = INP(port0A%) LOCATE 4, 1: PRINT "After Interrupt"; dta% SLEEP (1) GOTO rdval Blue Chip Technology Ltd. 01271015.doc Page 19...
  • Page 26: Commercial Data Acquisition Packages

    Page 20 Commercial Data Acquisition Packages COMMERCIAL DATA ACQUISITION PACKAGES The Blue Chip Technology PIO-96 can be used with almost any data acquisition package that can read information directly from a PC input port. Use of the PIO-96 Board with ASYST The board has been tested with and is installable as an 71055.PORT digital...
  • Page 27: Appendix

    Reserved 378-37F Parallel Printer Port 1 380-38F Reserved For SDLC Comms, Bisynch 2 3A0-3AF Reserved For Bisynch 1 3B0-3BF Reserved 3C0-3CF Reserved 3D0-3DF Display Controller 3F0-3F7 Diskette Drive Controller 3F8-3FF Serial Port 1 Blue Chip Technology Ltd. 01271015.doc Page 21...
  • Page 28: A2 Hardware Interrupt Levels For Pc/Xt

    Page 22 Appendices Hardware Interrupt Levels for PC/XT Address Allocated to (Hex) Timer Keyboard Reserved Asynchronous Communications (Secondary) SDLC Communications Asynchronous Communications (Primary) SDLC Communications Fixed Disk Diskette Parallel Printer Page 22 01271015.doc Blue Chip Technology Ltd.
  • Page 29: A3 Hardware Interrupt Levels For Pc/At

    Fixed Disk Controller Reserved Serial Port 2 Serial Port 1 Parallel Port 2 Diskette Controller Parallel Port 1 DMA Channels Floppy Disk Drive. (may be used when disk inactive) Hard Disk Drive Spare Blue Chip Technology Ltd. 01271015.doc Page 23...

Table of Contents