Page 1
PIO-12 User’s Guide A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Page 2
Hardware Keithley Instruments, Inc. warrants that, for a period of one (1) year from the date of shipment (3 years for Models 2000, 2001, 2002, 2010 and 2700), the Keithley Hardware product will be free from defects in materials or workmanship. This warranty will be honored provided the defect has not been caused by use of the Keithley Hardware not in accordance with the instructions for the product.
Page 3
EXCEPT FOR THE EXPRESS WARRANTIES ABOVE KEITHLEY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANT- ABILITY AND FITNESS FOR A PARTICULAR PURPOSE. KEITHLEY DISCLAIMS ALL WARRANTIES WITH RESPECT TO THE OTHER HARDWARE AND OTHER SOFTWARE.
Page 4
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.
Page 5
PIO-12 User’s Guide Revision F - April 2001 Part Number: 64190...
Page 6
Keithley products are designed for use with electrical signals that are rated Installation Category I and Installation Category II, as described in the International Electrotechnical Commission (IEC) Standard IEC 60664. Most mea- surement, control, and data I/O signals are Installation Category I and must not be directly connected to mains voltage or to voltage sources with high transient over-voltages.
Page 7
(Note that selected parts should be purchased only through Keithley Instruments to maintain accuracy and functionality of the product.) If you are unsure about the applicability of a replacement component, call a Keithley Instruments office for information.
Preface The PIO-12 User’s Guide describes how to set up and install the PIO-12 digital I/O interface board and to access the separate DriverLINX programming and configuration documentation. This guide serves data acquisition system designers, engineers, programmers, and other users responsible for setting up, cabling and wiring signals to PIO-12 boards.
Page 12
Appendix B contains pin assignments for the main connector of the PIO-12 board. Appendix C provides register maps, for background reference only (you program the PIO-12 boards through the DriverLINX interface, not at the register-level). An index completes the manual.
The PIO-12 is a 24-line, parallel, digital I/O interface board that provides a flexible interface for a variety of parallel I/O devices, including instruments, displays and user-assembled systems. The PIO-12 board is part of a family of digital input and output (I/O) ® boards designed for IBM PC series computers and compatibles.
C Upper), each of which can be an input or output. The PIO-12 has an interrupt input channel with a corresponding interrupt-enable line. A PIO-12 interrupt can be directed to any of six interrupt levels available on the PC bus.
Power levels of +5V, -5V, +12V, and -12V from the computer are available through the main I/O connector of the PIO-12. If you plan to use power from the PC, you should consider the power draw of all system devices and observe current-capacity limits of the computer.
The following accessories are available for use with PIO-12 boards. STA-U — screw terminal accessory. This accessory connects to the main I/O connector of the PIO-12 through a C-1800 cable to make all I/O signals accessible through labeled screw terminals.
Page 17
3A at 120V . The ERB-24 connects to the main I/O connector of the PIO-12 through a C-1800 cable. ERA-01 — electrical relay accessory containing eight single-pole, double-throw relays that can switch up to 3A at 120V C-1800 —...
PIO-12 board and software. Overview This section describes the following: Inventorying installation resources Installing the DriverLINX software needed to operate your PIO-12 board Configuring the installation in software Unpacking and inspecting the board, setting the base address of the board, and then installing the board in your computer...
3. Inventory your computer’s resources already allocated to other installed devices. 4. Determine whether your computer has sufficient resources for your PIO-12 board. 5. Determine whether your PIO-12 board can use your computer’s free resources. The DriverLINX Installation and Configuration Guide, Section 1, Note: amplifies the inventory process in checklist items 1-5.
A star next to a menu item means that it was selected previously. Before continuing with this installation, Keithley suggests clicking Read Me First on the DriverLINX CD Navigator and reviewing the brief...
Page 21
4. If you do not plan to develop custom application software for your PIO-12 board, then skip to Step 5. If you do plan to develop custom application software, you must install DriverLINX interfaces before writing the software. Install them now by clicking Install Interfaces and following the series of on-screen instructions.
Page 22
Under Configuration, click Hardware References. A list of documents appears. d. In the list of documents, click Keithley PIO Series. Acrobat Reader opens and the manual entitled Using DriverLINX with Your Hardware—Keithley PIO Series appears. e. Print the following section from the Using DriverLINX with Your Hardware—Keithley PIO Series manual: “Configuring the PIO...
Configuring Your Installation 1. Locate and briefly review the manual section, “Configuring the PIO Series,” that you printed earlier during step 9 of “Installing DriverLINX Software and Documentation.” Reviewing this section will help prepare you to input information and select options when configuring your installation.
Unpacking and Inspecting Use the following procedure to unwrap and inspect a PIO-12 board. 1. Factory packaging of the PIO-12 board includes a final wrap of protective, anti-static material. Remove the board from its anti-static wrapping material. You may wish to store the wrapping material for possible future use.
Before setting the base address switches, check the different Note: requirements for Windows 95/98 and Windows NT. Refer to “Configuring the PIO Series” in Using DriverLINX with Your Hardware—Keithley PIO Series manual, which you printed in step 9 of “Installing DriverLINX Software and Documentation.”...
The base address switch is preset at the factory for 300h (see Figure 2-1). If 300h was assigned to the board when you ran the DriverLINX Plug and Play Wizard, you do not need to reset the address switch. Otherwise, reset the base address switch to conform to the base address that was assigned when you ran the Wizard.
Installing or removing a board while power is on can damage Caution: your computer. Use the following steps to install a PIO-12 board in an accessory slot of your computer: 1. Turn off power to the computer and all attached equipment.
DriverLINX, verifies that DriverLINX and the board are installed and configured satisfactorily. You can also test the functions of the PIO-12 board, without needing to write an application program, by connecting appropriate digital signals and observing the responses with the DriverLINX AIO Panel.
c. Click on the AIO Panel entry. The Analog I/O Panel should appear, similar to the example in Figure 2-2. (If you have other DriverLINX devices installed in addition to the digital input/output card you are testing, they will also be listed. In that case, select the desired digital I/O card and the proper device number before proceeding.) Figure 2-2.
2. On the AIO Control Panel, click the DIO tab. Figure 2-3. DIO channel tab example 2-13...
Page 31
The on-screen digital I/O controller works as follows: Note: Channels 0 to 15 refer to the 8-bit general-purpose registers of your digital input-output card. (Depending on which card is used, the number of valid 8-bit registers will vary.) Bits displayed on the Digital Input Panel and the Digital Output Panel are numbered 0-7 for every channel.
Page 32
3. Under Digital I/O Configuration Panel, configure channels as shown in Figure 2-4. (Actual channels available will vary according to your hardware.) KEITHLEY Digital I/O Configuration Panel Channel Configuration Input Output Figure 2-4. Configuring the digital I/O channels as inputs and outputs...
6. In the Digital Input Panel under Channels, click on a channel to select it and display the logical state of its input lines. Output Set Test The output set test checks whether logic levels measured at all output pins agree with output bit patterns set by software, using a DriverLINX graphical interface (AIO Panel).
6. Start the AIO Panel as follows: a. In the Start menu, click Programs. b. Find the DriverLINX ➧ Test Panels folder, under which you should find the AIO Panel entry. c. Click on the AIO Panel entry. The Analog I/O Panel should appear, similar to the example in Figure 2-6.
Page 35
“I/O Bit Tests” of this section. 8. Under Digital I/O Configuration Panel, configure the output channels to be tested as shown in Figure 2-7. (Actual output channels available will vary according to your hardware.) KEITHLEY Digital I/O Configuration Panel Channel Configuration Input Output Figure 2-7.
Page 36
I/O terminals, then repeat steps 9, 10, and 11 for remaining output channels. 13. In the Digital Output Panel under Channels, click on the output channel to test (channel 0 in this example) as shown in Figure 2-9. KEITHLEY Digital Output Panel Channels Output Bits Figure 2-9.
14. In the Digital Output Panel under Output Bits, set the bits of channel 0 for bit pattern B as shown in Figure 2-9. 15. Measure the voltage between signal ground and each bit of the output port with a DMM or DVM. Make measurements at the STA-50 terminals or the cabled mating connector that is connected to the selected CONN-3160-D1 50-pin connector.
PIO-12. In situations where the PIO-12 is used with a dedicated peripheral (for example, a switch pad) and the cabling and design loads are fixed, you may find it more appropriate to use the PIO-12 power outputs. In most other cases, however, you are advised to power external devices from their own supplies.
This section describes the cabling and wiring required for attaching accessories and I/O lines to the main I/O connector of your PIO-12 boards. The main I/O connector of the PIO-12 is a 37-pin D-type. Pin assignments for this connector are shown in Figure 3-1.
Attaching Accessories The following accessories attach to the PIO-12 through a C-1800 or S-1800 cable, as shown in Figure 3-2: STA-U screw terminal accessory SSIO-24 12-channel mounting panel for I/O modules SRA-01 8-channel mounting panel for I/O modules ERB-24 electrical relay board...
Attaching an STC-37 Accessory The STC-37 is a screw terminal panel that appears as shown in Figure 3-3. D-Connector that connects to the PIO-12 main I/O connector Cable Clamp Figure 3-3. Layout of STC-37 Screw Terminal Connector Panel...
The STC-37 connects to the PIO-12 main I/O connector as shown in Figure 3-4. The screw terminal numbers of the STC-37 correspond to the pin numbers of the main I/O connector. STC-37 PIO-12 board Figure 3-4. Attaching an STC-37 Accessory...
Programming You do not program the registers of your PIO-12 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.
Page 44
6. Click on the wanted 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.
Troubleshooting If your PIO-12 board is not operating properly, use the information in this section to isolate the problem. If the problem appears serious enough to warrant technical support, refer to Technical Support for information on how to contact an applications engineer.
2-2, to “Configuring Your Installation” on page 2-6, and to “Configuring the PIO Series” in the manual Using DriverLINX With Your Hardware—Keithley PIO Series. Base address is incorrect or not Check the base-address-switch setting. If consistent with what the program the base address is set correctly, make sure is addressing.
Page 47
An open connection exists. Check wiring to screw terminal. Another system resource is using Reconfigure the base address of the PIO-12 the specified base address. board; refer to “Setting the Base Address” on page 2-8 for more information. Check the I/O assignments of other system resources and reconfigure, if...
Testing the Board and Host Computer To isolate the problem to the PIO-12 board or to the host computer, use the following steps: 1. Turn the power to the host computer OFF, and remove power connections to the computer. Removing a board with the power ON can cause damage to Caution: your board and/or computer.
2. Turn computer power ON and check operation with the functional board in place. This test checks the computer accessory slot. If you were using more than one PIO-12 board when the problem occurred, use the functional board to test the other slot, as well.
Page 50
An applications engineer will help you diagnose and resolve your problem over the telephone. Please make sure that you have the information page available before you call: PIO-12 Board Model ___________________ Configuration Serial # ___________________ Revision code ___________________ Base address setting...
Page 51
If you are submitting your equipment for repair under warranty, Notes: you must include the invoice number and date of purchase. To enable Keithley to respond as quickly as possible, you must include the RMA number on the outside of the package.
TTL (74 series) load or four LSTTL (74LS) loads. CMOS compatibility can be achieved by connecting a 10kΩ pullup resistor from the PIO-12 output to +5V. Table A-1 and Table A-2 list PIO-12 specifications. Table A-1. Input and Output Specifications...
Page 53
Table A-2. Environmental Specifications Feature Specification Bus-loading power consumption 170mA Operating temperature range 0 to 50˚C Storage temperature range -40 to 100˚C Humidity 0 to 90% noncondensing Dimensions 5 in. L x 4.25 in. H x 0.75 in. (12.7 cm x 10.8 cm x 1.9 cm) Weight 4 oz (113 g)
Connector Pin Assignments The connection between an external I/O device and the PIO-12 is made at the main I/O connector, which is a standard 37-pin, D-type male connector. The mating connector is a 37-pin, D-type female connector (part# SFC-37). Figure B-1 illustrates pin assignments of the PIO-12 main I/O connector.
Register Maps Address maps are provided here only for background reference Note: purposes. You do not program registers directly in Windows 95/98/NT. Instead, you program register changes through the application programming interface (API) of DriverLINX, which is provided on the CD-ROM that comes with your board.
Port Configuration Each port or half-port is configured as an input or an output according to the value of the control word in the PPI control register. The control word is 1-byte word programmed at Base Address +3. Refer to Table C-1 for the complete 8255 PPI address map.
Page 57
A power-up or reset automatically configures all ports as inputs. This configuration remains intact until changed by a write to the control register. The initialization section of your program should set the port configuration. Table C-2 illustrates how the port configuration is derived from the control word.
Control words that match various port directions are listed in Table C-3. This table summarizes information from the Intel peripheral data book on control words and their port directions for mode 0. Table C-3. PIO Control Word Port C Port C Control Word Port A Port B...
Page 59
accessories, attaching data input latch accessory digital I/O ports ERA-01 documentation, DriverLINX ERB-24 accessing 2-4, SRA-01 installing SSIO-24 documentation, this manual, installing STA-U DriverLINX STC-37 configuring anti-static wrapping material description attaching documentation, accessing 2-4, accessories documentation, installing the STC-37 accessory installing programming base address switch...
Page 60
I/O devices installing pin assignments documentation port configuration C-2, software, DriverLINX power levels installing a PIO-12 board 2-10 PPI (Programmable Peripheral Interface) interfaces 8255 PPI address map installing for applications 8255 PPI description interrupt precautions, installation...
Page 61
DriverLINX description technical support installing TTL/CMOS-compatible programming specifications SRA-01 accessory SSIO-24 accessory STA-U accessory unpacking and inspecting supporting software using power from the PIO-12 2-21 switch and jumper locations symptoms and possible solutions...
Page 62
Specifications are subject to change without notice. All Keithley trademarks and trade names are the property of Keithley Instruments, Inc. All other trademarks and trade names are the property of their respective companies. Keithley Instruments, Inc. 28775 Aurora Road • Cleveland, Ohio 44139 • 440-248-0400 • Fax: 440-248-6168 1-888-KEITHLEY (534-8453) •...
Need help?
Do you have a question about the PIO-12 and is the answer not in the manual?
Questions and answers