73270D (Pio 96)
73270D (Pio 96)
73270D (Pio 96)
Other Hardware
The portion of the product that is not manufactured by Keithley (Other Hardware) shall not be covered by this warranty, and Keithley shall have no duty of
obligation to enforce any manufacturers' warranties on behalf of the customer. On those other manufacturers’ products that Keithley purchases for resale,
Keithley shall have no duty of obligation to enforce any manufacturers’ warranties on behalf of the customer.
Software
Keithley warrants that for a period of one (1) year from date of shipment, the Keithley produced portion of the software or firmware (Keithley Software) will
conform in all material respects with the published specifications provided such Keithley Software is used on the product for which it is intended and other-
wise in accordance with the instructions therefore. Keithley does not warrant that operation of the Keithley Software will be uninterrupted or error-free and/
or that the Keithley Software will be adequate for the customer's intended application and/or use. This warranty shall be null and void upon any modification
of the Keithley Software that is made by other than Keithley and not approved in writing by Keithley.
If Keithley receives notification of a Keithley Software nonconformity that is covered by this warranty during the warranty period, Keithley will review the
conditions described in such notice. Such notice must state the published specification(s) to which the Keithley Software fails to conform and the manner
in which the Keithley Software fails to conform to such published specification(s) with sufficient specificity to permit Keithley to correct such nonconfor-
mity. If Keithley determines that the Keithley Software does not conform with the published specifications, Keithley will, at its option, provide either the
programming services necessary to correct such nonconformity or develop a program change to bypass such nonconformity in the Keithley Software.
Failure to notify Keithley of a nonconformity during the warranty shall relieve Keithley of its obligations and liabilities under this warranty.
Other Software
OEM software that is not produced by Keithley (Other Software) shall not be covered by this warranty, and Keithley shall have no duty or obligation to
enforce any OEM's warranties on behalf of the customer.
Other Items
Keithley warrants the following items for 90 days from the date of shipment: probes, cables, rechargeable batteries, diskettes, and documentation.
Limitation of Warranty
This warranty does not apply to defects resulting from product modification made by Purchaser without Keithley's express written consent, or by misuse
of any product or part.
Disclaimer of Warranties
EXCEPT FOR THE EXPRESS WARRANTIES ABOVE KEITHLEY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUD-
ING WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. KEI-
THLEY DISCLAIMS ALL WARRANTIES WITH RESPECT TO THE OTHER HARDWARE AND OTHER SOFTWARE.
Limitation of Liability
KEITHLEY INSTRUMENTS SHALL IN NO EVENT, REGARDLESS OF CAUSE, ASSUME RESPONSIBILITY FOR OR BE LIABLE FOR: (1)
ECONOMICAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT, SPECIAL, PUNITIVE OR EXEMPLARY DAMAGES, WHETHER CLAIMED
UNDER CONTRACT, TORT OR ANY OTHER LEGAL THEORY, (2) LOSS OF OR DAMAGE TO THE CUSTOMER'S DATA OR PROGRAM-
MING, OR (3) PENALTIES OR PENALTY CLAUSES OF ANY DESCRIPTION OR INDEMNIFICATION OF THE CUSTOMER OR OTHERS FOR
COSTS, DAMAGES, OR EXPENSES RELATED TO THE GOODS OR SERVICES PROVIDED UNDER THIS WARRANTY.
Keithley Instruments, Inc. • 28775 Aurora Road • Cleveland, OH 44139 • 440-248-0400 • Fax: 440-248-6168 • http://www.keithley.com
BELGIUM: Keithley Instruments B.V. Bergensesteenweg 709 • B-1600 Sint-Pieters-Leeuw • 02/363 00 40 • Fax: 02/363 00 64
CHINA: Keithley Instruments China Yuan Chen Xin Building, Room 705 • 12 Yumin Road, Dewai, Madian • Beijing 100029 • 8610-62022886 • Fax: 8610-62022892
FRANCE: Keithley Instruments Sarl B.P. 60 • 3, allée des Garays • 91122 Palaiseau Cédex • 01 64 53 20 20 • Fax: 01 60 11 77 26
GERMANY: Keithley Instruments GmbH Landsberger Strasse 65 • D-82110 Germering • 089/84 93 07-40 • Fax: 089/84 93 07-34
GREAT BRITAIN: Keithley Instruments Ltd The Minster • 58 Portman Road • Reading, Berkshire RG30 1EA • 0118-9 57 56 66 • Fax: 0118-9 59 64 69
INDIA: Keithley Instruments GmbH Flat 2B, WILOCRISSA • 14, Rest House Crescent • Bangalore 560 001 • 91-80-509-1320/21 • Fax: 91-80-509-1322
ITALY: Keithley Instruments s.r.l. Viale S. Gimignano, 38 • 20146 Milano • 02/48 30 30 08 • Fax: 02/48 30 22 74
NETHERLANDS: Keithley Instruments B.V. Postbus 559 • 4200 AN Gorinchem • 0183-635333 • Fax: 0183-630821
SWITZERLAND: Keithley Instruments SA Kriesbachstrasse 4 • 8600 Dübendorf • 01-821 94 44 • Fax: 01-820 30 81
TAIWAN: Keithley Instruments Taiwan 1 Fl. 85 Po Ai Street • Hsinchu, Taiwan, R.O.C. • 886-3572-9077• Fax: 886-3572-9031 10/99
PIO-96
ISA Bus Digital I/O Board
User’s Manual
All Keithley product names are trademarks or registered trademarks of Keithley Instruments, Inc.
Other brand and product names are trademarks or registered trademarks of their respective holders.
Safety Precautions
The following safety precautions should be observed before using Users of this product must be protected from electric shock at all
this product and any associated instrumentation. Although some in- times. The responsible body must ensure that users are prevented
struments and accessories would normally be used with non-haz- access and/or insulated from every connection point. In some cases,
ardous voltages, there are situations where hazardous conditions connections must be exposed to potential human contact. Product
may be present. users in these circumstances must be trained to protect themselves
from the risk of electric shock. If the circuit is capable of operating
This product is intended for use by qualified personnel who recog- at or above 1000 volts, no conductive part of the circuit may be
nize shock hazards and are familiar with the safety precautions re- exposed.
quired to avoid possible injury. Read the operating information
carefully before using the product. As described in the International Electrotechnical Commission
(IEC) Standard IEC 664, digital multimeter measuring circuits
The types of product users are:
(e.g., Keithley Models 175A, 199, 2000, 2001, 2002, and 2010) are
Responsible body is the individual or group responsible for the use Installation Category II. All other instruments’ signal terminals are
and maintenance of equipment, for ensuring that the equipment is Installation Category I and must not be connected to mains.
operated within its specifications and operating limits, and for en-
suring that operators are adequately trained. Do not connect switching cards directly to unlimited power circuits.
They are intended to be used with impedance limited sources.
Operators use the product for its intended function. They must be NEVER connect switching cards directly to AC mains. When con-
trained in electrical safety procedures and proper use of the instru- necting sources to switching cards, install protective devices to lim-
ment. They must be protected from electric shock and contact with it fault current and voltage to the card.
hazardous live circuits.
Before operating an instrument, make sure the line cord is connect-
Maintenance personnel perform routine procedures on the product ed to a properly grounded power receptacle. Inspect the connecting
to keep it operating, for example, setting the line voltage or replac- cables, test leads, and jumpers for possible wear, cracks, or breaks
ing consumable materials. Maintenance procedures are described in before each use.
the manual. The procedures explicitly state if the operator may per-
form them. Otherwise, they should be performed only by service For maximum safety, do not touch the product, test cables, or any
personnel. other instruments while power is applied to the circuit under test.
ALWAYS remove power from the entire test system and discharge
Service personnel are trained to work on live circuits, and perform any capacitors before: connecting or disconnecting cables or jump-
safe installations and repairs of products. Only properly trained ser- ers, installing or removing switching cards, or making internal
vice personnel may perform installation and service procedures. changes, such as installing or removing jumpers.
Exercise extreme caution when a shock hazard is present. Lethal Do not touch any object that could provide a current path to the
voltage may be present on cable connector jacks or test fixtures. The common side of the circuit under test or power line (earth) ground.
American National Standards Institute (ANSI) states that a shock Always make measurements with dry hands while standing on a
hazard exists when voltage levels greater than 30V RMS, 42.4V dry, insulated surface capable of withstanding the voltage being
peak, or 60VDC are present. A good safety practice is to expect measured.
that hazardous voltage is present in any unknown circuit before
measuring.
The instrument and accessories must be used in accordance with its The WARNING heading in a manual explains dangers that might
specifications and operating instructions or the safety of the equip- result in personal injury or death. Always read the associated infor-
ment may be impaired. mation very carefully before performing the indicated procedure.
Do not exceed the maximum signal levels of the instruments and ac- The CAUTION heading in a manual explains hazards that could
cessories, as defined in the specifications and operating informa- damage the instrument. Such damage may invalidate the warranty.
tion, and as shown on the instrument or test fixture panels, or
switching card. Instrumentation and accessories shall not be connected to humans.
When fuses are used in a product, replace with same type and rating Before performing any maintenance, disconnect the line cord and
for continued protection against fire hazard. all test cables.
To maintain protection from electric shock and fire, replacement
Chassis connections must only be used as shield connections for
components in mains circuits, including the power transformer, test
measuring circuits, NOT as safety earth ground connections.
leads, and input jacks, must be purchased from Keithley Instru-
ments. Standard fuses, with applicable national safety approvals,
If you are using a test fixture, keep the lid closed while power is ap-
may be used if the rating and type are the same. Other components
plied to the device under test. Safe operation requires the use of a
that are not safety related may be purchased from other suppliers as
lid interlock.
long as they are equivalent to the original component. (Note that se-
lected parts should be purchased only through Keithley Instruments
If a screw is present, connect it to safety earth ground using the
to maintain accuracy and functionality of the product.) If you are
wire recommended in the user documentation.
unsure about the applicability of a replacement component, call a
Keithley Instruments office for information.
The ! symbol on an instrument indicates that the user should re-
fer to the operating instructions located in the manual.
To clean an instrument, use a damp cloth or mild, water based
cleaner. Clean the exterior of the instrument only. Do not apply
The symbol on an instrument shows that it can source or mea-
cleaner directly to the instrument or allow liquids to enter or spill
sure 1000 volts or more, including the combined effect of normal
on the instrument. Products that consist of a circuit board with no
and common mode voltages. Use standard safety precautions to
case or chassis (e.g., data acquisition board for installation into a
avoid personal contact with these voltages.
computer) should never require cleaning if handled according to in-
structions. If the board becomes contaminated and operation is af-
fected, the board should be returned to the factory for proper
cleaning/servicing.
Rev. 10/99
Table of Contents
1 General Description
The board ........................................................................................................................................................... 1-2
Supporting software ........................................................................................................................................... 1-3
2 Installation
Inventorying required installation resources ...................................................................................................... 2-2
Installing DriverLINX software and documentation ......................................................................................... 2-2
Configuring your installation ............................................................................................................................. 2-4
Preparing and installing your board ................................................................................................................... 2-5
Unpacking and inspecting the board .......................................................................................................... 2-5
Setting the base address switch .................................................................................................................. 2-5
Setting the wait-state jumper ...................................................................................................................... 2-6
Connecting cables to the board .................................................................................................................. 2-7
Installing the board ..................................................................................................................................... 2-7
Checking your installation ................................................................................................................................. 2-8
Wiring to external circuits .................................................................................................................................. 2-8
Identifying I/O connector pin numbers ...................................................................................................... 2-9
Using a screw terminal accessory .............................................................................................................. 2-9
Wiring PIO-96 power to external circuits ................................................................................................ 2-10
3 Programming
A Specifications
Logic inputs and outputs ................................................................................................................................... A-2
Power consumption ........................................................................................................................................... A-2
Mechanical and environmental ......................................................................................................................... A-2
C User-Serviceable Parts
i
ii
List of Illustrations
2 Installation
Figure 2-1 Base address switch values ........................................................................................................................ 2-6
Figure 2-2 Board component locations ........................................................................................................................ 2-6
Figure 2-3 Pin assignments for a PIO-96 I/O connector and corresponding terminal assignments for a
connected STA-50 accessory .............................................................................................................. 2-9
iii
iv
List of Tables
B I/O Address Map
Table B-1 I/O address map ........................................................................................................................................ B-2
Table B-2 Control register bit functions for each 8255 chip ...................................................................................... B-3
Table B-3 Example control bytes for mode 0 ............................................................................................................ B-4
v
vi
1
General Description
1-2 General Description PIO-96 User’s Manual
The board
The PIO-96 board is a 96-line parallel digital I/O interface board. The combined board and sup-
plied software installs and runs in any IBM PC-compatible computer that runs the Microsoft
Windows® 95/98/NT operating system (Pentium®-series processor recommended).
The PIO-96 board is built around four industry-standard Intel 8255, 24-bit, programmable
peripheral interface (PPI) adapter chips. Each 8255 includes the three TTL/CMOS-compatible
digital I/O ports PA, PB, and PC. The PA and PB ports are byte-wide (8 bits) and configurable as
inputs or outputs. The PC port is also byte-wide but can be divided into two separate 4-bit ports:
PC lower and PC upper (each of which can be set up as either inputs or outputs). The PIO-96
supports the full set of operating configurations of the 8255 PPI as set by its Control Register.
On power-up, or whenever the computer’s hardware-reset line is asserted, all ports are cleared
and set in a digital-input mode.
The PIO-96 uses 16 consecutive I/O addresses within the computer I/O address space (four
addresses for each 8255 chip). The base address of the PIO-96 board is set by a base address
switch. More than one PIO-96 may be installed in a single computer. However, each installed
PIO-96 uses 16 I/O addresses (base address +0 through base address +15), and no two boards
can use the same address.
The PIO-96 also includes a wait-state generator that insures a 300ns I/O cycle time, minimum,
as required by the 8255. If your computer does not require the wait-state generator, it can be dis-
abled by setting the wait-state jumper to the OFF position.
The computer power supplies provide +5V power through the I/O connectors for use in external
applications, such as the addition of pull-up resistors. The +5V supply may also be used to
power external accessories, as long as you observe the total-available-power limits of your com-
puter and ensure that each connector pin current is limited to less than 1A.
I/O connections for each 8255 port use a 50-pin, 0.1-inch header connector. This configuration
assures maximum shielding and minimum cross-talk by placing a ground wire in the cable
between each I/O conductor. The mating connector socket is the 3M 3425-6050 (one required
for each 24-bit port), or you may purchase a ready made 24-inch cable with connectors on both
ends as Keithley part number CACC-2000. Longer cables are available by specifying Part #
CACC-20NN, where NN is the number of feet added to the standard two-foot cable. Wiring
accessories are also available.
General areas of application for the PIO-96 include all parallel-digital I/O requirements, such as
communicating with peripherals, operating relays, reading switch inputs, etc.
PIO-96 User’s Manual General Description 1-3
Supporting software
DriverLINX software is supplied by Keithley with the PIO-96 board. DriverLINX provides con-
venient interfaces to configure and set I/O bits without register-level programming.
Most importantly, however, DriverLINX supports those programmers who wish to create cus-
tom applications using Visual C/C++, Visual Basic, or Delphi. DriverLINX accomplishes fore-
ground and background tasks to perform data acquisition. The software includes memory and
data buffer management, event triggering, extensive error checking, and context sensitive online
help.
More specifically, DriverLINX provides application developers a standardized interface to over
100 services for creating foreground and background tasks for the following:
• Analog input and output
• Digital input and output
• Time and frequency measurement
• Event counting
• Pulse output
• Period measurement
In addition to basic I/O support, DriverLINX also provides:
• Built-in capabilities to handle memory and data buffer management
• A selection of starting and stopping trigger events, including pre-triggering, mid-
point triggering and post-triggering protocols
• Extensive error checking
• Context-sensitive on-line help system
DriverLINX is essentially hardware independent, because its portable APIs work across various
operating systems. This capability eliminates unnecessary programming when changing operat-
ing system platforms.
1-4 General Description PIO-96 User’s Manual
2
Installation
2-2 Installation PIO-96 User’s Manual
This section contains the following procedures, in the order in which they are to be performed:
• Inventorying installation resources
• Installing the DriverLINX software needed to operate your PIO-96 board
• Configuring the installation in software
• Unpacking and inspecting the board, setting the base address of the board, and installing the
board in your computer
• Checking the installation
• Wiring to your external circuits
NOTE Install the DriverLINX software before installing the PIO-96 board.
Otherwise, the device drivers will be more difficult to install.
e. Print the following section from the Using DriverLINX with Your Hardware—Keithley
PIO Series manual: “Configuring the PIO Series.”
NOTE If your data acquisition system is not connected to a printer, you can dis-
play and print the Using DriverLINX with Your Hardware—Keithley
PIO Series manual sections from another system, directly from the CD-
ROM (without installing anything). To display the manual, open the
Windows Explorer, then double click on X:\Drvlinx4\Docs\Notes\kmb-
pio.pdf, where X = the letter of the CD-ROM drive. Acrobat Reader
must already be installed on the other system. If necessary, you can first
install Acrobat Reader directly from the CD-ROM by double clicking
X:\Acrobat\setup.exe.
NOTE Be sure to note and follow all configuration differences between installa-
tions for Windows NT and Windows 95/98.
2. Reboot your computer. The DriverLINX Plug and Play Wizard appears on your screen
automatically at the end of the boot cycle.
NOTE If you do not run the DriverLINX Plug and Play Wizard now, it will not
reappear during the current computer session, although it may appear
after a subsequent reboot. If you wish to configure your board sometime
later, you can start the Plug and Play Wizard manually from a batch file.
In the Windows Explorer, double click X:\Drvlinx4\Help\kmbpio.bat,
where X is the letter of the drive on which DriverLINX is installed.
3. On the Plug and Play Wizard, click Wizard and follow the series of on-screen instructions
that appear. The Wizard will lead you through the steps of installing your hardware—from
a software viewpoint—and configuring it.
NOTE When setting the base address switch, use the switch numbers that have
been silk-screened on the board, and ignore any numbers that may be on
the switch itself.
2-6 Installation PIO-96 User’s Manual
For example, to set a base address of 300h (768 decimal), move switches 9 and 8 into the OFF
position while leaving all other switches in the ON position. Figure 2-1 shows the PIO-96 base
address switch and the address values corresponding to each of the seven poles. Figure 2-2
shows the board location of the base address switch.
Set the base address now. When you have finished setting the base address, continue with
“Setting the wait-state jumper.”
Figure 2-1
Base address switch values
200
100
Hexadecimal Value
80
40
20
10
512
256
128
Decimal Value
64
32
16
Computer A9
A8
A7
A6
A5
A4
Address Line
Figure 2-2
Board component locations
Each 24-bit port on the PIO-96 uses a 50-pin connector as an interface to data acquisition sig-
nals. This connector is compatible with the manufacturer’s CACC-2000 series of cables. How-
ever, please note that the standard CACC-2000 cable is only 18 inches long. Since the connector,
and up to 14 inches of the I/O cable (worst case) will be inside the computer, the standard
CACC-2000 cable may be inadequate. However, longer cables are available. Simply order a
CACC-20NN, where NN is the additional number of feet (beyond the standard 18 inches) that
you desire.
Alternatively, you can make custom cables for specific purposes. The mating connector is 3M
type 3425-6050. One is required for each 24-bit port.
Before installing the board and before connecting any external circuits, install all cables that you
intend to use, as follows:
1. Make sure that your wrist strap is on and grounded. (You should use a grounded wrist
strap. However, if you don’t have a wrist strap, touch any metallic part of the computer
cabinet with one hand before holding the board in the other hand. This will safely dis-
charge any static electricity that has built-up in your body.)
2. Connect all the CACC-2000 Series cables needed to interface to your external circuits to
connectors J1 through J4 on the board. See Figure 2-2 for locations of these connectors.
3. Continue with the next procedure, “Installing the board.”
CAUTION Do not attempt to insert or remove any adapter board with the com-
puter power ON. This could cause damage to your computer.
7. Feed the cables through the rear of the computer at the slot where the PIO-96 will be
installed.
8. Align the gold edge connector with the edge socket and the back adapter place with the
adapter plate screw. Gently press the board downward into the socket. Reinstall the adapter
plate screw.
9. Replace the computer cover.
10. Continue with the procedures in “Checking your installation.”
NOTE Refer also to the DriverLINX Installation and Configuration Guide and
Using DriverLINX with Your Hardware—Keithley PIO Series manuals.
Each 24-bit port on the PIO-96 uses a 50-pin connector as an interface to user circuits. This
connector is compatible with the Keithley CACC-2000 Series cables (or with custom cables
made using a 3M 3425-6050 mating connector) One or more of these should be connected to the
board at this point in your installation. The following subsections describe using a screw
terminal wiring accessory, identifying I/O connector pin numbers, and using board power for
external circuits.
PIO-96 User’s Manual Installation 2-9
Figure 2-3
Pin assignments for a PIO-96 I/O connector and corresponding
terminal assignments for a connected STA-50 accessory
PA7 01 02
PA6 03 04
PA5 05 06
PA4 07 08
PA3 09 10
PA2 11 12
PA1 13 14
PA0 15 16
PC7 17 18
PC6 19 20
PC5 21 22
PC4 23 24
PC3 25 26
PC2 27 28
PC1 29 30
PC0 31 32
PB7 33 34
PB6 35 36
PB5 37 38
PB4 39 40
PB3 41 42
PB2 43 44
PB1 45 46
PB0 47 48
49 50
You do not program the registers of your PIO-96 board directly through Windows 95/98/NT.
Instead, you program register changes through the application programming interface (API) of
DriverLINX. DriverLINX is provided on the CD-ROM that comes with your board and should
now be installed on your system. (Refer to “Installation” on page 2-1.) Using DriverLINX, you
can program the board in Visual C/C++, Visual Basic, and Delphi.
DriverLINX features are summarized under “Supporting software” on page 1-3. For detailed
information about DriverLINX in general and about programming with DriverLINX specifi-
cally, refer to your DriverLINX documentation.
To access the DriverLINX documentation after you have installed it on your computer, do the
following:
1. Click the Windows 95/98/NT Start tab.
2. In the Start menu, click Programs.
3. Find the DriverLINX entry, under which you will find the On-line Manuals entry.
4. Click on the On-line Manuals entry. The DriverLINX Printable Documentation table of
contents opens via Acrobat Reader.
5. Scroll through the DriverLINX Printable Documentation table of contents and find the
document or document category that you want.
6. Click on the desired document or document category. Either the selected document appears
or a list of documents that fit the selected category appears.
7. If a list appears, click on the title of the document that you want. The desired document
appears.
To access the DriverLINX documentation from the CD-ROM that came with your board, do the
following:
1. In Windows Explorer, double click on X:\Drvlinx4\Docs\Toc.pdf, where X is the drive let-
ter of your CD-ROM drive. The DriverLINX Printable Documentation table of contents
opens via Acrobat Reader.
2. Scroll through the DriverLINX Printable Documentation table of contents and find the
document or document category that you want.
3. Click on the desired document or document category. Either the selected document appears
or a list of documents that fit the selected category appears.
4. If a list appears, click on the title of the document that you want. The desired document
appears.
A
Specifications
A-2 Specifications PIO-96 User’s Manual
Power consumption
+5V 1.6 Amp max. plus any external load
+12V Not used
-12V Not used
Address offsets 0-3, 4-7, 8-11, and 12-15 correspond to the four 8255 PPI chips, each of which
has four ports: three I/O ports and one control port. Each of the 8255 chips acts identically and
independently. (For a full description of the many capabilities of the 8255 chip, refer to the data
sheet of Intel or other 8255 chip manufacturer.)
All the operating modes of the 8255 are supported identically on the PIO-96. However, the
majority of users are likely to operate the 8255 in the simple basic input/output mode (also
called Mode 0 operation). Therefore, only Mode 0 is emphasized here. If you wish to operate the
8255 in Mode 1 (strobed input/output) or Mode 2 (bidirectional bus) configurations, refer to the
8255 data sheet.
NOTE On power up or whenever the computer RESET line is asserted, all I/O
ports of the 8255 are initially set as inputs.
Also, a write to the control register at base address +3 (or +7, +11, or
+15) clears all output ports.
The 16 locations in I/O address space are allocated as shown in Table B-1.
Table B-1
I/O address map
Note that the PIO-96 requires a full block of sixteen I/O addresses. For correct operation, other
adapters must not conflict with any I/O address within this range, even if the upper ports of your
PIO-96 will not be used.
PIO-96 User’s Manual I/O Address Map B-3
Data ports
The PA and PB ports of the 8255 chip are byte-wide, and the direction of all lines within a port
is set by the control register. The PC Port of the 8255 chip may also be used as a byte-wide port
or split into two ports of four bits (nibble-wide). The PC0 to PC3 lines are known as the PC-
lower port and the PC4 to PC7 lines are known as the PC-upper port. The directions of the PC-
upper and PC-lower ports are independently programmable. In modes 1 and 2 of PPI operation,
the PC port assumes the role of a control or “handshaking” port and many of its lines assume
fixed functions. However, in Mode 0 (basic input/output), the PC lines behave exactly as the PA
and PB ports so that you have three independent 8 bit ports for a total of 24 digital I/O lines.
There are slight electrical differences between the ports. Although all three ports are TTL/
CMOS-compatible, the PB and PC Ports are designed also to source current as high as 1mA at
1.5V for driving resistive loads or Darlington type power transistors, etc. The PA port does not
have this capability. For dissipation reasons, no more than eight outputs total should be used in
current sourcing applications. The port descriptions for each 8255 chip are as follows:
• Port A - Consists of one 8 bit data output latch/buffer and one 8 bit data input latch.
• Port B - Consists of one 8-bit data input/output latch/buffer and one 8-bit data input buffer.
• Port C - Consists of one 8-bit data output latch/buffer and one 8-bit data input buffer (no
latch for input). This port can be divided into two 4 bit ports under the mode control. Each 4
bit port contains a 4 bit latch and it can be used for the control signal outputs and status sig-
nal inputs in conjunction with ports A & B (modes 1 & 2).]
Control port
The control port bits on each 8255 chip are used as shown in Table B-2.
Table B-2
Control register bit functions for each 8255 chip
inputs.
B-4 I/O Address Map PIO-96 User’s Manual
Table B-3
Example control bytes for mode 0
When a port is configured as an output, the data that the port outputs can be returned by reading
the same location. However, this may not reflect the actual state of the output lines if one or
more is shorted. The state of the output latch is being read, not the buffered output lines.
C
User-Serviceable Parts
C-2 User-Serviceable Parts PIO-96 User’s Manual
The four 8255 PPI components are in sockets. If any of the digital I/O chips are damaged by
external shorts or transients, replacing the appropriate chip may correct the problem. The 8255
chips on the PIO-96 board should be replaced with an Intel P8255A-5 chip or equivalent part
from another manufacturer. Nothing more than a screwdriver is needed to make these repairs.
Index
Numerics Connector
board
8255 chip pin assignments 2-9
address map B-2 mating 2-7
description 1-2 Connector, board 2-7
Connectors
A summary 1-2
Addresses
map B-2
D
summary 1-2 Documentation, DriverLINX
Assignments, pin, board connector 2-9 accessing 2-3, 3-2
Assignments, terminal, for STA-50 2-9 installing 2-2
Documentation, this manual, installing 2-2
B DriverLINX
configuring 2-4
Baord description 1-3
installing 2-7 documentation, accessing 2-3, 3-2
Base address switch documentation, installing 2-2
location 2-6 installing 2-2
setting 2-5 programming 3-1
Board
description 1-2
grounding during handling to protect 2-5
G
handling 2-5, 2-8 Grounding
unpacking and inspecting 2-5 to protect board 2-8
Board connector 2-7 Grounding, during board handling 2-5
C I
Cables I/O connector
connecting 2-7 pin assignments 2-9
CACC-2000 cable connecting 2-7 Inspecting the board 2-5
Checking the installation 2-8 Installation
Computer resources checking 2-8
determination for installation 2-2 configuring 2-4
Configuring resource inventory 2-2
DriverLINX 2-4
installation 2-4
i-1
Installing
board 2-7
S
documentation 2-2 Screw terminal accessory
software, DriverLINX 2-2 using 2-9
Interfaces Settings
installing for applications 2-2 base address switch 2-5
wait-state jumper 2-6
M Software, DriverLINX
description 1-3
Manuals, DriverLINX installing 2-2
accessing 2-3, 3-2 programming 3-1
installing 2-2 STA-50
Map terminal assignments 2-9
address B-2 using 2-9
Map, register B-1
Mating connector 2-7
U
P Unpacking the board 2-5
R
Registers
control registers
bit functions B-3
map B-1
programming 3-1
Resources, installation, inventory 2-2
i-2
This page intentionally left blank.
Keithley Instruments, Inc.
28775 Aurora Road
Cleveland, Ohio 44139
Printed in the U.S.A.