Keysight VXI Bus 75000 C Series Owner's manual

Keysight E1458A Digital I/O
Module
User Manual and SCPI Programming
75000 Series C


Notices
© Keysight Technologies, Inc. 1996-2019
No part of this manual may be repro-
duced in any form or by any means
(including electronic storage and retrieval
or translation into a foreign language)
without prior agreement and written con-
sent from Keysight Technologies, Inc. as
governed by United States and interna-
tional copyright laws.
Manual Part Number
E1458-90002
Edition
Third Edition, October 2019
Published by
Keysight Technologies, Inc.
900 S. Taft Ave.
Loveland, CO 80537 USA
Sales and Technical Support
To contact Keysight for sales and techni-
cal support, refer to the support links on
the following Keysight websites:
www.keysight.com/find/E1458A
(product-specific information and sup-
port, software and documentation
updates)
www.keysight.com/find/assist (world-
wide contact information for repair and
service)
Declaration of Conformity
Declarations of Conformity for this prod-
uct and for other Keysight products may
be downloaded from the Web. Go to
http://keysight.com/go/conformity and
click on “Declarations of Conformity.” You
can then search by product number to
find the latest Declaration of Conformity.
Technology Licenses
The hardware and/or software described
in this document are furnished under a
license and may be used or copied only in
accordance with the terms of such
license.
Warranty
THE MATERIAL CONTAINED IN THIS
DOCUMENT IS PROVIDED “AS IS,” AND
IS SUBJECT TO BEING CHANGED,
WITHOUT NOTICE, IN FUTURE EDI-
TIONS. FURTHER, TO THE MAXIMUM
EXTENT PERMITTED BY APPLICABLE
LAW, KEYSIGHT DISCLAIMS ALL WAR-
RANTIES, EITHER EXPRESS OR IMPLIED,
WITH REGARD TO THIS MANUAL AND
ANY INFORMATION CONTAINED
HEREIN, INCLUDING BUT NOT LIMITED
TO THE IMPLIED WARRANTIES OF MER-
CHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. KEYSIGHT
SHALL NOT BE LIABLE FOR ERRORS OR
FOR INCIDENTAL OR CONSEQUENTIAL
DAMAGES IN CONNECTION WITH THE
FURNISHING, USE, OR PERFORMANCE
OF THIS DOCUMENT OR OF ANY INFOR-
MATION CONTAINED HEREIN. SHOULD
KEYSIGHT AND THE USER HAVE A SEP-
ARATE WRITTEN AGREEMENT WITH
WARRANTY TERMS COVERING THE
MATERIAL IN THIS DOCUMENT THAT
CONFLICT WITH THESE TERMS, THE
WARRANTY TERMS IN THE SEPARATE
AGREEMENT SHALL CONTROL.
Keysight Technologies does not warrant
third-party system-level (combination of
chassis, controllers, modules, etc.) per-
formance, safety, or regulatory compli-
ance unless specifically stated.
DFARS/Restricted Rights
Notices
If software is for use in the performance
of a U.S. Government prime contract or
subcontract, Software is delivered and
licensed as “Commercial computer soft-
ware” as defined in DFAR 252.227-7014
(June 1995), or as a “commercial item” as
defined in FAR 2.101(a) or as “Restricted
computer software” as defined in FAR
52.227-19 (June 1987) or any equivalent
agency regulation or contract clause.
Use, duplication or disclosure of Software
is subject to Keysight Technologies’ stan-
dard commercial license terms, and non-
DOD Departments and Agencies of the
U.S. Government will receive no greater
than Restricted Rights as defined in FAR
52.227-19(c)(1-2) (June 1987). U.S. Gov-
ernment users will receive no greater
than Limited Rights as defined in FAR
52.227-14 (June 1987) or DFAR 252.227-
7015 (b)(2) (November 1995), as applica-
ble in any technical data.

Safety Information
The following general safety precau-
tions must be observed during all
phases of operation of this instrument.
Failure to comply with these precau-
tions or with specific warnings or oper-
ating instructions in the product
manuals violates safety standards of
design, manufacture, and intended use
of the instrument. Keysight Technolo-
gies assumes no liability for the cus-
tomer's failure to comply with these
requirements.
General
Do not use this product in any manner not
specified by the manufacturer. The protec-
tive features of this product must not be
impaired if it is used in a manner specified in
the operation instructions.
Before Applying Power
Verify that all safety precautions are taken.
Make all connections to the unit before
applying power. Note the external markings
described under “Safety Symbols”.
Ground the Instrument
Keysight chassis’ are provided with a
grounding-type power plug. The
instrument chassis and cover must be
connected to an electrical ground to
minimize shock hazard. The ground pin
must be firmly connected to an electri-
cal ground (safety ground) terminal at
the power outlet. Any interruption of
the protective (grounding) conductor
or disconnection of the protective
earth terminal will cause a potential
shock hazard that could result in per-
sonal injury.
Do Not Operate in an Explosive
Atmosphere
Do not operate the module/chassis in
the presence of flammable gases or
fumes.
Do Not Operate Near Flammable
Liquids
Do not operate the module/chassis in
the presence of flammable liquids or
near containers of such liquids.
Cleaning
Clean the outside of the Keysight mod-
ule/chassis with a soft, lint-free,
slightly dampened cloth. Do not use
detergent or chemical solvents.
Do Not Remove Instrument Cover
Only qualified, service-trained person-
nel who are aware of the hazards
involved should remove instrument
covers. Always disconnect the power
cable and any external circuits before
removing the instrument cover.
Keep away from live circuits
Operating personnel must not remove
equipment covers or shields. Proce-
dures involving the removal of covers
and shields are for use by service-
trained personnel only. Under certain
conditions, dangerous voltages may
exist even with the equipment
switched off. To avoid dangerous elec-
trical shock, DO NOT perform proce-
dures involving cover or shield removal
unless you are qualified to do so.
DO NOT operate damaged
equipment
Whenever it is possible that the safety
protection features built into this prod-
uct have been impaired, either through
physical damage, excessive moisture,
or any other reason, REMOVE POWER
and do not use the product until safe
operation can be verified by service-
trained personnel. If necessary, return
the product to a Keysight Technologies
Sales and Service Office for service and
repair to ensure the safety features are
maintained.
DO NOT block the primary
disconnect
The primary disconnect device is the
appliance connector/power cord when
a chassis used by itself, but when
installed into a rack or system the dis-
connect may be impaired and must be
considered part of the installation.
Do Not Modify the Instrument
Do not install substitute parts or per-
form any unauthorized modification to
the product. Return the product to a
Keysight Sales and Service Office to
ensure that safety features are main-
tained.
In Case of Damage
Instruments that appear damaged or
defective should be made inoperative
and secured against unintended oper-
ation until they can be repaired by
qualified service personnel
Do NOT block vents and fan exhaust:
To ensure adequate cooling and venti-
lation, leave a gap of at least 50mm
(2") around vent holes on both sides of
the chassis.
Do NOT operate with empty slots: To
ensure proper cooling and avoid dam-
aging equipment, fill each empty slot
with an AXIe filler panel module.
Do NOT stack free-standing chassis:
Stacked chassis should be rack-
mounted.
All modules are grounded through the
chassis: During installation, tighten
each module's retaining screws to
secure the module to the chassis and
to make the ground connection.
Operator is responsible to maintain
safe operating conditions. To ensure
safe operating conditions, modules
should not be operated beyond the full
temperature range specified in the
Environmental and physical specifica-
tion. Exceeding safe operating condi-
tions can result in shorter lifespan,
improper module performance and
user safety issues. When the modules
are in use and operation within the
specified full temperature range is not
maintained, module surface tempera-
tures may exceed safe handling condi-
tions which can cause discomfort or
burns if touched. In the event of a
module exceeding the full temperature
range, always allow the module to cool
before touching or removing modules
from the chassis.
iv

Safety Symbols
A CAUTION denotes a hazard. It
calls attention to an operating pro-
cedure or practice, that, if not cor-
rectly performed or adhered to
could result in damage to the
product or loss of important data.
Do not proceed beyond a CAUTION
notice until the indicated condi-
tions are fully understood and met.
A WARNING denotes a hazard. It
calls attention to an operating pro-
cedure or practice, that, if not cor-
rectly performed or adhered to,
could result in personal injury or
death. Do not proceed beyond a
WARNING notice until the indi-
cated conditions are fully under-
stood and met.
Products display the following sym-
bols:
Warning, risk of electric
shock
Refer to manual for addi-
tional safety information.
Earth Ground.
Chassis Ground.
Alternating Current (AC).
Direct Current (DC)
v

vi

Keysight E1458A 96-Channel Digital I/O Module User Guidel vii
1 Getting Started
Using This Chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Digital I/O Module Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Instrument Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Downloading the SCPI Drivers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Programming the Digital I/O Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
SCPI Command Format Used in this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Specifying SCPI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Initial Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1 Configuring the Keysight E1458A Digital I/O Module
Using This Chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
WARNINGS and CAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Setting the Address Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Setting the Interrupt Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Enabling the Data Line Pull-up Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Combining the Flag Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installing the Keysight E1458A Digital I/O Module in a Mainframe . . . . . . . . . 20
Connecting to Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configuring for Isolated Digital I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2 Using the Keysight E1458A Digital I/O Module
Using This Chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Port Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Data Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
The FLG Line (Input) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
The CTL Line (Output). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
The I/O Line (Output) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
The STS Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
The PIR Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
The RES Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Contents

viii Keysight E1458A 96-Channel Digital I/O Module User Guidel
The UTS Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Addressing the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Operation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Default & Reset States. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Setting the Polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Using the Handshake Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Input/Output of Data Bytes and Bits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Multiple-Port Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Multiple-Port Handshaking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Multiple-Port Input/Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Using the UTS Control Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Static Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Active Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Using as an Open Collector Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Typical Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Program Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Checking Data Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Setting Polarity and Handshake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Using Trace Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Trace Memory Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Trace Memory Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Trace Memory Example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3 Keysight E1458A Command Reference
Using This Chapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Command Fundamentals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Common Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
SCPI Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
SCPI Command Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
DISPlay Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
DISPlay:MONitor:PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
DISPlay:MONitor:PORT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
DISPlay:MONitor[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
DISPlay:MONitor[:STATe]?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
MEASure Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Subsystem Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
MEASure:DIGital:DATAn[:type][:VALue]? . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
MEASure:DIGital:DATAn[:type]:BITm?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
MEASure:DIGital:DATAn[:type]:TRACe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

Keysight E1458A 96-Channel Digital I/O Module User Guidel ix
MEASure:DIGital:FLAGn? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
MEMory Subsystem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Subsystem Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
MEMory:DELete:MACRo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
MEMory:VME:ADDRess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
MEMory:VME:ADDRess? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
MEMory:VME:SIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
MEMory:VME:SIZE? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
MEMory:VME:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
MEMory:VME:STATe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
[SOURce:] Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Subsystem Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
[SOURce:]DIGital:CONTroln:POLarity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
[SOURce:]DIGital:CONTroln:POLarity?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
[SOURce:]DIGital:CONTroln[:VALue] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
[SOURce:]DIGital:CONTroln[:VALue]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
[SOURce:]DIGital:DATAn[:type]:BITm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
[SOURce:]DIGital:DATAn[:type]:BITm? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
[SOURce:]DIGital:DATAn[:type]:BITm:MONitor? . . . . . . . . . . . . . . . . . . . . . 84
[SOURce:]DIGital:DATAn[:type]:HANDshake:DELay . . . . . . . . . . . . . . . . . . 85
[SOURce:]DIGital:DATAn[:type]:HANDshake:DELay? . . . . . . . . . . . . . . . . . 86
[SOURce:]DIGital:DATAn[:type]:HANDshake[:MODE] . . . . . . . . . . . . . . . . . 87
[SOURce:]DIGital:DATAn[:type]:HANDshake[:MODE]? . . . . . . . . . . . . . . . . 88
[SOURce:]DIGital:DATAn[:type]:MONitor? . . . . . . . . . . . . . . . . . . . . . . . . . . 90
[SOURce:]DIGital:DATAn[:type]:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
[SOURce:]DIGital:DATAn[:type]:POLarity? . . . . . . . . . . . . . . . . . . . . . . . . . . 92
[SOURce:]DIGital:DATAn[:type]:TRACe . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
[SOURce:]DIGital:DATAn[:type][:VALue]. . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
[SOURce:]DIGital:DATAn[:type][:VALue]? . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
[SOURce:]DIGital:FLAGn:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
[SOURce:]DIGital:FLAGn:POLarity? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
[SOURce:]DIGital:HANDshaken:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
[SOURce:]DIGital:HANDshaken:DELay? . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
[SOURce:]DIGital:HANDshaken[:MODE] . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
[SOURce:]DIGital:HANDshaken[:MODE]? . . . . . . . . . . . . . . . . . . . . . . . . . 100
[SOURce:]DIGital:IOn? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
[SOURce:]DIGital:TRACe:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
[SOURce:]DIGital:TRACe[:DATA]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
[SOURce:]DIGital:TRACe[:DATA]?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
[SOURce:]DIGital:TRACe:DEFine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
[SOURce:]DIGital:TRACe:DEFine? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
[SOURce:]DIGital:TRACe:DELete[:NAME] . . . . . . . . . . . . . . . . . . . . . . . . . 104

x Keysight E1458A 96-Channel Digital I/O Module User Guidel
[SOURce:]DIGital:TRACe:DELete:ALL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
STATus Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Subsystem Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
STATus:OPERation:CONDition?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
STATus:OPERation:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
STATus:OPERation:ENABle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
STATus:OPERation[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
STATus:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
STATus:QUEStionable:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
STATus:QUEStionable:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
STATus:QUEStionable:ENABle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
STATus:QUEStionable[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
SYSTem Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Subsystem Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
SYSTem:CDEScription?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
SYSTem:CTYPe? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
SYSTem:ERRor?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
SYSTem:VERSion?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
IEEE 488.2 Common Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Command Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4 Specifications
5 Keysight E1458A Register Information
Using This Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Addressing the Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
The Base Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Register Offset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Reset and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Register Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Register Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Manufacturer Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Device Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Card Status/Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Card Interrupt Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Port Interrupt Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Port Transfer Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Port Control/Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Port Data Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Port Handshake Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Port Delay Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Port Normalization Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134

Keysight E1458A 96-Channel Digital I/O Module User Guidel xi
Port State Sense Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
A Register-Based Output Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
A Register-Based Input Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
System Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
6 Keysight E1458A Error Messages

xii Keysight E1458A 96-Channel Digital I/O Module User Guidel

Keysight E1458A 96-Channel Digital I/O Module
User Guide
11
1Getting Started
Using This Chapter
This chapter describes the Keysight E1458A 96-Channel Digital I/O Module and
how to program the module using SCPI (Standard Commands for Programmable
Instruments) commands. This chapter contains the following sections:
Digital I/O Module Description page 11
Instrument Definition page 14
Downloading the SCPI Drivers page 14
Programming the Digital I/O Module page 14
SCPI Command Format Used in this Manual page 14
Initial Operation page 17
Digital I/O Module Description
The Keysight E1458A 96-Channel Digital I/O Module (referred to as the "digital
I/O module") is a 12-port digital input/output module intended for data
communication and digital control in electronic environments. The digital I/O
module is compatible with TTL levels (0-5V) and CMOS levels (using an external
pull-up). The digital I/O module complies with VXIbus (VMEbus Extensions for
Instrumentation) definitions for the P1 and P2 bus connectors on C-sized
modules. A jumper on the module sets the VXIbus interrupt level.
Each port is identical and consists of seven control lines and eight data lines.
There are eight registers for control and status on each port. In addition, the
module has Manufacturer ID, Device ID, Module Status/Control and Interrupt
Status registers. Figure 1-1 shows the locations of the ports and a simplified
diagram of a single port. Of the seven control lines, three (I/O, CTL, and FLG) are
used with SCPI commands, three (RES, STS, and PIR) are controlled through
register access and one, UTS, can be used to force all data lines into a
three-state mode. Chapter 3, "Using the Keysight E1458A Digital I/O Module,"
contains detailed descriptions of these lines.
Each port has two hardware configuration switches. One switch allows you to
connect the flag lines together for multiport data transmission. Another switch
selects either active pull-up or passive pull-up to TTL compatible levels on the
data lines. Chapter 2, "Configuring the Keysight E1458A Digital I/O Module,"
describes how to set these switches.

12 Keysight E1458A 96-Channel Digital I/O Module User Guide
Getting Started Digital I/O Module Description
SCPI commands provided for the digital I/O module allow operation in 8-bit
“BYTE” format, 16-bit “WORD” format (using two ports), 32-bit “LWORd” format
(using four ports), 64-bit “LW64” format (using eight ports), and 96-bit “LW96”
format (using all ports).
Figure 1-1 Keysight E1458A Digital I/O Module

Keysight E1458A 96-Channel Digital I/O Module User Guide 13
Digital I/O Module Description Getting Started
Table 1-1 shows the mapping of bit numbers from the 8-bit ports to the 16-, 32-,
64-, and 96-bit ports. Chapter 4, "Keysight E1458A Command Reference,"
describes each command in detail and Chapter 3, "Using the Keysight E1458A
Digital I/O Module," gives some examples of the use of SCPI commands.
Connections are made through 64-pin header connectors. Each connector
contains connections for three ports as shown in Figure 1-1. Four cables with the
64-pin header installed are included with the Keysight E1458A module.
Additional cable sets and special Opto22® cables can be ordered from Keysight
Technologies. (Contact your Keysight Technologies Sales office.) The cable part
numbers are shown below. Additional details about these cables are given in
Chapter 2, "Configuring the Keysight E1458A Digital I/O Module."
Table 1-1 Data Lines
8-bit (BYTE) Operations
Port 0 1 2 3 4 5 6 7 8 9 10 11
Bit Numbers 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0 7 — 0
16-bit (WORD) Operations
Port 0 2 4 6 8 10
Bit Numbers 15 — 8 7 — 0 15 — 8 7 — 0 15 — 8 7 — 0 15 — 8 7 — 0 15 — 8 7 — 0 15 — 8 7 — 0
32-bit (LWORd) Operations
Port 0 4 8
Bit Numbers 31—24 23 —16 15— 8 7—0 31—24 23—16 15—8 7—0 31—24 23—16 15—8 7— 0
64-bit (LW64) Operations
Port 0 8 9 10 11
Bit Numbers 63—56 55—48 47—40 39—32 31—24 23—16 15—8 7—0 7 — 0 7 — 0 7 — 0 7 — 0
96-bit (LW96) Operations
Port 0
Bit Numbers 95—88 87—80 79—72 71—64 63—56 55—48 47—40 39—32 31—24 23—16 15—8 7—0
Keysight Part Number Description
E1458-61601 Four 2-meter cables, 64-pin headers to unterminated flat
ribbon cable
E1458-61604
(Keysight E1458A Option
022)
Two 1.5-meter cables, two 64-pin headers to three
50-pin headers for Opto22® connections.

14 Keysight E1458A 96-Channel Digital I/O Module User Guide
Getting Started Instrument Definition
Instrument Definition
Each Keysight E1458A Digital I/O Module installed in an Keysight mainframe is
treated as an independent instrument, having a unique secondary GPIB address.
Each instrument is also assigned a dedicated error queue, input and output
buffers, status registers and, if applicable, dedicated mainframe memory space
for readings or data. Multiple digital I/O modules cannot be combined into a
single instrument.
Downloading the SCPI Drivers
The digital I/O driver allows the Keysight E1458A module to operate with an
Keysight E1405B or E1406 Command Module using the Standard Commands for
Programmable Instruments (SCPI) command language. The driver name for the
digital I/O module is “DIG_IO”.
The procedure for downloading the drivers is contained in the Downloading SCPI
Device Drivers Installation Note supplied with the module. The C-Size VXIbus
Systems Configuration Guide also contain the installation procedure.
Programming the Digital I/O Module
To program the digital I/O module using SCPI, you must select the controller
language, interface address, and SCPI commands. Guidelines for SCPI command
selection for the digital I/O module are covered in this manual. See the C-Size
VXIbus Systems Configuration Guide for detailed interface addressing and
controller language information.
SCPI Command Format Used in this Manual
SCPI commands can be used in either long or short form. A long form example is:
DISPlay:MONitor <ON>
The same command, without the lowercase letters, is the short form. For
example:
DISP:MON <ON>
This discussion applies only to SCPI (Standard Commands for
Programmable Instruments) programming. See "Register
Descriptions" in Appendix B for details on register addressing. Do
not mix SCPI programming and direct register access.

Keysight E1458A 96-Channel Digital I/O Module User Guide 15
SCPI Command Format Used in this Manual Getting Started
Either the long form or the short form commands can be used to perform the
same result. The long and short forms can also be mixed within the same
program code. The commands are case insensitive; either upper- or lowercase
letters are accepted.
In the command examples shown above, the item enclosed in angle brackets (<
>) is a parameter required to use the command. In this example, the parameter
input can be replaced with any one of the following: 0, 1, OFF, or ON. The
allowable values of the parameters are given in Chapter 4,
"Keysight E1458A Command Reference" You must be sure to include a space
between the SCPI keyword and any parameters.
Some commands are shown with items enclosed in square brackets ( [ ] ). These
are implied or optional items that do not have to be included. For example, the
complete command syntax listing for the first example is:
DISPlay:MONitor[:STATe] <0|1 or OFF|ON>
The item enclosed in brackets, [:STATe], does not have to be included for the
command to work.
Complete descriptions of the SCPI command language, syntax, parameter types,
and usage are in Chapter 4 of this manual.
Specifying SCPI Commands
SCPI commands related to the Keysight E1458A Digital I/O Module use three
types of parameters to specify a port number, a bit number, or a multiple- port
combining operation. Each type is briefly described here; descriptions and
examples of usage can be found in Chapter 3 of this manual.
Specifying the Port
The digital I/O module has twelve identical ports numbered from 0 to 11. SCPI
commands that relate to a specific port use a special parameter to indicate the
port number. For example:
[SOURce:]DIGital:DATAn <value>
This command writes <value> to the port specified by the n portion of the DATA
parameter. Replace the n with the port number, making the number the last
characters of the DATA keyword without spaces. For example, to set all port 2
data lines to logical zero, use the following command:
[SOURce:]DIGital:DATA2 0
The value of n may vary for multiple-port commands and operations. A
description of multiple-port commands follows later in this chapter.

16 Keysight E1458A 96-Channel Digital I/O Module User Guide
Getting Started SCPI Command Format Used in this Manual
Specifying a Bit
Each of the twelve ports on the digital I/O module has eight bi-directional data
bits. Some SCPI commands allow you to manipulate or read these bits
individually. For example:
MEASure:DIGital:DATAn:BITm?
This command reads the state of a bit, specified by m, on port n. The result of the
command will be either 0 or 1, indicating the current state of the bit. Replace m
with the desired bit number, and n with the desired port number, making each
number the last characters of the DATA and BIT keywords without spaces. For
example, to read the state of bit 7 on port 0, use the following command:
MEASure:DIGital:DATA0:BIT7?
For single ports, the value of m can range from 0 to 7. Some multiple port
operations and commands may allow bit numbers to range from 0 to 95.
Specifying Multiple- Port Operations
The digital I/O module allows you to set or read multiple ports or bits with a
single command. For example:
MEASure:DIGital:DATAn[:type]?
This command uses an optional keyword [:type] to specify how many ports are
combined in a single returned value. The lowercase keyword [:type] is replaced
with one of a fixed set of keywords. For example, to read all 12 ports (all 96 bits)
as three returned values, use the command:
MEASure:DIGital:DATA0:LW96?
Keywords are provided to allow port combinations of 16, 32, 64, or 96 bits. Using
multiple ports is described in more detail in Chapter 3 of this manual.

Keysight E1458A 96-Channel Digital I/O Module User Guide 17
Initial Operation Getting Started
Initial Operation
Use the following example to verify initial operation. The example sets and then
queries the polarity of a logical true condition on the port 0 FLG line.
The example uses an HP Series 200/300 Computer with BASIC as the
programming language. The computer is connected to an Keysight 1406A
Command Module in the C-Size VXIbus cardcage using the General Purpose
Interface Bus (GPIB). The GPIB interface select code is 7, the GPIB primary
address is 09, and the GPIB secondary address (used to specify the digital I/O
module) is 18. Refer to the C-Size VXIbus Systems Configuration Guide for more
details about programming languages and interfaces.
10 ASSIGN @Dio TO 70918! Sets an I/O path to the module.
20 DIM Polarity$[3]!
30 OUTPUT @Dio;"*RST"! Reset the module.
40 OUTPUT @Dio;"*OPC?"! Wait for the module to finish.
50 ENTER @Dio;Ready! Hold here until command is finished.
60 OUTPUT @Dio;"SOUR:DIG :FLAG0:POL POS;*OPC?" ! Set POSitive polarity.
70 ENTER @Dio;Ready! Wait for finish.
80 OUTPUT @Dio;"SOUR:DIG :FLAG0:POL?" ! Query the polarity state.
90 ENTER @Dio;Polarity$! Get the result.
100 IF Polarity$ <> "POS" THEN! Check the result.
110 DISP "Polarity Check ERROR"! Error discovered.
120 PAUSE! Pause on error.
130 ELSE
140 DISP"Polarity set to "&Polarity$
150 END IF
160 OUTPUT @Dio;"SOUR:DIG :FLAG0:POL NEG;*OPC?" ! Set NEGative polarity.
170 ENTER @Dio;Ready! Wait for finish.
180 OUTPUT @Dio;"SOUR:DIG :FLAG0:POL?" ! Query the polarity state.
190 ENTER @Dio;Polarity$! Get the result.
200 IF Polarity$ <> "NEG" THEN! Check the result.
210 DISP "Polarity Check ERROR"! Error discovered.
220 PAUSE! Pause on error.
230 ELSE
240 DISP"Polarity set to "&Polarity$
250 END IF
260 OUTPUT @Dio;"*RST"! Restore the card.
270 OUTPUT @Dio;"*OPC?"! Wait for the module to finish.
280 ENTER @Dio;Ready!
290 END

18 Keysight E1458A 96-Channel Digital I/O Module User Guide
Getting Started Initial Operation
Other manuals for VXI Bus 75000 C Series
2
This manual suits for next models
1
Table of contents
Other Keysight I/O System manuals
Popular I/O System manuals by other brands

ICP DAS USA
ICP DAS USA M-7084 user manual

Allen-Bradley
Allen-Bradley 1797-IBN16 installation instructions

National Instruments
National Instruments DAQ installation guide

National Instruments
National Instruments C Series CALIBRATION PROCEDURE

National Instruments
National Instruments NI 9269 CALIBRATION PROCEDURE

M-system
M-system R7L-SV4 instruction manual