Agilent E1345A Users Guide

Page 1
Contents
HP E1343A/44A/45A/47A Relay Multiplexer User’s Manual
Edition 5
Warranty ................................................ ......... ......... ......... ......... ......... ......... ......... ........5
Safety Symbols.............................................................................................................6
WARNINGS.................................................................................................................6
Declaration of Conformity............................................................................................7
Chapter 1
Getting Started .............................................................................................................11
Using This Chapter.....................................................................................................11
Multiplexer Module Description ................................................................................11
General Description .............................................................................................11
Multiplexer Channel Descriptions and Connections ...........................................11
Programming the Multiplexer Module .......................................................................14
Selecting Channels ..............................................................................................14
SCPI Command Format Used in This Manual ....................................................16
Initial Operation..........................................................................................................17
Chapter 2
Configuring the Relay Multiplexer Modules ............................................................19
Warnings and Cautions...............................................................................................19
Connecting Field Wiring ............................................................................................20
Wiring Guidelines ...............................................................................................20
Wiring a Terminal Module.........................................................................................21
Connecting the Analog Bus........................................................................................22
Setting the Card ID.....................................................................................................23
Setting the Logical Address Switch............................................................................23
Using the Multiplexer Module with an HP Mainframe or Command Module .......... 24
Using the Scanning Voltmeter Configuration .....................................................24
Using the Switchbox Configuration ....................................................................25
Verifying Correct Logical Address Settings .......................................................25
Selecting the Interrupt Priority ...................................................................................26
5 Volt Excitation for Strain Gages..............................................................................27
Adding Signal Conditioning Components/Current Shunts.........................................27
Connecting User Inputs ..............................................................................................29
Chapter 3
Using the Relay Multiplexer Modules ........................................................................31
Using This Chapter.....................................................................................................31
Multiplexer Commands..............................................................................................31
Connecting Switchbox Channels to Common............................................................32
Connecting Switchbox Channels to Tree Terminals for Making Measurements.......34
Scanning a Range of Switchbox Channels.................................................................36
Measuring Temperature Using Thermocouples
(HP E1344A/47A Modules Only)............................................................................39
Contents 1
Page 2
Chapter 4
Understanding the Relay Multiplexer Modules ........................................................41
Using This Chapter.....................................................................................................41
Commands for Scanning Switchbox Channels...........................................................41
Using Scanning Trigger Sources ................................................................................41
Scanning with External Instruments ...................................................................41
Using the Scan Complete Bit......................................................................................46
Chapter 5
Relay Multiplexer Command Reference ...................................................................47
Using This Chapter.....................................................................................................47
Command Types.........................................................................................................47
Common Command Format ............................................... .................................47
SCPI Command Format ......................................................................................47
Linking Commands .............................................................................................49
SCPI Command Reference.........................................................................................49
ABORt........................................................................................................................50
ARM ...........................................................................................................................51
:COUNt ............................................................................................................... 51
:COUNt? ..............................................................................................................52
DISPlay.......................................................................................................................53
:MONitor:CARD ................................................................................................. 53
:MONitor[:STATe] ............................................................................................. 54
INITiate.......................................................................................................................55
:CONTinuous ...................................................................................................... 55
:CONTinuous? ....................................................................................................56
[:IMMediate] ....................................................................................................... 56
OUTPut....................................................................................................................... 57
[:STATe] ............................................................................................................. 57
[:STATe]? ............................................................................................................57
[ROUTe:]....................................................................................................................58
CLOSe ................................................................................................................. 58
CLOSe? ............................................................................................................... 59
OPEN ..................................................................................................................59
OPEN? .................................................................................................................60
SCAN .................................................................................................................. 60
SCAN:MODE .....................................................................................................61
SCAN:MODE? ....................................................................................................62
SCAN:PORT ....................................................................................................... 62
STATus ....................................................................................................................... 63
:OPERation:ENABle ...........................................................................................63
:OPERation[:EVENt]? ........................................................................................ 64
SYSTem...................................................................................................................... 65
:CDEScription? ................................................................................................... 65
:CPON ................................................................................................................. 66
:CTYPe? .............................................................................................................. 66
:ERRor? ............................................................................................................... 67
TRIGger ...................................................................................................................... 68
2 Contents
Page 3
[:IMMediate] ....................................................................................................... 68
:SOURce ..............................................................................................................69
:SOURce? ............................................................................................................70
IEEE 488.2 Common Commands...............................................................................71
Command Quick Reference........................................................................................72
Appendix A
16-Channel Relay Multiplexer Specifications ...........................................................73
HP E1343A/44A 16-Channel Relay Multiplexer.......................................................73
HP E1345A/47A 16-Channel Relay Multiplexer.......................................................74
Relay Life ...................................................................................................................75
End of Life Detection .................................................................................................75
Replacement Strategy.................................................................................................75
Appendix B
16-Channel Relay Multiplexer Registers ...................................................................77
Register Addressing ............................................................................................77
Computer Configurations ....................................................................................78
Reading the Registers ..........................................................................................81
Writing to the Registers .......................................................................................82
Register Definitions .............................................................................................83
Appendix C
16-Channel Relay Multiplexer Error Messages ........................................................85
Index ................................................................................................................................87
Contents 3
Page 4
4 Contents
Page 5
Certification
Hewlett-Packard Company certifies that this product met its published specifications at the time of shipment from the factory. Hewlett­Packard 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 Hewlett-Packard product is warranted against defects in materials and workmanship for a period of three years from date of shipment. Duration and conditio ns of wa rrant y for this p roduc t may be su perseded when the pro duc t is integra ted in to (be come s a part o f) other HP products. During the warranty period, Hewlett-Packard Company will, at its option, either repair or replace products which prove to be defective.
For warranty service or repai r, this produc t must be return ed to a service facility design ated by Hewlett-Pa ckard (HP). Bu yer sha ll prep ay shipping charges to HP and HP shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping charges, duties, and taxes for products returned to HP from another country
HP warrants that its software and firmware designated by HP for use with a product will execute its programming instructions when properly installed on that product. HP 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 sh all not ap ply to defect s resulting from improper o r inadequate m aintenanc e by Buye r, Buyer-suppl ied products or interfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or improper site preparation or mainte na n ce.
The design and implementation of any circuit on this product is the sole responsibility of the Buyer. HP does not warrant the Buyer’s circuitry or malfunctions of HP products that resu lt from the Buyer’s ci rcuitry. In addition, HP 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. HP 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. HP 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. HEWLETT-PACKARD (HP) 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. HP shall not be liable for errors contained herein or for incidental or consequential damages in connection with t he furnishing, performanc e or use of this material. This document contains proprietary informatio n which is protected by copyr ight. All rights are reserved. No part of this document may be photocopied, reproduced, or translated to another language without the prior written consent of Hewlett-Packard Company. HP assumes no responsibility for the use or reliability of its software on equipment that is not furnished by HP.
U.S. Government Restricted Rights
The Software and Documentation have been developed entirely at private expense. They are delivered and licensed as "co mmercial 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 equivale nt agency regulation or cont rac t cla u se), whichever is applicable . You ha ve on ly tho s e rights pr o vid ed for such Software and Documentation by the applicable FAR or DFARS clause or the HP standard s oft ware agreement for the product involved
HP E1343A/44A/45A/47A User’s Manual
Edition 5
Copyright © 1997 Hewlett-Packard Company. All Rights Reserved.
5
Page 6
Documentation History
All Editions and Updates of this m anual and the ir creati on date are list ed belo w. The first Edi tion o f the man ual is E dition 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 Edi tion. Each ne w Edition or Upd ate also incl udes a revised copy of this d ocumentation h istory page.
Edition 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .September 1989
Update 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .September 1990
Edition 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .July 1992
Edition 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . April 1993
Edition 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .May 1995
Edition 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . April 1997
Safety Symbols
Instruction manual symbol affixed to
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 equipme nt—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.
or
Frame or chassis ground terminal—typically connects to the equipment' s metal frame.
CAUTION
Calls attention to a procedure, practice , or condition that could p ossibly 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. Hewlett-Packa rd Company assumes no liab ility 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 t he pr oduct 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 vol tages may exist even with the equipment swi tched off . To avoid da ngerous el ectrica l shock, DO N OT perform procedure s involvin g cover or sh ield remova l unless you are qualified to do so.
DO NOT operate damaged equipmen t: 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 a Hewlett-Packard 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 dange r of introd ucing addi tional h azards, do not install substitute parts or perform any unauthorized mod ification to the product. Return the product to a Hewlett-Packard Sales and Service Office for service and repair to ensure that safety features are maintained.
6
Page 7
Declaration of Conformity
according to ISO/IEC Guide 22 and EN 45014
Manufacturer’s Name: Hewlett-Packard Company
Loveland Manufacturing Center
Manufacturer’s Address: 815 14th Street S.W.
Loveland, Colorado 80537
declares, that the product:
Product Name: 16-Channel Relay Multiplexer Modules Model Number: HP E1343A/44A/45 A /47A Product Options: All
conforms to the following Product Specifications: Safety: IEC 348:1978/HD 401 S1:1981
CSA 556B UL 1244
EMC: CISPR 11:1990/EN55011 (1991): Group 1 Class A
EN50082-1:1992
IEC 801-2:1991: 4kVCD, 8kVAD IEC 801-3:1984: 3 V/m IEC 801-4:1988: 1kV Power Line, 0.5kV Signal Lines
Supplementary Information: The product herewith complies with the requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC (inc lusive 89/336/EEC) and carries the "CE" mark ing accordingly.
Tested in a typical configuration in an HP B-Size VXI mainframe.
Safety qualification performed May, 1989.
September 5, 1996
European contact: Your local Hewlett-Packard Sales and Service Office or Hewlett-Packard GmbH, Depart-
ment HQ-TRE, Herrenberger Straße 130, D-71034 Böblingen, Germany (FAX +49-7031-14-3143)
Jim White, QA Manager
7
Page 8
Notes:
8
Page 9
Pl
ease fold and tape for ma
ili
ng
Reader Comment Sheet
HP E1343A/44A/45A/47A User’s Manual
Edition 5
You can help us improve our manuals by sharing your comments and sugges tions. In appreciation of your time, we will enter you in a quarterly drawing for a Hewlett-Packard Palmtop Personal Computer (U.S. government employees
are not eligible for the drawing).
Your Name
Company Name
Job Title
Address
City, State/Province
Country
Zip/Postal Code
Telephone Number with Area Code
Please list the system controller, operating system, programming language, and plug-in modules you are using.
fold here
BUSINESS REPLY MAIL
FIRST CLASS PERMIT NO. 37 LOVELAND, CO
POSTAGE WILL BE PAID BY ADDRESSEE
cut along this li ne
HEWLETT-PACKARD COMPANY
Measurement Systems Division Learning Products Department P.O. Box 301 Loveland, CO 80539-9984
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
fold here
Please pencil-in one circle for each statement below: Disagree Agree
The documentation is well organized. OOOOO
Instructions are easy to understand. OOOOO
The documentation is clearly written. OOOOO
Examples are clear and useful. OOOOO
Illustrations are clear and helpful. OOOOO
The documentation meets my overall expectations. OOOOO
Please write any comments or suggestions below–be specific.
Page 10
Page 11
Using This Chapter
This chapter describes the HP E1343A 16-Channel High Voltage Relay, E1344A 16-Channel General Purpose Thermocouple High Voltage Relay, E1345A 16-Channel Relay, and HP 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:
Multiplexer Module Description. . . . . . . . . . . . . . . . . . . . . . page 11
Programming the Multiplexer Module . . . . . . . . . . . . . . . . . page 14
Initial Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 17
Multiplexer Module Description
Refer to Figure 1-1 for the following explanations of all four 16-Channel Relay Multiplexer Modules.
Chapter 1
Getting Started
General Description The 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 us er sources (e.g., t hermocouples) 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 it s own H, L, and G Common terminal s 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 Termin als, respectively. The Bank 0 channels connect to the AT Tree Switch Ter minals and the Bank 1 channels co nnec t 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 th e Tree Switch Te rminals is the prefer red method t o 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
Page 12
The AT Tree Switch Terminals also conn ect to the H, L, and G connect ions on the Analog Bus Con nector. Th e BT Tree Swi tch Termin als al so connect to the I+, I-, and IG connec tions on the Analog Bus Conne ctor. The Analo g Bus Connector provides direct channel connections between multiple multiplexer modules, and connections between a multiplexer module and the HP E1326/E1411 Multimeters. Cables make the necessary connections without the need to exter nally wire the multimeter /multi plexer modules vi a the terminal modules.
The 16-Channel Thermocouple Relay Multiplexer Modules (HP 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, t he AT a nd 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.
12 Getting Started Chapter 1
Page 13
Figure 1-1. Multiplexer Module Block Diagram
Getting Started 13Chapter 1
Page 14
Programming the Multiplexer Module
The multiplexer modules are programmed either in a switchbox or s canning voltmeter configuration. To program the multiplexer modules using the Standard Commands for Pro grammable Instruments (SCPI), you must sele ct the controller language, interface address, and SCPI commands to be used. See the HP 75000 Series B Installation and Getting Started Guide or the HP E1406 Command Module Manual for interface addressing and controller language information of multiplexer modules in a switchbox or scanning voltmeter configuration. If using the HP E1300 Mainframe or
HP E1405 Command Module, you MUST have version 06.00 (or greater) firmware for the Mult iplexer Modules to properly identify.
Note This discussion applies to SCPI programming. See Appendix B
(“16-Channel Relay Multiplexer Registers”) for details on multiplexer modules registers.
Selecting Channels To address specific channels wit hin a multiple xer module in a s witchbo x 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 configura tion. The swi tch module wi th the lo west lo gical addres s is always card number 01 . The card numb er with the ne xt successi ve 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
14 Getting Started Chapter 1
Page 15
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 HP 75000 Series B Mainframe (HP Model Number E1300/E1301) or in a mainframe with an HP E1405/E1406 Command Module. See the HP 75000 Series B Installatio n and Getting St arted Gui de or the HP E1406 Command Module Manual for more information on switchboxes and sca nning voltmete r configurati ons, and logic al addressi ng.
If using the HP E1300 Mainframe or HP E14 05 Command Module, you MUST have version 06.00 (or greater) firmware for the 16-Channel Multiplexer M odules 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
Page 16
Multiplexer Channel
Address
For the 16-Channel Multiple xers, the channel address ( channel_list) is in th e form:
n
(@ccnn) for a single channel;
n
(@ccnn,ccnn) for mu ltiple channels;
n
(@ccnn:ccnn) for sequential channels;
n
(@ccnn:ccnn,ccnn:ccnn) for groups of sequential channels;
n
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 "1 02" 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 sh ort for m. The command then becomes:
CLOS (@102)
Some commands in this manual are shown with brackets ([ ]). These are implied or optio nal commands that you d o not have to execu te. For example,
ROUT command is an implied command and is shown i n this manual as:
the
[ROUT:]CLOS (@102)
Thus, to execute these commands, simply enter:
CLOS (@102)
See Chapter 5 for more expl anation about SCPI commands and how t o send them.
16 Getting Started Chapter 1
Page 17
Initial Operation
Use the following program examp le to verify initial multiplexer operation by closing a channel and q uerying ch annel clos ure. The exampl e 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 HP Series 200/300 computer with HP BASIC as the program language. The computer interfaces to the mainframe us ing the Hewlett-Pac kard Interface Bus (HP-IB)
1
. The HP-IB interface select code is 7, the HP-IB primary address is 09, and the HP-IB secondary address is 14. Refer to the HP 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. HP-IB is Hewlett-Packard’s implementation of IEEE Std 488.1-1984
Getting Started 17Chapter 1
Page 18
Notes:
18 Getting Started Chapter 1
Page 19
Chapter 2
Configuring the Relay Multiplexer Modules
This chapter shows h ow to connect ext ernal wiring to the 16-Channel Relay Multiplexer Modules, and how to configure them:
Warnings and Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 19
Connecting Field Wiring. . . . . . . . . . . . . . . . . . . . . . . . . . . . page 20
Wiring a Terminal Module . . . . . . . . . . . . . . . . . . . . . . . . . . page 21
Connecting the Analog Bus . . . . . . . . . . . . . . . . . . . . . . . . . page 22
Setting the Card ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 23
Setting the Logical Address Switch . . . . . . . . . . . . . . . . . . . page 23
Using the Multiplexer Module with an HP Mainframe or Command
Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 24
Selecting the Interrupt Priority . . . . . . . . . . . . . . . . . . . . . . . page 26
5 Volt Excitation for Strain Gages . . . . . . . . . . . . . . . . . . . . page 27
Adding Signal Conditioning Components/Current Shunts. . page 27
Connecting User Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 29
Warnings and Cautions
WARNING SHOCK 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.
T o prevent electrical shock, all wires to the channel connections must be insulated to at least 120 Vrms (170 V peak).
Caution MAXIMUM 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. T o prevent damage to the electrical component s 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
Page 20
Connecting Field Wiring
Figure 2-1 shows the terminal module for the 16-Channel High Voltage
Relay (HP E1343A), 16-Chann el Relay (HP E1345A), 1 6-Channel General Purpose Thermocouple High Voltage Relay (HP E134 4A), and 16 -Channel Thermocouple Relay Mult iplexer Modules (HP E1347A). Us e the following guidelines for wire connections.
Wiring Guidelines If possible, use shi elded ca bles wit h the sh ields c onnected to the Gu ard
(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
20 Configuring the Relay Multiplexer Modules Chapter 2
Page 21
Wiring a Terminal Module
Configuring the Relay Multiplexer Modules 21Chapter 2
Page 22
Connecting the Analog Bus
Figure 2-2 shows how to connect the analog bus between multiple
multiplexer modules and to the HP E1326 Multimet er. Use the cables shipped with the multiplexer modules to connect the analog bus of the multiplexer modules. Use the ca ble sh ipped wi th the HP E13 26 Multi meter 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 E1 411A/B DMM in a C- size cardc age. 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
22 Configuring the Relay Multiplexer Modules Chapter 2
Page 23
Setting the Card ID
The Card ID Ju mpers indicate which terminal assembl y is used. Since the HP E1343-66201 and E1345-66201 assembly is used with a variety of terminal modules, the ID jumper s 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.
Note If 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 setti ng is 112. You may have changed the setting during module installation. Valid address values are from 0 to
255. Refer to the HP 75000 Series B System Installation and Getting Star ted Guide or the HP 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
Page 24
Using the Multiplexer Module with an HP Mainframe or Command Module
To program the multiplexer modules with an HP E1300A/01A Mainframe or an HP E1405B/E1406A Command Module, the modules must be configured as an instrument. If using the HP E1300 Mainframe or
HP 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 HP E1326B/E1411A Multimeter.
Switchbox - Used with other switch type modules, like other
multiplexer mod ules, 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 HP 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 multimete r address set to 24.
Logical Address Module Channels
24 HP E1326B/E1411A N/A 25 HP E1345A/E1347A 100-115 26 HP E1345A/E1347A 200-215
To program the scanning volt meter, use the programming i nformation in the appropriate multimeter manual.
24 Configuring the Relay Multiplexer Modules Chapter 2
Page 25
Using the
Use this configuration when:
Switchbox
Configuration
Verifying Corr ect
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 Address Module Channels
112 HP E1345A/E1347A 100-115 113 HP E1345A/E1347A 200-215 114 HP E1345A/E1347A 300-315
To program the switch box, use the programmi ng information in this manual.
To verify that the modules have the correct logic al address set ting, query th e HP E1300A/E1301A Mainframe or HP E1405B/E1406A Command Module as follows:
HP E1301A Mainframe - From the “Select a Instrument” prompt of the front panel, select the following menus:
SYSTEM CONFIG? LADDS
HP E1300A Mainframe, HP E1405B, or HP E1406A Command Module with an RS-232 Terminal - Fro m the “Select an I nstrument” prompt, select
the following menus:
SYSTEM CONFIG? LADDS
If no front p anel or RS-232 ter minal is availabl e, 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
Page 26
Selecting the Interrupt Priority
The multiplexer modules generate i nterrupts a fter a channel relay closi ng or opening completes. These interrupts set the selected line on the VXI peripheral interrupt bus true.
The VXI peripheral interrupt bus consists of 7 interr upt 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 s etting is line 1, since it is the most commonly used interrupt line.
The HP E1300A/E1301A Mainframe default operation is to monitor all seven interrupt line s. The HP E1405 B/E1406A Command Modul e’s default operation is to manage only o ne line. The Command Module does, howeve r, use an interrupt line allo cation table that al lows you to select which line s the command module is to monitor. For e mbedded controllers, refer to the appropriate controller documentation to determine which of the line(s) the controller monitors.
When using an HP E1300A/E1301A Mainframe or HP 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 th at is not used by the SCPI driver to generate interrupts.
Refer to Figure 2-4 to change t he interrupt priority. Unsolder and rem ove 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
26 Configuring the Relay Multiplexer Modules Chapter 2
Page 27
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 t hese strain gages, the jumpers JM1 and JM2 may be installed to provide 5 volt excitation to the strain gage b ridge. This volt age is fused a t 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 Co mponent s /Current Shunts
The multiplexer module’s ter minal module allows you to add co mponents 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
Page 28
Figure 2-5. Signal Conditioning Components/Current Shunts
28 Configuring the Relay Multiplexer Modules Chapter 2
Page 29
Connecting User Inputs
The relay switch modules consist of a relay component module and a connector (terminal ) block. If you choose not t o use the supplied con nec tor block, Figure 2-6 sh ows the front panel for t he mo dul es 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
Page 30
Notes:
30 Configuring the Relay Multiplexer Modules Chapter 2
Page 31
Using the Relay Multiplexer Modules
Using This Chapter
This chapter uses typical examples to show h ow to use the 16-Channel Relay and 16-Channel Thermocouple Relay Multiplexer Modules. Refer to
Chapter 4 (“Un derstanding the Relay Multiplexer Mod ules”) for more information. This chapter contains the following se ctions:
Multiplexer Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 31
Connecting Switchbox Channels to Common . . . . . . . . . . . page 32
Connecting Switchbox Channels to Tree Terminals for Making
Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 34
Scanning a Range of Switchbox Channels . . . . . . . . . . . . . . page 36
Measuring Temperature Using Thermocouples (HP E1344A/47A
Modules Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 39
Multiplexer Commands
Chapter 3
Table 3-1. Multiplexer Commands in Chapter 3
Command Description
ARM:COUN <number> Selects multiple scanning cycles. INIT[:IMM] Starts scanning process; use the [ROUT:]SCAN command
to select channels for scanning. INIT:CONT 1|0|ON|OFF Enables/disables continuous scanning cycles. [ROUT:]CLOS <channel_list> Closes all channels in channel list. [ROUT:]CLOS? <channel_list> Queries mainframe for channel closure. [ROUT:]OPEN <channel_list> Opens all c hannels in channel list. [ROUT:]SCAN <channel_list> Closes all channels in channel list one at a time; previous
channel opens before next channel closes. [ROUT:]SCAN:MODE FRES Automatically closes p ai red channel relays (e.g., channels
01 and 09) during 4-wire ohms measurements and
scanning. [ROUT:]SCAN:PORT ABUS Automatically close s the tree swi tch es whil e scanning. NOTE: The commands with brackets ([ ]) are implied and are not shown in this chapter
Using the Relay Multiplexer Modules 31Chapter 3
Page 32
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
32 Using the Relay Multiplexer Modules Chapter 3
Page 33
Comments Opening Channels. Use the OPEN <channel_list
channels. For example, to open channels 02 and 09, execute:
OPEN (@102,109)
Closing/Opening Multip le Channe ls. To close or ope n multiple channe ls, place a comma (,) between the channel numbers. To close or open a range of channels, place a colon (:) be tween 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/op eni ng orde r for multiple channels with a single command is not guaranteed.
>
command to open
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 qu ery command does not det ermine if, in the event of a hardwar e fail ure, th e channel remains open /clos ed.) 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 tha t the channel is closed; a r esponse of 0 i ndicates that the channel is open. The reverse is true for the
OPEN? <channel_list OPEN? and CLOS? commands are:
CLOS? 1 = Closed
0 = Open
OPEN? 1 = Open
0 = Closed
>
command. The correct responses for both the
Note You must read the query response after sending a query command or the
switchbox will generate an error.
Using the Relay Multiplexer Modules 33Chapter 3
Page 34
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 th e 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
HP E1326 Digital Multimeter.
Example: Connect
Channels 02 and 09 to
Tree Terminals for
Voltage or 2-W ire Ohms
Measurements
Figure 3-2 shows how to connect channels 02 and 09 of a single module
switchbox to the AT Tree Switch Terminal s an d the Analog Bus conn ect or 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
34 Using the Relay Multiplexer Modules Chapter 3
Page 35
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
Comments Opening the AT, BT, and AT2 Tree Switches. Use the
OPEN <channel_list
For example, to open the AT, BT, and AT2 Tree Switches, execute:
OPEN (@190,191,192)
Measuring with the HP E1326/E1411 Multimeters. The HP 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 HP E1326/E1411 User’s Manual.
>
command to open the tree switches.
Using the Relay Multiplexer Modules 35Chapter 3
Page 36
Scanning a Range of Switchbox Channels
Yo u can scan a range of chan nels of a switchbox consisting of singl e 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
Figure 3-4, Figure 3-5, and the following commands, show how to make
voltage measurements by performing a sing le scanning cycl e 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 on page 22) or wire the terminals together between each terminal modules.
-- HP E1300/E1301 Mainframe’s "Trig Out" pulse synchronizes the switchbox with the multimeter.
-- HP-IB Bus trigger command advances the switchbox channel list.
-- Multimeter HP-IB select code is 7 and primary address is 22.
-- Switchbox HP-IB select code is 7, the HP-IB primar y addres s is 09, and the HP-IB secondary address is 14.
-- Computer is an HP Series 200/3 00 Computer with HP BASIC usi ng HP-IB.
Enter and Execute:
10 OUTPUT 722;"TRIG EXT;DC 10" 20 OUTPUT 70914;"OUTP ON"
30 OUTPUT 70914;"TRIG:SOUR BUS" 40 OUTPUT 70914;"SCAN:MODE VOLT" 50 OUTPUT 70914;"SCAN:PORT ABUS"
60 OUTPUT 70914;"SCAN (@100:215)"
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 vo lts. !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.
36 Using the Relay Multiplexer Modules Chapter 3
Page 37
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
Page 38
Example: Making 2-Wire Ohms Measurements by
Scanning
Use the same se tup shown in the first program example i n this section, except change the commands in lines 10 and 40 to the following:
10 OUTPUT 722;"TRIG EXT;OHM" 40 OUTPUT 70914;"SCAN:MODE RES"
!Set multimeter to 2-wire ohms. !Closes channel switches.
This command, when used with SCAN:PORT ABUS and
SCAN <channel_list
>
commands, automaticall y closes the channe ls 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:
10 OUTPUT 722;"TRIG EXT;OHM" 40 OUTPUT 70914;"SCAN:MODE FRES"
!Set multimeter to 4-wire ohms. !Closes channel switches.
This command, when used with the SCAN:PORT ABUS and
SCAN <channel_list
>
commands, automaticall y closes the channe ls defined
in the channel list and the AT and BT Tree Switches during scanning.
The ARM:COUN <number> command selects multi ple scanning cycles. Add the command to the first program example in this section, as follows:
OUTPUT 70914;"ARM:COUN 10" OUTPUT 70914;"SCAN (@100:215)"
!Enables 10 scanning cycles. !Sets scan list.
The INIT:CONT ON command selects continuous scanning cycl es
INIT:CONT OFF disables continuous scanning cycles). Add the command
( to the first pro gram example in this section, as follows:
OUTPUT 70914;"INIT:CONT ON" OUTPUT 70914;"SCAN (@100:215)"
!Enables continuous scanning cycles. !Sets scan list.
Comments See Chapter 4 for more information on scanning.
Scanning Requirements of a Switchbox (in an HP Mainframe with an HP Command Module). To scan modules in a switchbox, you must:
-- know the card numbers (see Chapter 1) of all the modules to be scanned;
-- sequentially address the modules (e.g., Logical Address 112, 113, 114, etc.);
-- set lowest addresse d module to a logical address that is a multipl e of 8 (see the HP 75000 Series B Installation and Getting Started Guide, or other appropriate manuals, for more information).
38 Using the Relay Multiplexer Modules Chapter 3
Page 39
Measuring Temperature Using Thermocouples (HP E1344A/47A Modules Only)
Closing the AT and AT2 Tree Switches allows a mult ime ter co nnected
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 a nd AT2 Tr ee Swit ches allows a multimeter c onnected
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
measurement s (see “Comments” later in this section).
Example: Setup for
Measuring
Thermocouple
Temperature Using an
External Multimeter
Figure 3-6 and the followin g commands sh ow how to set up channel 0 1 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)
measure thermocouple voltage; calculate compensated thermocouple voltage Use multimeter.
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
Page 40
Comments Temperature Measurements using Thermistors. This consists of 2-w ire
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 HP E1326/E1411 Multimeters. The HP E1326/E1411 Multimeters can directly measure channels of single or multiple multiplex er modules. The multimeter automatically calculates the correct temperature for the specific thermistor or thermocouple type used. For more information, see the HP E1326/E1411 Multimeter User’s Manual.
Thermocouple Compensation using the Thermistor on the HP E1344A/47A Terminal Module. The temperature inside the terminal
module can affect the te mp er atu re reading taken from a thermoc oupl e. 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 temper ature of the termina l module:
= temperature in degrees C.
T
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 ther mocouple connect ed to a ch annel (V
4. Convert the thermistor te mperature (T
). Use the temperature to voltage characteristics of the
(V
ref
) to the thermocouple v oltag e
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.
40 Using the Relay Multiplexer Modules Chapter 3
).
Page 41
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.
Commands for Scanning Switchbox Channels. . . . . . . . . . . page 41
Using Scanning Trigger Sources. . . . . . . . . . . . . . . . . . . . . . page 41
Using the Scan Complete Bit . . . . . . . . . . . . . . . . . . . . . . . . page 46
Commands for Scanning Switchbox Channels
Scanning multiplex er channels c onsists of c losing a set of channels, one at a time. Available for the multiplexers are single, multiple (2 to 32767), or continuous scanning modes. Se e Figure 4-1 for the different commands used in scanning.
Chapter 4
Modules
Using Scanning Trigger Sources
The TRIG:SOUR command sp ecifie s the s ource to advanc e the channe l list.
TRIG command to advance th e channel list whil e in the TRIG:SOUR
or TRIG:SOUR HOLD trigger state. To enable the HP E1300/E1301
-- HP-IB select code of 7;
-- HP-IB primary address of 09 for the HP E1300/E1301 Mainframe;
-- HP-IB primary address of 22 for the HP 3457A Multimeter;
-- HP-IB secondary address of 14 for the multiplexer module.
Scanning with
External
Instruments
Use the
BUS
Mainframe "Trig Out" port, use the different trigger sources. The sources are used in other HP VXIbus mainframes with HP command modules that have "Trig Out" ports.
The examples on the followi ng pages show dif ferent ways to s can cha nnels of a switchbox in an HP E1300/E1301 Ma infr ame. The oper ation i s simil ar to other HP VXIbus mainframes with HP c ommand modules that have "Trig Out" and "Event In" ports.
The computer used in the examples is an HP Series 200/300 used with HP BASIC as the program language. The computer interfaces with the mainframe over HP-IB. Assumed is an:
OUTP command. Figure 4-2 shows the
Understanding the Relay Multiplexer Modules 41Chapter 4
Page 42
Figure 4-1. Scanning Commands
42 Understanding the Relay Multiplexer Modules Chapter 4
Page 43
Figure 4-2. Trigger Sources for Scanning
Understanding the Relay Multiplexer Modules 43Chapter 4
Page 44
Example: Scanning With
External Devices
This example uses the mainframe "Trig Out" port to synchronize the multiplexers to an HP 3457A Digita l Multimeter. See the following figure for typical conn ections. For this e xample, use the trig ger output pulse of the mainframe "Trig Out" port to trigger the multimeter via its External Trigger port. The sequence of operation is:
INIT (line 70) closes channel number 100.
1.
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).
TRIGGER (line 110) advances the channel list to the next channel.
5.
6. Steps 2-5 are repeated for channels 101 through 115.
10 OUTPUT 722;"TRIG EXT;DCV" 20 OUTPUT 70914;"OUTP ON"
30 OUTPUT 70914;"TRIG:SOUR BUS" 40 OUTPUT 70914;"SCAN:MODE VOLT" 50 OUTPUT 70914;"SCAN:PORT ABUS" 60 OUTPUT 70914;"SCAN (@100:115)" 70 OUTPUT 70914;"INIT"
80 FOR I=1 TO 16 90 ENTER 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.
44 Understanding the Relay Multiplexer Modules Chapter 4
Page 45
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 HP 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 tri gger 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:
INIT (line 50) closes channel number 100.
1.
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.
10 OUTPUT 722;"TRIG EXT;DCV;MEM FIFO"
!Sets multimeter to external trigger; to measure dc volts, and store readings .
20 OUTPUT 70914;"OUTP ON" 30 OUTPUT 70914;"TRIG:SOUR EXT"
40 OUTPUT 70914;"SCAN (@100:115)" 50 OUTPUT 70914;"INIT"
60 END
!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
Page 46
Using the Scan Complete Bit
You can use the Scan Complete Bit (bit 8) in th e Oper ati on Status Register of a switchbox to dete rmine when a scanning c ycle comple tes (no o ther bit s in the register a pply t o th e swit chbox) . Bit 8 has a decimal valu e of 25 6 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 th e HP-IB 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 Stat us
*SRE 128
Common Command to assert an HP-IB Service Request (SRQ), you can interrupt the controller when the Scan Complete Bit is s et, after a scannin g 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 complete s. The co mputer used i n the exampl e is an HP Series 200/300 used with HP BASIC as the program language. The computer interfaces with the mainframe over HP-IB. The HP-IB select code is 7, the HP-IB primary address is 09, and the HP-IB secondary address is 14.
10 OUTPUT 70914;"*CLS" 20 OUTPUT 70914;"STAT:OPER:ENAB 256"
30 OUTPUT 70914;"*SRE 128" 40 OUTPUT 70914;"TRIG:SOUR EXT"
50 OUTPUT 70914;"SCAN (@100:115)" 60 OUTPUT 70914;"INIT" 70 WHILE NOT BIT(SPOLL(70914), 7) 80 PRINT "DO OTHER OPERATION HERE"
90 END 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 othe r operations.
!Program goes to this line after interrupt is generated by a completed scanning cycle.
46 Understanding the Relay Multiplexer Modules Chapter 4
Page 47
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.
Command Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 47
SCPI Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 49
IEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . page 71
Command Quick Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . page 72
Command Types
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 begin with the asterisk character (*), and may include one or more parameters. The command keyword is separated from the first parameter by a space character. Some examples of Common Commands 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 SCA N are se cond lev el commands with
:MODE? is a third level command.
Relay Multiplexer Command Reference 47
Page 48
Command
Separator
A colon (:) always separates one command from the next lower level command as shown below:
ROUTe:SCAN:MODE?
Colons separate the roo t 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 ca se letters i ndicate the abbrevi ated spelling for the command. For shorter program lines, send the abbreviated form. For bet ter 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, the inst rument as sumes you intend to use the implied command and it responds as if you had sent it. Examine the
SOURce
subsystem shown below:
[SOURce:]
PULSe
:COUNt < :COUNt? [<MIN|MAX>] :PERiod < :PERiod? [<MIN|MAX>]
count>
period>
The root command [SOURce:] is an implie d command. To set the instrument’s pul se count to 25, you can send either of the following command statements:
SOUR:PULS:COUN 25 or PULS:COUN 25
48 Relay Multiplexer Command Reference
Page 49
Parameters Parameter Types. The following table contains explanations and examples of
parameter types you might see later in this chapter.
Parameter
Type Explanations and Examples
Numeric Accepts all commonly used decima l represe nta tions of nu mbers
including optional signs, decimal points, and scientific notation. 123, 123E2, -123, -1.23E2, .123, 1.23E-2 , 1.23000E-01 . Special
cases include MIN, MAX, and INF.
Boolean Represents a single binary condition that is either true or f alse.
ON, OFF, 1, 0.
Discrete Selects 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 count availabl e. If you s end t he MAX parameter, 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 exampl e:
*RST;OUTP ON or TRIG:SOUR HOLD;*TRG
Linking Multiple SCPI Commands. Use both a semicolon and a colo n between the commands. For example:
ARM COUN 1;:TRIG:SOUR EXT
SCPI Command Reference
This section describes the Standard Commands for Programmable Instruments (SCPI) commands for the multiplexer modules. Commands are listed alphabetically by subsystem and also within each subsystem.
Relay Multiplexer Command Reference 49
Page 50
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 Syntax ABORt
Comments • ABORt Operation invalidates the current channe l li st and set 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 "Reset Instr" or "Clear Instr" key to stop the scan.
When the scan is enabled from the interface and the trigger source is
TRIGger:SOURce BUS or TRIGger:SOURce HOLD, use ABORt or the
HP E1301 front panel "Reset Instr" or "Clear Instr" keys to stop the scan.
Sto pping Sc ans Enab led fr om F r ont Panel: When a scan is enabled fr om the
HP E1301 front panel, execute "Reset 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 HP E1301 front panel
*RST over the interface or the front panel
Related Commands: ARM, INITiate:CONTinuous, [ROUTe:]SCAN, TRIGger
Example Stopping 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.
50 Relay Multiplexer Command Reference
Page 51
:COUNt
Parameters
ARM
The ARM subsystem selects the number of scanning cycles (1 through 32767) for
INITiate comman d.
each
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 Name Parameter Type Range of Values
number
>
MIN|MAX
INITiate command and when
number>
<
numeric 1–32767|MIN|MAX
Comments Number of Scans: Use only values between 1 to 32767 for the number of
scanning cycles (default is 1).
Related Commands: ABORt, INITiate[:IMMediate]
*RST Condition: ARM:COUNt 1
Example Setting Ten Scanning Cycles
ARM:COUN 10 SCAN (@100:115) IINIT
Sets 10 scanning cycles. Sets channel list. Starts scanning cycle.
Relay Multiplexer Command Reference 51
Page 52
:COUNt?
Parameters
Comments Related Commands: INITiate[:IMMediate]
ARM:COUNt? [MIN|MAX] returns current number of scanning cycles set by
ARM:COUNt. A value is supplied if no MIN or MAX parameter is sent. With MIN or MAX passed as parameters, MIN returns 1 and MAX returns 32767.
Parameter Name Parameter Type Range of Values
MIN|MAX numeric MIN=1, MAX=32767
Example Query Number of Scanning Cycles
ARM:COUN 10 ARM COUN?
Sets 10 scanning cycles. Query number of scanning cycles; returned value is 10.
52 Relay Multiplexer Command Reference
Page 53
The DISPlay subsystem monitors t he chan nel st ate of a sel ected modul e (or c ard) i n a switchbox, and only operates with mainframes that have a display, such as the HP 75000 Series B Mainframe (HP Model Number E1301).
Subsystem Syntax DISPlay
:MONitor :CARD <
:MONitor:CARD
number|AUTO>
[:STATe] <
DISPlay
mode>
DISPlay:MONitor:CARD <number|AUTO
monitored.
>
selects the module i n a switchbox to be
Parameters
Parameter Name Parameter Type Range of Values
number|AUTO>
<
numeric 1–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
Example Select Module #2 in a Switchbox for Monitoring
DISP:MON:CARD 2
Selects module #2 in a switchbox.
Relay Multiplexer Command Reference 53
Page 54
:MONitor[:STATe]
DISPlay:MONitor[:STATe] <mode
>
turns the moni tor mode on or off.
Parameters
Parameter Name Parameter Type Range of Values
mode>
<
boolean 0 |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 m ode OFF.
turns the monitor 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 HP E1301A Mainframe Display: The following
shows the monitor mode on the display of an HP E1301 Mainframe.
SWITCH_112: Chan: 0,1, , , , , , , , ,
The example shows that channels 00 and 01 are closed.
*RST Condition: DISPlay:MONitor[:STATe] OFF|0
Example Enabling the Monitor Mode
DISP:MON:CARD 2 DISP:MON 1
Selects module #2 in a switchbox. Turns the monitor mode on.
54 Relay Multiplexer Command Reference
Page 55
The INITiate subsystem selects continuous scanning cycles and starts the scanning cycle.
Subsystem Syntax INITiate
:CONTinuous < :CONTinuous? [:IMMediate]
:CONTinuous
INITiate
mode>
INITiate:CONTinuous <mode
the switchbox.
>
enables or disables cont inuous sc anning cycles f or
Parameters
Parameter Name Parameter Type Range of Values
mode>
<
boolean 0|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 channel 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] comma nd closes the first channel in the
Stopping Continuous Scans: See the ABORt command.
Related Commands: ABORt, ARM:COUNt, TRIGger, TRIGger:SOURce
*RST Condition: INITiate:CONTinuous OFF
Example Enabling Continuous Scans
INIT:CONT ON SCAN (@100:115) INIT
Enables continuous scanning. Sets channel list. Starts scanning cycle.
Relay Multiplexer Command Reference 55
Page 56
:CONTinuous?
Example Query Continuous Scanning State
INITiate:CONTinuous? queries the scanning state. With continuous scanning
enabled, the command returns command retur ns
OFF.
ON. With continuous scanning disabled, the
[:IMMediate]
Comments Starting the Scanning Cycle: The INITiate[:IMMediate] command starts
Example Enabling a Single Scan
INIT:CONT ON INIT:CONT?
INITiate[:IMMediate] start s the sca nni ng cy cle and c los es t he f ir st chan nel in t he
channel list. Successive trigger s from the s ource spec ified by th e command advances the scan through the channel list.
scanning by closi ng th e f irst chann el in th e chann el li st. A trigg er adv ances the scan through the channel list. An invalid channel list generates an error (see the
[ROUTe:]SCAN command).
Enables continuous scanning. Query continuous scanning state.
TRIGger:SOURce
Stopping Scanning Cycles: See the ABORt command.
SCAN (@100:115) INIT
Sets channel list. Starts scanning cycle.
56 Relay Multiplexer Command Reference
Page 57
The OUTPut subsystem enables or disables the "Trig Out" port of the HP E1300/E1301 Mainframe.
Subsystem Syntax OUTPut
[:STATe] < [:STATe]?
[:STATe]
OUTPut
state>
OUTPut[:STATe] <state
the HP E1300A/E1301A Mainframe.
OUTPut[:STATe] OFF|0 disables the port.
>
enables/disables the " Tri g Out " por t on the rear panel of
OUTPut[:STATe] ON|1 enables the port and
Parameters
Parameter Name Parameter Type Range of Values
state>
<
boolean 0|1|ON|OFF
Comments Enabling "Trig Out" Port: When enabled, the "Trig Out" is pulsed each time
a channel is closed during scanning. When disabled, the "Trig Out" is not pulsed.
Output Pulse: The pulse is a + 5 V negative-going pulse.
"T rig Out" Port Shar ed by Switchboxes : When enabled, the "Trig 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
Example Enabling "Trig Out" Port
[:STATe]?
Example Query "Trig Out" Port State
*RST Condition: OUTPut[:STATe] OFF (port disabled)
OUTP ON
OUTPut[:STATe]? queries the present state of the "Trig Out" port. The command
returns
OUTP ON OUTP:STAT?
1 if the port is enabled, or 0 if disabled.
Relay Multiplexer Command Reference 57
Enables "Trig Out" port for pulse output.
Enables "Trig Out" port for pulse output. Query port enable state.
Page 58
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:]
channel_list>
channel_list>
channel_list>
channel_list>
channel_list>
:MODE NONE|VOLT|RES|FRES :MODE? :PORT ABUS|NONE
[ROUTe:]CLOSe <chan nel_list
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 Name Parameter Type Range 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:ccnn,ccnn:ccnn);
-- 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?
>
closes multiplexer channels specified in the
numeric cc00-cc15
[ROUTe:]CLOSe (@ccnn:ccnn);
*RST Condition: All multiplexer channels are open.
Example Closing Multiplexer Channels
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)
58 Relay Multiplexer Command Reference
100 closes channel 00 of multiplexer #1; 215 closes channel 15 of multiplexer #2.
Page 59
CLOSe?
OPEN
[ROUTe:]CLOSe? <channel_list
queried. The channel_list is in the form (@ccnn). The command returns channel is closed or returns
>
returns the current state of the channel(s)
0 if the channel is open.
1 if the
Comments Query is Software Readback: The [ROUTe:]CLOSe? command returns the
current software state of the channel specified. It does not account for relay hardware failures.
Example Query Multiplexer Channel Closure
CLOS (@100,215) CLOS? (@215)
[ROUTe:]OPEN <channel_list
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).
>
opens the multiplexer channels specified in the
100 closes channel 00 of multiplexer #1; 215 closes channel 15 of multiplexer #2. Query channel 215
Parameters
Parameter Name Parameter Type Range of Values
channel_list>
<
Comments Opening Channels: To open:
-- a single channel, use
-- for multi ple channels, use
-- sequential channels, use
-- a group of sequential channels, use
[ROUTe:]OPEN (@ccnn:ccnn,ccnn:ccnn);
-- or any combination. Opening orde r for multiple channels with a single com m and is not guaranteed.
[ROUTe:]OPEN (@ccnn);
[ROUTe:]OPEN (@ccnn:ccnn);
Opening the AT, BT, AT2, and RT Tree Switches:
Use channel numbers 90, 91, 92, and 93 to open t he AT , BT, AT2, and RT Tree Switches, respectively.
Related Commands: [ROUTe:]CL OSe, [ROUTe:]OPEN?
*RST Condition: All multiplexer channels are open.
Example Opening 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.
numeric cc00–cc15
[ROUTe:]OPEN (@ccnn,ccnn);
OPEN (@100,215)
100 opens channel 00 of multiplexer #1; 215 opens channel 15 of multiplexer #2.
Relay Multiplexer Command Reference 59
Page 60
OPEN?
SCAN
[ROUTe:]OPEN? <channel_list
The channel_list is in the form (@ccnn). The command returns open or returns
0 if the channe l is closed.
>
returns the current state of the channe l(s) queried.
1 if the channel is
Comments Query is Software Readback: The [ROUTe:]OPEN? command returns the
current software state of the channel specified. It does not account for relay hardware failures.
Example Query Multiplexer Channel Open State
OPEN (@100,215) OPEN? (@215)
[ROUTe:]SCAN <channel_list
channel_list is in the form (@ccnn), (@ccnn,ccnn), or (@ccnn:ccnn) where
cc = card number (00–99) and nn = channel number (00–15).
>
defines the channels to be scanned. The
100 opens channel 00 of multiplexer #1; 215 opens channel 15 of multiplexer #2. Query channel 215.
Parameters
Parameter Name Parameter Type Range of Values
channel_list>
<
numeric cc00-cc15
Comments Defining the Channel List: When executing [ROUTe:]SCAN, the channel lis t
is checked for valid card and chan nel numbers. An error is generated for an invalid channel list.
Scanning Operation: W ith a valid channel list, INIT iate[: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.
Example Scanning Using External Devices
The following example shows how to scan channels using the HP E1300/E1301 Mainframe via HP-IB and an HP 345 7A Digi t al Mul ti met er. This example uses the mainframe "Trig Out" port t o synchroniz e the multipl exer module i n a switchbox to the multimeter. The trigger puls e form the port triggers the multimeter for a measurement. See Chapter 3 for typical user connections to the multiplexer.
60 Relay Multiplexer Command Reference
Page 61
The computer used in the example is an HP Series 200/300 with HP BASIC as the program language. The computer interfaces with the mainframe over HP-IB. Assumed is an HP-IB select code of 7, an HP-IB primary address of 09 and 22 for the HP E1300/E1301 Mainframe and HP 3457A Multimeter, respectively, and an HP-IB secondary address of 14 for the switchbox.
SCAN:MODE
10 OUTPUT 722;"TRIG EXT;DCV" 20 OUTPUT 70914;"OUTP ON"
30 OUTPUT 70914;"TRIG:SOUR BUS" 40 OUTPUT 70914;"SCAN:MODE VOLT"
50 OUTPUT 70914;"SCAN:PORT ABUS" 60 OUTPUT 70914;"SCAN (@100:115)"
70 OUTPUT 70914;"INIT" 80 FOR I=1 TO 16 90 ENTER 722;A 100 PRINT A 110 TRIGGER 70914
120 NEXT I 130 END
[ROUTe:]SCAN:MODE <mode
[ROUTe:]SCAN <channel_list
>
sets the multiplexer channels defined by the
>
command for None, Volts, 2-wire Ohms, or 4-wire
Ohms measurements.
!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 th e channel list. !Increment count.
Parameters
Parameter Name Parameter Type Range of Values
mode>
<
discrete NONE|VOLT|RES|FRES
Comments Order of Command Execution: The [ROUTe:]SCAN:MODE command must
be execute d 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 chann els wi th 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 cha nnel i n Ba nk 1 (channels 08 to 15) causes an error.
*RST Condition: ROUT:SCAN:MODE NONE
Relay Multiplexer Command Reference 61
Page 62
Example Selecting the 4-Wire Ohms Mode
SCAN:MODE?
Example Query Scan Mode
SCAN:PORT
TRIG:SOUR EXT SCAN:MODE FRES SCAN (@100:107) INIT
[ROUTe:]SCAN:MODE? returns the current state of the scan mode . The command
returns or
Since this example selects the returns
SCAN:MODE FRES SCAN:MODE?
[ROUTe:]SCAN:PORT <port
tree switches during scanning.
NONE, VOLT, RES, or FRES if the scan mode is in the NONE, VOLT, RES,
FRES mode, respectively.
FRES (4-wire ohms) mode, the query command
FRES.
>
enables/disables the c losing of the AT, BT, and AT2
SCAN:PORT ABUS closes the appropriate tree
Selects external trigger source. Selects the 4- wire ohms scanning m ode. Sets channel list. Starts scanning cycle.
Selects the 4- wire ohms scanning m ode. Query the scanning mode.
switches (for Analog Bus connections). For correct operation, set the measurement modes by the
[ROUTe:]SCAN:PORT NONE command prevents closing the tree switches.
The
[ROUTe:]SCAN:MODE command.
Parameters
Parameter Name Parameter Type Range of Values
port>
<
discrete ABUS|NONE
Comments Order of Command Execution: The [ROUTe:]SCAN:PORT command must
be execute d before the
[ROUTe:]SCAN <channel_list
>
command.
*RST Condition: [ROUTe:]SCAN:PORT NONE
Example Selecting the ABUS Port
TRIG:SOUR EXT SCAN:MODE FRES SCAN:PORT ABUS SCAN (@100:107) INIT
Selects external trigger source. Selects the 4- wire ohms scanning m ode. Selects the ABUS port. Sets channel list. Starts scanning cycle.
62 Relay Multiplexer Command Reference
Page 63
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 Syntax STATus
:OPERation
:OPERation:ENABle
:ENABle < [:EVENt]?
STATus
number>
STATus:OPERation:ENABle <number
set a bit in the Status Register. For multi plexer modules, when bi t 8 in the Operation Status Register is set to 1, bit 7 in the Status Register is set to 1.
>
enables the Operation Status Register to
Parameters
Parameter Name Parameter Type Range of Values
number>
<
numeric 1–32768
Comments Setting Bit 7 of the S tatus Registe r: STATus:OPERation:ENABle 256 sets bit
7 of the Stat us Regi ster to 1 af ter bi t 8 of the Oper atio n S ta tus Regist er is set t o
1.
Related Commands: [ROUTe:]SCAN
Example Enable the Status Register
STAT:OPER:ENAB 256
Enables bit 7 of the Status Register.
Relay Multiplexer Command Reference 63
Page 64
: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 Complete) is set
to 1 after a scanning cycle comple tes. Bit 8 returns to 0 after sending the
STATus:OPERation[:EVENt]? command.
Returned Data after sending the STATus:OPERation[:EVENt]?
Command: The command returns Register is set to 1. The comma nd returns Register is set to 0.
Related Commands: [ROUTe:]SCAN
Example Reading 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 Stand ar d Operation Status Register. +256 shows bit 8 is set to 1; +0 shows bit 8 is set to 0.
64 Relay Multiplexer Command Reference
Page 65
The SYSTem subsystem returns er ror numbers/messag es in the error queue of a switchbox, and returns module types and descriptions in a switchbox.
Subsystem Syntax SYSTem
:CDEScription? :CPON :CTYPe? :ERRor?
:CDEScription?
<
number
<
number|ALL>
<
number
SYSTem
>
>
SYSTem:CDEScription? <number
>
returns the description of a selected module
(card) in a switchbox.
Parameters
Parameter Name Parameter Type Range of Values
number>
<
numeric 1–99
Comments 16-Channel Relay Multiplexer Module Description: The
SYSTem:CDEScription? <number
>
command returns:
16 Channel High Voltage Relay Mux for the HP E1343A; 16 Channel High Voltage Mux with T/C for the HP E1344A; 16 Channel Relay Mux for the HP E1345A; and 16 Channel Relay Mux with T/C for the HP E1347A.
Example Reading the Description of a Card #1 Module
SYST:CDES? 1
Determines the description.
Relay Multiplexer Command Reference 65
Page 66
:CPON
SYSTem:CPON <number|ALL> opens all ch annels of a selected or all modules
(cards) in a switchbox.
Parameters
Parameter Name Parameter Type Range of Values
Comments Differences between *RST and CPON: SYSTem:CPON only opens all
:CTYPe?
Parameters
Comments 16-Channel Relay Multiplexer Module Model Number:
number>
<
numeric 1–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.
Example Setting a Card #1 Module to its Power-on State
SYST:CPON 1
SYSTem:CTYPe? <number
in a switchbox.
Parameter Name Parameter Type Range of Values
number>
<
SYSTem:CTYPe? <number
The
>
returns the module (card) type of a selected module
numeric 1–99
>
command returns:
Sets module #1 to po wer-on state.
*RST opens all channels
HEWLETT-PACKARD,E1343A,0,A.01.00 (E1343A) HEWLETT-PACKARD,E1344A,0,A.01.00 (E1344A) HEWLETT-PACKARD,E1345A,0,A.01.00 (E1345A) HEWLETT-PACKARD,E1347A,0,A.01.00 (E1347A)
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.
Example Reading the Model Number of a Card #1 Module
SYST:CTYP? 1
66 Relay Multiplexer Command Reference
Determines the model number.
Page 67
: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 Appendix C for a listing of the switchbox error numbers and messages.
switchbox store an error number and corresponding error message in the error queue. The error number is always a neg ative number. Each error mes sage 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 que ue is empty, each following command retur ns queue, execute
SYSTem:ERRor? command is sent. The errors are cleared
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.
Example Reading the Error Queue
SYST:ERR?
Query the error queue.
Relay Multiplexer Command Reference 67
Page 68
The TRIGger subsystem commands controls the triggering operation of the multiplexer modules in a switchbox.
Subsystem Syntax TRIGger
[:IMMediate] :SOURce BUS|EXTernal|HOLD|IMMediate :SOURce?
[:IMMediate]
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 wi th 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
[ROUTe:]SCAN <channel_list
TRIGger[:IMMediate] can trigger the
TRIGger[:IMMediate] command.
TRIGger
>
and an INITiate[:IMMediate]
Related Commands: INITiate, [ROUTe:]SCAN
Example Advancing 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.
68 Relay Multiplexer Command Reference
Page 69
:SOURce
Parameters
Comments Enabling the Trigger Source: The TRIGger:SOURce command only selects
TRIGger:SOURce BUS|EXTernal|HOLD|IMMediate specifies the trigger source
to advance the channel list during scanning.
Parameter Name Parameter Type Range of Values
BUS discrete *TRG command
EXTernal discrete Event In BNC port
HOLD discrete Hold triggering
IMMediate discrete Continuous triggering
the trigger source. The source.
INITiate[:IMMediate] command enables the trigger
Using the TRIG Command: You can use TRIGger[:IMMediate] to advance the
scan when
TRIGger:SOURce BUS or TRIGger:SOURce HOLD is selected.
Using External Trigger Inputs: With TRIGger:SOUR ce EX Ternal selected,
only one switchbox at a time can use the external trigger input at the HP 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
Example Scanning Using External Triggers
In the following example, the trigger input is applied to the HP E1300/E1301 Mainframe "E vent In" port.
TRIG:SOUR EXT SCAN (@100:115) INIT trigger externally
TRIGger:SOURce
*TRG or the HP-IB Group
Sets trigger source to external. Sets channel list. Starts scanning cycle. Advances channel list to next channel.
Relay Multiplexer Command Reference 69
Page 70
Scanning Using Bus Triggers
:SOURce?
Example Query Trigger Source
TRIG:SOUR BUS SCAN (@100:115) INIT *TRG
TRIGger:SOURce? returns the current tri gger source for the switchbox. Command
returns either
IMMediate, respectively.
or
TRIG:SOUR EXT TRIG:SOUR?
BUS, EXT, HOLD, or IMM for trigger sou rces 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.
70 Relay Multiplexer Command Reference
Page 71
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 HP 75000 Series B Mainframe User’s Manual (HP Model Number E1300/E1301) or the ANS I/IEEE Sta ndar d 488.2-1 987.
Command Title Description
*IDN?
*RST
*TST?
*OPC
*OPC?
*WAI *CLS
*ESE
*ESE?
*ESR?
*SRE
*SRE?
*STB?
*TRG Trigger Triggers 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 state 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.
HP 75000
or the ANSI/IEEE Standard 488.2-1987 for more information.
Relay Multiplexer Command Reference 71
Page 72
Command Quick Reference
The following tables summarize SCPI an d IEEE 488.2 Common (*) Commands for the multiplexer modules used in a switchbox.
SCPI Commands Quick Reference
Command Description
ABORt Abort a scan in progress. ARM :COUNt <
:COUNt? [MIN | MAX]
number> MIN|MAX
Multiple scans per INIT command. Query number of scans.
DISPlay : MONitor:CARD <
:MONitor[:STATe] <
INITiate :CONTinuous <
:CONTinuous? [:IMMediate]
OUTPut [:STATe] <mode>
[:STATe]?
[ROUTe:] CLOS e <
CLOSe? < OPEN < OPEN? < SCAN < SCAN:MODE NONE|VOLT|RES|FRES SCAN:MODE?
SCAN:PORT NONE|ABUS
STATus :OPERation:ENABle
:OPERation[:EVENt]?
SYSTem :CDEScription? <number>
:CPON < :CTYPe? < :ERRor?
channel _list>
channel _list>
channel _list>
channel _list>
number> |ALL
number>|AUTO
mode>
mode>
channel _list>
number>
Selects module to be monitored. Selects monitor mode.
Enables/disables continuous 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 is *TRG. Trigger source is "Event In" BNC. Hold off triggering. Continuous (internal) triggers. Query scan trigger source.
IIEEE 488.2 Common Commands Quick Reference
Command Title Description
*RST Reset Opens all channels, invalidates current channel list for scanning.
Sets ARM:COUN 1, TRIG:SOUR IMM, and INIT:CONT OFF.
*TRG Bus Trigger When scan is enabled and trigger source is TRIG:SOUR BUS, use the *TRG
command to trigger the switchbox to advance the scan.
*TST? Self Test Always returns 0.
72 Relay Multiplexer Command Reference
Page 73
16-Channel Relay Multiplexer
Specifications
HP E1343A/44A 16-Channel Relay Multiplexer
Appendix A
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):
9
>10
Ω (at 40°C, 65% RH)
Relay Life:
@ No Load: 10 @ Rated Load: 107 Operations
Bandwidth (-3dB):
Z(source) = Z(load) = 50 Ω (Protection resistors shorted) >10 MHz
8
Operations
; 354 V Peak
rms
354 V Peak
rms;
Reference Junction Measurement Accuracy (HP E1344A only):
0.4° C (over 18° to 28° C, operating temperature)
Screw Terminal Wire Size: 16 AWG Max; 26 Min Module Size/Device Type: B, register-based Connectors Used: P1 Number of Slots: 1
VXIbus Interface Capability:
Interrupter, D16
Interrupt Level: 1-7, selectable
Power Requirements:
Voltage +5 Peak module current, IPM (A): 0.20 0.13 Dynamic module current, IDM (A): 0.01 0.01
Watts/Slot: 1.0
Cooling/Slot:
0.02 mm H
O @ 0.10 liter/sec
2
+12
Channel-Channel Crosstalk (Typical) (50 Source & Load):
1 kHz -80 dB 10 kHz -80 dB 100 kHz -80 dB 1 MHz -60 dB 10 MHz -40 dB
Closed-Channel Capacitance:
High-Low < 150 pF Low-Guard <150pF Guard-Chassis <2000pF
Humidity: 65% 0° to 40° C, Operating Temperature: 0° to 55° C, Storage Temperature: - 40° to 75° C,
EMC, RFI, Safety:
meets FTZ1046/1984, CSA556 B, IEC348, UL12 44
Net Weight (kg): 0.9
16-Channel Relay Multiplexer Specifications 73Appendix A
Page 74
HP E1345A/47A 16-Channel Relay Multiplexer
Maximum Voltage:
Terminal to Terminal: 120 Vdc or ac Terminal to Chassis : 120 Vdc or ac
; 170 V Peak
rms
; 170 V Peak
rms
Maximum Current per Channel:
50 mA (non-inductive)
Maximum Power per Channel: 1 VA
Thermal Offset per Channel:
<4 µV (differential H-L)
Closed Channel Resistance:
100 ±10% (the value of the protection resistors)
Insulation Resistance (Between any two points):
9
Ω (at 40°C, 65% RH)
>10
Relay Life:
@ No Load: 10 @ Rated Load: 10
8
Operations
7
Operations
Bandwidth (-3dB):
Z(source) = Z(load) = 50 (Protection resistors shorted) >10 MHz
Reference Junction Measurement Accuracy (HP E1347A only):
0.3°C (over 18° to 28°C, operating temperature)
Screw Terminal Wire Size: 16 AWG Max; 26 Min Module Size/Device Type: B, register-based Connectors Used: P1 No. Slots: 1
VXIbus Interface Capability:
Interrupter, D16
Interrupt Level: 1-7, selectable
Power Requirements:
Voltage +5
+12 Peak module current, IPM (A): 0.20 0.13 Dynamic module current, IDM (A): 0.01 0.01
Watts/Slot: 1.0
Cooling/Slot:
0.02 mm H
O @ 0.10 liter/sec
2
Channel-Channel Crosst alk (Typical) (50 Source & Load):
1 kHz -80 dB 10 kHz -80 dB 100 kHz -80 dB 1 MHz -60 dB 10 MHz -40 dB
Closed-Channel Capacitance:
High-Low <150 pF Low-Guard <150pF Guard-Chassis <2000pF
Humidity: 65% 0° to 40°C Operating Temperature: 0° to 55°C Storage Temperature: - 40° to 75°C
EMC, RFI, Safety:
meets FTZ1046/1984, CSA556 B, IEC348, UL12 44
Net Weight (kg): 0.9
74 16-Channel Relay Multiplexer Specifications Appendix A
Page 75
Relay Life
Electromechanical r elays are subject to normal wear-out. Relay lif e 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/inductive loads and high inrush currents (e.g., turning on a lamp or starting a motor) reduces relay life. Exceeding specif i ed
maximum inputs can cause catastrophic failure.
Switching Frequency. Relay contacts heat up when switched. As the switching frequency i ncreases, th e contacts ha ve less time t o dissipate heat. 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 end of the life of the r elay ca n be dete rmined 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 begins to wear out, its contact resistance increases. When the resistance exceeds a predetermined value, the relay should be replaced.
Stability of Contact Resistance. The stability of the contact resistance decreases with age. Using this method, the contact resistance is measured several (5-10 ) times, and the variance 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 bo ar d shou ld be rep lac ed when the end of life approaches. The sensi tivity of the applicat ion should be weighed against the co st 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
Page 76
Notes:
76 16-Channel Relay Multiplexer Specifications Appendix A
Page 77
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 byte ( 32 word) block of address es . The Mul t ipl exe r u ses six of the 64 addresses allocated.
Figure B-1 shows the register address location within A16. Figu re B-2
shows the location o f A16 address space in the HP E1300/01 Ma inframe and HP E1405/06 Command Module.
Figure B-1. Relay Multiplexer Registers within A16 Address Space
16-Channel Relay Multiplexer Registers 77Appendix B
Page 78
Figure B-2. Multiplexer Registers within HP E1300/E1406 A16 Address Space
The Base Address When yo u are read ing or writ ing t o a mult iplex er r egist er, a hexade cima l 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 i ns ide th e E1300(01) Mainframe, E1405/06 Command Module, or elsewhere (e.g., embedded computer).
Figure B-1, Figure B-2, and Figure B-1 enable you to determine the base
address for the following computer configurations:
E1300/E1301 Instrument BASIC (IBASIC)
External Computer over HP-IB to E1300/E1301 Mainframe or
E1405/06 Command Module
V/382 Embedded Controller (C-Size system)
Computer
Configurations
78 16-Channel Relay Multiplexer Registers Appendix B
This section contains performance and functional information on the computer configurati ons that can be us ed with r egist er-ba sed prog rammi ng.
Page 79
Throughput Speed Throughput speed is based on t he amount of command pa rsing and whether
the registers are acc ess ed f rom th e VXI backplane or from the HP-IB. The computer configurations which allow faster throughput relative to each other are summarized below.
1. HP 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 c ode 8 with
READIO and WRI TEIO (re gister
access is from VXI backplane).
4. External Computer using
DIAG:PEEK? and DIAG:POKE
(register access is over HP-IB).
5. External Computer using
VXI:READ? and VXI:WRITE
(register access is over HP-IB).
Table B-1. Computer Configurations used with Relay Multiplexers
Computer Programming Method Base Address
E1300/E1301 IBASIC (Absolute Addressing)
(Select Co de 8)
READIO (-9826,Base_addr + offset) WRITEIO -9826,Base_addr + offset;data
(positive select code = byte read or write negative select code = word read or write)
READIO (8,Base_addr + reg number)
Base_addr = 1FC00016 + (LADDR * 64)
or = 2,080,768 + (LADDR * 64)
offset = register offset (Figure B-1)
Base_addr = LADDR * 256
READIO and WRITEIO
16
WRITEIO 8,Base_addr + reg number;data
External Computer
(over HP-IB to E1300/E1301
Mainframe
or E1405/E1406 Command
Module)
V/382 Embedded Computer
(C-Size system)
LADDR : logical address. (LADDR * 64)
When using DIAG:PEEK? and DIAG:POKE, the width (number of bits) is 8 or 16.
: multiply quantity, then convert to a hexadecimal number (e.g. 80 * 64)16 = 140016.
16
VXI:READ? logical_address,offset VXI:WRITE logical_address,offset,data
DIAG:PEEK? Base_addr + offset,width DIAG:POKE Base_addr + offset,width,data
READIO (-16,Base_addr + offset) WRITEIO -16,Base_addr + offset;data
(positive select code = byte read or write negative select code = word read or write)
reg number = offset (Figure B-1)/2 logical address setting (LADDR)
offset = register offset (Figure B-1)
Base_addr = 1FC000
or = 2,080,768 + (LADDR * 64)
offset = register offset (Figure B-1) Base_addr = C00016 + (LADDR *64)
or = 49,152 + (LADDR * 64)
offset = register offset (Figure B-2)
+ (LADDR * 64)
16
16
16
16-Channel Relay Multiplexer Registers 79Appendix B
Page 80
Embedded Computer
Programming
(C-Size Systems)
If the relay multiplexe r is part of a C-Size VXI system, t he fastest throughput is achieved using an embedded computer. The embedded compu ter al lows you to access the reg isters f rom the VXIbus backplane , and thus, t here is no parsing of SCPI command headers.
IBASIC Programming When the relay multiplexer is programmed using the E1300/E1301
Mainframe’s Instrument BASIC (IBASIC), two methods of 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 (including t h e A16 starting location 1 F C000
) 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 (Figure B-1).
Depending on whether absolu te addr essi ng or se lect code 8 i s used , eith er a register offset or regi ster number is s pecif ied as par t of the re gis ter add ress. 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 off set 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):
register address = base address + register offset
= 1FC000 = 1FC00016 + 140016 +0816 = 1FD408
+ (80 * 64)16 + 08
16
16
16
or
= 2,080,768 + (80 * 64) + 8 = 2,080,768 + 5120 + 8 = 2,085,896
Using select code 8 requires that you specify a register number. The register number is the register offs et/2. Referring t o Figure 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 E14 05/E1406 Command Mod ule, the r egisters 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
VXI:WRITE specify the device logic al add ress and register offse t only.
and
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 HP-IB. Also,
80 16-Channel Relay Multiplexer Registers Appendix B
READIO and WRITEIO are not parsed.
Page 81
Reading the
You can read the following multiplexer registers:
Registers
ID and Device Type
Registers
ID Model Description
FF00 E1345A 16-Channel 3 Wire Relay Multiplexer FF01 E1343A 16-Channel 3 Wire High Voltage Relay Multiplexer FF02 E1347A 16-Channel Thermocoup le Relay Multiplexer
-- ID Register (base +00
-- Device Type Register (base +02
-- Status Control Register (base +04
-- Tree Switch Registers (base +06
-- Channel Registers (base +08
16
)
)
16
)
16
)
16
)
16
ID Registers: Reading this register returns FFFF16. This shows Hewlett-Packard as the manufacturer and that the module is an
A16 register based device. Device Type Register: Reading this register returns:
FF03 E1344A 16-Channel Thermocouple High Voltage Relay Multiplexer FF04 E1355A 8-Channel 120 Ohm Strain Relay Multiplexer FF06 E1356A 8-Channel 350 Ohm Strain Relay Multiplexer
Status Control Register Each channel requires ab out 1 msec to close or open (2 msec for a cl ose/open
cycle). During this ti me, and al so duri ng a re set, t he multi plexer is "b usy". The Status Reg ister returns the fo llowing:
16
16
Tree Switch and Channel
"busy": FFF7 "not busy": FFFF
Always returns FFFF16 regardless of channel/tree switch state.
Registers
16-Channel Relay Multiplexer Registers 81Appendix B
Page 82
Writing to the
You can write to the following multiplexer registers:
Registers
-- Status Control Register (base +04
-- Tree Switch Registers (base +06
-- Channel Registers (base +08
16
)
16
)
16
)
Status Control Register Writing a "1" t o bit 0 of this register resets the interfa ce 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 transitio n of the busy 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 thes e r egi st er s closes the channel/tr ee switch and writing a "0" opens the channel/tree switch.
Resetting the Module To 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 Channels 1. Write to the Tree Switch and Channel Registers.
2. Wait for busy to go to "1" or for a backplane interrupt.
82 16-Channel Relay Multiplexer Registers Appendix B
Page 83
Register Definitions The 16-Channel Relay Mu ltiplexer Modules are register- based devices. Se e
Figure B-3 for register definitions.
ID Register
Base +00
1514131211109876543210
16
Write Undefined (Logical Address)
Read* Reg-Base A16 Manufact urer ID
* Returns FFFF16 =Hewlett-Packard A16 only register-based
Device Type Register
Base +02
Write Undefined
Read* 1 (A16 only) Module ID Code
1514131211109876543210
16
* Returns: FF0016 =16-Channel Relay Multiplexer (E1345A) FF0116 =16-Channel High Voltage Relay Multiplexer (E1343A) FF0216 =16-Channel Thermocouple Relay Multiplexer (E1347A) FF03
=16-Channel Thermocouple High Voltage Relay Multiplexer (E1344A)
16
Status/Control Register
Base +04
Write* Undefined R
Read** B
1514131211109876543210
16
* R =Multiplexer reset to power-on state (all switches open) ** B =Status "busy" is true low in bit #7 (FF7F
)
16
Tree Switch Register
Base +06
Write* Undefined 93 92 91 90
Read Always returns FFFF
1514131211109876543210
16
16
* Write "1" closes switch, write "0" opens switch
Channel Registers
Base +08
Write* CH15 CH14 CH13 CH12 CH11 CH10 CH09 CH08 CH07 CH06 CH05 CH04 CH03 CH02 CH01 CH00
Read Always returns FFFF
1514131211109876543210
16
16
* Write "1" closes channel, write "0" opens channel
Figure B-3. Multiplexer Register Definitions
16-Channel Relay Multiplexer Registers 83Appendix B
Page 84
Notes:
84 16-Channel Relay Multiplexer Registers Appendix B
Page 85
Appendix C
16-Channel Relay Multiplexer
Error Messages
Figure 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.
Table C-1. 16-Channel Relay Multiplexer Error Numbers/Messages
Number Title Potential Cause(s)
-211 Trigger ignored Trigger received when scan not enabled. Trigger received after scan complete. Trigger too fast.
-213 Init Ignored Attempting to execute an progress.
-224 Illegal parameter valu e Attempting to execute a command with a parameter no t applicable to the command.
+1500 External trigger source
already allocated
+2000 Invalid card number Addressing a module (card) in a switchbox that is not part of the
+2001 Invalid channel number Attempting to address a channel of a module in a switchbox that is not
+2006 Command not supported
on this card +2008 Scan list not initialized Executing a scan without the +2009 Too many channels in
channel list +2012 Invalid Channel Range Invalid channel(s) specified in
Assigning an external trigger source to a switchbox when the trigger source has already been assigned to another switchbox.
switchbox.
supported by the module (e.g., channel 99 of a multiplexer module). Sending a command to a module (card) in a switchbox that is
unsupported by the module.
Attempting to address more channels than available in the switchbox.
Attempting to begin scanning when no valid channel list is defined.
INIT command when a scan is already in
INIT command.
SCAN <channel_list> command.
+2600 Function not supported
on this card +2601 Channel list required Sending a command requiring a channel list without the channel list.
Sending a command to a module (card) in a switchbox that is not supported by the module or switchbox.
16-Channel Relay Multiplexer Error Messages 85Appendix C
Page 86
Notes:
86 16-Channel Relay Multiplexer Error Messages Appendix C
Page 87
Index
HP E1343A/44A/45A/47A Relay Multiplexer User’s Manual
Symbols
*CLS, 71 *ESE, 71 *ESE?, 71 *ESR?, 71 *IDN, 71 *OPC, 71 *OPC?, 71 *RCL, 71 *RST, 7172 *SAV, 71 *SRE, 46, 71 *SRE?, 71 *STB?, 46, 71 *TRG , 71–72 *TST?, 71–72 *WAI, 71
A
A16 Address Space, 77–78 Abbreviated Commands, 48 ABORt Command, 50 Absolute Addressing, 80 Adding
current shunts signal conditioning components
Address
channel
, 1415, 2325
logical
verifying registers, 7779 switch, setting
Analog Bus
cables, 12, 22, 36 connecting connector
ARM Subsystem ARM#COUNt, 31, 38, 51 ARM#COUNt?, 52 AT Tree Switch, 11–13
closing, 34, 3839 connecting terminals opening
AT2 Tree Switch
closing, 3839
, 2728
, 16
, 25
, 23
, 12, 22, 3435
, 22, 3436
, 12, 22, 3436
, 5152
, 36
, 35
, 11, 13
, 2728
opening
Attenuator Configuration
, 35
, 2728
B
Bank Channels, 11, 32, 34 Base Address, 78–79 Block Diagram, 13 Boolean Command Parameters, 49 BT Tree Switch, 11–13
closing, 34, 38 opening
Bus Triggers, using
, 35
, 70
C
Cables, analog bus, 12, 22 Capacitance, closed-channel, 73–74 Card
ID, setting numbers
Caution Changing Channels, 82 Channel
address changing closing closing multiple closing/opening order common connecting to common connecting to tree terminals connections descriptions lists measuring opening opening multiple query open/closed register relay switc hes scanning
selecting, 14
, 23
, 1416, 33, 38
, 19
, 16
, 82
, 1617, 32, 58
, 33
, 33
, 11, 32
, 32
, 1113 , 1112
, 5860
, 11
, 33, 59
, 33
, 33, 5960
, 8083
, 11
, 60
a range of
, 36
commands used, 41 switchbox, 41, 60–61
, 3435
Index 87
Page 88
switches, 11
Closing
channels multiple chan nels
, 1617, 32, 58
, 33
order for multiple channels
, 71
*CLS Command Reference, 47–72 Commands
abbreviated IEEE 488.2 implied linking optional
parameters
, 48 , 47, 71
, 16, 48
, 49
, 16, 48
, 49
parameters, 49 quick reference scanning
, 72
, 42
scanning switchbox channels
, 4749, 72
SCPI
, 16, 47
format separator, 48
, 4749
types
Common (*) Commands
, 47
*CLS, 71
, 71
*ESE
, 71
*ESE?
, 71
*ESR?
, 71
*IDN?
, 71
*OPC *OPC? *RCL *RST *SAV *SRE *SRE? *STB? *TRG *TST? *WAI format list of quick reference
Common Terminals
, 71
, 71
, 7172
, 71
, 46, 71
, 71 , 46, 71
, 7172
, 7172
, 71
, 47
, 71
, 72
, 11, 32
Computer Configurations, 79 Configuring
multiplexer modules scanning voltmeter switchbox
, 25
, 1930
, 24
Connecting
analog bus channels to common
, 22, 3436
, 32
channels to tree terminals
, 33
, 41
, 3435
field wiring user inputs
, 20
, 29
Connector
analog bus pins
Control Register
, 12
, 29
, 81
definition, 83 writing to
, 82
Current
maximum allowed
, 2728
shunts source direct source tree
, 13
specifications
, 19
, 13
, 7374
D
Device Type Register, 83
reading, 81
DIAG#PEEK?
, 7980
DIAG#POKE, 79–80 Discrete Command Parameters, 49 DISPlay Subsystem, 53–54 DISPlay#MONitor#CARD, 53 DISPlay#MONitor#STATe, 54
E
Embedded Computer Programming, 80 Error
messages numbers queue
, 71
*ESE *ESE?, 71 *ESR?, 71 Event In Port, 41
scanning using, 45
Examples
closing channels connecting channels to common connecting channels to tree terminals initial operation making continuous scans making multiple scans measure voltage by scanning measuring thermocouple temperature resetting the switchbox scan complete int errupt scanning 2-wire ohms measurements scanning 4-wire ohms measurements scanning using event in port
, 85
, 85
, 67
, 17
, 32
, 17
, 38
, 38
, 36
, 17
, 46
, 45
, 3435
, 39
, 38 , 38
88 Index
Page 89
scanning using trig out port, 45 scanning with external devices
, 44, 6061
External
computer programming devices, scanning with trigger port
, 4445
triggers, scanning with
, 80
, 6061
, 69
F
Field Wiring, connecting, 20 Five Volt Excitation for Strain Gages, 27
G
Getting Started, 11–18 Guidelines, wiring, 20
H
HP-IB
interface select code primary address secondary address service requ est (SRQ)
, 17, 41, 46
, 17, 41, 46
, 17, 41, 46
, 46
I
IBASIC Programming, 80 ID Register, 83
reading, 81
, 71
*IDN IEEE 488.2 Commands
Common (*) Commands
Implied Commands
, 16, 48
, 47
Initial Opera tion, 17 INITiate Subsystem, 55–56 INITiate#CONTinuous, 31, 38, 55 INITiate#CONTinuous?, 56 INITiate#IMMediate, 31, 56 Insulation Resistance, 73–74 Interrupt
generating level lines priority, selecting scan complete
, 26
, 7374
, 26
, 26
, 46
J
Jumper
card ID interrupt pri ority JM1 and JM2
, 23
, 26
, 27
terminal module
, 12
L
Linking Commands, 49 Logical Address, 14–15, 23
changing, 23 factory setting scanning voltmeter switch, setting switchbox verifying settings
, 23
, 24
, 23
, 25
, 25
Low Pass Filter Configuration
M
Measure
2-wire ohms
by scanning
4-wire ohms, 35
by scanning channels, 11 multiplexer ch annels resistance temperature
using multimeters
using thermistors, 40
using thermocouples, 39–40 thermistor, 12
resistance thermocouple voltage, 39 voltage
by scanning with multimeter s , 35
Modules, terminal Multimeter
external trigger port measuring with primary address voltmeter complete port
Multiplexer Module
block diagram card numbers changing channels channel
address
connections, 11–13 channels, 11 command reference configuring description error messages
, 34
, 38
, 38
, 11
, 34
, 40
, 39
, 34
, 36
, 11, 2021
, 4445
, 35, 3940
, 41
, 45
, 13
, 14
, 82
, 1113
, 16
, 4772
, 1927, 2930
, 11
, 85
, 2728
Index 89
Page 90
error numbers, 85 initial operation programming reading registers register definitions register types registers resetting
, 83
, 82
selecting channels specifications understanding
, 3140
using
, 17
, 14
, 81
, 83
, 81
, 14
, 7374
, 4146
with HP command module with HP mainframe, 24
writing to registers, 82
N
Numeric Command Parameters, 49
O
*OPC, 71 *OPC?, 71 Opening
channels multiple chan nels order for multiple channels
Operation Status Register
, 33, 59
, 33
, 33
, 46, 63
bit value, 64 setting bit 8
, 64
Optional
command parameters commands
, 16, 48
OUTPut Subsystem
, 49
, 57
OUTPut#STATe, 57 OUTPut#STATe?, 57
P
Parameters, 49 Pinout, 29 Port
Event In
external trigg er, 44–45 Trig Out
voltmeter complete, 45
, 41
scanning using
, 36, 44
enabling
, 45
, 41, 57
query state, 57 scanning using, 45 shared by switchboxes, 57
, 24
Program Examples
closing channels measure voltage by scanning resetting the switchbox scan complete int errupt scanning using event in port scanning using trig out port scanning with external devices
, 17
, 36
, 17
, 46
, 45
, 45
, 44, 6061
Programming the Multiplexer Module Protection Resistors, 13
Q
Query
error queu e open/closed channels
, 67
, 33, 5960
scanning
, 52
cycles
mode state, 62
states, 56 trig out por t, 57 trigger sources
, 70
R
*RCL, 71 Reading
channel re gisters device type registers ID register s registers
, 81
status/control registers tree switch registers
READIO
, 7980
Register-Based Programming, 77–83
base address, 78–79 computer configurations DIAG#PEEK? DIAG#POKE embedded computers external co mputers IBASIC
, 80
register number register offset throughput speed VXI#READ? VXI#WRITE
Registers
addressing base address channel
, 80
channel re gister
, 81
, 81
, 81
, 81
, 81
, 79
, 7980
, 7980
, 80
, 80
, 80
, 80
, 7980 , 7980 , 7980
, 7779
, 7879
, 8183
, 14
90 Index
Page 91
control register, 8183 definitions device type register ID register number offset operation status register reading status register tree switch register
Relay Life
, 83
, 81, 83
, 81, 83
, 80
, 80
, 46, 6364
, 81
, 46, 63, 8183
, 8183
, 7375
Relay Replacement Strategy, 75 Resetting the Module, 82 Resistance Measurement, 34 Resistors
location of purpose of
ROUTe Subsystem
, 13 , 12
, 5862
ROUTe#CLOSe, 31, 33, 58 ROUTe#CLOSe?, 31, 33, 59 ROUTe#OPEN, 31, 33, 35, 59 ROUTe#OPEN?, 33, 60 ROUTe#SCAN, 31, 38, 60–61 ROUTe#SCAN#MODE, 31, 38, 61 ROUTe#SCAN#MODE?, 62 ROUTe#SCAN#PORT, 31, 38, 62 *RST, 71–72 RT Tree Switch, 12–13
closing, 39
S
Safety Warnings, 19 *SAV, 71 Scan Complete Bit, 46 Scanning
channels commands continuous cycles cycle
query state, 56 range of channels requirements of a switchbox trigger sources using
, 60
, 4142
, 38, 55
, 51, 56
continuous
, 38, 55
multiple, 38 query, 52
, 36
, 41, 6970
bus trigger s
, 70
event in port, 45 external trigg ers, 69 trig out por t, 45
, 38
with external instruments, 41, 44, 60–61
Scanning Voltmeter
card numbers configuration logical address selecting channels
Schematic, simplifi ed
, 1415
, 14, 24
, 24
, 14
, 13
SCPI Commands, 47–49, 72
abbreviated, 48 ABORt ARM subsystem DISPlay subsystem format used implied INITiate subsystem linking optional
, 50
, 16, 47
, 16, 48
, 49
, 16, 48
parameters
, 5152
, 5354
, 5556
, 49
OUTPut subsystem, 57 parameters programming with quick reference reference ROUTe subsystem scanning STATus subsystem SYSTem subsystem TRIGger su bsystem
Select Code 8
, 49
, 14
, 72
, 4970, 72
, 5862
, 42
, 6364
, 6567
, 6870
, 80
Selecting
channels interrupt priority
Service Request (SRQ), HP-IB
, 14
, 26
, 46
Setting
card ID logical address switch scan complete bit
, 23
, 23
, 46
Signal Conditioning Components, adding Specifications, 73–74 Speed of Throughput, 79–80 *SRE, 46, 71 *SRE?, 71 Static Electricity, 19 Status Register, 46, 63
definition, 83 reading writing to
STATus Subsystem
, 81
, 82
, 6364
STATus#OPERation#ENABle, 46, 63 STATus#OPERation#EVENt?, 46, 64 *STB?, 46, 71 Strain Gages, 5 volt excitation, 27
, 2728
Index 91
Page 92
Switchbox
card numbers configuration
, 1415
, 14, 25
connecting
channels to common
, 32
to tree termin als, 34–35
continuous scanning, 55 logical address
, 1415, 25
measure thermocouple temperature multiple module
, 15, 33
scanning
channels
, 41, 6061
commands, 41 range of channels, 36 requirements, 38
selecting channels, 14 single module
, 14, 33
Switches
AT Tree AT2 Tree BT Tree channel
, 1113, 3436, 3839
, 11, 13, 35, 3839
, 1113, 3435, 38
, 11
, 11
relay logical address, 23 RT Tree tree
SYSTem Subsystem
, 1213, 39
, 1113
, 6567
SYSTem#CDEScription?, 65 SYSTem#CPON, 66 SYSTem#CTYPe?, 66 SYSTem#ERRor?, 67
T
Temperature Measurement, 39–40 Terminal Modules, 11
jumper, 12
, 21
wiring
guidelines
Thermocouple
compensation measuring temperature with
, 20
wiring
Throughput Speed Tree Switches, 11–12
AT, 11–13, 34–36, 38–39
, 11, 13, 35, 3839
AT2
, 1113, 3435, 38
BT register RT
, 8183
, 1213, 39
terminals
, 20
, 40
, 3940
, 7980
, 11
, 39
Tree Terminals, connecting
, 3435
*TRG, 71–72 Trig Out Port, 36, 44
enabling, 41, 57 query state scanning using shared by switchboxes
Trigger Sources, scanning
, 57
, 45
, 57
, 41, 6970
TRIGger Subsystem, 68–70 TRIGger#IMMediate, 68 TRIGger#SOURce, 41, 69 TRIGger#SOURce?, 70 *TST?, 71–72
U
Understanding the Multiplexer Modules, 41–46 Using
event in ports HP command module HP mainframe scan complete bit scanning trigger sources scanning voltmeter configuration switchbox configuration the relay multiplexer modules trig out por ts
, 45
, 2425
, 2425
, 46
, 41
, 24
, 25
, 3140
, 45
V
Verifying Logical Address Settings, 25 Voltage
maximum allowed measurement
by scanning
, 19
, 34
, 36
sense direct, 13 sense tree specifications
Voltmeter Complete Port
, 13
, 7374
, 45
VXI Peripheral Interrupt Bus, 26 VXI#CONF#DLAD?, 25 VXI#READ?, 79–80 VXI#WRITE, 79–80
W
*WAI, 71 Warning, 19 Wiring
guidelines
terminal modules WRITEIO Writing
, 20
, 2021, 29
, 7980
92 Index
Page 93
to registers, 82 to status control registers
, 82
Index 93
Page 94
Notes:
94 Index
Loading...