Tektronix DASCard-PIO12 Users Guide

DASCard-PIO12
U S E R ’ S G U I D E
DASCard-PIO12
User’s Guide
Revision A - September 1995
Part Number: 91430
New Contact Information
Keithley Instruments, Inc.
28775 Aurora Road
Cleveland, OH 44139
Technical Support: 1-888-KEITHLEY
Monday – Friday 8:00 a.m. to 5:00 p.m (EST)
Fax: (440) 248-6168
Visit our website at http://www.keithley.com
The information contained in this manual is believed to be accurate and reliable. However, Keithley Instruments, Inc., assumes no responsibility for its use or for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent rights of Keithley Instruments, Inc.
KEITHLEY INSTRUMENTS, INC., SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RELATED TO THE USE OF THIS PRODUCT. THIS PRODUCT IS NOT DESIGNED WITH COMPONENTS OF A LEVEL OF RELIABILITY SUITABLE FOR USE IN LIFE SUPPORT OR CRITICAL APPLICATIONS.
Refer to your Keithley Instruments license agreement for specific warranty and liability information.
MetraByte, VTX, and Visual Test Extensions are trademarks of Keithley Instruments, Inc. All other brand and product names are trademarks or registered trademarks of their respective companies.
© Copyright Keithley Instruments, Inc., 1995.
All rights reserved. Reproduction or adaptation of any part of this documentation beyond that permitted by Section 117 of the 1976 United States Copyright Act without permission of the Copyright owner is unlawful.
Keithley MetraByte Division
Keithley Instruments, Inc.
440 Myles Standish Blvd. Taunton, MA 02780
Telephone: (508) 880-3000 FAX: (508) 880-0179
Preface
The DASCard-PIO12 User’s Guide describes how to set up, install, and program the DASCard-PIO12 digital I/O interface card.
This guide serves data acquisition system designers, engineers, programmers, and other users responsible for setting up, cabling and wiring signals to a DASCard-PIO12 in a notebook or desktop computer with a Type II, PCMCIA (Personal Computer Memory Card International Association) socket. User are assumed to be familiar with data acquisition principles, with their applications, and with their computers.
The DASCard-PIO12 User’s Guide is organized as follows:
Chapter 1 provides an overview of the hardware and descriptions of
features, applications, supporting software, and accessories.
Chapter 2 provides a block diagram and descriptions of major
features.
Chapter 3 describes how to unpack, install, and start up the card.
Chapter 4 describes how to connect accessories.
Chapter 5 describes how to start up and use the Control Panel.
Chapter 6 describes programming requirements of the card.
Chapter 7 describes how to isolate common problems, how to
troubleshoot your system, and how to obtain technical support.
Appendix A contains DASCard-PIO12 specifications.
Appendix B contains pin assignments for the main I/O connector of
the DASCard-PIO12 cable.
An index completes the manual.
vii
Table of Contents
Preface
1 Overview
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Supporting Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Accessories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
2 Functional Description
3 Setup and Installation
Assembling Your System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
Unpacking and Inspecting Your Card . . . . . . . . . . . . . . . . . . . . .3-2
Overview of Installation and Startup . . . . . . . . . . . . . . . . . . . . . .3-2
Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
Using the Configuration Utility . . . . . . . . . . . . . . . . . . . . . . . . . .3-4
Creating or Modifying a Configuration File . . . . . . . . . . . . . .3-4
Creating a Configuration File for Multiple PIO Devices . . . .3-5
Loading the Keithley MetraByte Enabler Utility. . . . . . . . . . . . .3-6
Installing the Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9
Using the Keithley MetraByte Diagnostics Utility . . . . . . . . . .3-10
4 Cabling and Wiring
Connecting an SSIO-24, ERB-24, ERA-01, or SRA-01 . . . . . . .4-2
Connecting an STP-37 or STA-U. . . . . . . . . . . . . . . . . . . . . . . . .4-3
Connecting Special-Purpose I/O Circuits . . . . . . . . . . . . . . . . . .4-4
Connecting a Contact-Closure Monitor to an Input . . . . . . . .4-4
Connecting an Input to a Debounce Circuit . . . . . . . . . . . . . .4-5
Connecting an Output to Darlington NPN for Relay Control.4-5
5 Control Panel
iii
6 Programming
Setting the Port Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . .6-2
Reading/Writing Data from/to the Ports . . . . . . . . . . . . . . . . . . .6-4
Writing to the Control Register. . . . . . . . . . . . . . . . . . . . . . . .6-4
Performing Fundamental I/O Operations . . . . . . . . . . . . . . . .6-5
Reading BCD Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-5
Performing Bit Operations . . . . . . . . . . . . . . . . . . . . . . . . . . .6-5
7 Troubleshooting
Identifying Symptoms and Possible Causes . . . . . . . . . . . . . . . .7-1
Testing the Card and the Computer . . . . . . . . . . . . . . . . . . . . . . .7-5
Testing the PCMCIA Socket and I/O Connections . . . . . . . . . . .7-5
Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-6
A Specifications
B Connector Pin Assignments
Index
List of Figures
Figure 2-1. DASCard-PIO12 Block Diagram . . . . . . . . . . . . .2-1
Figure 4-1. DASCard-PIO12 and Attached I/O Cable. . . . . . .4-1
Figure 4-2. Attaching an SSIO-24, an ERB-24, an
ERA-01, or an SRA-01 to a
DASCard-PIO12 Cable . . . . . . . . . . . . . . . . .4-2
Figure 4-3. Connecting an STP-37 or STP-37/C to a
DASCard-PIO12. . . . . . . . . . . . . . . . . . . . . . .4-3
Figure 4-4. Panel Layout of STP-37 and STP-37/C. . . . . . . . .4-3
Figure 4-5. Contact-Closure Monitor for a
DASCard-PIO12 Input . . . . . . . . . . . . . . . . . .4-4
Figure 4-6. Debounce Circuit for a DASCard-PIO12 Input. . .4-5 Figure 4-7. Darlington NPN Relay Control for an
Output of a DASCard-PIO12 . . . . . . . . . . . . .4-5
Figure B-1. Main I/O Connector Pin Assignments for
the DASCard Cable . . . . . . . . . . . . . . . . . . . B-1
iv
List of Tables
Table 3-1. Default Configuration Options for
the DASCard-PIO12. . . . . . . . . . . . . . . . . . . .3-4
Table 3-2. Switch Options for the Enabler . . . . . . . . . . . . . . .3-7
Table 6-1. 82C55 PPI Address Map . . . . . . . . . . . . . . . . . . . .6-2
Table 6-2. Derivation of Port Configuration from
Control Word . . . . . . . . . . . . . . . . . . . . . . . . .6-3
Table 6-3. Control Word. . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-3
Table 7-1. Troubleshooting Information. . . . . . . . . . . . . . . . .7-1
Table A-1. Input and Output Specifications . . . . . . . . . . . . . A-1
Table A-2. Power Requirements . . . . . . . . . . . . . . . . . . . . . . A-2
Table A-3. Environmental Specifications . . . . . . . . . . . . . . . A-2
v
Features
1
Overview
The DASCard-PIO12 is a digital I/O PC Card that you can use with any notebook or desktop computer that contains a Type II, PCMCIA (Personal Computer Memory Card International Association) socket. This chapter describes features and applications of the DASCard-PIO12, supporting software, and available accessories.
Major features of DASCard-PIO12 are as follows:
Contains 24 TTL/NMOS/CMOS-compatible digital I/O lines.
Provides programmable unidirectional, bidirectional, and strobed I/O
(bidirectional and strobed I/O are not supported by the ASO-PIO software package).
Provides an interrupt input line.
Provides direct interface with a wide range of accessory products,
including instruments, displays, and user-assembled systems.
Is software- and register-compatible with the Keithley MetraByte
PIO-12, the predecessor product for IBM® PC/XT™, PC AT®, or equivalent computers that use an ISA (Industry Standard Architecture) bus.
Features 1-1
Applications
Typical applications for the DASCard-PIO12 are as follows:
Contact closure monitoring
Digital I/O control
Alarm monitoring
Display driving
Relay control
Supporting Software
The DASCard-PIO12 and industry-standard PIO-12 are software- and register-compatible. The following software is, therefore, available for operating a DASCard-PIO12 or a PIO-12:
ASO-PIO package - This package contains the following programs:
The PIO Series Function Call Driver and DLLs (Dynamic Link
Libraries) that allow you to write custom programs in Microsoft® and Borland® C/C++ for Windows™and in Microsoft Visual Basic™ for Windows. This driver is also required if you use Visual Test Extensions™, described on page 1-3. Refer to the online help of the PIO Series Function Call Driver for more information.
ASO-PIO Control Panel - The Control Panel (CTLPIO.EXE)
runs under Windows and allows you to perform operations on DASCard-PIO12 cards without programming. This program also provides a quick way to test your card and monitor your operation. Refer to Chapter 5 and to the online help for more information.
ASO-PIO configuration utility - This utility allows you to create
configuration files for use with the PIO Series Function Call Driver. Refer to “Using the Configuration Utility” on page 3-4 and to the online help for more information.
1-2 Overview
Accessories
Keithley MetraByte Enabler utility- The Enabler
(KMENABLE.EXE) is a DOS-based program that requests system resources for your DASCard-PIO12. Refer to “Loading the Keithley MetraByte Enabler Utility” on page 3-6 for more information
Keithley MetraByte diagnostics utility- The diagnostics utility
(KMINFO.EXE for DOS, KMINFOW.EXE for Windows) is a program that allows you to check the status of your DASCard-PIO12; refer to “Using the Keithley MetraByte Diagnostics Utility” on page 3-10 for more information.
Visual Test Extensions (VTX) - This optional Visual Basic custom
control software package helps you write Windows application programs for the DASCard-PIO12. Refer to the Keithley MetraByte product catalog for more information.
Data acquisition and analysis application software - Refer to the
Keithley MetraByte product catalog for information on data acquisition and analysis software available for the DASCard-PIO12.
The following accessories are available for use with your DASCard-PIO12:
SSIO-24 - This accessory is a 24-channel mounting panel for up to
24 solid-state, miniature I/O modules with functions of DC input, DC output, AC input, and AC output. The SSIO-24 connects to the main I/O connector of the DASCard-PIO12 cable. This accessory requires external power (+5 VDC) when used with the DASCard-PIO12.
ERB-24 - This accessory is a relay board that provides 24
electromechanical double-pole, double-throw relays for controlling and switching up to 3 A at 120 V
. The ERB-24 connects to the
rms
main I/O connector of the DASCard-PIO12 cable. This accessory has a built-in power supply requiring 115/230 VAC.
ERA-01 - This accessory is an electrical relay board containing eight
single-pole, double-throw relays that can switch up to 3 A at 120 V
. The ERA-01 requires external power (+5 VDC) when used with
rms
the DASCard-PIO12.
Accessories 1-3
SRA-01 - This accessory is an 8-channel, solid-state, mounting panel
for industry-standard I/O modules used in sensing and controlling AC and DC circuits. The SRA-01 requires external power (+5 VDC) when used with the DASCard-PIO12.
STP-37 - This accessory is a screw-terminal panel for
general-purpose connections in a compact form factor.
STA-U is a universal screw-terminal accessory that connects to the
main I/O connector of the DASCard-PIO12 to bring the card’s I/O signals to convenient screw terminals.
Refer to the Keithley MetraByte catalog or contact your local sales office for information on obtaining these accessories.
1-4 Overview
2
Functional Description
This chapter describes the features and operating characteristics of the DASCard-PIO12. Figure 2-1 is a block diagram of the DASCard-PIO12.
PA7
Port A
PA0
82C55
PPI
Port B
Port C
PB7
PB0 PC7
PC0
Data
Bus
Buffer
Address Decoder
PCMCIA Interface
IOR IOW
PC Bus
Figure 2-1. DASCard-PIO12 Block Diagram
Interrupt +5 V COM
I/O
2-1
DASCard-PIO12 features and operating characteristics are described as follows:
The DASCard-PIO12 has three TTL/NMOS/CMOS-compatible,
digital I/O ports: port A, port B, and port C. Ports A and B are both byte-wide (8-bits) and can be inputs or outputs. Port C is also byte-wide but is usable as two separate 4-bit ports (port C Lower and port C Upper), which can be an inputs or outputs.
The DASCard-PIO12 has an interrupt input channel. During startup,
the Keithley MetraByte Enabler program can request any one of the interrupt levels available on the PC bus.
The Interrupt Controller of the computer handles interrupts and is set
by the computer BIOS to respond to positive-edge-triggered (low to high) inputs. You must program the Interrupt Controller to respond to your application by setting up the corresponding interrupt handler.
The DASCard-PIO12 decodes 2-bit I/O addresses and communicates
with the PC bus as an 8-bit peripheral. The address map uses four consecutive I/O addresses. You can install multiple DASCard-PIO12 cards in a computer with each at a different base address.
The +5 V power level from the computer is available through the
main I/O connector of the DASCard-PIO12 cable. If you plan to use power from the PC Card, you should consider the power draw of all system devices and observe current-capacity limits of both the computer and the card.
2-2 Functional Description
Setup and Installation
This chapter contains the information you need to install and use your DASCard-PIO12.
Assembling Your System
For proper operation of a DASCard-PIO12, your system may require the following items:
Notebook or desktop computer with a Type II or Type III, PCMCIA
socket.
Windows, Version 3.1 or higher, running in Enhanced mode.
DOS, Version 5.0 or higher.
3
CardSoft, CardWare, CardTalk, PhoenixCARD Manager
Plus, or any other PCMCIA Card and Socket Services (PCMCIA standard 2.10 or higher). Each of these packages allows a DASCard-PIO12 to work in your computer and is typically a DOS-based, terminate-and-stay-resident (TSR) program loaded from your CONFIG.SYS file.
Many notebook computers are shipped with PCMCIA Card and Socket Services already installed. Check your computer documentation or software package for the name of the services and for compliance with PCMCIA standard 2.10 or higher. If you cannot establish this compliance, you should obtain and install one of the PCMCIA Card and Socket Services listed above.
A Keithley MetraByte Enabler utility (KMENABLE.EXE) and a
Keithley MetraByte diagnostics utility (KMINFO.EXE for DOS and KMINFOW.EXE for Windows).
3-1
Loading...
+ 35 hidden pages