Keithley KPCI-PIO96 User Manual

Keithley KPCI-PIO96 User Manual

Parallel digital i/o board

Advertisement

Quick Links

sales@artisantg.com
artisantg.com
(217) 352-9330 |
|
Click HERE
Find the Keithley KPCI-PIO96 at our website:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KPCI-PIO96 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Keithley KPCI-PIO96

  • Page 1 (217) 352-9330 | Click HERE Find the Keithley KPCI-PIO96 at our website:...
  • Page 2 KPCI-PIO96 Parallel Digital I/O Board User’s Manual 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 3 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. This warranty shall be null and void upon: (1) any modification of Keithley Hardware that is made by other than Kei- thley and not approved in writing by Keithley or (2) operation of the Keithley Hardware outside of the environmental specifications therefore.
  • Page 4 KPCI-PIO96 Parallel Digital I/O Board User’s Manual ©1998, Keithley Instruments, Inc. All rights reserved. Cleveland, Ohio, U.S.A. Third Printing, September 2002 Document Number: 98060 Rev. C Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 5 Revision C (Document Number 98060) ......... September 2002 All Keithley product names are trademarks or registered trademarks of Keithley Instruments, Inc.
  • Page 6 Keithley products are designed for use with electrical signals that The instrument and accessories must be used in accordance with its are rated Installation Category I and Installation Category II, as de- specifications and operating instructions or the safety of the equip-...
  • Page 7 Keithley Instru- symbol on an instrument indicates that the user should re- ments. Standard fuses, with applicable national safety approvals, fer to the operating instructions located in the manual.
  • Page 8: Table Of Contents

    Installing theTestPoint User Defined Object (UDO) ..................3-3 Unwrapping and inspecting the KPCI-PI096 board .................... 3-4 Installing and connecting the KPCI-PIO96 board ....................3-4 Locating the I/O connection points on the board .................... 3-5 Connecting I/O cables and interface accessories .................... 3-6 Using locally fabricated cable assemblies....................
  • Page 9 I/O Address Mapping General memory assignments..........................4-2 Control and data register memory assignments....................4-2 Setting control and data registers .........................4-4 Troubleshooting Identifying symptoms and possible causes......................5-2 Systematic problem isolation ..........................5-3 General problem isolation procedure ......................5-3 I/O bit tests ..............................5-9 I/O loop-back test .............................5-10 Output set test ............................5-16 Technical support ...............................5-22 Appendix A...
  • Page 10 Contact-closure monitoring at a KPCI-PIO96 board input system connections ........3-10 Figure 3-5 De-bounce circuit for an input of a KPCI-PIO96 board ................3-10 Figure 3-6 NPN transistor relay control for an output of a KPCI-PIO96 board............3-11 Troubleshooting Figure 5-1 Problem isolation flowchart ......................... 5-4 Figure 5-2 Mating connector wiring for loop-back test....................
  • Page 11 Table 5-5 Where to insert the output set test mating connector ..................5-17 Table 5-6 Which channel tab to click..........................5-18 Specifications Table A-1 KPCI-PIO96 Specifications ..........................A-2 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 12: Overview

    Overview Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 13 The manual is intended for data acquisition system designers, engineers, technicians, scientists, and other users responsible for setting up, cabling, and wiring signals to KPCI-PIO96 boards. It is assumed that users are familiar with data acquisition principles and with their particular application.
  • Page 14: General Description

    General Description Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 15: Specifications

    PIO96 works in a Windows 95/98/NT environment and takes advantage of the 32 bit width and the Plug and Play feature of the PCI bus. The KPCI-PIO96 meets a wide variety of parallel I/O requirements, including communicating with peripherals, operating relays, and reading switch inputs.
  • Page 16: Other I/O Characteristics

    PCI bus utilization. The AMCC S5933 provides two modes of operation: bus mastering and target. The KPCI-PIO96 only implements the target mode. The target mode, also referred to as passthrough operation, provides a simple register access port to the PCI bus.
  • Page 17: Installation

    Installation Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 18: Installing The Software

    Otherwise, the device drivers will be more difficult to install. Software options The KPCI-PIO96 has two software options. The user can select a fully integrated data acquisition software package (e.g., TestPoint or LabVIEW). The user can also run a custom program in Visual C/C++, Visual Basic, or Delphi using DriverLINX (included with the hardware).
  • Page 19: Testpoint

    Installing the TestPoint User Defined Object (UDO) The TestPoint Digital I/O object (DIO) cannot be used with the KPCI-PIO96 board. Instead, Keithley provides a TestPoint User Defined Object (UDO) on the CD-ROM that contains this manual. The TestPoint UDO provides the same features as the TestPoint DIO.
  • Page 20: Unwrapping And Inspecting The Kpci-Pi096 Board

    PIO96 board.” Installing and connecting the KPCI-PIO96 board The four KPCI-PIO96 I/O connectors are located on the face of the circuit board. Therefore, cables to the user’s external circuits must be connected to the board before installing the card in the computer.
  • Page 21: Locating The I/O Connection Points On The Board

    KPCI-PIO96 User’s Manual Installation Locating the I/O connection points on the board The board has four identical I/O connectors: one for each group of PA, PB and PC ports (i.e one connector for each emulated 8255 chip). Each I/O connector has a 50-pin, 0.1” header configuration.
  • Page 22 Installation KPCI-PIO96 User’s Manual Table 3-1 Pin descriptions for KPCI-PIO24 I/O connector Pin No. Pin label Description 1, 3, 5, 7, 9, 11, 13, 15 PA0 to PA7 The eight I/O bits of port A. PA0 is the least significant bit (LSB) of port A and PA7 is the most significant bit (MSB).
  • Page 23: Connecting I/O Cables And Interface Accessories

    Installation Connecting I/O cables and interface accessories The KPCI-PIO96 I/O connectors can be mated directly to your external circuits using locally fabricated cable assemblies. Alternatively, the connectors can be mated to your circuits via manufactured cable assemblies and interface accessories, such as screw terminal boards and relay circuits.
  • Page 24 Description of manufactured cables and accessories Cable/accessory Description ADP-5037 PIO-96 to 37-pin conversion cable. CACC-2000 Cable, 24 in, KPCI-PIO96 to STA-50, STP-50, ERB-24 or SSIO-24. ERA-01 8-channel SPDT relay output assembly. Requires C1800 and ADRP-5037 cables. ERB-24 24-channel DPDT relay output board. Requires CACC-2000 cable.
  • Page 25: Installing The Board

    Otherwise, the device drivers will be more difficult to install. Use the following steps to install a KPCI-PIO96 board in a PCI expansion slot on your computer: 1. Turn power OFF to the computer, and to all external circuits if any are attached to the board.
  • Page 26: Monitoring Contact Closure At An Input

    KPCI-PIO96 User’s Manual Monitoring contact closure at an input To ensure that the KPCI-PIO96 reliably monitors an open contact as an input-high condition, connect a 10 kΩ pull-up resistor between the input line and a +5 VDC source. See Figure 3-4.
  • Page 27: Boosting Relay Drive Current

    Some relays require higher drive currents than standard solid-state relays. The maximum output low sink current for each I/O line of a KPCI-PIO96 board is 64mA at 5V. If your relay requires more than 64mA or more than 5V, you can boost the drive current and/or voltage for relay control using the circuit shown in Figure 3-6.
  • Page 28: I/O Address Mapping

    I/O Address Mapping Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 29: General Memory Assignments

    NOTE The term “Base” address in Table 4-1 does not have the same mean- ing for a PCI board, such as the KPCI-PIO96, as for an ISA board. The base address for your KPCI-PIO96 is a memory mapped address, BADDR1, that is assigned by Plug and Play. It is not a fixed, user assigned I/O address such as 0x300 or 0x310.
  • Page 30 KPCI-PIO96 User’s Manual I/O Address Mapping Table 4-1 Data and control register addresses Address Contents I/O Function Base + 0x0 offset Port group 0 data Read/Write Base + 0x4 offset Port group 1 data Read/Write Base + 0x8 offset Port group 2 data...
  • Page 31: Setting Control And Data Registers

    Software manipulation of data registers for an ISA board, via I/O port calls, is straightforward. However, software manipulation of data registers for a PCI board, such as the KPCI-PIO96, is more involved. As mentioned in the chapter introduction, DriverLINX eliminates the need for user interaction with control and data registers.
  • Page 32: Troubleshooting

    Troubleshooting Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 33: Identifying Symptoms And Possible Causes

    Troubleshooting KPCI-PIO96 User’s Manual If your KPCI-PIO96 board is not operating properly, use the information in this section to isolate the problem before calling Keithley Applications Engineering. If you then need to contact an applications engineer, refer to “Technical support.”...
  • Page 34: Systematic Problem Isolation

    In the following procedure, the term “board” always refers to a KPCI-PIO96 board. The procedure never directs you to install or remove any type of PCI board other than a KPCI-PIO96 board. In Figure 5-1 the number in brackets in each flowchart block (e.g .
  • Page 35 Troubleshooting KPCI-PIO96 User’s Manual Figure 5-1 Problem isolation flowchart Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 36 KPCI-PIO96 User’s Manual Troubleshooting To further isolate the problem to the KPCI-PIO96 board or to the host computer, use the following steps: 1. Check if board damage is seen on inspection. Proceed as follows: NOTE If more than one KPCI-PIO96 board is installed in your computer, disconnect, remove, and check all KPCI-PIO96 boards.
  • Page 37 Boot the computer and, during boot, determine whether your operating system has identified the OK board as a PCI resource. 11. If KPCI-PIO96 boards were originally installed in other PCI slots, then repeat steps 9 and 10 with the OK board in each of these slots.
  • Page 38 If you have arrived again at step 19 after apparently correcting all program errors in the data acquisition program, the cause of your problem may be outside the scope of these diagnostics. Read the instructions in “Technical support,” and then contact Keithley for help in isolating the cause of your problem.
  • Page 39 Continue with step 22. 22. Check each external I/O connection, one at a time, for short circuits and open circuits. If KPCI-PIO96 boards were installed in more than one PCI slot, check the I/O connections for all boards.
  • Page 40: I/O Bit Tests

    25b through 25e for each board until you find a faulty board. Replace the faulty board with the OK board. (To repair the faulty board or obtain a new one, contact Keithley as described in “Technical support.”) Then continue with step 27.
  • Page 41: I/O Loop-Back Test

    You insert this connector into one of the KPCI-PIO96 I/O connectors. Then, you use a DriverLINX graphical interface to configure the bits of port A as outputs and ports B and C as inputs. Thereafter, you use this same DriverLINX graphical interface to set two different bit patterns at port A and to check in each case for corresponding bit patterns at ports B and C.
  • Page 42 When wiring the loop-back connections, keep in mind the limited clearance between the KPCI-PIO96 board and other PCI boards. If the KPCI-PIO96 board is adjacent to another PCI board, wire the circuit at the end of a 50-conductor ribbon cable. Make sure that the ribbon cable is long enough.
  • Page 43 KPCI-PIO96 User’s Manual 2. Turn OFF the host computer. 3. Remove the KPCI-PIO96 board. 4. Insert the loop-back test connector, prepared in step 1, into the board connector designated in Table 5-3. (For connector locations, see Figure 3-2.) If the loop-back circuit is connected via a ribbon cable, feed the cable out through the slot in the mounting bracket.
  • Page 44 KPCI-PIO96 User’s Manual Troubleshooting 5-13 Figure 5-3 IO Control Panel example 9. On the PIO Control Panel, click the ‘Chn’ channel tab indicated in Table 5-4. Table 5-4 Which channel tab to click If you are testing this group of A, B, and C ports:...
  • Page 45 5-14 Troubleshooting KPCI-PIO96 User’s Manual Figure 5-4 Setting port input and output ‘Configure’ switches PORT A Configure Output Input PORT B Configure Output Input PORT C Configure Output Input 11. Using the port A ‘write/read’ switch on the PIO Control Panel, set port A to ‘write’ as shown in Figure 5-5.
  • Page 46 KPCI-PIO96 User’s Manual Troubleshooting 5-15 Figure 5-6 Port A output settings, bit pattern 1 PORT A 7 6 5 4 3 2 1 0 &H55 NOTE Note that the bit is ON when the switch button is DOWN. 13. Click the ‘Update All’ button on the PIO Control Panel.
  • Page 47: Output Set Test

    Output set test The output set test checks whether logic levels measured at all KPCI-PIO96 output pins agree with output bit patterns set by software, using a DriverLINX graphical interface. NOTE This test is performed without user circuits being connected to the outputs.
  • Page 48 See Figure 3-2. 2. Turn OFF the host computer. 3. Remove the KPCI-PIO96 board. 4. Insert the test connector or cable assembly/terminal accessory into the board connector designated in Table 5-5. (For connector locations, see Figure 3-2.) Feed the cable out through the slot in the mounting bracket.
  • Page 49 5-18 Troubleshooting KPCI-PIO96 User’s Manual Figure 5-9 PIO Control Panel example 9. On the PIO Control Panel, click the ‘Chn’ channel tab indicated in Table 5-6. Table 5-6 Which channel tab to click If you are testing this group of A, B, and C ports:...
  • Page 50 KPCI-PIO96 User’s Manual Troubleshooting 5-19 Figure 5-10 Setting port ‘Configure’ switches PORT A Configure Output Input PORT B Configure Output Input PORT C Configure Output Input 11. Using the port ‘write/read’ switches on the PIO Control Panel, set ports A, B and C to ‘write’...
  • Page 51 5-20 Troubleshooting KPCI-PIO96 User’s Manual 12. Using the DIP switches on the PIO Control Panel, set ports A, B, and C to bit pattern 1, as shown in Figure 5-12. Bit pattern 1 corresponds to a byte value of 55 in hexadecimal.
  • Page 52 KPCI-PIO96 User’s Manual Troubleshooting 5-21 Figure 5-13 Port output settings, bit pattern 2 PORT A 7 6 5 4 3 2 1 0 &HAA PORT B 7 6 5 4 3 2 1 0 &HAA PORT C 7 6 5 4 3 2 1 0 &HAA...
  • Page 53: Technical Support

    Troubleshooting KPCI-PIO96 User’s Manual 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.
  • Page 54 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 55: Specifications

    Specifications Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 56 Specifications KPCI-PIO96 User’s Manual Specifications for the KPCI-PIO96 board are listed in the following table. Table A-1 KPCI-PIO96 Specifications Number of 96, bi-directional, non-isolated, I/O Lines TTL compatible For each group of 24 I/O lines, emulates I/O interface one 8255A chip configured for Mode O...
  • Page 57: Glossary

    Glossary Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 58 Glossary KPCI-PIO96 User’s Manual Address A number specifying a location in memory where data is stored. See application programming interface. Application programming interface A set of routines used by an application program to direct the performance of a procedure by the computer’s operating system.
  • Page 59 KPCI-PIO96 User’s Manual Glossary Foreground task An operation, such as a task that occurs in the single or synchronous mode, that cannot take place while another program or routine is running. FIFO First-in/first-out memory buffer. The first data into the buffer is the first data out of the buffer.
  • Page 60 +2.0 V and above. Microsoft Press® Computer Dictionary, Third Edition. Refer to “Sources” below. Sources: Keithley Instruments, Inc., Catalog and Reference Guide (full line catalog), glossary, 1998 Microsoft Press® Computer Dictionary, Third Edition (ISBN: 1-57231-446-X) by Microsoft Press.
  • Page 61 5-3, 5-4 handling 3-4, 3-6 I/O, mating, type to use 3-5, 5-10, 5-16 installing 3-8 loop-back, precautions 5-11 returning to Keithley 5-22 Connectors, I/O spare, using in troubleshooting 5-3, 5-4 locations 3-6 unwrapping and inspecting 3-4 port group assignments 3-6...
  • Page 62 2-3, A-2 signal, I/O pin assignment 3-5 Current, I/O rating 2-3, A-2 to protect board 3-4, 3-6, 3-8 Darlington Help, getting Keithley See technical support definition B-2 Humidity range, board A-2 Delphi DriverLINX driver for 3-2, 4-2 Digital common See grounding, signal, I/O...
  • Page 63 Power, board circuits, for external 3-10 Power-up/reset configuration, ports 2-3 definition B-3 Precautions Mapping, memory 4-2 base address, different meaning 4-2 Mating connector, I/O See connector, I/O, mating, type board, power OFF when servicing See to use board handling Memory board, unwrapping and handling See control and data register setting 4-4 board handling...
  • Page 64 Returning board 5-23 Returning board to Keithley 5-22 Visual Basic DriverLINX driver for 3-2, 4-2 Visual C++ Safety Precautions 3 DriverLINX driver for 4-2 Shielding Visual C/C++ definition B-3 DriverLINX driver for 3-2 Signal conditioning, input and output 3-8 parameters, board A-2...
  • Page 65 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) •...

Table of Contents