Page 1
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
Page 2
PIO-24 Parallel Digital Interface Board 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 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 4
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 5
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 7
Revision B (Part Number 64230) ..................July 1999 Revision C (Part Number 64230) ..................April 2001 All Keithley product names are trademarks or registered trademarks of Keithley Instruments, Inc. Other brand names are trademarks or registered trademarks of their respective holders.
Page 8
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 9
(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.
Base address switch ............2-3 J8 slot jumper ................2-4 Interrupt level selection ............2-4 Installing and configuring DriverLINX for PIO-24 boards ..2-5 Before installing DriverLINX ..........2-5 Selecting the DriverLINX components to install ....2-6 Installing DriverLINX ............2-6 Configuration with DriverLINX .........
Page 11
Programming General ..................5-2 Control Byte ................5-2 Selecting an application programming interface ......5-3 DriverLINX interface ............5-4 Direct I/O application programming interface ....5-5 Installing the Direct I/O Driver ........... 5-5 Configuring the Direct I/O Driver ........5-6 Programming the Direct I/O Interface .........
Page 12
List of Illustrations Introduction Figure 1-1 PIO-24 block diagram ............1-2 Figure 1-2 Poor implementation of monitoring a digital input ....1-4 Figure 1-3 Better implementation of monitoring a digital input ..... 1-5 Figure 1-4 I/O connector, rear view ............1-7...
Page 13
Table 1-1 Specifications ................. 1-6 Installation Table 2-1 I/O address map ..............2-4 I/O Address Map Table 3-1 PIO-24 locations ..............3-2 Programming Table 5-1 Mode 0 control words and port directions ......5-3 Troubleshooting Table 6-1 Troubleshooting information ..........6-3...
-12V Common Referring to the block diagram, the PIO-24 is a high-current, 24-line, parallel, dig- ital I/O interface board for the IBM PC or PC-compatible. The board emulates an 8255 Programmable Peripheral Interface Control Word MODE 0. (While the Keithley PIO-12 also uses an 8255 Programmable Peripheral Interface chip, it drives much less current than the PIO-24.)
Page 16
PIO-24 interrupts are unlatched and edge-sensitive. • The PIO-24 performs a 10-bit I/O address decode and communicates with the PC Bus as an 8-bit peripheral. The address map uses four consecutive I/O addresses. Multiple PIO-24s may be installed in a computer at different Base Addresses.
When the switch is closed, the input will be pulled low. While this would work on an older design of the PIO-24, this is a poor implementation because the input load current can vary from one board to the next.
In Figure 1-3, the digital input is guaranteed to be pulled high because of the 10k ohm resistor. This implementation would work on both the old and new design of the PIO-24 and is the preferred implementation to avoid dependence on a specific level of input load current.
Introduction Connections Figure 1-4 shows a rear view of the 37-pin D male I/O connector. The mating con- nector is a 37-pin D female (Part No. SFC-37). Figure 1-4 I/O connector, rear view Dig. Com. Dig. Com. +12V Dig. Com. -12V Dig.
Switch and jumper settings The PIO-24 contains a switch for setting Base Address and jumper pads for select- ing Interrupt Level and board location. Each is shown in Figure 2-1 and described in the following subsections.
Installation Figure 2-1 Switch and jumper layout INTERRUPT LEVEL SLOT 2 3 4 5 6 7 X BASE ADDRESS 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 Base address switch The Base Address switch is preset at the factory for 300 Hex, as shown in Figure 2-2.
Installation The factory-preset Base Address of 300 Hex is within the address range shown in the following table as Reserved. This default value will function in most computers without conflict, thereby eliminating any need for address selection and configura- tion. However, if you have a need to change the Base Address from its preset value, you must select an address within a range of 200 to 3FC Hex (512 to 1020 Decimal).
Determine whether your PIO-24 board can use your computer’s free resources. Set any jumpers/switches to configure your PIO-24 board to use your com- puter’s free resources. Set any other jumpers/switches to configure your PIO-24 board the way you want the board to operate.
Select ‘Install Documentation.’ If you do not have Adobe Acrobat installed on your computer, install it by selecting ‘Install Adobe Acrobat.’ Open the manuals appropriate to the PIO-24 installation and read them before installing your PIO-24 board or configuring DriverLINX: •...
Then slide the plate up and out to remove. Hold the PIO-24 board in one hand placing your other hand on any metallic part of the PC/AT chassis (but not on any components). This will safely dis- charge any static electricity from your body.
In situations where the PIO-24 is used with a dedicated peripheral (for example, a switch pad) and the cabling and design loads are fixed, you may find it more feasible to use the PIO-24 power outputs. In most other cases, however, you are advised to power external devices from their own supplies.
I/O Address Map General The PIO-24 uses four locations in I/O address space as shown in Table 3-1. Note that the PIO-24 requires a full block of four I/O addresses. Table 3-1 PIO-24 locations Location Function Type Base Address +0...
Again select the Device menu and then choose the Configure... option to dis- play the Device Configuration Dialog Box. From the Model list, select the model name for the PIO-24 board you are configuring. If the value displayed in the Address edit box is not correct, type the correct value into the box.
Page 33
After you install the PIO-24 board and configure DriverLINX for the desired PIO-24 configuration, you can attach an accessory board and wire the appropriate sig- nals to the board. Before writing your application program, you can test the functions of the PIO-24 board using the DriverLINX AIO Panel.
Configuring DriverLINX I/O bit tests General information Start the AIO Panel as follows: In the Start menu, click Programs. Find the DriverLINX Test Panels folder, under which you should find the AIO Panel entry. Click on the AIO Panel entry. The Analog I/O Panel should appear, similar to the example in Figure 4-1.
Page 35
Configuring DriverLINX On the AIO Control Panel, click the DIO tab. Figure 4-2 DIO channel tab example NOTE The on-screen digital I/O controller works as follows: • 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 num- ber 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 36
Under Digital I/O Configuration Panel, configure channels as shown in Figure 4-3. (Actual channels available will vary according to your hardware.) Figure 4-3 Configuring the digital I/O channels as inputs and outputs KEITHLEY Digital I/O Configuration Panel Channel Configuration Input...
In the Digital Output Panel under Channels, click on a channel (here, chan- nel 0) as shown in Figure 4-4. Figure 4-4 Configuring channel 0 for output bit pattern A KEITHLEY Digital Output Panel Channels Output Bits In the Digital Output Panel under Output Bits, set the bits of the channel as desired as shown in Figure 4-4.
Page 38
Configuring DriverLINX Start the AIO Panel as follows: In the Start menu, click Programs . Find the DriverLINX ➧ Test Panels folder, under which you should find the AIO Panel entry. Click on the AIO Panel entry. The Analog I/O Panel should appear, similar to the example in Figure 4-5.
Page 39
Under Digital I/O Configuration Panel, configure the output channels to be tested as shown in Figure 4-6. (Actual output channels available will vary according to your hardware.) Figure 4-6 Configuring the digital I/O channels as inputs and outputs KEITHLEY Digital I/O Configuration Panel Channel Configuration Input Output...
Page 40
In the Digital Output Panel under Channels , click on the output channel to test (channel 0 in this example) as shown in Figure 4-8. Figure 4-8 Configuring channel 0 for output bit pattern B KEITHLEY Digital Output Panel Channels Output Bits In the Digital Output Panel under Output Bits, set the bits of channel 0 for bit pattern B as shown in Figure 4-8.
Configuring DriverLINX 4-11 Again, each bit set to ON in the AIO Panel should output a logic-high signal at the corresponding I/O terminal, reading typically about 4 volts (minimum of 2.2 volts) at a DMM/DVM. Each bit set to OFF in the AIO Panel should output a logic-low signal at the corresponding I/O terminal, reading typically about 0 volts (maximum of 0.8 volts) at a DMM/DVM.
Programming General The PIO-24 emulates the Intel 8255 PPI Control Word Mode 0. On power up or whenever the PC Bus RESET line is asserted, all ports are initially set up in the Input Mode. The PA and PB Ports are byte-wide, and the direction of all lines within a port is set by the Control Register.
Programming To simplify your selection of a Control Byte to match your choice of port direc- tions, use Table 5-1. This chart summarizes information from the Intel Peripheral Data book on control words and their port directions for Mode 0. Table 5-1 Mode 0 control words and port directions Port C...
Programming DriverLINX interface For maximum portability and versatility, it is recommended that the DriverLINX interface be used. The DriverLINX interface has the following advantages: • Hardware independence — DriverLINX supports ISA, PCMCIA, and PCI digital I/O boards with a common interface as well as digital ports on analog I/O and counter/timer boards.
Programming Direct I/O application programming interface The Direct I/O interface uses the methods of an ActiveX Automation object to access the PIO hardware. This interface has the following advantages: • Operating system independence — Both Windows 95/98 and Windows NT support this interface.
Programming Configuring the Direct I/O Driver The Direct I/O Driver requires that you configure a DriverLINX Logical Device using the DriverLINX Configuration Panel utility. The Direct I/O driver does not require any separate configuration. Programming the Direct I/O Interface The Direct I/O Interface is an ActiveX Automation object hosting one interface. This control is compatible with Microsoft Visual C++ and Visual Basic as well as other ActiveX-hosting languages.
Page 48
The following instructions are for Version 5 of Microsoft Visual Basic. If you have a different version, consult the Visual Basic documentation. From VB’s Project menu, select References..Scroll through the Available References, looking for Keithley ISA PIO Direct I/O Library. Check Keithley ISA PIO Direct I/O Library and then click OK.
Troubleshooting General If your PIO-24 board is not operating properly, use the information in this chapter to isolate the problem. If the problem appears serious enough to warrant technical support, refer to Technical support on page 6-6 for information on how to contact an applications engineer.
Troubleshooting Problem isolation If you encounter a problem with a PIO-24 board, use the instructions in this sec- tion to isolate the cause of the problem before calling Keithley for technical support. If your board is not operating properly after using the information in Table 6-1, continue with the next two sections to further isolate the problem.
Page 52
BIOS setup. An open connection exists. Check wiring to screw terminal. Another system resource is Reconfigure the base address of the using the specified base PIO-24 board. Check the I/O address. assignments of other system resources and reconfigure, if necessary. Computer Board not seated properly.
Troubleshooting Testing the board and host computer To isolate the problem to the PIO-24 board or to the host computer, use the follow- ing steps: CAUTION Removing a board with the power ON can cause damage to your board and/or computer.
Troubleshooting Technical support Before returning any equipment for repair, call Keithley for technical support at: 1-888-KEITHLEY Monday - Friday, 8:00 a.m. - 5:00 p.m., Eastern Time An applications engineer will help you diagnose and resolve your problem over the telephone. Please make sure that you have the following information available before you call: PIO-24 board configuration...
Page 55
If you are submitting your equipment for repair under warranty, 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.
Page 56
CD ROM logical device DriverLINX installation configuration in DriverLINX compiler required for supporting Windows development computer manuals needed for PIO-24 and DriverLINX DriverLINX memory computer resources requirement for computer determination for installation Microsoft Windows configuration versions supported...
Page 57
technical support verify instructions for using board operation using DriverLINX Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 58
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) •...
Page 59
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
Need help?
Do you have a question about the PIO-24 and is the answer not in the manual?
Questions and answers