Agilent Technologies, Inc. certifies that this product met its published specifications at the time of shipment from the factory. Agilent
Technologies further certifies that its calibration measurements are traceable to the United States National Institute of Standards and
Technology (formerly National Bureau of Standards), to the extent allowed by that organization's calibration facility, and to the
calibration facilities of other International Standards Organization members.
Warranty
This Agilent Technologies product is warranted against defects in materials and workmanship for a period of one year from date of
shipment. Duration and conditions of warranty for this product may be superseded when the product is integrated into (becomes a part of)
other Agilent products. During the warranty period, Agilent Technologies, Inc. will, at its option, either repair or replace products which
prove to be defective.
For warranty service or repair, this product must be returned to a service facility designated by Agilent Technologies. Buyer shall prepay
shipping charges to Agilent and Agilent shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping
charges, duties, and taxes for products returned to Agilent from another country
Agilent warrants that its software and firmware designated by Agilent for use with a product will execute its programming instructions
when properly installed on that product. Agilent does not warrant that the operation of the product, or software, or firmware will be
uninterrupted or error free.
Limitation Of Warranty
The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by Buyer, Buyer-supplied products
or interfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or improper
site preparation or maintenance.
The design and implementation of any circuit on this product is the sole responsibility of the Buyer. Agilent does not warrant the Buyer's
circuitry or malfunctions of Agilent products that result from the Buyer's circuitry. In addition, Agilent does not warrant any damage that
occurs as a result of the Buyer's circuit or any defects that result from Buyer-supplied products.
NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. AGILENT SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Exclusive Remedies
THE REMEDIES PROVIDED HEREIN ARE BUYER'S SOLE AND EXCLUSIVE REMEDIES. AGILENT SHALL NOT BE LIABLE
FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON
CONTRACT, TORT, OR ANY OTHER LEGAL THEORY.
Notice
The information contained in this document is subject to change without notice. AGILENT TECHNOLOGIES, INC. MAKES NO
WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Agilent shall not be liable for errors
contained herein or for incidental or consequential damages in connection with the furnishing, performance or use of this material. This
document contains proprietary information which is protected by copyright. All rights are reserved. No part of this document may be
photocopied, reproduced, or translated to another language without the prior written consent of Agilent Technologies, Inc. Agilent
assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Agilent.
U.S. Government Restricted Rights
The Software and Documentation have been developed entirely at private expense. They are delivered and licensed as "commercial
computer software" as defined in DFARS 252.227- 7013 (Oct 1988), DFARS 252.211-7015 (May 1991) or DFARS 252.227-7014 (Jun
1995), as a "commercial item" as defined in FAR 2.101(a), or as "Restricted computer software" as defined in FAR 52.227-19 (Jun
1987)(or any equivalent agency regulation or contract clause), whichever is applicable. You have only those rights provided for such
Software and Documentation by the applicable FAR or DFARS clause or the Agilet standard software agreement for the product involved
All Editions and Updates of this manual and their creation date are listed below. The first Edition of the manual is Edition 1. The Edition
number increments by 1 whenever the manual is revised. Updates, which are issued between Editions, contain replacement pages to
correct or add additional information to the current Edition of the manual. Whenever a new Edition is created, it will contain all of the
Update information for the previous Edition. Each new Edition or Update also includes a revised copy of this documentation history page.
Instruction manual symbol affixed to
product. Indicates that the user must refer to
product. Indicates that the user must refer to
the manual for specific WARNING or
the manual for specific WARNING or
CAUTION information to avoid personal
CAUTION information to avoid personal
injury or damage to the product.
injury or damage to the product.
Indicates the field wiring terminal that must
be connected to earth ground before
operating the equipment — protects against
electrical shock in case of fault.
WARNING
Alternating current (AC)
Direct current (DC).
Indicates hazardous voltages.
Calls attention to a procedure, practice, or
condition that could cause bodily injury or
death.
Frame or chassis ground terminal—typically
connects to the equipment's metal frame.
CAUTION
Calls attention to a procedure, practice, or
condition that could possibly cause damage to
equipment or permanent loss of data.
WARNINGS
The following general safety precautions must be observed during all phases of operation, service, and repair of this product. Failure to
comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design, manufacture, and
intended use of the product. Agilent Technologies, Inc. assumes no liability for the customer's failure to comply with these requirements.
Ground the equipment: For Safety Class 1 equipment (equipment having a protective earth terminal), an uninterruptible safety earth
ground must be provided from the mains power source to the product input wiring terminals or supplied power cable.
DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes.
For continued protection against fire, replace the line fuse(s) only with fuse(s) of the same voltage and current rating and type. DO NOT
use repaired fuses or short-circuited fuse holders.
Keep away from live circuits: Operating personnel must not remove equipment covers or shields. Procedures involving the removal of
covers or 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 electrical shock, DO NOT perform procedures 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 product 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 an Agilent Technologies Sales and Service
Office for service and repair to ensure that safety features are maintained.
DO NOT service or adjust alone: Do not attempt internal service or adjustment unless another person, capable of rendering first aid and
resuscitation, is present.
DO NOT substitute parts or modify equipment: Because of the danger of introducing additional hazards, do not install substitute parts
or perform any unauthorized modification to the product. Return the product to an Agilent Technologies Sales and Service Office for
service and repair to ensure that safety features are maintained.
6
DECLARATION OF CONFORMITY
According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014
Manufacturer’s Name:
Manufacturer’s Address:
Agilent Technologies, Incorporated
815 – 14th St. SW
Loveland, Colorado 80537
USA
Declares, that the product
Product Name:
Model Number:
16 Ch GP High Voltage Relay Multiplexer
E1343A
Product Options:This declaration covers all options of the above product(s).
Conforms with the following European Directives:
The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC
(including 93/68/EEC) and carries the CE Marking accordingly.
Conforms with the following product standards:
EMCStandard
The produt was tested in a typical configuration with Agilent Technologies or Hewlett-Packard Company test
systems
Safety
IEC 1010-1:1990+A2:1996 / EN 61010-1:1993
Canada: CSA C22.2 No. 1010.1:1992
UL 3111-1 : 1994
Limit
Group 1 Class A
4kV CD, 8kV AD
3 V/m
0.5kV signal lines, 1kV power lines
3 May 2001
Date
Ray Corson
Product Regulations Program Manager
Authorized EU-representative: Agilent Technologies Deutschland GmbH, Herrenberger Straβe 130, D 71034 Böblingen, Germany
Revision: B.01Issue Date: 3 May 2001Document E1343A.DOC
For further information, please contact your local Agilent Technologies sales office, agent or distributor.
DECLARATION OF CONFORMITY
According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014
Manufacturer’s Name:
Manufacturer’s Address:
Agilent Technologies, Incorporated
815 – 14th St. SW
Loveland, Colorado 80537
USA
Declares, that the product
Product Name:
Model Number:
16 Ch T/C High Voltage Relay Multiplexer
E1344A
Product Options:This declaration covers all options of the above product(s).
Conforms with the following European Directives:
The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC
(including 93/68/EEC) and carries the CE Marking accordingly.
Conforms with the following product standards:
EMCStandard
The produt was tested in a typical configuration with Agilent Technologies or Hewlett-Packard Company test
systems
Safety
IEC 1010-1:1990+A2:1996 / EN 61010-1:1993
Canada: CSA C22.2 No. 1010.1:1992
UL 3111-1 : 1994
Limit
Group 1 Class A
4kV CD, 8kV AD
3 V/m
0.5kV signal lines, 1kV power lines
3 May 2001
Date
Ray Corson
Product Regulations Program Manager
Authorized EU-representative: Agilent Technologies Deutschland GmbH, Herrenberger Straβe 130, D 71034 Böblingen, Germany
Revision: B.01Issue Date: 3 May 2001Document E1344A.DOC
For further information, please contact your local Agilent Technologies sales office, agent or distributor.
DECLARATION OF CONFORMITY
According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014
Manufacturer’s Name:
Manufacturer’s Address:
Agilent Technologies, Incorporated
815 – 14th St. SW
Loveland, Colorado 80537
USA
Declares, that the product
Product Name:
Model Number:
16 Channel Relay Multiplexer
E1345A
Product Options:This declaration covers all options of the above product(s).
Conforms with the following European Directives:
The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC
(including 93/68/EEC) and carries the CE Marking accordingly.
Conforms with the following product standards:
EMCStandard
Product Options:This declaration covers all options of the above product(s).
Conforms with the following European Directives:
The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC
(including 93/68/EEC) and carries the CE Marking accordingly.
Conforms with the following product standards:
EMCStandard
The produt was tested in a typical configuration with Agilent Technologies or Hewlett-Packard Company test
systems
Safety
IEC 1010-1:1990+A2:1996 / EN 61010-1:1993
Canada: CSA C22.2 No. 1010.1:1992
UL 3111-1 : 1994
Limit
Group 1 Class A
4kV CD, 8kV AD
3 V/m
0.5kV signal lines, 1kV power lines
3 May 2001
Date
Ray Corson
Product Regulations Program Manager
Authorized EU-representative: Agilent Technologies Deutschland GmbH, Herrenberger Straβe 130, D 71034 Böblingen, Germany
Revision: B.01Issue Date: 3 May 2001Document E1347A.DOC
For further information, please contact your local Agilent Technologies sales office, agent or distributor.
Using This Chapter
This chapter describes the E1343A 16-Channel High Voltage Relay,
E1344A 16-Channel General Purpose Thermocouple High Voltage Relay,
E1345A 16-Channel Relay, and E1347A 16-Channel Thermocouple Relay
Multiplexer Modules, and shows how to program the modules using SCPI
commands (Standard Commands for Programmable Instruments). This
chapter contains the following sections:
Refer to Figure 1-1 for the following explanations of all four 16-Channel
Relay Multiplexer Modules.
Chapter 1
Getting Started
General DescriptionThe multiplexer module switches (multiplexes) up to 16 channels. Each
channel provides High (H), Low (L), and Guard (G) connections.
The multiplexer module consists of a component assembly and a terminal
module. The channel relay switches are on the component assembly. The
field wiring from user sources (e.g., thermocouples) connects to the terminal
module. The terminal module also provides connections for multimeters,
voltmeters, counters, and other measuring devices.
Multiplexer Channel
Descriptions and
Connections
The channel relay switches are separated into two banks, Bank 0 and
Bank 1. Channels 00 to 07 are in Bank 0 and channels 08 to 15 are in
Bank 1. Each bank has its own H, L, and G Common terminals to which the
channel switches connect.
The channel switches also connect, through the AT and BT Tree Switches,
to the AT and BT Tree Switch Terminals, respectively. The Bank 0 channels
connect to the AT Tree Switch Terminals and the Bank 1 channels connect
to the BT Tree Switch Terminals. An additional tree switch, the AT2 Tree
Switch, provides connection of the Bank 1 channels to AT Tree Switch
Terminals. Use channel numbers 90, 91, and 92 to select the AT, BT, and
AT2 Tree Switches, respectively.
Connecting to the Tree Switch Terminals is the preferred method to connect
measuring devices, like multimeters, to measure the multiplexer channels.
This allows you to connect the measuring device to either the Bank 0 or
Bank 1 channels at any given time, or to the channels of both banks.
Getting Started 11Chapter 1
The AT Tree Switch Terminals also connect to the H, L, and G connections
on the Analog Bus Connector. The BT Tree Switch Terminals also connect
to the I+, I-, and IG connections on the Analog Bus Connector. The Analog
Bus Connector provides direct channel connections between multiple
multiplexer modules, and connections between a multiplexer module and
the E1326/E1411 Multimeters. Cables make the necessary connections
without the need to externally wire the multimeter/multiplexer modules via
the terminal modules.
The 16-Channel Thermocouple Relay Multiplexer Modules (E1344A and
E1347A) uses the RT Tree Switch (Channel 93) to connect the thermistor on
the terminal module to the Bank 1 channel common. The thermistor can be
measured to determine the temperature inside of the terminal module to
compensate for temperature measurements made with thermocouples (see
Chapter 3).
Each channel High (H) line has a jumper on the terminal module that may
be removed to add filter components (see Chapter 2 under the “Adding
Signal Conditioning Components/Current Shunts” heading). Each Bank 0
and Bank 1 common line, the AT and BT Tree Switch, and the Analog Bus
lines all have 100 ohm resistors in series with each line. The resistors
provide relay protection and are located on the component module.
12Getting Started Chapter 1
Figure 1-1. Multiplexer Module Block Diagram
Getting Started 13Chapter 1
Programming the Multiplexer Module
The multiplexer modules are programmed either in a switchbox or scanning
voltmeter configuration. To program the multiplexer modules using the
Standard Commands for Programmable Instruments (SCPI), you must select
the controller language, interface address, and SCPI commands to be used.
See the 75000 Series B Installation and Getting Started Guide or the E1406 Command Module Manual for interface addressing and controller
language information of multiplexer modules in a switchbox or scanning
voltmeter configuration. If using the E1300 Mainframe or E1405
Command Module, you MUST have version 06.00 (or greater)
firmware for the Multiplexer Modules to properly identify.
NoteThis discussion applies to SCPI programming. See Appendix B
(“16-Channel Relay Multiplexer Registers”) for details on multiplexer
modules registers.
Selecting ChannelsTo address specific channels within a multiplexer module in a switchbox or
scanning voltmeter configuration, you must:
• send the appropriate SCPI command string to the switchbox or
scanning voltmeter (e.g.,
CLOSe, OPEN, etc.)
Multiplexer Card
Numbers
• specify the card number
• specify the channel number
The card number identifies the module within a switchbox or scanning
voltmeter configuration. The switch module with the lowest logical address
is always card number 01. The card number with the next successive logical
address is 02, and so on. Figure 1-2 illustrates the card number and logical
address of a typical single module switchbox.
Figure 1-2. Card Numbers for a Single Module Switchbox
14Getting Started Chapter 1
Figure 1-3 illustrates the card numbers and logical addresses of a typical
multiple module switchbox. Figure 1-4 illustrates the card numbers of a
typical multiple module scanning voltmeter.
Figure 1-3. Card Numbers for a Multiple Module Switchbox
The logical addresses noted in Figures 1-2, 1-3, and 1-4 apply to modules
installed in an 75000 Series B Mainframe (Model Number E1300/E1301) or
in a mainframe with an E1405/E1406 Command Module. See the 75000
Series B Installation and Getting Started Guide or the E1406 Command
Module Manual for more information on switchboxes and scanning
voltmeter configurations, and logical addressing. If using the E1300
Mainframe or E1405 Command Module, you MUST have version 06.00
(or greater) firmware for the 16-Channel Multiplexer Modules to
properly identify. For uses in other systems or mainframes, see the
appropriate manuals.
Figure 1-4. Card Numbers for a Multiple Module Scanning Voltmeter
Getting Started 15Chapter 1
Multiplexer Channel
Address
For the 16-Channel Multiplexers, the channel address (channel_list) is in the
form:
(@ccnn) for a single channel;
(@ccnn,ccnn) for multiple channels;
(@ccnn:ccnn) for sequential channels;
(@ccnn:ccnn,ccnn:ccnn) for groups of sequential channels;
or any combination of the above.
where "cc" is the card number and "nn" is the channel number.
For example, the command string to close channel 02 of card number 1 is:
CLOSe (@0102)
Since "cc" (the card number) must be sent, it becomes part of the channel
number. Also, you can ignore leading zeros in the card numbers. Thus, to
close channel 02, send "102" instead of "0102". To close the above channel,
execute:
CLOSe (@102)
SCPI Command
Format Used in This
Manual
You can send SCPI commands in either a short or long form. A long form
example is:
CLOSe (@102)
The same command shown without the lower case letters is the short form.
The command then becomes:
CLOS (@102)
Some commands in this manual are shown with brackets ([ ]). These are
implied or optional commands that you do not have to execute. For example,
the
ROUT command is an implied command and is shown in this manual as:
[ROUT:]CLOS (@102)
Thus, to execute these commands, simply enter:
CLOS (@102)
See Chapter 5 for more explanation about SCPI commands and how to send
them.
16Getting Started Chapter 1
Initial Operation
Use the following program example to verify initial multiplexer operation
by closing a channel and querying channel closure. The example first resets
the switchbox and then closes channel 02 of a single multiplexer module
(card number 1) in the switchbox. The program next queries the channel
closure state. A returned "1" shows that the command to close the channel
has been sent to the switchbox. A returned "0" shows that the command to
close the channel has not been sent to the switchbox.
The computer used in the example is an Series 200/300 computer with
BASIC as the program language. The computer interfaces to the mainframe
using the General Purpose Interface Bus (GPIB)
1
. The GPIB interface select
code is 7, the primary address is 09, and the secondary address is 14. Refer
to the 75000 Series B Installation and Getting Started Guide for addressing
information.
Example: Reset the switchbox and close channel 02
10 OUTPUT 70914;"*RST"
20 OUTPUT 70914;"CLOS (@102)"
30 OUTPUT 70914;"CLOS? (@102)"
40 ENTER 70914;Value
50 PRINT Value
60 END
Opens all channels.
Close channel 02.
Query channel 02 state.
Enter results into Value.
Display result.
1. GPIB is Agilent Technologies’ implementation of IEEE-488.2
Getting Started 17Chapter 1
Notes:
18Getting Started Chapter 1
Chapter 2
Configuring the Relay Multiplexer Modules
This chapter shows how to connect external wiring to the 16-Channel Relay
Multiplexer Modules, and how to configure them:
WARNINGSHOCK HAZARD. Only service-trained personnel who are aware of
the hazards involved should install, remove, or configure the
modules. Before installing any module, disconnect AC power from
the mainframe and from user wiring.
To prevent electrical shock, all wires to the channel connections must
be insulated to at least 120 Vrms (170 V peak).
CautionMAXIMUM VOLTAGE/CURRENT. Maximum voltage that may be
applied between High (H), Low (L), and Guard (G) terminals is 170 V
dc or 120 V rms (170 V peak) for the E1345A/47A or 250 V dc or AC
RMS (354 V peak) for the E1343A/44A. Maximum current is 50mA
(non-conductive) per channel.
STATIC ELECTRICITY. Static electricity is a major cause of
component failure. To prevent damage to the electrical components
in the multiplexer module, observe anti-static techniques whenever
removing a module from the mainframe or whenever working on a
module.
Configuring the Relay Multiplexer Modules 19Chapter 2
Connecting Field Wiring
Figure 2-1 shows the terminal module for the 16-Channel High Voltage
Relay (E1343A), 16-Channel Relay (E1345A), 16-Channel General
Purpose Thermocouple High Voltage Relay (E1344A), and 16-Channel
Thermocouple Relay Multiplexer Modules (E1347A). Use the following
guidelines for wire connections.
Wiring Guidelines• If possible, use shielded cables with the shields connected to the Guard
(G) terminals and to the low connection near the measurement point.
• Be sure the wires make good connections on the screw terminals.
• For thermocouples, connect the Guard terminal to the thermocouple's
shield lead and the low connection near the measurement point.
Figure 2-1. Multiplexer Modules Connector Blocks
20Configuring the Relay Multiplexer Modules Chapter 2
Wiring a Terminal Module
Configuring the Relay Multiplexer Modules 21Chapter 2
Connecting the Analog Bus
Figure 2-2 shows how to connect the analog bus between multiple
multiplexer modules and to the E1326 Multimeter. Use the cables shipped
with the multiplexer modules to connect the analog bus of the multiplexer
modules. Use the cable shipped with the E1326 Multimeter to connect the
analog bus of the multiplexer module to the Multimeter input.
These cables are needed to connect the MUX when mounted in the E1403
Module Carrier to the E1411A/B DMM in a C-size cardcage. They must be
ordered separately.
1. Connecting E1411 to RELAY MUXs: use E1326-61611
(long analog bus cable).
2. Connecting RELAY to RELAY or RELAY to FET MUX:
use E1400-61605.
Figure 2-2. Analog Bus Connections Between Multiplexer/Multimeter Modules
22Configuring the Relay Multiplexer Modules Chapter 2
Setting the Card ID
The Card ID Jumpers indicate which terminal assembly is used. Since the
E1343-66201 and E1345-66201 assembly is used with a variety of terminal
modules, the ID jumpers may be changed. To reduce setup time and avoid
configuration errors, check the jumpers to make sure they match the terminal
module used.
When the relay multiplexers are shipped from the factory, the Card ID
Jumpers are set according to the terminal module (E1343/44/45/47/55/56)
shipped with them. The system is able to identify the multiplexer with or
without the terminal module attached.
NoteIf the jumper setting does not match the terminal module attached, the
system will identify the card based on the jumper setting.
Setting the Logical Address Switch
The address switch (LADDR) factory setting is 112. You may have changed
the setting during module installation. Valid address values are from 0 to
255. Refer to the 75000 Series B System Installation and Getting Started Guide or the E1406 Command Module Manual for addressing information.
Otherwise, to change the setting, refer to the Figure 2-3.
Figure 2-3. Locate and Set the Logical Address Switch
Configuring the Relay Multiplexer Modules 23Chapter 2
Using the Multiplexer Module with an Agilent Mainframe
or Command Module
To program the multiplexer modules with an E1300A/01A Mainframe or an
1405B/E1406A Command Module, the modules must be configured as an
instrument. If using the E1300 Mainframe or E1405 Command Module,
you MUST have version 06.00 (or greater) firmware for the 16-Channel
Multiplexer Modules to properly identify. An instrument configuration
for the multiplexer modules must be a:
• Scanning Voltmeter - Used with an E1326B/E1411A Multimeter.
• Switchbox - Used with other switch type modules, like other
multiplexer modules, etc.
(The above requirements are not necessary if using register-based
programming to program the modules.)
Using the Scanning
Voltmeter
Configuration
Use this configuration for:
1. Easiest system programming.
2. Fastest execution speed.
3. Thermocouple measurements if using the E1326B/E1411B
temperature function.
To use this configuration, set the multimeter's logical address to a multiple
of 8. Also set the first multiplexer module's logical address to the next
address value, the second module to the next address value, and so on. The
following shows the logical address settings of a Scanning Voltmeter with
the multimeter address set to 24.
Logical AddressModuleChannels
24E1326B/E1411AN/A
25E1345A/E1347A100-115
26E1345A/E1347A200-215
To program the scanning voltmeter, use the programming information in the
appropriate multimeter manual.
24Configuring the Relay Multiplexer Modules Chapter 2
Using the
Use this configuration when:
Switchbox
Configuration
Verifying Correct
Logical Address
Settings
1. Simultaneously closing multiple channels on multiple modules.
2. Other multimeters/modules cannot control the multiplexer modules.
To use this configuration, set the first multiplexer module's logical address
to a multiple of 8. Set the next multiplexer module's logical address to the
next address value, the third module to the next address value, and so on.
The following shows the logical address settings of a switchbox with the
first multiplexer module address set to 112.
Logical AddressModuleChannels
112E1345A/E1347A100-115
113E1345A/E1347A200-215
114E1345A/E1347A300-315
To program the switchbox, use the programming information in this manual.
To verify that the modules have the correct logical address setting, query the
E1300A/E1301A Mainframe or E1405B/E1406A Command Module as
follows:
E1301A Mainframe - From the “Select a Instrument” prompt of the front
panel, select the following menus:
SYSTEM
CONFIG?
LADDS
E1300A Mainframe, E1405B, or E1406A Command Module with an
RS-232 Terminal - From the “Select an Instrument” prompt, select the
following menus:
SYSTEM
CONFIG?
LADDS
If no front panel or RS-232 terminal is available, send the following SCPI
query command to the mainframe/command module:
VXI:CONF:DLAD?
The returning string contains all logical addresses in the system.
Configuring the Relay Multiplexer Modules 25Chapter 2
Selecting the Interrupt Priority
The multiplexer modules generate interrupts after a channel relay closing or
opening completes. These interrupts set the selected line on the VXI
peripheral interrupt bus true.
The VXI peripheral interrupt bus consists of 7 interrupt priority lines that
carry the interrupt signal to the commander. Line 1 has the highest priority
and line 7 the lowest. The multiplexer module's default setting is line 1, since
it is the most commonly used interrupt line.
The E1300A/E1301A Mainframe default operation is to monitor all seven
interrupt lines. The E1405B/E1406A Command Module's default operation
is to manage only one line. The Command Module does, however, use an
interrupt line allocation table that allows you to select which lines the
command module is to monitor. For embedded controllers, refer to the
appropriate controller documentation to determine which of the line(s) the
controller monitors.
When using an E1300A/E1301A Mainframe or E1405B/E1406A Command
Module for register-based programming (instead of the SCPI driver) and
where the program generates an interrupt, be sure to use the multiplexer
module's interrupt line that does not interfere with the program. Use the line
that is not used by the SCPI driver to generate interrupts.
Refer to Figure 2-4 to change the interrupt priority. Unsolder and remove
two jumpers from the old priority location. Install the jumpers in the new
priority location (Figure 2-4 shows a priority change from 1 to 7).
Figure 2-4. Changing the Priority Interrupt Level Jumpers
26Configuring the Relay Multiplexer Modules Chapter 2
5 Volt Excitation for Strain Gages
The E1345-66201 is used with a variety of terminal modules including the
E1355A and E1356A Strain Gage Multiplexers. When used with these strain
gages, the jumpers JM1 and JM2 may be installed to provide 5 volt
excitation to the strain gage bridge. This voltage is fused at 4A. Channel x93
is used to sense it.
Jumpers JM1 and JM2 must be removed when used with the E1347A
Thermocouple terminal module. This must be done because the connector
pins in this case are used to sense the 5k Ohm thermistor on the terminal
module.
When the relay multiplexer is shipped from the factory, the jumpers are not
installed.
Adding Signal Conditioning Components/Current Shunts
The multiplexer module's terminal module allows you to add components on
each channel for:
-- Low-Pass Filters
-- Attenuators
-- Current Shunts (for current measurements using a voltmeter)
Figure 2-5 shows how to install the appropriate components for the above
configurations. In the figure, channel 12 shows a low pass filter
configuration, channel 07 an attenuator configuration, and channel 04 a
current shunt configuration.
Configuring the Relay Multiplexer Modules 27Chapter 2
Figure 2-5. Signal Conditioning Components/Current Shunts
28Configuring the Relay Multiplexer Modules Chapter 2
Connecting User Inputs
The relay switch modules consist of a relay component module and a
connector (terminal) block. If you choose not to use the supplied connector
block, Figure 2-6 shows the front panel for the modules and the connection
diagram for wiring your own terminal connector.
Figure 2-6. Relay Multiplexer Modules Front Panel and Connector Pinout
Configuring the Relay Multiplexer Modules 29Chapter 2
Notes:
30Configuring the Relay Multiplexer Modules Chapter 2
Using the Relay Multiplexer Modules
Using This Chapter
This chapter uses typical examples to show how to use the 16-Channel Relay
and 16-Channel Thermocouple Relay Multiplexer Modules. Refer to
Chapter 4 (“Understanding the Relay Multiplexer Modules”) for more
information. This chapter contains the following sections:
01 and 09) during 4-wire ohms measurements and
scanning.
[ROUT:]SCAN:PORT ABUSAutomatically closes the tree switches while scanning.
NOTE: The commands with brackets ([ ]) are implied and are not shown in this chapter
Using the Relay Multiplexer Modules 31Chapter 3
Connecting Switchbox Channels to Common
• Closing any channel in Bank 0 (i.e., channels 00 to 07) connects the
channel to the Bank 0 Common.
• Closing any channel in Bank 1 (i.e., channels 08 to 15) connects the
channel to the Bank 1 Common.
Example: Connect
Channels 02 and 09 to
Common
Figure 3-1 shows how to connect channels 02 and 09 of a single module
switchbox to their respective Common Terminals. Execute:
CLOS (@102,109)
102 closes channel 02 and 109
closes channel 09; the first
number (1) is the card number.
Figure 3-1. Connecting Channels 02 and 09 to their Respective Commons
32Using the Relay Multiplexer Modules Chapter 3
CommentsOpening Channels. Use the OPEN <channel_list> command to open
channels. For example, to open channels 02 and 09, execute:
OPEN (@102,109)
Closing/Opening Multiple Channels. To close or open multiple channels,
place a comma (,) between the channel numbers. To close or open a range
of channels, place a colon (:) between the channel numbers. You can do this
for both single or multiple module switchboxes. For example, to close:
-- channels 02 and 04 of a card #1 module, and
-- channels 07 through 10 of a card #1 module, and
-- channels 09 and 15 of a card #2 module
execute this command:
CLOS (@102,104,107:110,209,215)
Closing/Opening Order for Multiple Channels. Closing/opening order
for multiple channels with a single command is not guaranteed.
Query Open/Closed Channels. The
OPEN? <channel_list> commands determine if the channel in the channel
CLOS? <channel_list> and
list is open or closed, respectively. (The query command does not determine
if, in the event of a hardware failure, the channel remains open/closed.) For
example, to determine if the channels in the above example are closed,
execute:
CLOS? (@102,104,107:110,209,215)
and enter the response into a string variable. The returned response should
look like: "1,1,1,1,1,1,1,1".
A response of 1 indicates that the channel is closed; a response of 0 indicates
that the channel is open. The reverse is true for the
OPEN? <channel_list> command. The correct responses for both the
OPEN? and CLOS? commands are:
CLOS? 1 = Closed
0 = Open
OPEN? 1 = Open
0 = Closed
NoteYou must read the query response after sending a query command or the
switchbox will generate an error.
Using the Relay Multiplexer Modules 33Chapter 3
Connecting Switchbox Channels to Tree Terminals for
Making Measurements
• Closing the AT Tree Switch connects any channel in Bank 0 (i.e.,
channels 00 to 07) to the AT Tree Switch Terminals and to the H, L,
and G terminals of the Analog Bus connector.
• Closing the BT Tree Switch connects any channel in Bank 1 (i.e.,
channels 08 to 15) to the BT Tree Switch Terminals and to the I+, I-,
and IG terminals of the Analog Bus connector.
• Use the Tree Switch Terminals to connect measuring devices like the
E1326 Digital Multimeter.
Example: Connect
Channels 02 and 09 to
Tree Terminals for
Voltage or 2-Wire Ohms
Measurements
Figure 3-2 shows how to connect channels 02 and 09 of a single module
switchbox to the AT Tree Switch Terminals and the Analog Bus connector
for voltage or 2-wire ohms measurements. Execute:
CLOS (@102,190,192)
OPEN (@102)
CLOS (@109)
102 closes channel 02,
190 closes the AT tree switch,
192 closes the AT2 tree switch.
Opens channel 02.
109 closes channel 09.
Figure 3-2. Closing Channels 02 and 09 for a Voltage Measurement
34Using the Relay Multiplexer Modules Chapter 3
Example: Connect
Channels 02 and 10 to
Tree Terminals for 4-Wire
Ohms Measurements
Figure 3-3 shows how to connect channels 02 and 10 of a single module
switchbox to their respective Tree Switch Terminals and the Analog Bus
connector for 4-wire ohms measurements. Execute:
CLOS (@102,110,190,191)
102 closes channel 02,
110 closes channel 10,
190 closes the AT tree switch,
and 191 closes the BT tree
switch.
Figure 3-3. Closing Channels 02 and 10 for a 4-Wire Ohms Measurement
CommentsOpening the AT, BT, and AT2 Tree Switches. Use the
OPEN <channel_list> command to open the tree switches.
For example, to open the AT, BT, and AT2 Tree Switches, execute:
OPEN (@190,191,192)
Measuring with the E1326/E1411 Multimeters. The E1326/
E1411 Multimeters can directly measure channels of single or multiple
multiplexer modules in a scanning voltmeter configuration. The
multimeters, when correctly programmed, automatically close the
appropriate AT, BT, and AT2 Tree Switches. For more information,
see the E1326/E1411 User's Manual.
Using the Relay Multiplexer Modules 35Chapter 3
Scanning a Range of Switchbox Channels
• You can scan a range of channels of a switchbox consisting of single
or multiple multiplexer modules (see the “Comments” section for
scanning requirements of a switchbox).
• Scanning involves sequentially closing each channel on a range of
specified channels.
• During scanning, the relay which was previously closed opens before
the next relay closes.
Example: Making Voltage
Measurements by
Scanning
Figures 3-4, 3-5, and the following commands, show how to make voltage
measurements by performing a single scanning cycle of all channels on two
multiplexer modules in a single switchbox. In the example, the:
-- AT Tree Switch Terminals of each terminal module connect to each
other and to the multimeter in Figure 3-5; to connect the AT Tree
Switch Terminals to each other, use either the Analog Bus Cables;
Analog Bus (shown in Figure 2-2) or wire the terminals together
between each terminal modules.
-- E1300/E1301 Mainframe's "Trig Out" pulse synchronizes the
switchbox with the multimeter.
-- GPIB Bus trigger command advances the switchbox channel list.
-- Multimeter GPIB select code is 7 and primary address is 22.
-- Switchbox GPIB select code is 7, the GPIB primary address is 09,
and the GPIB secondary address is 14.
-- Computer is an HP Series 200/300 Computer with BASIC using
GPIB.
70 OUTPUT 70914;"INIT"
80 FOR I=1 TO 32
90 ENTER 722;A
100 PRINT A
110 TRIGGER 70914
120 NEXT I
130 END
!Sets multimeter to external
triggers and to measure dc volts.
!Enables "Trig Out" port.
!Sets switchbox to receive Bus
triggers.
!Setup switchbox to measure
voltage.
!Closes the appropriate Tree
Switches while scanning;
automatically makes connection
to the Analog Bus.
!Selects channel list. 100 selects
first channel of module #1;
215 selects last channel of
module #2.
!Starts scanning cycle.
!Start count loop.
!Enter reading into variable A.
!Print reading in variable A.
!Trigger the switchbox to
advance the scan list.
!Increment count.
36Using the Relay Multiplexer Modules Chapter 3
Figure 3-4. Scanning Channels 100 to 215 of a Two Module Switchbox
Figure 3-5. Mainframe to Multimeter Connection for Synchronization
Using the Relay Multiplexer Modules 37Chapter 3
Example: Making 2-Wire
Ohms Measurements by
Scanning
Use the same setup shown in the first program example in this section,
except change the commands in lines 10 and 40 to the following:
!Set multimeter to 2-wire ohms.
!Closes channel switches.
This command, when used with SCAN:PORT ABUS and
SCAN <channel_list> commands, automatically closes the channels defined
in the channel list, and the AT and AT2 Tree Switches during scanning.
Example: Making 4-Wire
Ohms Measurements by
Scanning
Example: Making
Multiple Scans
Example: Making
Continuous Scans
Use the SCAN:MODE FRES command to automatically close the selected
channels defined in the
SCAN <channel_list> command. This type of
measurement requires paired channel closure (e.g., channels 02 and 10),
which the command automatically performs. Change the commands in lines
10 and 40 to the following:
-- set lowest addressed module to a logical address that is a multiple of
8 (see the 75000 Series B Installation and Getting Started Guide, or
other appropriate manuals, for more information).
38Using the Relay Multiplexer Modules Chapter 3
Measuring Temperature Using Thermocouples
(E1344A/47A Modules Only)
• Closing the AT and AT2 Tree Switches allows a multimeter connected
to the AT Tree Switch Terminals to measure the voltage of a
thermocouple or resistance of a thermistor connected to any channel.
• Closing the RT and AT2 Tree Switches allows a multimeter connected
to the AT Tree Switch Terminals to measure the resistance of the
thermistor on the terminal module.
• Use the thermistor resistance to calculate the temperature of the
terminal module to compensate thermocouple temperature
measurements (see “Comments” later in this section).
Example: Setup for
Measuring
Thermocouple
Temperature Using an
External Multimeter
Figure 3-6 and the following commands show how to set up channel 01 of a
single module switchbox to measure temperature of a thermocouple using
an external multimeter. Execute:
CLOS (@192,193)
measure thermistor temperature
OPEN (@193)
CLOS (@101,190)
192 and 193 close the AT2 and
RT tree switches.
Use multimeter.
Opens the RT Tree Switch.
Closes channel 01 and the AT
tree switch.
Figure 3-6. Temperature Measurement on Channel 01 Using a Thermocouple
Using the Relay Multiplexer Modules 39Chapter 3
CommentsTemperature Measurements using Thermistors. This consists of 2-wire
or 4-wire Ohms measurements. See “Connecting Switchbox Channels to
Tree Terminals for Making Measurements” on page 34 for making those
measurements.
Measuring Temperature with the E1326/E1411 Multimeters. The
E1326/E1411 Multimeters can directly measure channels of single or
multiple multiplexer modules. The multimeter automatically calculates the
correct temperature for the specific thermistor or thermocouple type used.
For more information, see the E1326/E1411 Multimeter User's Manual.
Thermocouple Compensation using the Thermistor on the
E1344A/47A Terminal Module. The temperature inside the terminal
module can affect the temperature reading taken from a thermocouple. Use
the thermistor inside the terminal module to determine the temperature
inside the terminal module to compensate the thermocouple temperature
measurements. Do the following:
1. Measure the resistance of the thermistor on the terminal module.
Compute the temperature of the terminal module from the reading
(T
).
ref
2. For values of resistance between 92.7 to 3.685e6, use the following
equations to calculate the temperature of the terminal module:
T
= temperature in degrees C.
ref
Thermos = the resistance of channel x93, the 5K ohm
thermistor.
A = 1.28463e-3
B = .23625e-3
C = 9.2697e-8
W = LOG (Thermos)
T
= 1./(A+W*(B +C*W*W))-273.15
ref
3. Measure the voltage on the thermocouple connected to a channel (V
4. Convert the thermistor temperature (T
(V
). Use the temperature to voltage characteristics of the
ref
) to the thermocouple voltage
ref
t
thermocouple measured in step 2 (different thermocouples have
different temperature-to-voltage characteristics).
5. Compute the compensated voltage (V) by the formula:
V = (V
V
t
).
ref
6. Convert the compensated voltage (V) calculated in step 4 to
temperature. This is the actual temperature measured by the
thermocouple.
40Using the Relay Multiplexer Modules Chapter 3
).
Understanding the Relay Multiplexer
Using This Chapter
This chapter explains techniques to scan the channels of 16-Channel Relay
and 16-Channel Thermocouple Relay Multiplexer Modules.
Scanning multiplexer channels consists of closing a set of channels, one at a
time. Available for the multiplexers are single, multiple (2 to 32767), or
continuous scanning modes. See Figure 4-1 for the different commands used
in scanning.
Chapter 4
Modules
Using Scanning Trigger Sources
The TRIG:SOUR command specifies the source to advance the channel list.
Scanning with
External
Instruments
Use the
BUS
Mainframe "Trig Out" port, use the
different trigger sources. The sources are used in other VXIbus mainframes
with command modules that have "Trig Out" ports.
The examples on the following pages show different ways to scan channels
of a switchbox in an E1300/E1301 Mainframe. The operation is similar to
other VXIbus mainframes with command modules that have "Trig Out" and
"Event In" ports.
The computer used in the examples is an HP Series 200/300 used with
BASIC as the program language. The computer interfaces with the
mainframe over GPIB. Assumed is an:
TRIG command to advance the channel list while in the TRIG:SOUR
or TRIG:SOUR HOLD trigger state. To enable the E1300/E1301
-- GPIB select code of 7;
-- GPIB primary address of 09 for the E1300/E1301 Mainframe;
-- GPIB primary address of 22 for the 3457A Multimeter;
-- GPIB secondary address of 14 for the multiplexer module.
OUTP command. Figure 4-2 shows the
Understanding the Relay Multiplexer Modules 41Chapter 4
Figure 4-1. Scanning Commands
42Understanding the Relay Multiplexer Modules Chapter 4
Figure 4-2. Trigger Sources for Scanning
Understanding the Relay Multiplexer Modules 43Chapter 4
Example: Scanning With
External Devices
This example uses the mainframe "Trig Out" port to synchronize the
multiplexers to an Agilent 3457A Digital Multimeter. See the following
figure for typical connections. For this example, use the trigger output pulse
of the mainframe "Trig Out" port to trigger the multimeter via its External
Trigger port. The sequence of operation is:
1.
INIT (line 70) closes channel number 100.
2. The channel closure causes a trigger output from the "Trig Out" port.
3. The trigger causes the multimeter to make a measurement.
4. Measurement result is sent to the computer (lines 80 to 100).
5.
TRIGGER (line 110) advances the channel list to the next channel.
6. Steps 2-5 are repeated for channels 101 through 115.
70OUTPUT 70914;"INIT"
80FOR I=1 TO 16
90ENTER 722;A
100 PRINT A
110 TRIGGER 70914
120 NEXT I
130 END
!Sets multimeter to external
trigger and to measure dc volts.
!Enables "Trig Out" port.
!Sets switchbox to receive Bus
triggers.
!Sets switchbox to measure
voltage.
!Closes the AT and AT2 Tree
Switches.
!Selects the channel list for
scanning.
!Starts scanning cycle.
!Start count loop.
!Enter reading into variable A.
!Print reading in variable A.
!Trigger the switchbox to
advance the channel list.
!Increment count.
44Understanding the Relay Multiplexer Modules Chapter 4
Example: Scanning
Using "Trig Out" and
"Event In" Ports
This example uses the mainframe "Trig Out" and "Event In" ports to
synchronize the multiplexers to an Agilent 3457A Digital Multimeter. See
the following figure for typical connections. For this example, use the
trigger output pulse of the mainframe "Trig Out" port to trigger the
multimeter via its "EXTERNAL TRIGGER" port. Note that the pulse output
from the multimeter's "VOLTMETER COMPLETE" port triggers the
switchbox to advance the channel list. Use the multimeter's reading storage
capability to store readings.
The sequence of operation is:
1.
INIT (line 50) closes channel number 100.
2. The channel closure causes a trigger output from the "Trig Out" port.
3. The trigger causes the multimeter to make a measurement.
4. Measurement result is stored into multimeter memory.
5. Trigger is output from multimeter's "VOLTMETER COMPLETE"
port.
6. Trigger to "Event In" port advances the channel list to the next
channel.
7. Steps 2-6 are repeated for channels 101 through 115.
10OUTPUT 722;"TRIG EXT;DCV;MEM FIFO"
!Sets multimeter to external
trigger; to measure dc volts, and
store readings.
!Enables "Trig Out" port.
!Sets switchbox to receive
external triggers.
!Selects the channel list
(channels 100 to 115).
!Starts scanning cycle.
Understanding the Relay Multiplexer Modules 45Chapter 4
Using the Scan Complete Bit
You can use the Scan Complete Bit (bit 8) in the Operation Status Register
of a switchbox to determine when a scanning cycle completes (no other bits
in the register apply to the switchbox). Bit 8 has a decimal value of 256 and
you can read it directly with the
STATus:OPERation[:EVENt]? command in Chapter 5 for an example).
STAT:OPER? command (refer to the
Example: Scan Complete
Interrupt
When enabled by the
STAT:OPER:ENAB 256 command, the Scan
Complete Bit will be reported as bit 7 of the Status Register. Use the GPIB
Serial Poll or the IEEE 488.2 Common Command
Register. When bit 7 of the Status Register is enabled by the
*STB? to read the Status
*SRE 128
Common Command to assert a GPIB Service Request (SRQ), you can
interrupt the controller when the Scan Complete Bit is set, after a scanning
cycle completes. This allows the controller to do other operations while the
scanning cycle is in progress.
The following example monitors bit 7 in the Status Register to determine
when the scanning cycle completes. The computer used in the example is an
HP Series 200/300 used with BASIC as the program language. The
computer interfaces with the mainframe over GPIB. The GPIB select code
is 7, the GPIB primary address is 09, and the GPIB secondary address
is 14.
10OUTPUT 70914;"*CLS"
20OUTPUT 70914;"STAT:OPER:ENAB 256"
30OUTPUT 70914;"*SRE 128"
40OUTPUT 70914;"TRIG:SOUR EXT"
50OUTPUT 70914;"SCAN (@100:115)"
60OUTPUT 70914;"INIT"
70WHILE NOT BIT(SPOLL(70914),7)
80PRINT "DO OTHER OPERATION HERE"
90END WHILE
100 PRINT "INTERRUPT GENERATED"
110 END
!Clear all switchbox status
structure.
!Enable Scan Complete Bit to set
bit 7 in Status Register.
!Enable bit 7 of Status Register
to assert SRQ.
!Set to external trigger mode.
!Select channels to be scanned.
!Start scanning cycle.
!Waiting for scan complete.
!Enter program lines for
computer to do other operations.
!Program goes to this line after
interrupt is generated by a
completed scanning cycle.
46Understanding the Relay Multiplexer Modules Chapter 4
Relay Multiplexer Command Reference
Using This Chapter
This chapter describes Standard Commands for Programmable Instruments (SCPI)
and summarizes IEEE 488.2 Common (*) Commands applicable to all four
16-Channel Relay Multiplexer Modules.
Commands are separated into two types : IEEE 488.2 Common Commands and SCPI
Commands.
Chapter 5
Common
Command
Format
SCPI
Command
Format
The IEEE 488.2 standard defines the Common Commands that perform functions
like reset, self-test, status byte query, etc. Common Commands are four or five
characters in length, always be gin with the asterisk character (*), and may include
one or more parameters. The command keyword is separated from the first
parameter by a spa ce character. Some e xam pl es of Com mon Com mands are shown
below:
*RST*ESR 32*STB?
SCPI commands perform functions like closing switches, making measurements,
querying instrument states, or retrieving data. A subsystem command structure is a
hierarchical structure that usually consists of a top level (or root) command, one or
more lower level commands, and their parameters. The following example shows
part of a typical subsystem:
[ROUTe:]
CLOSe <channel_list>
SCAN <channel_list>
:MODE?
[ROUTe:]
parameters, and
is the root command, CLOSe and SCAN are se cond level co mmands with
:MODE? is a third level command.
Relay Multiplexer Command Reference 47
Command
Separator
A colon (:) always separates one command from the next lower level command as
shown below:
ROUTe:SCAN:MODE?
Colons separate the root command from the sec ond level command (ROUTe:SCAN)
and the second level from the third level (
SCAN:MODE?).
Abbreviated
Commands
Implied
Commands
The command syntax shows most commands as a mixture of upper and lower case
letters. The upper case letters indicate the abbreviated spelling for the command. For
shorter program lines, s end the abbreviated form. For better program readability, you
may send the entire command. The instrument will accept either the abbreviated
form or the entire command.
For example, if the command syntax shows
are both acceptable forms. Other forms of
MEASure, then MEAS and MEASURE
MEASure, such as MEASU or MEASUR
will generate an error. You may use upper or lower case letters. Therefore,
MEASURE, measure, and MeAsUrE are all acceptable.
Implied commands are those which appear in square brackets ([]) in the command
syntax. (Note that the brackets are not part of the command and are not sent to the
instrument.) Suppose you send a second level command but do not send the
preceding implied command. In thi s case, t he instr ument ass umes you int end to use
the implied command and it responds as if you had sent it. Examine the
The root command [SOURce:] is an implied command. To set the instrument's pulse
count to 25, you can send either of the following command statements:
SOUR:PULS:COUN 25orPULS:COUN 25
48Relay Multiplexer Command Reference
ParametersParameter Types. The following table contains explanations and examples of
parameter types you might see later in this chapter.
Parameter
TypeExplanations and Examples
NumericA ccept s al l commonl y used de ci mal repre sent ation s of nu mbers
including optional signs, decimal points, and scientific notation.
123, 123E2, -123, -1 .23E2, .123, 1 .23E-2, 1.2300 0E-01. Special
cases include MIN, MAX, and INF.
BooleanRepresents a single binary condition that is either true or false.
ON, OFF, 1, 0.
DiscreteSelects from a finite number of values. These parameters use
mnemonics to represent each valid setting.
Linking
Commands
An example is the TRIGger:SOURce <
where source can be BUS, EXT, HOLD, or IMM.
source> command
Optional Parameters. Parameters shown within square brackets ([]) are optional
parameters. (Note that the brackets are not part of the command and are not sent to
the instrument.) If you do not specify a value for an optional parameter, the
instrument chooses a default value. For example, consider the
ARM:COUNt? [<MIN|MAX>]
specifying a parameter, the present
MIN parameter, the command returns the minimum co unt avai la bl e. If you send the
MAX paramete r, the command returns the maximum count available. Be sure to
command. If you send the command without
ARM:COUNt value is returned. If you send the
place a space between the command and the parameter.
Linking IEEE 488.2 Common Commands with SCPI Commands. Use a
semicolon between the commands. For example:
*RST;OUTP ONorTRIG:SOUR HOLD;*TRG
Linking Multiple SCPI Commands. Use bo th a semicolon and a colon between th e
commands. For example:
ARM COUN 1;:TRIG:SOUR EXT
SCPI Command Reference
This section describes the Standard Commands for Programmable Instruments
(SCPI) commands for t he multip lexer modu les. Comma nds are listed alphabet ically
by subsystem and also within each subsystem.
Relay Multiplexer Command Reference 49
The ABORt subsystem stops a scan in progress when the scan is enabled
via the interface, and the trigger modes are
TRIGger:SOURce HOLD
Subsystem SyntaxABORt
Comments• ABORt Operation invali dates the cu rrent ch annel list and s et s ARM:COUNt 1
(one scanning cycles per
(no continuous scanning cycles), and sets
(continuous internal triggering).
• Stopping Scans Enabled from Interface: When a scan is enabled from the
interface, use an interface
Instr" or "Cl ear Instr" key to stop the scan.
When the scan is enabled from the interface and the trigger source is
TRIGger:SOURce BUS or TRIGger:S OU Rce HOLD, use ABORt or the
E1301 front panel "Reset Instr" or "Clear Instr" keys to stop the scan.
• S topping Scans Enabl ed from Fr ont Pane l: When a scan is enabled from the
E1301 front panel, execute
Instr" or "Clear Instr" keys to stop the scan.
ABORt
TRIGger:SOURce BUS or
.
INITiate command), sets INITiate CONTinuous OFF
TRIGger:SOURce IMMediate
CLEAR command or the E1301 front panel "Reset
*RST over the interface or the front panel "Reset
• Related Commands:ARM, INITiate:CONTinuous, [ROUTe:]SCAN, TRIGger
ExampleStopping a Scan with ABORt
TRIG:SOUR BUS
INIT:CONT ON
SCAN (@100:115)
INIT
•
ABOR
Bus is trigger source.
Set continuous scanning.
Sets channel list.
Starts scanning cycle.
Aborts scan in progress.
50Relay Multiplexer Command Reference
:COUNt
Parameters
ARM
The ARM subsystem selects the number of scanning cycles (1 through 32767) for
each
INITiate command.
ARM
:COUNt <
:COUNt? [MIN |MAX]
ARM:COUNt <number> MIN|MAX allows scanning cycles to occur a multiple
of times (1 to 32767) with one
INITiate:CONTinuous OFF|0 is set.
Parameter NameParameter TypeRange of Values
number> MIN|MAX
INITiate command and when
number>
<
numeric1–32767|MIN|MAX
Comments• Number of Scans: Use only values between 1 to 32767 for the number of
ARM:COUNt? [MIN|MAX] returns curren t number of scanni ng cycl es set by
ARM:COUNt. A value is supplied if no MIN or MAX parameter is sent . With MIN or
MAX passed as p arameters, MIN returns 1 and MAX returns 32767.
Parameter NameParameter TypeRange of Values
MIN|MAXnumeric MIN=1, MAX=32767
Comments
• Related Commands:INITiate[:IMMediate]
ExampleQuery Number of Scanning Cycles
ARM:COUN 10
ARM COUN?
Sets 10 scanning cycles.
Query number of scanning cycles;
returned value is 10.
52Relay Multiplexer Command Reference
The DISPlay subsystem monitors the channel state of a selected module (or card) in
a switchbox, and only operates with mainframes that have a display, such as the
75000 Series B Mainframe (Model Number E1301).
Subsystem SyntaxDISPlay
:MONitor
:CARD <
:MONitor:CARD
DISPlay:MONitor:CARD <number|AUTO> selects t he module in a switch box to be
monitored.
Parameters
DISPlay
number |AUTO>
[:STATe] <
Parameter NameParameter TypeRange of Values
mode>
number|AUTO>
<
numeric1–99
Comments• Selecting a Specific Module to be Monitored: Send the card number in a
switchbox with the
DISPlay:MONitor:CARD command.
• Selecting the Present Module to be Monitored: Use the
DISPlay:MONitor AUTO command to select the last module addressed
by a switching command (e.g.,
[ROUTe:]CLOSe).
• *RST Condition: DISPlay:MONitor:CARD AUTO
ExampleSelect Module #2 in a Switchbox for Monitoring
DISP:MON:CARD 2
Selects module #2 in a switchbox.
Relay Multiplexer Command Reference 53
:MONitor[:STATe]
Parameters
DISPlay:MONitor[:STATe] <mode> turns the monitor mode on or off.
Parameter NameParameter TypeRange of Values
mode>
<
boolean0 |1|ON|OFF
Comments• Monitoring Switchbox Channels:DISPlay:MONitor[:STATe] ON or
DISPlay:MONitor[:STATe] 1
state of the selected module.
DISPlay:MONitor[:STATe] 0 turns the monitor mode OFF.
turns the mo nitor mode ON to show the channel
DISPlay:MONitor[:STATe] OFF or
• Selecting the Module to be Monitored:
Use the
module.
DISPlay:MONitor:CARD <number>|AUTO command to select the
• Monitor Mode on an E1301A Mainfr ame Display: The foll owing show s the
monitor mode on the display of an E1301 Mainframe.
SWITCH_112: Chan: 0,1, , , , , , , , ,
The example shows that channels 00 and 01 are closed.
• *RST Condition: DISPlay:MONitor[:STATe] OFF|0
ExampleEnabling the Monitor Mode
DISP:MON:CARD 2
DISP:MON 1
Selects module #2 in a switchbox.
Turns the monitor mode on.
54Relay Multiplexer Command Reference
The INITiate subsystem selects continuous scanning cycles and starts the scanning
cycle.
Subsystem SyntaxINITiate
:CONTinuous <
:CONTinuous?
[:IMMediate]
:CONTinuous
INITiate:CONTinuous <mode> enables or disables co ntinuo us scanni ng cycl es for
the switchbox.
Parameters
INITiate
mode>
Parameter NameParameter T y peRange of Values
mode>
<
boolean0|1|ON|OFF
Comments• Continuous Scanning Operation: Continuous scanning is enabled with the
INITiate:CONTinuous ON or INITiate:CONTinuous 1 command. Sending the
INITiate[:IMMediate] command closes the first channel in the channe l list. Each
trigger from a trigger source selected by the
advances the scan through the channel list. A trigger at the end of the channel list closes the first channel in the list and the scan cycle repeats.
TRIGger:SOURce command
• Non-Continuous Scanning Operation: Non-Continuous scanning is enabled
with the
Sending the
channel list. Each trigger from a trigger source selected by the
TRIGger:SOURce command advances the scan through the channel list. A
trigger at th e end of the channel list opens the last channel in the list and the
scanning cycle stops.
INITiate:CONTinuous OFF or INITiate:CONTinuous 0 command.
INITiate[:IMMediate] command closes the first channel in the
• Stopping Continuous Scans: See the ABORt command.
• Related Commands:ABORt, ARM:COUNt, TRIGger, TRIGger:SOURce
INITiate:CONTinuous? queries the scanning state. With continuous scanning
enabled, the command returns
command re turns
OFF.
ON. With continuous scanning disabled, the
[:IMMediate]
Comments• Starting the Scanning Cycle: The INITiate[:IMMediate] command starts
ExampleEnabling a Single Scan
INIT:CONT ON
INIT:CONT?
INITiate[:IMMediate] starts the scanning cycle and cl os es t he first channel in the
channel list. Successive triggers from the source specified by the
command advances the scan through the channel list.
scanning by closing the first channel in the c hannel list . A trigger advance s the
scan through the channel list. An invalid channel list generates an error
(see the
• Stopping Scanning Cycles: See the ABORt command.
SCAN (@100:115)
INIT
Sets channel list.
Starts scanning cycle.
56Relay Multiplexer Command Reference
The OUTPut subsystem enables or disables the "Trig Out" port of the
E1300/E1301 Mainframe.
Subsystem SyntaxOUTPut
[:STATe] <
[:STATe]?
[:STATe]
OUTPut[:STATe] <state> enables/disables the "Trig Out" por t on the rea r panel of
the E1300A/E1301A Mainframe.
OUTPut[:STATe] OFF|0 disables the port.
Parameters
Parameter NameParameter TypeRange of Values
OUTPut
state>
OUTPut[:STATe] ON|1 enables the port and
Comments• Enabling "T r ig Out " Port : When enabled, the "Trig Out" is pulsed each time
ExampleEnabling "Trig Out" Port
[:STATe]?
state>
<
a channel is closed during scanning. When disabled, the "Trig Out" is not
pulsed.
boolean0|1 |ON|OFF
• Output Pulse: The pulse is a + 5 V negative-going pulse.
• "Trig Out" Port Shared by Switchbo xes: When en abled, th e "T rig Out" may
be pulsed by any switchbox each time a channel is closed in a switchbox
during scanning. To disable the output for a specific switchbox, send the
OUTPut[:STATe] OFF or OUTPut[:STATe] 0 command for that switchbox.
• Related Commands:[ROUTE:]SCAN, TRIGger:SOURce
• *RST Condition:OUTPut[:STATe] OFF (port disabled)
OUTP ON
Enables "Trig Out" port for pulse output.
OUTPut[:STATe]? queries the pres ent state of the "Trig Out" port. The co mmand
returns
1 if the port is enabled, or 0 if disabled.
ExampleQuery "Trig Out" Port State
OUTP ON
OUTP:STAT?
Enables "Trig Out" port for pulse output.
Query port enable state.
Relay Multiplexer Command Reference 57
The [ROUTe:] subsystem controls switching and scanning operations for the
multiplexer modules in a switchbox.
Subsystem Syntax[ROUTe:]
CLOSe <
CLOSe? <
OPEN <
OPEN? <
SCAN <
CLOSe
[ROUTe:]CLOSe <channel_list> closes multiplexer channels specifie d in the
channel_list. The channel_list is in the form (@ccnn), (@ccnn,ccnn) , or
(@ccnn:ccnn) where cc = card number (00–99) and nn = channel number (00–15).
[ROUTe:]
channel_list>
channel_list>
channel_list>
channel_list>
channel_list>
:MODE NONE|VOLT|RES|FRES
:MODE?
:PORT ABUS|NONE
Parameters
Parameter NameParameter TypeRange of Values
channel_list>
<
Comments•Closing Channels: To close:
-- a single channel, use
-- multiple channels, use
-- sequential channels, use
-- a group of sequential channels, use
[ROUTe:]CLOSe (@ ccnn :c cnn,c cn n:ccn n);
-- or any combination.
Closure order for multiple channels with a single command is not guaranteed.
[ROUTe:]CLOSe (@ccnn);
[ROUTe:]CLOSe (@ccnn,ccnn);
• Closing the AT, BT, AT2, and RT Tree Switches: Use channel numbers 90,
91, 92, and 93 to close the AT, BT, AT2, and RT Tree Switches, respectively.
• Related Commands:[ROUTe:]OPEN, [ROUTe:]CLOSe?
• *RST Condition: All multiplexer channels are open.
ExampleClosing Multiplexer Channels
numericcc00-cc15
[ROUTe:]CLOSe (@ccnn:ccnn);
This example closes channel 00 of a card number 1 multiplexer module and
channel 15 of a card number 2 multiplexer module in a single switchbox.
CLOS (@100,215)
58Relay Multiplexer Command Reference
100 closes channel 00 of multiplexer #1;
215 closes channel 15 of multiplexer #2.
CLOSe?
Comments•Query is Software Readback: The [ROUTe:]CLOSe? command returns the
[ROUTe:]CLOSe? <channel_list> returns the current state of the channel(s)
queried. The channel_list is in the form (@ccnn). The command returns
channel is closed or returns
current sof tware state of the ch annel specified. It does not account for relay
hardware failures.
0 if the channel is open.
ExampleQuery Multiplexer Channel Closure
1 if the
OPEN
CLOS (@100,215)
CLOS? (@215)
[ROUTe:]OPEN <channel_list> opens the mu ltiplexer channels specified in the
channel_list. The channel_list is in the form (@ccnn), (@ccnn,ccnn) , or
(@ccnn:ccnn) where cc = card number (00–99) and nn = channel number (00–15).
Parameters
Parameter NameParameter TypeRange of Values
channel_list>
<
Comments•Opening Channels: To open:
-- a single channel, use
-- for multiple channels, use
-- sequential channels, use
-- a group of sequential channels, use
[ROUTe:]OPEN (@ccnn :c cnn,c cnn:c cnn) ;
-- or any combination.
Opening order for multiple channels with a single command is not guaranteed.
[ROUTe:]OPEN (@ccnn);
100 closes channel 00 of multiplexer #1;
215 closes channel 15 of multiplexer #2.
Query channel 215
numericcc00–cc15
[ROUTe:]OPEN (@ccnn,ccnn);
[ROUTe:]OPEN (@ccnn:ccnn);
• Opening the AT, BT, AT2, and RT Tree Switches:
Use channel numbers 90, 91, 92, and 93 to open th e AT, BT, AT2, and RT Tree
Switches, respectively.
• Related Commands:[ROUTe:]CLOSe, [ROUTe:]OPEN?
• *RST Condition: All multiplexer channels are open.
ExampleOpening Multiplexer Channels
This example opens channel 00 of a card number 1 multiplexer module and
channel 15 of a card number 2 multiplexer module in a single switchbox.
OPEN (@100,215)
100 opens channel 00 of multiplexer #1;
215 opens channel 15 of multiplexer #2.
Relay Multiplexer Command Reference 59
OPEN?
[ROUTe:]OPEN? <channel_list> returns the curr ent state of the cha nnel(s) queried.
The channel_list is in the form (@ccnn). The command returns
open or returns
0 if the channel is closed.
1 if the channel is
Comments• Query is Software Readback: The [ROUTe:]OPEN? command returns the
current sof tware state of the ch annel specified. It does not account for relay
hardware failures.
ExampleQuery Multiplexer Channel Open State
SCAN
OPEN (@100,215)
OPEN? (@215)
[ROUTe:]SCAN <channel_list> defines the channels to be scanned. The
channel_list is in the form (@ccnn), (@ccnn,ccnn), or (@ccnn:ccnn) where
cc = card number (00–99) and nn = channel number (00–15).
100 opens channel 00 of multiplexer #1;
215 opens channel 15 of multiplexer #2.
Query channel 215.
Parameters
Parameter NameParameter TypeRange of Values
channel_list>
<
numericcc00-cc15
Comments• Defining the Channel List: When executing [ROUTe:]SCAN, the channel list
is checked for valid card and channel numbers. An e rror is generated for an
invalid channel list.
• Scanning Operation: With a valid channel list, INITiate[:IMMediate] starts the
scanning cycle and closes the first channel in the channel list. Successive
triggers from the source specified by
through the channel list.
TRIGger:SOURce advances the scan
• Stopping Scan: See the ABORt command.
• Closing the AT, BT, and AT2 Tree Switches:
See the
[ROUTe:]SCAN:PORT ABUS command.
• Related Commands:TRIGger, TRIGger:SOURce
• *RST Condition: All channels open.
ExampleScanning Using External Devices
The following example shows how to scan channels using the E1300/E1301
Mainframe via GPIB and an Agilent 3457A Digita l Multimeter. This example uses
the mainframe "Trig Out" po rt to synchronize the multi plexer module in a switchbox
to the multim eter. The trigger pulse form the port triggers the multim eter for a
measurement. See Chapter 3 for typical user connections to the multiplexer.
60Relay Multiplexer Command Reference
The computer used in the example is an HP Series 200/300 with BASIC as the
program language. The computer interfaces with the mainframe over GPIB.
Assumed is a GPIB select code of 7, a GPIB primary address of 09 and 22 for the
E1300/E1301 Mainframe and Agile nt 3457A Mult imeter , respec tivel y, and a GPIB
secondary address of 14 for the switchbox.
70OUTPUT 70914;"INIT"
80FOR I=1 TO 16
90ENTER 722;A
100 PRINT A
110 TRIGGER 70914
120 NEXT I
130 END
[ROUTe:]SCAN:MODE <mode> sets the multiplexer channels defined by the
[ROUTe:]SCAN <channel_list> command for None, Volts, 2-wire Ohms, or 4-wire
!Sets multimeter to external trigger and to
measure dc volts.
!Enables "Trig Out" port.
!Sets switchbox to receive Bus triggers.
!Sets switchbox to measure voltage
during scanning.
!Sets switchbox to close the appropriate
Tree Switches during scanning.
!Selects the channel list.
!Starts scanning cycle.
!Start count loop.
!Enter reading into variable A.
!Print reading in variable A.
!Trigger the switchbox to advance the
channel list.
!Increment count.
Ohms measurements.
Parameters
Parameter NameParameter TypeRange of Values
mode>
<
discreteNONE|VOLT|RES|FRES
Comments• Order of Command Execution: The [ROUTe:]SCAN:MODE command must
be executed before the
[ROUTe:]SCAN <channel_list> command.
• NONE and VOLT Mode Description: Channel list is setup for volts
measurements.
• RES Mode Description: Channel list is setup for 2-wire ohms measurements.
• FRES Mode Description: Channel list is setup for 4-wire ohms
measurements. Use channels only in Bank 0 (channels 00 to 07) when
selecting the c hannel s with the
[ROUTe:]SCAN <channel_list> command. Any
channel that closes in Bank 0 automatically closes the paired channel in Bank
1 (e.g., channels 0 2 an d 10). Selecting a chan nel i n Bank 1 (channels 08 to 15)
causes an e r ror.
• *RST Condition:ROUT:SCAN:MODE NONE
Relay Multiplexer Command Reference 61
ExampleS electing the 4-Wire Ohm s Mode
SCAN:MODE?
ExampleQuery Scan Mode
SCAN:PORT
TRIG:SOUR EXT
SCAN:MODE FRES
SCAN (@100:107)
INIT
[ROUTe:]SCAN:MODE? returns the current stat e of the sc an mode. The command
returns
or
Since this example selects the
returns
SCAN:MODE FRES
SCAN:MODE?
[ROUTe:]SCAN:PORT <port> enables/disabl es the closing of the AT, BT, and AT2
tree switches during scanning.
NONE, VOLT, RES, o r FRES if the scan mode is in the NO NE, VOLT, RES,
Selects external trigger source.
Selects the 4-wire ohms scanning mode.
Selects the ABUS port.
Sets channel list.
Starts scanning cycle.
62Relay Multiplexer Command Reference
The STATus subsystem reports the bit values of the Operation Status Register.
Enables the Status Register to set a bit after a bit is set to 1 by the Operation Status
Register.
Subsystem SyntaxSTATus
:OPERation
:OPERation:ENABle
STATus:OPERation:ENABle <number> enables the Operation Status Register to
set a bit in the Status Register. For multiplexer modules, when bit 8 in the Operation
Status Register is set to 1, bit 7 in the Status Register is set to 1.
Parameters
Parameter NameParameter TypeRange of Values
:ENABle <
[:EVENt]?
STATus
number>
number>
<
numeric1–32768
Comments• Setting Bit 7 of the Status Register: STATus:OPERation:ENABle 256 sets bit
7 of the Stat us Regi ster t o 1 after bit 8 of the Operat ion Status Register is set to
1.
• Related Commands:[ROUTe:]SCAN
ExampleEnable the Status Register
STAT:OPER:ENAB 256
Enables bit 7 of the Status Register.
Relay Multiplexer Command Reference 63
:OPERation[:EVENt]?
STATus:OPERation[:EVENt]? returns the bit value of the Operation Status
Register (only bit 8 is used by the multiplexer modules).
Comments• Setting Bit 8 of the Operation Status Register: Bit 8 (Scan Comp lete) is set
to 1 after a sc anning cycle completes. Bit 8 returns to 0 after sending the
ST ATus:OPERation[:EVENt]? command.
• Returned Data after sending the STATus:OPERation[:EVENt]?
Command: The command returns
Register is set to 1. The command returns
Register is set to 0.
• Related Commands:[ROUTe:]SCAN
ExampleReading the Operation Status Register after a Scanning Cycles
+256 if bit 8 of the Operation Status
+0 if bit 8 of the Operation Status
STAT:OPER?
read and print the register value
Returns the bit values of the Standard
Operation Status Register.
+256 shows bit 8 is set to 1;
+0 shows bit 8 is set to 0.
64Relay Multiplexer Command Reference
The SYSTem subsystem returns error numbers/messages in the error queue of a
switchbox, and returns module types and descriptions in a switchbox.
Subsystem SyntaxSYSTem
:CDEScription? <
:CPON <
:CTYPe? <
:ERRor?
:CDEScription?
SYSTem:CDEScription? <number> returns the description of a selected module
(card) in a switchbox.
Parameters
Parameter NameParameter TypeRange of Values
SYSTem
number>
number|ALL>
number>
number>
<
numeric1–99
Comments•16-Channel Relay Multiplexer Module Description: The
SYSTem:CDEScription? <number> command returns:
16 Channel High Voltage Relay Mux for the E1343A;
16 Channel High Voltage Mux with T/C for the E1344A;
16 Channel Relay Mux for the E1345A; and
16 Channel Relay Mux with T/C for the E1347A.
ExampleReading the Description of a Card #1 Module
SYST:CDES? 1
Determines the description.
Relay Multiplexer Command Reference 65
:CPON
SYSTem:CPON <number|ALL> opens all channels of a selected or all modules
(cards) in a switchbox.
Parameters
Parameter NameParameter TypeRange of Values
Comments•Differences between *RST and CPON: SYSTem:CPON only opens all
:CTYPe?
Parameters
Comments•16-Channel Relay Multiplexer Module Model Number:
number>
<
numeric1–99
channels of a selected or all modules in a switchbox.
of all modules in a switchbox and also sets the trigger, etc. modes to the
power-on states.
ExampleSetting a Card #1 Module to its Power-on State
SYST:CPON 1
SYSTem:CTYPe? <number> returns the module (card) type of a selected module
Note: The 0 after the module number is the serial number of the module
(always 0). A.01.00 is an example of the module revision code number.
ExampleR eading the Model Number of a Card #1 Module
SYST:CTYP? 1
66Relay Multiplexer Command Reference
Determines the model number.
:ERRor?
Comments• Error Numbers/Messages in the Error Queue: Errors generated by a
SYSTem:ERRor? returns the error numbers and corresponding error messages in
the error queue of a switchbox. See Appendi x C for a list in g of the swit ch box err or
numbers and messages.
switchbox store an error number and corresponding error message in the error
queue. The error number is a lways a neg ative number. Each error message can
be up to 255 characters long.
• Clearing the Error Queue: An error number/message is removed from the
queue each time the
first-in, first-out. When the queue is empty, each following
command re turns
queue, execute
SYSTem:ERRor? command is sent . The err ors ar e cle ared
SYSTem:ERRor?
0, "No error". To clear all error numbers/messages in the
*CLS.
• Maximum Error Numbers/Messages in the Error Queue: The queue holds
a maximum of 30 error numbers/messages for each switchbox. If the queue
overflows, the last error number/message in the queue is replaced by -350,
"Too many errors". The oldest error numbers/messages remain in the queue
and the most recent are lost.
ExampleReading the Error Queue
SYST:ERR?
Query the error queue.
Relay Multiplexer Command Reference 67
The TRIGger subsystem commands controls the triggering operation of the
multiplexer modules in a switchbox.
TRIGger[:IMMediate] causes a trigger to occur when the defined trigger source is
TRIGger:SOURce HOLD or TRIGger:SOURce BUS.
Comments• Executing the TRIGger[:IMMediate] Command: A channel list must be
defined with
command must be executed before
switchbox.
• HOLD or BUS Source Remains: If selected, the TRIGger:SOURce HOLD or
TRIGger:SOURce BUS commands remain in effect after triggering the
switchbox with the
TRIGger
[ROUTe:]SCAN <channel_list> and an INITiate[:IMMediate]
TRIGger[:IMMediate] can trigger the
TRIGger[:IMMediate] command.
• Related Commands:INITiate, [ROUTe:]SCAN
ExampleAdvancing Scan using the TRIGger Command
TRIG:SOUR HOLD
SCAN (@100:115)
INIT
loop statement
TRIG
increment loop
Sets trigger source to hold.
Sets channel list.
Starts scanning cycle.
Start count loop.
Advances channel list to next channel.
Increment count loop.
68Relay Multiplexer Command Reference
:SOURce
Parameters
Comments• Enabling the Trigger Source: The TRIGger:SOURce comma nd only selects
TRIGger:SOURce BUS|EXTernal|HOLD|IMMediate specifies the trigger source
to advance the channel list during scanni ng.
Parameter NameParameter TypeRange of Values
BUSdiscrete*TRG command
EXTernaldiscreteEvent In BNC port
HOLDdiscreteHold triggering
IMMediatediscreteContinuous triggering
the trigger source. The
source.
INITiate[:IMMediate] command enables the trigger
• Using the TRIG Command: Y ou can use TRIGger[:IMMediate] to advance the
scan when
TRIGger:SOURce BUS or TRIGger:SOURce HOLD is selected.
• Using External Trigger Inputs: With TRIGger:SOURce EXTernal selected,
only one switchbox at a time can use the external trigger input at the
E1300/E1301 Mainframe "Event In" port. The trigger input is assigned to the
first switchbox requesting the external trigger source.
• Assigning External Trigger: A switchbox assigned with TRIG:SOUR EXT
remains assigned to that source until it receives a command to change the
source to
trigger source is available to another switchbox (with a
EXTernal
source if the source is already assigned, or an error is generated.
BUS, HOLD, or IMMediate. When the source is changed, the external
command). Another switchbox cannot receive an external trigger
• Using Bus Triggers: To trigger the switchbox with TRIGger:SOURce BUS
selected, use the IEEE 488.2 common command
Execute Trigger (
GET).
• "Trig Out" Port Shared by Switchboxes: See the OUTPut command.
• Related Commands:[ROUTe:]SCAN, TRIGger, ABORt
• *RST Condition:TRIGger:SOURce IMMediate
ExampleScanning Using External Triggers
In the following e xample, the trigg er input is applie d to the E1300/E130 1 Mainframe
"Event In" port.
Sets trigger source to external.
Sets channel list.
Starts scanning cycle.
Advances channel list to next channel.
Relay Multiplexer Command Reference 69
Scanning Using Bus Triggers
:SOURce?
ExampleQuery Trigger Source
TRIG:SOUR BUS
SCAN (@100:115)
INIT
*TRG
TRIGger:SOURce? returns the current trigger source for the switchbox. Command
returns either
IMMediate, respectively.
or
TRIG:SOUR EXT
TRIG:SOUR?
BUS, EXT, HOLD, or IMM for trigger sources BUS, EXTernal, HOLD,
Select interface (BUS) triggering.
Sets channel list.
Starts scanning cycle.
Advances scan using BUS triggering.
Sets trigger source to external.
Query trigger source; returns EXT.
70Relay Multiplexer Command Reference
IEEE 488.2 Common Commands
The following table lists the IEEE 488.2 Common (*) Commands that all four
16-Channel Relay Modules accept. The operation of some of these commands is
described in Chapter 4 of this manual. For more information on Common
Commands, refer to the 75000 Series B Mainframe User's Ma nual (Model Number
E1300/E1301) or the ANSI/IEEE Standard 488.2-1987.
CommandTitleDescription
*IDN?
*RST
*TST?
*OPC
*OPC?
*WAI
*CLS
*ESE
*ESE?
*ESR?
*SRE
*SRE?
*STB?
*TRGTriggerTriggers the switchbox to advance the scan when scan is enabled and
*RCL
*SAV
Note: These commands apply to many instruments and are not documented in detail here. See the
Series B E1300/E1301 Mainframe User's Manual
Identification
Reset
Self-Test
Operation Complete
Operation Complete Query
Wait to Complete
Clear status
Event status enable
Event status enable query
Event status register query
Service request enable
Service request enable query
Read status byte query
Recall instrument st ate
Store instrument state
Returns identification string of the switchbox.
Opens all channels, and invalidates current channel list for scanning.
Sets ARM:COUN 1, TRIG:SOUR IMM, and INIT:CONT OFF.
Always returns 0.
See note below.
See note below.
See note below.
Clears all status registers (see STATus:OPERation[:EVENt]?).
See note below.
See note below.
See note below.
Enables status register bits (see Chapter 4 for operation).
See note below.
See note below.
trigger source is TRIGger:SOURce BUS.
See note below.
See note below.
75000
or the ANSI/IEEE Standard 488.2-1987 for more information.
Relay Multiplexer Command Reference 71
Command Quick Reference
The following tables summariz e SCPI and IEEE 488.2 Common (*) Commands for
the multiplexer modules used in a switchbox.
Multiple scans per INIT command.
Query number of scans.
Selects module to be monitored.
Selects monitor mode.
Enables/disables co ntin uous scanning.
Query mode.
Starts a scanning cycle.
Enables/disables "Trig Out" pulse.
Query state of trig out pulse.
Close channel(s).
Query channel(s) closed.
Open channel(s).
Query channel(s) opened.
Define channels for scanning.
Selects appropriate Channel Switches for Measurements.
Query state of scan mode.
Enables Tree Switches closure as part of a Measurement.
Enables the Operation Status Register to set a bit in the
Status Register.
Returns status of Operation Status Register.
Returns description of module in a switchbox.
Sets specified module to its power-on state.
Returns the module type.
Returns error number/message in a switchbox Error Queue.
TRIGger [:IMMediate]
:SOURce BUS
:SOURce EXTernal
:SOURce HOLD
:SOURce IMMediate
:SOURce?
Causes a trigger to occur.
Trigger source i s *TRG.
Trigger source is "Event In" BNC.
Hold off triggering.
Continuous (internal) triggers.
Query scan trigger source.
IIEEE 488.2 Common Commands Quick Reference
CommandTitleDescription
*RSTResetOpens all channels, invalidates current channel list for scanning.
Sets ARM:COUN 1, TRIG:SOUR IMM, and INIT:CONT OFF.
*TRGBus TriggerWhen scan is enabled and trigger source is TRIG:SOUR BUS, use the *TRG
command to trigger the switchbox to advance the scan.
*TST?Self TestAlways returns 0.
72Relay Multiplexer Command Reference
Appendix A
16-Channel Relay Multiplexer
Specifications
Agilent E1343A/44A 16-Channel Relay Multiplexer
Maximum Voltage:
Terminal to Terminal: 250 Vdc or ac
Terminal to Chassis: 250 Vdc or ac
Maximum Current per Channel:
50 mA (non-inductive)
Maximum Power per Channel: 1 VA
Thermal Offset per Channel:
<10µV (differential H-L)
Closed Channel Resistance:
100 Ω ± 10% (the value of the protection resistors)
Insulation Resistance (Between any two points):
>109 Ω (at 40°C, 65% RH)
Humidity: 65% 0° to 40°C
Operating Temperature: 0° to 55°C
Storage Temperature: - 40° to 75°C
EMC, RFI, Safety:
meets FTZ1046/1984, CSA556B, IEC348, UL1244
Net Weight (kg): 0.9
7416-Channel Relay Multiplexer Specifications Appendix A
Relay Life
Electromechanical relays are subject to normal wear-out. Relay life depends
on several factors. The effects of loading and switching frequency are
briefly discussed below:
Relay Load. In general, higher power switching reduces relay life. In
addition, capacitive/induc tive loads and high inrush currents (e .g., turning
on a lamp or starting a motor) reduces relay life. Exceeding specified
maximum inputs can cause catastrophic failure.
Switching Frequency. Relay contacts heat up when switched. As the
switching frequency i ncreases, the contacts have less ti me to dissipate h eat.
The resulting increase in contact temperature also reduces relay life.
End of Life Detection
A preventative maintenance routine can prevent problems caused by
unexpected relay fail ure. The e nd of the li fe of t he rela y can be de termin ed
by using the three methods described below. The best method (or
combination of methods), as well as the failure criteria, depends on the
application in which the relay is used.
Contact Resistance. As the relay be gin s to wear out, its contact resista nce
increases. When the resistance exceeds a predetermined value, the relay
should be replaced.
Stability of Contact Resistance. The stability of the contact resist an ce
decreases with age. Using this method, the contact resistance is measured
several (5-10) times, and the v ariance of the measurements is determined.
An increase in the variance indicates deteriorating performance.
Number of Operations. Relays can be replaced after a predetermined
number of contact closures. However, this method requires knowledge of
the applied load and life specifications for the applied load.
Replacement Strategy
The replacement strategy depends on the application. If some relays are
used more often, or at a higher load, than the others, the relays can be
individually replaced as needed. If all the relays see similar loads and
switching frequencies, the entire circuit board should be replaced when the
end of life approaches. The sensitivity of the appli cation should be weighed
against the cost of replacing relays with some useful life remaining.
Note Relays that wear out normally or fail due to misuse should not be
considered defective and are not covered by the product's warranty.
16-Channel Relay Multiplexer Specifications 75Appendix A
Notes:
7616-Channel Relay Multiplexer Specifications Appendix A
Appendix B
16-Channel Relay Multiplexer Registers
Register
Addressing
Register addresses for register-based devices are located in the upper 25%
of VXI A16 address space. Every VXI device (up to 256 devices) is
allocated a 64 byt e ( 32 wor d) bl ock of addresses. The Multi pl exe r uses six
of the 64 addresses allocated.
Figure B-1 shows the register address location within A16. Figure B-2
shows the location of A16 address space in the E1300/01 Mainframe and
E1405/06 Command Module.
Figure B-1. Relay Multiplexer Registers within A16 Address Space
16-Channel Relay Multiplexer Registers 77Appendix B
Figure B-2. Multiplexer Registers within E1300/E1406 A16 Address Space
The Base AddressWhen you are readi ng or wr itin g to a mu ltipl exer regi ster, a hexade cimal or
decimal register address is specified. This address consists of an A16 base
address plus a register offset or register number.
The A16 base address used in register-based programming depends on
whether the A16 address space is located inside the E1300(01) Mainframe,
E1405/06 Command Module, or elsewhere (e.g., embedded computer).
Figures B-1, B-2, and Table B-1 enable you to determine the base address
for the following computer configurations:
•E1300/E1301 Instrument BASIC (IBASIC)
•External Computer over GPIB to E1300/E1301 Mainframe or
E1405/06 Command Module
•V/382 Embedded Controller (C-Size system)
Computer
Configurations
7816-Channel Relay Multiplexer Registers Appendix B
This section contains performance and functional information on the
computer configuratio ns that can be used wit h regist er-ba sed programmi ng.
Throughput SpeedThroughput speed is based on the amount of comman d parsing and whether
the registe rs are accessed from the VXI backplane or from the GPIB. T he
computer configurations which allow faster throughput relative to each
other are summarized below.
1. E1499A V/382 Controller with
READIO and WRITEIO
(register access is from VXI backplane).
2. E1300/01 IBASIC absolute addressing with
(register access is from VXI backplane).
3. E1300/01 IBASIC select code 8 wi th
READIO and WRITEIO (regis ter
access is from VXI backplane).
4. External Computer using
DIAG:PEEK? and DIAG:POKE
(register access is over GPIB).
5. External Computer using
VXI:READ? and VXI:WRITE
(register access is over GPIB).
Table B-1. Computer Configurations used with Relay Multiplexers
16-Channel Relay Multiplexer Registers 79Appendix B
Embedded Computer
Programming
(C-Size Systems)
If the relay multiplexer is part of a C-Size VXI system, th e fastest throughput
is achieved using an embedded computer. The embedded comput er allows
you to access the r egisters f rom the VXI bus backpl ane, and th us, there i s no
parsing of SCPI command headers.
IBASIC ProgrammingWhen the relay multiplexer is programmed using the E1300/E1301
Mainframe's Instrument BASIC (IBASIC), two methods o f accessing the
registers are through absolute addressing or using select code 8.
Absolute Addressing
and Select Code 8
The Register Offset and
Register Number
Absolute addressing is faster than select code 8 since the complete register
address (includ ing th e A16 starting locat ion 1FC000
) is specified . W hen
16
select code 8 is used, the IBASIC processor must calculate the complete
register address based on the logical address specified (Table B-1).
Depending on whether a bsolut e addr essin g or se lect code 8 is u sed, ei ther a
register offset or r egist er number is speci fied as part of the reg ister addres s.
Absolute addressing specifies a register offset, which is the register's
location in the block of 64 address bytes. For example, the multiplexer's
Channel Register has an offs et of 08
. When you write a command to this
16
register, the offset is added to the base address to form the register address
(using a logical address of 80):
Using select code 8 requires that you specify a register number. The
register number is the register offse t/2. Referring to Fi gure B-1, the Channel
Register with an offset of 08, is register number 4.
External Computer
Programming
When the multiplexer is programmed by an external computer through the
E1300/E1301 Mainframe or E1405/E1406 Command Module, th e regist ers
are accessed using
VXI:WRITE
DIAG:PEEK?/DIAG:POKE and VXI:READ?/VXI:WRITE
.
DIAG:PEEK? and DIAG:POKE, or VXI:READ? and
Throughput speed using DIAG:PEEK? and DIAG:POKE is faster than
VXI:READ?
(including the A16 starting location 1FC000
and
VXI:WRITE specify the device log ic al addr es s and register offset only.
and VXI:WRITE because the complete register address
) is specified. VXI:READ?
16
Thus, the E1300/E1406 processor must calculate the complete register
address which decreases throughput speed.
IBASIC programming using absolute addressing or select code 8 is faster
than either
DIAG:PEEK? and DIAG:POKE or VXI:READ? and VXI:WRITE
because the registers are accessed from the VXIbus backplane rather than
from the GPIB. Also,
8016-Channel Relay Multiplexer Registers Appendix B
READIO and WRITEIO are not parsed.
Reading the
You can read the following multiplexer registers:
Registers
ID and Device Type
Registers
IDModelDescription
FF00E1345A16-Channel 3 Wire Relay Multiplexer
FF01E1343A16-Channel 3 Wire High Voltage Relay Multiplexer
FF02E1347A16-Channel Thermocouple Relay Multiplexer
-- ID Register (base +00
-- Device Type Register (base +02
-- Status Contro l Register (base +0 4
-- Tree Switch Registers (base +06
-- Channel Registers (base +08
16
)
)
16
)
16
)
16
)
16
ID Registers: Reading thi s register returns FFFF16. This shows
Agilent Technologies as the manufacturer and that the module is an
A16 register based devic e.
Device Type Register: Reading this register returns:
FF03E1344A16-Channel Thermocouple High Voltage Relay Multiplexer
FF04E1355A8-Channel 120 Ohm Strain Relay Multiplexer
FF06E1356A8-Channel 350 Ohm Strain Relay Multiplexer
Status Control RegisterEach channel requires about 1 msec to close or open (2 msec for a close /open
cycle). During this time, an d al so duri ng a res et, th e mult iple xer is "b usy".
The Status Register returns the following:
16
16
Tree Switch and Channel
"busy": FFF7
"not busy": FFFF
Always returns FFFF16 regardles s of channel/tree switch state.
Registers
16-Channel Relay Multiplexer Registers 81Appendix B
Writing to the
You can write to the following multiplexer registers:
Registers
-- Status Control Register (base +04
-- Tree Switch Registers (base +06
-- Channel R egisters (base +08
16
)
16
16
)
)
Status Control RegisterWriting a "1" to bit 0 of this register resets the interface circuitry to its
power-on state and opens all channels. This is the only allowable write to
this register.
Bit 7 is the only bit that has meaning when reading this register. The busy
bit will go true for about 1 msec after a write to either the Tree Switch
Register or the Channel Reg isters. The transition of the bus y bit from "busy"
to "not busy" corresponds to a backplane interrupt occurring. A backplane
interrupt always occurs after a channel write.
Tree Switches and
Channel Registers
Writing a "1" to these registers closes the channel/tree switch and writing a
"0" opens the channel/tree switch.
Resetting the ModuleTo reset the module:
1. Write a "1" to bit 0 of the Status Control Register
2. Wait 100 usec
3. Write a "0" to bit 0 of the Status Control Register
NOTE: The busy bit in this case does not indicate when the relays have
settled.
Changing Channels1. Write to the Tree Switch a nd Channel Registe rs.
2. Wait for busy to go to "1" or for a backplane interrupt.
8216-Channel Relay Multiplexer Registers Appendix B
Register DefinitionsThe 16-Channel Relay Multiplexer Module s are regis ter-based d evices. See
Figure B-3 for register definitions.
ID Register
Base +00
1514131211109876543210
16
WriteUndefined(Logical Address)
Read*Reg-BaseA16Manufacturer ID
* Returns FFFF16 =Hewlett-Packard A16 only register-based
Device Type Register
Base +02
WriteUndefined
Read*1 (A16 only)Module ID Code
1514131211109876543210
16
* Returns: FF0016 =16-Channel Relay Multiplexer (E1345A)
FF0116 =16-Channel High Voltage Relay Multiplexer (E1343A)
FF02
16-Channel Relay Multiplexer Registers 83Appendix B
Notes:
8416-Channel Relay Multiplexer Registers Appendix B
Appendix C
16-Channel Relay Multiplexer
Error Messages
Table C-1 lists the error messages associated with the multiplexer modules
programmed by SCPI. See the appropriate Mainframe manual for a
complete list of error messages.
closing channels
measure voltage by scanning, 36
resetting the switchbox, 17
scan complete interrupt, 46
scanning using event in port, 45
scanning using trig out port, 45
scanning with external devices, 44, 60–61
Programming the Multiplexer Module, 14
Protection Resistors, 13