Keithley KUSB-3160 User Manual

KUSB-3160
User’s Manual
KUSB3160-900-01 Rev. A / January 2005
www.keithley.com
A GR
EATER MEASURE OF CONFIDENCE
WARRANTY
Keithley Instruments, Inc. warrants this product to be free from defects in material and workmanship for a period of 3 years from date of shipment.
Keithley Instruments, Inc. warrants the following items for 90 days from the date of shipment: probes, cables, rechargeable batteries, diskettes, and documentation.
During the warranty period, we will, at our option, either repair or replace any product that proves to be defective.
To exercise this warranty, write or call your local Keithley representative, or contact Keithley headquarters in Cleveland, Ohio. You will be given prompt assistance and return instructions. Send the product, transportation prepaid, to the indicated service facil­ity. Repairs will be made and the product returned, transportation prepaid. Repaired or replaced products are warranted for the bal­ance of the original warranty period, or at least 90 days.
LIMITATION OF WARRANTY
This warranty does not apply to defects resulting from product modification without Keithley’s express written consent, or misuse of any product or part. This warranty also does not apply to fuses, software, non-rechargeable batteries, damage from battery leak­age, or problems arising from normal wear or failure to follow instructions.
THIS WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. THE REMEDIES PROVIDED HEREIN ARE BUYER’S SOLE AND EXCLUSIVE REMEDIES.
NEITHER KEITHLEY INSTRUMENTS, INC. NOR ANY OF ITS EMPLOYEES SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF ITS INSTRU­MENTS AND SOFTWARE EVEN IF KEITHLEY INSTRUMENTS, INC., HAS BEEN ADVISED IN ADVANCE OF THE POSSIBILITY OF SUCH DAMAGES. SUCH EXCLUDED DAMAGES SHALL INCLUDE, BUT ARE NOT LIMITED TO: COSTS OF REMOVAL AND INSTALLATION, LOSSES SUSTAINED AS THE RESULT OF INJURY TO ANY PERSON, OR DAMAGE TO PROPERTY.
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
Keithley Instruments, Inc.
Corporate Headquarters • 28775 Aurora Road • Cleveland, Ohio 44139
440-248-0400 • Fax: 440-248-6168 • 1-888-KEITHLEY (534-8453) • www.keithley.com
12/04
KUSB-3160
User’s Manual
©2005, Keithley Instruments, Inc.
All rights reserved.
First Printing, January 2005
Cleveland, Ohio, U.S.A.
Document Number: KUSB3160-900-01A Rev. A

Manual Print History

The print history shown below lists the printing dates of all Revisions and Addenda created for this manual. The Revi­sion Level letter increases alphabetically as the manual undergoes subsequent updates. Addenda, which are released between Revisions, contain important change information that the user should incorporate immediately into the manual. Addenda are numbered 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. Each new Revision includes a revised copy of this print history page.
Revision A (Document Number KUSB3160-900-01A) ...................................................................... January 2005
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.

Safety Precautions

The following safety precautions should be observed before using this product and any associated instrumentation. Although some in­struments and accessories would normally be used with non-haz­ardous voltages, there are situations where hazardous conditions may be present.
This product is intended for use by qualified personnel who recog­nize shock hazards and are familiar with the safety precautions re­quired to avoid possible injury. Read and follow all installation, operation, and maintenance information carefully before using the product. Refer to the manual for complete product specifications.
If the product is used in a manner not specified, the protection pro­vided by the product may be impaired.
The types of product users are:
Responsible body is the individual or group responsible for the use and maintenance of equipment, for ensuring that the equipment is operated within its specifications and operating limits, and for en­suring that operators are adequately trained.
Operators use the product for its intended function. They must be trained in electrical safety procedures and proper use of the instru­ment. They must be protected from electric shock and contact with hazardous live circuits.
Maintenance personnel perform routine procedures on the prod­uct to keep it operating properly, for example, setting the line volt­age or replacing consumable materials. Maintenance procedures are described in the manual. The procedures explicitly state if the operator may perform them. Otherwise, they should be performed only by service personnel.
Service personnel are trained to work on live circuits, and perform safe installations and repairs of products. Only properly trained ser­vice personnel may perform installation and service procedures.
Keithley products are designed for use with electrical signals that are rated Measurement Category I and Measurement Category II, as described in the International Electrotechnical Commission (IEC) Standard IEC 60664. Most measurement, control, and data I/O sig­nals are Measurement Category I and must not be directly connect­ed to mains voltage or to voltage sources with high transient over­voltages. Measurement Category II connections require protection for high transient over-voltages often associated with local AC mains connections. Assume all measurement, control, and data I/O connections are for connection to Category I sources unless other­wise marked or described in the Manual.
Exercise extreme caution when a shock hazard is present. Lethal voltage may be present on cable connector jacks or test fixtures. The American National Standards Institute (ANSI) states that a shock hazard exists when voltage levels greater than 30V RMS,
42.4V peak, or 60VDC are present. A good safety practice is to ex-
pect that hazardous voltage is present in any unknown circuit before measuring.
Operators of this product must be protected from electric shock at all times. The responsible body must ensure that operators are pre­vented access and/or insulated from every connection point. In some cases, connections must be exposed to potential human con­tact. Product operators in these circumstances must be trained to protect themselves from the risk of electric shock. If the circuit is capable of operating at or above 1000 volts, no conductive part of
the circuit may be exposed.
Do not connect switching cards directly to unlimited power circuits. They are intended to be used with impedance limited sources. NEVER connect switching cards directly to AC mains. When con­necting sources to switching cards, install protective devices to limit fault current and voltage to the card.
Before operating an instrument, make sure the line cord is connect­ed to a properly grounded power receptacle. Inspect the connecting cables, test leads, and jumpers for possible wear, cracks, or breaks before each use.
When installing equipment where access to the main power cord is restricted, such as rack mounting, a separate main input power dis­connect device must be provided, in close proximity to the equip­ment and within easy reach of the operator.
For maximum safety, do not touch the product, test cables, or any other instruments while power is applied to the circuit under test. ALWAYS remove power from the entire test system and discharge any capacitors before: connecting or disconnecting cables or jump­ers, installing or removing switching cards, or making internal changes, such as installing or removing jumpers.
Do not touch any object that could provide a current path to the com­mon side of the circuit under test or power line (earth) ground. Always make measurements with dry hands while standing on a dry, insulated surface capable of withstanding the voltage being measured.
The instrument and accessories must be used in accordance with its specifications and operating instructions or the safety of the equip­ment may be impaired.
Do not exceed the maximum signal levels of the instruments and ac­cessories, as defined in the specifications and operating informa­tion, and as shown on the instrument or test fixture panels, or switching card.
When fuses are used in a product, replace with same type and rating for continued protection against fire hazard.
Chassis connections must only be used as shield connections for measuring circuits, NOT as safety earth ground connections.
If you are using a test fixture, keep the lid closed while power is ap­plied to the device under test. Safe operation requires the use of a lid interlock.
5/03
If a screw is present, connect it to safety earth ground using the wire recommended in the user documentation.
!
The symbol on an instrument indicates that the user should re­fer to the operating instructions located in the manual.
The symbol on an instrument shows that it can source or mea­sure 1000 volts or more, including the combined effect of normal and common mode voltages. Use standard safety precautions to avoid personal contact with these voltages.
The symbol indicates a connection terminal to the equipment frame.
The WARNING heading in a manual explains dangers that might result in personal injury or death. Always read the associated infor­mation very carefully 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 shall not be connected to humans.
Before performing any maintenance, disconnect the line cord and all test cables.
To maintain protection from electric shock and fire, replacement components in mains circuits, including the power transformer, test leads, and input jacks, must be purchased from Keithley Instru­ments. Standard fuses, with applicable national safety approvals, may be used if the rating and type are the same. Other components that are not safety related may be purchased from other suppliers as long as they are equivalent to the original component. (Note that se­lected 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.
To clean an instrument, use a damp cloth or mild, water based cleaner. Clean the exterior of the instrument only. Do not apply cleaner directly to the instrument or allow liquids to enter or spill on the instrument. Products that consist of a circuit board with no case or chassis (e.g., data acquisition board for installation into a com­puter) should never require cleaning if handled according to instruc­tions. If the board becomes contaminated and operation is affected, the board should be returned to the factory for proper cleaning/ser­vicing.

Table of Contents

About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
What You Should Learn from this Manual. . . . . . . . . . . . . . . . . . ix
Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . x
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Where To Get Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Chapter 1: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Chapter 2: Principles of Operation . . . . . . . . . . . . . . . . . . . . 5
Digital I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 3: Supported Device Driver Capabilities. . . . . . . . 15
Chapter 4: Programming Flowcharts. . . . . . . . . . . . . . . . . . 25
Single-Value Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Continuous Digital Input Operations . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 5: Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 33
General Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Service and Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
vii
Contents
Appendix A: Specifications . . . . . . . . . . . . . . . . . . . . . . . . . 39
Appendix B: Connector Pin Assignments . . . . . . . . . . . . . 43
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
viii

About this Manual

This manual describes the features of the KUSB-3160 module, the capabilities of the device driver, and how to program the KUSB-3160 module using DT-Open Layers software. Troubleshooting information is also provided.

Intended Audience

This document is intended for engineers, scientists, technicians, or others responsible for using and/or programming the KUSB-3160 module for data acquisition operations in the Microsoft® Windows 2000 or Windows XP operating systems. It is assumed that you have some familiarity with data acquisition principles and that you understand your application.

What You Should Learn from this Manual

This manual provides detailed information about the features of the KUSB-3160 module and the capabilities of the device driver. It is organized as follows:
Chapter 1, “Overview,” describes the major features of the modules, as well as the supported software and accessories for the modules.
Chapter 2, “Principles of Operation,” describes all of the features of the modules and how to use them in your application.
Chapter 3, “Supported Device Driver Capabilities,” lists the data acquisition subsystems and the associated features accessible using the device driver.
Chapter 4, “Programming Flowcharts,” describes the processes you must follow to program the subsystems on the KUSB-3160 module using DT-Open Layers-compliant software.
ix
About this Manual

Conventions Used in this Manual

Chapter 5, “Troubleshooting,” provides information that you can use to resolve problems with the modules and the device driver, should they occur.
Appendix A, “Specifications,” lists the specifications of the module.
Appendix B, “Connector Pin Assignments,” shows the pin assignments for the connectors and the screw terminal assignments for the module.
• An index completes this manual.
The following conventions are used in this manual:
• Notes provide useful information or information that requires special emphasis, cautions provide information to help you avoid losing data or damaging your equipment, and warnings provide information to help you avoid catastrophic damage to yourself or your equipment.
• Items that you select or type are shown in bold.

Related Information

Refer to the following documents for more information on using the KUSB-3160 module:
KUSB-3160 Getting Started Manual. This manual describes the how to install the KUSB-3160 module and related software.
DataAcq SDK User’s Manual. For programmers who are developing their own application programs using the Microsoft C compiler, this manual describes how to use the DT-Open
TM
Layers access the capabilities of your module.
x
DataAcq SDKTM in Windows 2000 or Windows XP to
DTx-EZ Getting Started Manual. This manual describes how to use the ActiveX controls provided in DTx-EZ capabilities of your module in Microsoft Visual Basic® or Visual C++®.
DT-LV Link Getting Started Manual. This manual describes how to use DT-LV Link language to access the capabilities of your module.
• Microsoft Windows 2000 or Windows XP documentation.
• USB web site (http://www.usb.org).

Where To Get Help

Should you run into problems installing or using your KUSB-3160 module, please call the Keithley Technical Support Department.
About this Manual
TM
to access the
TM
with the LabVIEW® graphical programming
xi
About this Manual
xii
1

Overview

Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1
Chapter 1

Key Features

The KUSB-3160 is a low-cost, high-power, digital I/O module for the Universal Serial Bus (USB). The KUSB-3160 module provides the following major features:
• USB compatibility;
• 64 configurable digital I/O lines (configurable in banks of eight) and 32 dedicated digital input lines for nonclocked monitoring or control.
• Interrupt-on-change on 16 dedicated digital input lines.
• External solid-state relay module support. Digital outputs can drive sink 12 mA, source 100 kΩ pullup.
• Isolated output common from the USB bus to 500 V peak.
2

Supported Software

The following software is available for use with the KUSB-3160 module:
Device Driver This software is provided on the CD shipped with the module. The device driver allows you to use a KUSB-3160 module with any of the supported software packages or utilities. Refer to the KUSB-3160 Getting Started Manual for more information on loading and configuring the device driver.
Quick Data Acq application − This application provides a quick way to get a KUSB-3160 module up and running. Using the Quick Data Acq application, you can verify the features of the module, display data on the screen, and save data to disk.
DataAcq SDK − This DT-Open Layers Software Develop Kit (SDK) allows programmers to develop application programs for the KUSB-3160 using the Microsoft C compiler in Windows 2000 or Windows XP.
DTx-EZ − This software package contains ActiveX controls that allow Microsoft Visual Basic® or Visual C++® programmers to access the capabilities of the KUSB-3160 module.
DT-LV Link − This software package allows LabVIEW® programmers to access the capabilities of the KUSB-3160 module.
Overview
1
1
1
1
1
1
1
1
1
3
Chapter 1

Accessories

The following accessories are provided for the KUSB-3160 module:
KUSB-STP100 − a 100 mm x 160 mm screw terminal panel that connects to the KUSB-3160 module using the KUSB-CABDIO cable. This screw terminal panel allows you to connect all of the input and output connections that are supported by a KUSB-3160 module. LEDs on up to 64 of the outputs light when the outputs are low. Note that the LEDs are not provided for the dedicated digital input lines.
KUSB-CABDIO − a 1-meter, 100-conductor cable that connects the KUSB-STP100 screw terminal panel to the KUSB-3160 module.
4
2

Principles of Operation

Digital I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5
Chapter 2
Pins 50 and 100
Figure 1 shows a block diagram of the KUSB-3160 module. Note that
bold entries indicate signals you can access.
Pins 1 to 64 Lines 0 to 63
Pins 49 and 99
Isolated Common
+5 V In/Out
Controller and Digital Filters
Pins 64 to 96 Lines 63 to 95
High-Speed Isolated Data Path
Microcontroller
64 Digital I/O WIth 100 kΩ Pull-Ups to +5V_I
WIth Back EMF Protection
32 Digital Inputs WIth 100 kΩ Pull-Ups to +5V_I
WIth Back EMF Protection
Isolated Power
500 V Isolation Barrier
Power Control DC to DC
USB Interface
+5 V D + D - GND
Figure 1: Block Diagram of the KUSB-3160 Module
6
Principles of Operation
This chapter describes the following features of the digital I/O subsystem:
• Digital I/O lines, described on page 8;
• Resolution, described on page 10;
2
• Interrupts, described on page 13, and
• Operation modes, described on page 14.
2
2
2
2
2
2
2
2
7
Chapter 2

Digital I/O Lines

The KUSB-3160 module supports 64 shared digital I/O lines. These lines are organized as eight digital banks (banks 0 to 7)), each containing eight digital I/O lines (lines 0 to 7).
The KUSB-3160 module also supports 32 dedicated digital input lines. These lines are organized as four banks (banks 8 to 11), each containing eight digital input lines (lines 0 to 7).
You access the digital inputs through the digital input (DIN) subsystem and the digital outputs through the digital output (DOUT) subsystem.
The inputs are pulled up to +5 V through a 100 kΩ resistor. You can choose to debounce the inputs using the Open Layers Control Panel. When debounce is selected, a debounce delay of 5 ms occurs before a change is passed through the digital filter on the module. When debounce is not selected (the default configuration), a delay of less than 1 ms occurs. Refer to the KUSB-3160 Getting Started Manual for more information.
Outputs are open collectors with a 100 kΩ resistor connected to the internal isolated +5 V. All outputs are diode-protected for back EMF voltages typically seen when driving relays. The output stage latches are normally powered by the module. However, you can externally power the +5 V output so that the digital outputs retain their current values when the module is powered down.
Note: +5 V output is available only when one of the subsystems is activated, which, in turn, activates power to the module.
The KUSB-3160 provides enough current to drive only one LED per output line on the KUSB-STP100 screw terminal panel at a time. An LED turns on when the output is low.
8
Principles of Operation
You can specify the digital input lines to read in a single-value digital I/O or continuous operation. You can specify the digital output lines to write to in a single-value digital I/O operation. Refer to page 14 for more information on digital I/O operation modes.
2
Note: Continuous digital input operations are supported by digital input banks 10 and 11 only. Therefore, in continuous mode, the resolution is always 16 bits.
The number of digital I/O lines that are read or written to depend on the resolution that is specified, as described in the next section.
2
2
2
2
2
2
2
2
9
Loading...
+ 48 hidden pages