manualshive.com logo in svg
background image

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

Control 
group

Bit
number

Function

I/O status for this bit

1

When bit value = 0  When bit value = 1 

Bit 7

Mode set flag

Inactive

Active

A

Bit 6

Mode selections for the PA 
and the PC-upper ports

When bit 6 = 0 AND bit 5 = 0: Mode 0
When bit 6 = 0 AND bit 5 = 1: Mode 1
When bit 6 = 1 AND bit 5 = 0: Mode 2
When bit 6 = 1 AND bit 5 = 1: Mode 2

Bit 5

Bit 4

I/O direction for the PA port

Outputs, all bits of 
this port. 

Inputs, all bits of 
this port.

Bit 3

I/O direction to the PC-upper 
port

Outputs, all bits of 
this port. 

Inputs, all bits of 
this port.

B

Bit 2

Mode selections for the PB 
and the PC-lower ports

Mode 0

Mode 1

Bit 1

I/O direction for PB port 

Outputs, all bits of 
this port. 

Inputs, all bits of 
this port. 

Bit 0

I/O direction for the 
PC-lower port

Outputs, all bits of 
this port. 

Inputs, all bits of 
this port. 

1

For safety, the values of bits 0, 1, 3, and 4 default to “1” upon computer power-up or reset, so that all ports start out as 

inputs.

Содержание PIO-96

Страница 1: ...PIO 96 ISABusDigitalI OBoard Instruction Manual...

Страница 2: ...vices 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...

Страница 3: ...y Instruments Inc All rights reserved Cleveland Ohio U S A Fourth Printing December 1999 Document Number 73270 Rev D Windows and WindowsNT are registered trademarks of Microsoft Corporation DriverLINX...

Страница 4: ...into the manual Addenda are num bered sequentially When a new Revision is created all Addenda associated with the previous Revision of the manual are incorporated into the new Revision of the manual E...

Страница 5: ...sent A good safety practice is to expect that hazardous voltage is present in any unknown circuit before measuring Users of this product must be protected from electric shock at all times The responsi...

Страница 6: ...before performing the indicated procedure The CAUTION heading in a manual explains hazards that could damage the instrument Such damage may invalidate the warranty Instrumentation and accessories sha...

Страница 7: ...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 Identi...

Страница 8: ...ii...

Страница 9: ...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 conn...

Страница 10: ...iv...

Страница 11: ...List of Tables v 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...

Страница 12: ...vi...

Страница 13: ...1 General Description...

Страница 14: ...ses 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 825...

Страница 15: ...cifically 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...

Страница 16: ...1 4 General Description PIO 96 User s Manual...

Страница 17: ...2 Installation...

Страница 18: ...s for now To display this manual from your DriverLINX PIO Series CD ROM open the Windows Explorer then double click on X Drvlinx4 Docs Instconf pdf where X the letter of the CD ROM drive Acrobat Reade...

Страница 19: ...m now by clicking Install Inter faces and following the series of on screen instructions When done the Install These DriverLINX Components screen reappears 5 Click Install Documentation and follow the...

Страница 20: ...tion 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 sc...

Страница 21: ...any sign of damage to the shipper and the manufacturer Confirm that each item on the packing list has been shipped It is a good idea to retain the pack ing material in the event that the board must be...

Страница 22: ...he wait state jumper The wait state PIO 96 generator 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 disabled by set...

Страница 23: ...ce 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 Installing the board This...

Страница 24: ...e Start menu click Programs 3 Find the DriverLINX Test Panels entry under which you should find the PIO Panel entry 4 Click on the PIO Panel entry The PIO Control Panel should appear 5 After you confi...

Страница 25: ...herefore the numbers of an STA 50 screw termi nal accessory match the pin numbers of a PIO 96 I O 50 pin connector See Figure 2 3 above It also provides a circuit breadboarding area and a second conne...

Страница 26: ...repairs The com puter power supply is designed to shutdown on a short circuit but you should not rely on this characteristic The amount of power drawn must be consistent with the capacity of the compu...

Страница 27: ...3 Programming...

Страница 28: ...ll 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 Docum...

Страница 29: ...A Specifications...

Страница 30: ...0 A Input low current interrupt inputs 0 4mA Input high current interrupt inputs 20 A Output low voltage PA PB PC ports Isink 1 7mA 0 45V Output high voltage PA PB PC ports 2 4V Output source current...

Страница 31: ...B I O Address Map...

Страница 32: ...te 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 Note that the PIO 96 requires a full block...

Страница 33: ...er 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 i...

Страница 34: ...his 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 Table B 3 Example control bytes for mode 0...

Страница 35: ...C User Serviceable Parts...

Страница 36: ...igital 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 o...

Страница 37: ...tallation 2 8 Computer resources determination for installation 2 2 Configuring DriverLINX 2 4 installation 2 4 Connector board pin assignments 2 9 mating 2 7 Connector board 2 7 Connectors summary 1...

Страница 38: ...autions installation board 2 5 DriverLINX before board 2 2 Programming DriverLINX 3 1 overview 1 3 programming registers 3 1 R Registers control registers bit functions B 3 map B 1 programming 3 1 Res...

Страница 39: ...This page intentionally left blank...

Страница 40: ...Keithley Instruments Inc 28775 Aurora Road Cleveland Ohio 44139 Printed in the U S A...

Отзывы: