Keithley KPCI-PIO24 User Manual

Keithley KPCI-PIO24 User Manual

Parallel digital i/o board
Table of Contents

Advertisement

Quick Links

Keithley KPCI-PIO24 Manual
Get Pricing & Availability at
ApexWaves.com
Call Today: 1-800-915-6216
Email:
sales@apexwaves.com
https://www.apexwaves.com/modular-systems/keithley/digital-io-boards/KPCI-PIO24

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Keithley KPCI-PIO24

  • Page 1 Keithley KPCI-PIO24 Manual Get Pricing & Availability at ApexWaves.com Call Today: 1-800-915-6216 Email: sales@apexwaves.com https://www.apexwaves.com/modular-systems/keithley/digital-io-boards/KPCI-PIO24...
  • Page 2 KPCI-PIO24 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...
  • 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-PIO24 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: 98230 Rev. C...
  • Page 5 Revision B (Document Number 98230) ..................September 1998 Revision C (Document Number 98230) ..................September 2002 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.
  • 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

    LabVIEW ..............................3-3 Installing DriverLINX ..........................3-3 Installing TestPoint with your hardware ...................... 3-3 Unwrapping and inspecting the KPCI-PIO24 board ................... 3-4 Installing and connecting the KCPI-PIO24 board ....................3-4 Installing the board ............................3-5 Identifying the I/O connector and pin assignments ..................3-5 Connecting I/O cables and interface accessories ..................
  • Page 9 I/O Address Mapping Interrupts ................................4-2 I/O address mapping............................4-2 General memory assignments ........................4-2 Control and data register memory assignments.................... 4-3 Setting control and data registers ........................4-6 Troubleshooting Identifying symptoms and possible causes ......................5-2 Systematic problem isolation ..........................5-3 General problem isolation procedure ......................5-3 I/O bit tests ..............................5-10 I/O loop-back test ..........................5-10 Output set test ............................5-15...
  • Page 10 Contact-closure monitoring at a KPCI-PIO24 board input System connections........3-10 Figure 3-5 De-bounce circuit for an input of a KPCI-PIO24 board ................3-10 Figure 3-6 NPN transistor relay control for an output of a KPCI-PIO24 board............3-11 Troubleshooting Figure 5-1 Problem isolation flowchart ........................5-4 Figure 5-2 Mating connector wiring for loop-back test ....................
  • Page 11 General Description Table 2-1 System requirements..........................2-2 Installation Table 3-1 Pin descriptions for KPCI-PIO24 I/O connector ..................3-6 Table 3-2 Description of manufactured cables and accessories .................. 3-9 I/O Address Mapping Table 4-1 Data and control register addresses ......................4-3 Table 4-2 Control register bit assignments for each port group ..................
  • Page 12: Overview

    Overview...
  • 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-PIO24 boards. It is assumed that users are familiar with data acquisition principles and with their particular application.
  • Page 14: General Description

    General Description...
  • Page 15: Specifications

    PIO24 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-PIO24 also has an easily accessible interrupt configuration. The KPCI-PIO24 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

    Additional I/O port characteristics are summarized below: • The KPCI-PIO24 can output higher currents than the industry standard 8255 chip. Output current capabilities of 15mA (source) and 64mA (sink) allow it to control many LEDs, Opto 22 modules, and relays directly.
  • Page 17: Bus Control

    PCI bus utilization. The AMCC S5933 provides two modes of operation: bus mastering and target. The KPCI-PIO24 normally 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 18: Installation

    Installation...
  • Page 19: Installing The Software

    Otherwise, the device drivers will be more difficult to install. Software options The KPCI-PIO24 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 20: Testpoint

    Using TestPoint with your hardware TestPoint’s Digital I/O object (DIO) cannot be used with the KPCI-PIO96 (KPCI-PIO24) board. Instead, TestPoint provides a user defined object (UDO) for access to digital I/O channels on plug- in boards supported by DriverLINX.
  • Page 21: Unwrapping And Inspecting The Kpci-Pio24 Board

    Installation KPCI-PIO24 User’s Manual Unwrapping and inspecting the KPCI-PIO24 board CAUTION Discharge static voltage differences between the wrapped board and the handling environment before removing the board from its protective wrapper. Failure to discharge static electricity before handling may damage semiconductor circuits on the board.
  • Page 22: Installing And Connecting The Kcpi-Pio24 Board

    KPCI-PIO24 User’s Manual Installation Installing and connecting the KCPI-PIO24 board The following sections describe how to install and connect the KCPI-PIO24 board. The sections are ordered in the recommended installation sequence. Installing the board CAUTION Ensure that the computer is turned off before installing or removing a board.
  • Page 23: Table 3-1 Pin Descriptions For Kpci-Pio24 I/O Connector

    Installation KPCI-PIO24 User’s Manual Figure 3-1 Pin assignments for I/O connector on the KPCI-PIO24 board DIG COM DIG COM IBM PC +12V PA PORT POWER DIG COM SUPPLIES -12V DIG COM DIG COM LOWER PC PORT PB PORT UPPER DIG COM...
  • Page 24: Connecting I/O Cables And Interface Accessories

    Connecting I/O cables and interface accessories The KPCI-PIO24 I/O connectors can be mated directly to your external circuits using a locally fabricated cable assembly. Alternatively, the connectors can be mated to your circuits via a manufactured cable assembly and interface accessories, such as screw terminal boards and...
  • Page 25: Using Locally Fabricated Cable Assemblies

    Using manufactured cables and accessories Using manufactured cables and accessories is illustrated in Figure 3-3. Each item is described in Table 3-2. For more information about these products, refer to your Keithley data acquisition or full line catalog or consult with your Keithley dealer.
  • Page 26: Connecting I/O Cables To Your External Circuit

    Keithley cables, S1800 and S1800/M. Standard C1800, C-1800/M, S1800, S-1800/M 2000 cables are 18 inches long. Longer cables are available. If you need a longer cable, refer to the accessories section of your Keithley catalog. Connecting I/O cables to your external circuit...
  • Page 27: Eliminating Contact Bounce

    The effects of contact bounce may be eliminated by programming in your application software. However, it is often desirable to eliminate contact bounce from the signal, using a de-bounce circuit between the contacts and the KPCI-PIO24 input. Figure 3-5 shows a typical de-bounce circuit that can be used with Form C contacts.
  • Page 28: 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-PIO24 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 29: O Address Mapping

    Interrupts and I/O Address Mapping...
  • Page 30: Interrupts

    I/O address mapping NOTE A typical user of the KPCI-PIO24 board does not need to read this section. Register level programming of your board is neither practical nor necessary for most users. Register level interfacing with the PCI bus is more complex than with the ISA bus.
  • Page 31: Control And Data Register Memory Assignments

    Interrupts and I/O Address Mapping Control and data register memory assignments The KPCI-PIO24 normally operates in the target mode and uses eight consecutive memory mapped locations at BADDR1 for its control and data ports. The base address for these locations is automatically assigned by the Plug and Play feature upon power up.
  • Page 32: Table

    Interrupts and I/O Address Mapping KPCI-PIO24 User’s Manual Table 4-2 Control register bit assignments for each port group Configuration for this port When bit When bit Number Function Variable name for bit value = 0 value = 1 Bit 7...
  • Page 33: Table

    KPCI-PIO24 User’s Manual Interrupts and I/O Address Mapping Table 4-3 Data transfer mode selection Bit combinations Data transfer mode Notes Bit 7 Bit 6 ACCESSMODE1 ACCESSMODE0 Data is accessed via the target (pass- Default upon through) mode of the AMCC S5933 reset or bus controller.
  • Page 34: 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-PIO24, is more involved. As mentioned in the chapter introduction, DriverLINX eliminates the need for user interaction with control and data registers.
  • Page 35: Troubleshooting

    Troubleshooting...
  • Page 36: Identifying Symptoms And Possible Causes

    Troubleshooting KPCI-PIO24 User’s Manual If your KPCI-PIO24 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 37: Systematic Problem Isolation

    In the following procedure, the term “board” always refers to a KPCI-PIO24 board. The procedure never directs you to install or remove any type of PCI board other than a KPCI-PIO24 board. In Figure 5-1 the number in brackets in each flowchart block (e.g .
  • Page 38 Troubleshooting KPCI-PIO24 User’s Manual Figure 5-1 Problem isolation flowchart...
  • Page 39 KPCI-PIO24 User’s Manual Troubleshooting To further isolate the problem to the KPCI-PIO24 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-PIO24 board is installed in your computer, disconnect, remove, and check all KPCI-PIO24 boards.
  • Page 40 Boot the computer and, during boot, determine whether your operating system has identified the OK board as a PCI resource. 11. If KPCI-PIO24 boards were originally installed in other PCI slots, then repeat steps 9 and 10 with the OK board in each of these slots.
  • Page 41 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 42 Continue with step 22. 22. Check each external I/O connection, one at a time, for short circuits and open circuits. If KPCI-PIO24 boards were installed in more than one PCI slot, check the I/O connections for all boards.
  • Page 43 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 44: I/O Bit Tests

    Perform the loop-back test as follows: 1. Prepare a loop-back test connector, using a female 37-pin ‘D’ connector that mates with the I/O connector on your board. This can be purchased as Keithley part no. SFC-37. Wire the connector as shown in Figure 5-2.
  • Page 45 KPCI-PIO24 User’s Manual Troubleshooting 5-11 Figure 5-2 Mating connector wiring for loop-back test D I G C O M P A 0 + 5 V D I G C O M P A 1 + 1 2 V P A 2...
  • Page 46 5-12 Troubleshooting KPCI-PIO24 User’s Manual a. In the Start menu, click Programs. b. Find the DriverLINX Test Panels folder, under which you should find the PIO Panel entry. c. Click on the PIO Panel entry. The PIO Control Panel should appear. See the example in Figure 5-3.
  • Page 47 KPCI-PIO24 User’s Manual Troubleshooting 5-13 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 8. Using the port A ‘write/read’ switch on the PIO Control Panel, set port A to ‘write’ as shown in Figure 5-5.
  • Page 48 5-14 Troubleshooting KPCI-PIO24 User’s Manual 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. 10. Click the ‘Update All’ button on the PIO Control Panel.
  • Page 49: Output Set Test

    Or, optionally, now perform the output set test, as discussed in the next section, if you have not already done so. Output set test The output set test checks whether logic levels measured at all KPCI-PIO24 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 50 5-16 Troubleshooting KPCI-PIO24 User’s Manual 2. Turn OFF the host computer. 3. Insert the test connector or cable assembly/terminal accessory into the board connector. 4. Turn ON the host computer and boot Windows 95, 98 or NT. 5. Click the Windows Start tab.
  • Page 51 KPCI-PIO24 User’s Manual Troubleshooting 5-17 Figure 5-10 Setting port ‘Configure’ switches PORT A Configure Output Input PORT B Configure Output Input PORT C Configure Output Input 8. Using the port ‘write/read’ switches on the PIO Control Panel, set ports A, B and C to ‘write’...
  • Page 52 5-18 Troubleshooting KPCI-PIO24 User’s Manual Figure 5-12 Port output settings, bit pattern 1 PORT A 7 6 5 4 3 2 1 0 &H55 PORT B 7 6 5 4 3 2 1 0 &H55 PORT C 7 6 5 4 3 2 1 0 &H55...
  • Page 53 KPCI-PIO24 User’s Manual Troubleshooting 5-19 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 54: Technical Support

    Troubleshooting KPCI-PIO24 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 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: Specifications

    Specifications...
  • Page 57: Table

    Specifications KPCI-PIO24 User’s Manual Specifications for the KPCI-PIO24 board are listed in the following table. Table A-1 KPCI-PIO24 Specifications Number of 24, bi-directional, non-isolated, TTL compatible I/O Lines I/O interface The group of 24 I/O lines, emulates one 8255A chip configured for Mode O External One 37 pin ‘D’...
  • Page 58: Glossary

    Glossary...
  • Page 59 Glossary KPCI-PIO24 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 60 KPCI-PIO24 User’s Manual Glossary External trigger An analog or digital hardware event from an external source that starts an operation. See also internal trigger. 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.
  • Page 61 +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...
  • Page 62 Contact bounce bad, checking for 5-3, 5-4 definition B-2 handling 3-4 elimination, circuit 3-9 installing 3-4 Contacts returning to Keithley 5-20 bounce elimination 3-9 spare, using in troubleshooting 5-3, 5-4 monitoring closure 3-8 unwrapping and inspecting 3-4 Control register Boards, multiple...
  • Page 63 I/O pin assignment 3-5 Darlington to protect board 3-4, 3-5 definition B-2 Data transfer modes 4-5 Help, getting Keithley See technical support Delphi Humidity range, board A-2 DriverLINX driver for 3-2, 4-2 Digital common See grounding, signal, I/O pin assignment...
  • Page 64 ISA Bus Ports definition B-3 configuration, direct 4-2, 4-6 configuration, on power-up/reset 2-3 configuration, PIO Control Panel See PIO control panel, using, in bit tests LabVIEW software 3-3 PC, division 2-2 Logic levels read/write access 2-3 checking, using DMM or DVM 5-15 width 2-2 Loop-back test 5-10 Power...
  • Page 65 5-2 circuit, output 3-9 drive current, boosting 3-9 definition B-4 Repairs, board 5-21 Returning board 5-21 Returning board to Keithley 5-20 Unwrapping board 3-4 Safety Precautions 3 Visual Basic Shielding DriverLINX driver for 3-2, 4-2 definition B-4...
  • Page 66 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