Agilent 75000 SERIES B Agilent E1346A 48-Channel Single Ended Relay Multiplexer Module User’s Manual Copyright© Agilent Technologies, Inc.
Contents Agilent E1346A 48 Channel Relay Multiplexer Warranty . . . . . . . . . . WARNINGS . . . . . . . . Safety Symbols . . . . . . Declaration of Conformity . User’s Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. Understanding the Agilent E1346A Multiplexer . . . . . . . . . . . . . . . . . . . . . . . . 33 Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . Commands for Scanning Switchbox Channels . . . . . . . . . Using Scanning Trigger Sources . . . . . . . . . . . . . . . . Scanning with External Instruments . . . . . . . . . . . . Example: Scanning With External Devices . . . . . . . . Example: Scanning Using "Trig Out" and "Event In" Ports Using the Scan Complete Bit . . . . . . . . . . . . . .
TRIGger . . . . . . . . . . . . . [:IMMediate] . . . . . . . . :SOURce . . . . . . . . . . :SOURce? . . . . . . . . . . IEEE 488.2 Common Commands Command Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Notes 4 Agilent E1346A 48 Channel Relay Multiplexer Contents
Certification Agilent Technologies certifies that this product met its published specifications at the time of shipment from the factory. Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology (formerly National Bureau of Standards), to the extent allowed by that organization’s calibration facility, and to the calibration facilities of other International Standards Organization members.
Printing History The Printing History shown below lists all Editions and Updates of this manual and the printing date(s). The first printing of the manual is Edition 1. The Edition number increments by 1 whenever the manual is revised. Updates, which are issued between Editions, contain replacement pages to correct the current Edition of the manual. Updates are numbered sequentially starting with Update 1. When a new Edition is created, it contains all the Update information for the previous Edition.
DECLARATION OF CONFORMITY According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014 Manufacturer’s Name: Manufacturer’s Address: Agilent Technologies, Incorporated th 815 – 14 St. SW Loveland, Colorado 80537 USA Declares, that the product Product Name: Model Number: Product Options: 48 Channel Single Ended Relay E1346A This declaration covers all options of the above product(s).
Notes 8 Agilent E1346A 48-Channel Single-Ended Relay Multiplexer Module User’s Manual
Notes Agilent E1346A 48-Channel Single-Ended Relay Multiplexer Module User’s Manual 9
Notes 10 Agilent E1346A 48-Channel Single-Ended Relay Multiplexer Module User’s Manual
Chapter 1 Getting Started with the Agilent E1346A Using This Chapter This chapter describes the Agilent E1346A 48-Channel Single Ended Relay Multiplexer Module, and shows how to program the module using SCPI (Standard Commands for Programmable Instruments) commands. This chapter contains the following sections: • Multiplexer Module Description . . . . . . . . . . . . . . . . . . . . . . Page 11 • Programming the Multiplexer Module . . . . . . . . . . . . . . . . . Page 13 • Initial Operation . . . . . . .
Figure 1-1. Multiplexer Module Block Diagram Multiplexer Channel Descriptions and Connections The channel switches connect, through the AT, BT, and CT Tree Switches, to the Common Terminals. Closing a channel using SCPI automatically closes the appropriate tree switch for connections. For example, a channel 00 closure automatically closes the AT Tree Switch. To close the tree switches using register programming, use channel number 90, 91, or 92 for the AT, BT, or CT Tree Switches, respectively.
The Common Terminals also connect to the H, L, and G connections on the Analog Bus Connector. The DT Tree Switch Terminals also connect to the I+, I-, and IG connections on the Analog Bus Connector. The Analog Bus Connector provides direct channel connections between multiple multiplexer modules, and connections between a multiplexer module and the Agilent E1326/E1411 Multimeter.
Multiplexer Card Numbers The card number identifies the module within a switchbox or scanning voltmeter configuration. The switch module with the lowest logical address is always card number 01. The card number with the next successive logical address is 02, and so on. Figure 1-2 illustrates the card number and logical address of a typical single module switchbox. Figure 1-3 illustrates the card numbers and logical addresses of a typical multiple module switchbox.
Figure 1-4. Card Numbers for Multiple Module Scanning Voltmeter The logical addresses noted in Figures 1-2, 1-3, and 1-4 apply to modules installed in an Agilent 75000 Series B Mainframe (Agilent Model Number E1300/E1301) or in a mainframe with an Agilent E1405/E1406 Command Module. See the "Agilent 75000 Series B Installation and Getting Started Guide" or the "Agilent E1406 Command Module Manual" for more information on switchboxes and scanning voltmeter configurations, and logical addressing.
SCPI Command Format Used in This Manual You can send SCPI commands in either a short or long form. A long form example is: CLOSe (@102) The same command shown without the lower case letters is the short form. The command then becomes: CLOS (@102) Some commands in this manual are shown with brackets ([ ]). These are implied or optional commands that you do not have to execute.
Chapter 2 Configuring the Agilent E1346A Multiplexer Module Using This Chapter This chapter shows how to connect external wiring to the 48-Channel Single Ended Relay Multiplexer Module, and how to configure the module. This chapter contains the following sections: • • • • • • • Warnings and Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting Field (user) Wiring . . . . . . . . . . . . . . . . . . . . . . . Wiring a Terminal Block . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting Field Wiring Figure 2-1 shows the terminal block for the 48-Channel Single Ended Relay Multiplexer Module (Agilent E1346A). Use the following guidelines for wire connections. Wiring Guidelines • If possible, use shielded cables with the shields connected to the Guard (G) terminals and to the low connection near the measurement point. • Be sure the wires make good connections on the screw terminals. Figure 2-1.
Wiring a Terminal Block Chapter 2 Configuring the Agilent E1346A Multiplexer Module 19
Connecting User Inputs The Agilent E1346A consists of a relay modules and a terminal module. Normally you will use the terminal block supplied with the module. However, you may want to configure your own terminal block. Figure 2-2 shows the module front panel and the module’s connector pin-out. Figure 2-2.
Connecting the Analog Bus Figure 2-3 shows how to connect the analog bus between multiple multiplexer modules and to the Agilent E1326A Multimeter. Use the cables shipped with the multiplexer modules to connect the analog bus of the multiplexer modules. Use the cable shipped with the Agilent E1326A Multimeter to connect the analog bus of the multiplexer module to the Multimeter input.
Figure 2-3.
Figure 2-4. Removing the Isolation Jumper Removing the Low-to-Guard Isolation Jumper Isolation jumper JM1 connect the Low (L) and Guard (G) commons to each other. To minimize errors caused by lead resistance in the low lines, you may wish to remove the jumper. Use Figure 2-4 to locate jumper. Selecting the Interrupt Priority The multiplexer module generates a backplane interrupt after a channel relay closing or opening completes. You can select seven different interrupt priority levels for this interrupt.
new jumpers in the new priority location (Figure 2-4 shows a priority change from 1 to 7). Set the interrupt priority level to the interrupt handler level of the module’s commander. The E1300/E1301 commander always handles all interrupt levels. The E1405/E1406 and the E1499A commander’s default is to handle interrupt level 1, however, they may be configured to handle any combination of interrupt levels.
Chapter 3 Using the Agilent E1346A Multiplexer Module Using This Chapter This chapter uses typical examples to show how to use the 48-Channel Relay Multiplexer Module. Refer to Chapter 4 (Understanding the 48-Channel Multiplexer Module) for more information. This chapter contains the following sections: • Multiplexer Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 25 • Connecting Channels to Common for Making Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting Channels to Common for Making Measurements • Closing any channel on the multiplexer module connects the channel’s High (H) terminal to the Channels H Common Terminal and the H terminal of the Analog Bus connector. • Closing the DT Tree Switch connects any channel on the multiplexer module to the DT Tree Switch terminals. • Closing the DT Tree Switch connects any channel on the multiplexer module to the I+, I- , and IG terminals of the Analog Bus connector.
Example: Connect Channel 02 to the DT Tree Switch Terminals for an Ohms Measurement Figure 3-2 shows how to connect channel 02 of a single module switchbox to the Common and DT Tree Switch Terminals for an ohms measurement. Execute: CLOS (@102,193) 102 closes channel 02; 193 closes the DT tree switch Figure 3-2.
Comments Opening Channels. Use the OPEN command to open channels. For example, to open channel 02 and the DT Tree Switch, execute: OPEN (@102,193) Query Open/Closed Channels. The CLOS? and OPEN? commands determine if the channel in the channel list is open or closed, respectively. (The query command does not determine if, in the event of a hardware failure, the channel remains open/closed.
Scanning a Range of Switchbox Channels • You can scan a range of channels of a switchbox consisting of single or multiple multiplexer modules (see 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.
Figure 3-3. Scanning Channels 100 to 247 of a Two Module Switchbox Figure 3-4.
Example: Making 2-Wire Ohms Measurements by Scanning Use the same setup shown in the first program example in this section, except change the command in line 10 and add the following command before the SCAN command in line 40, as follows: 10 OUTPUT 722;"TRIG EXT;OHMF" OUTPUT 70914;"SCAN:MODE RES" Changes multimeter to 4-wire ohms Closes the appropriate channel switches and DT Tree Switch This command automatically closes the channels defined in the channel list and the DT Tree Switch durin
32 Using the Agilent E1346A Multiplexer Module Chapter 3
Chapter 4 Understanding the Agilent E1346A Multiplexer Using This Chapter This chapter explains techniques to scan the channels of the 48-Channel Single Ended Relay Multiplexer Module. This chapter contains the following sections: • Commands for Scanning Switchbox Channels . . . . . . . . . . . Page 33 • Using Scanning Trigger Sources . . . . . . . . . . . . . . . . . . . . . . Page 33 • Using the Scan Complete Bit. . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4-5.
Trigger Hold (TRIG:SOUR HOLD) TRIG:SOUR HOLD prevents execution of triggers until trigger source is changed. Can use TRIG command to trigger a switchbox set to TRIG:SOUR HOLD. Immediate Triggering (TRIG:SOUR IMM) TRIG:SOUR IMM sets immediate (internal) triggering. The scan list is automatically advanced through the scan list. This is the default trigger mode. Advancing Scan (TRIG) Can use TRIG command to advance the scan list when switchbox is in TRIG:SOUR HOLD or TRIG:SOUR BUS.
Example: Scanning With External Devices This example uses the mainframe "Trig Out" port to synchronize the multiplexer to an Agilent 3457A Digital Multimeter. See the following figure for typical connections. For this example, use the trigger output pulse of the mainframe "Trig Out" port to trigger the multimeter via its External Trigger port. The sequence of operation is: 1. 2. 3. 4. 5. INIT (line 70) closes channel number 100. The channel closure causes a trigger output from the "Trig Out" port.
Example: Scanning Using "Trig Out" and "Event In" Ports This example uses the mainframe "Trig Out" and "Event In" ports to synchronize the multiplexer to an Agilent 3457A Digital Multimeter. See the following figure for typical connections. For this example, use the trigger output pulse of the mainframe "Trig Out" port to trigger the multimeter via its "EXTERNAL TRIGGER" port. Note that the pulse output from the multimeter’s "VOLTMETER COMPLETE" port triggers the switchbox to advance the channel list.
Using the Scan Complete Bit You can use the Scan Complete Bit (bit 8) in the Operation Status Register of a switchbox to determine when a scanning cycle completes (no other bits in the register apply to the switchbox). Bit 8 has a decimal value of 256 and you can read it directly with the STAT:OPER? command (refer to the STATe:OPERation[:EVENt]? command in Chapter 5 for an example). When enabled by the STAT:OPER:ENAB 256 command, the Scan Complete Bit will be reported as bit 7 of the Status Register.
Chapter 5 Agilent E1346A Multiplexer Command Reference Using This Chapter This chapter describes Standard Commands for Programmable Instruments (SCPI) and summarizes IEEE 488.2 Common (*) commands applicable to the 48-Channel Single Ended Relay Multiplexer Module. • • • • Command Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SCPI Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . IEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . .
Command Separator A colon (:) always separates one command from the next lower level command as shown below: ROUTe:SCAN:MODE? Colons separate the root command from the second level command (ROUTe:SCAN) and the second level from the third level (SCAN:MODE?). Abbreviated Commands The command syntax shows most commands as a mixture of upper and lower case letters. The upper case letters indicate the abbreviated spelling for the command. For shorter program lines, send the abbreviated form.
Parameters Parameter Types. The following table contains explanations and examples of parameter types you might see later in this chapter. Parameter Type Numeric Explanations and Examples Accepts all commonly used decimal representations of numbers 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 false. ON, OFF, 1, 0.
ABORt The ABORt subsystem stops a scan in progress when the scan is enabled via the interface, and the trigger modes are TRIGger:SOURce BUS or TRIGger:SOURce HOLD. Subsystem Syntax Comments ABORt • ABORt Operation invalidates the current channel list and sets ARM:COUNt 1 (one scanning cycles per INITiate command), sets INITiate CONTinuous OFF (no continuous scanning cycles), and sets TRIGger:SOURce IMMediate (continuous internal triggering).
ARM The ARM subsystem selects the number of scanning cycles (1 through 32767) for each INITiate command. Subsystem Syntax :COUNt ARM :COUNt MIN |MAX :COUNt? [MIN |MAX] ARM:COUNt allows scanning cycles to occur a multiple of times (1 to 32767) with one INIT command and INIT:CONT OFF is set. Parameters Comments Parameter Name Parameter Type Range of Values number numeric 1 |32767 |MIN |MAX • Number of Scans: Use only values between 1 to 32767 for the number of scanning cycles.
DISPlay The DISPlay subsystem monitors the channel state of a selected module (or card) in a switchbox. Only operates with mainframes that have a display, such as the Agilent 75000 Series B Mainframe (Agilent Model Number E1301). Subsystem Syntax MONitor[:STATe] DISPlay :MONitor [:STATe] :CARD |AUTO DISPlay:MONitor[:STATe] turns the monitor mode on or off.
MONitor:CARD DISPlay:MONitor:CARD |AUTO selects the module in a switchbox to be monitored. Parameters Comments Parameter Name Parameter Type Range of Values |AUTO numeric 1 - 99 • 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).
INITiate The INITiate subsystem selects continuous scanning cycles and starts the scanning cycle. Subsystem Syntax :CONTinuous INITiate :CONTinuous ON |OFF |1 |0 :CONTinuous? [:IMMediate] INITiate:CONTinuous ON |OFF |1 |0 enables or disables continuous scanning cycles for the switchbox.
:CONTinuous? Example INITiate:CONTinuous? queries the scanning state. With continuous scanning enabled, the command returns ON. With continuous scanning disabled, the command returns OFF. Query Continuous Scanning State INIT:CONT ON INIT:CONT? [:IMMediate] Comments Enables continuous scanning Query continuous scanning state INITiate[:IMMediate] starts the scanning cycle and closes the first channel in the channel list.
OUTPut The OUTPut subsystem enables or disables the "Trig Out" BNC port of the Agilent E1300/E1301 Mainframe. Subsystem Syntax [:STATe] OUTPut [:STATe] ON |OFF |1 |0 :STATe? OUTPut[:STATe] ON |OFF |1 |0 enables/disables the "Trig Out" BNC port on the Agilent E1300/E1301 Mainframe rear panel. OUTPut[:STATe] ON |1 enables the port and OUTPut[:STATe] OFF |0 disables the port.
[ROUTe:] The ROUTe subsystem controls switching and scanning operations for the multiplexer modules in a switchbox. Subsystem Syntax CLOSe [ROUTe:] CLOSe CLOSe? OPEN OPEN? SCAN :MODE NONE |VOLT |RES :MODE? [ROUTe:]CLOSe closes multiplexer channels specified in the channel_list. The channel_list is in the form (@ccnn), (@ccnn,ccnn), or (@ccnn:ccnn) where cc = card number (00-99) and nn = channel number (00-47).
CLOSe? Comments [ROUTe:]CLOSe? returns the current state of the channel queried. The channel_list is in the form (@ccnn). The command returns 1 if the channel is closed or returns 0 if the channel is open. • 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.
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,247) 100 opens channel 00 of multiplexer #1; 247 opens channel 47 of multiplexer #2 Query channel 247 OPEN? (@247) SCAN [ROUTe:]SCAN defines the channels to be scanned.
20 OUTPUT 70914;"OUTP ON" 30 OUTPUT 70914;"TRIG:SOUR BUS" Enables "Trig Out" port Sets switchbox to receive Bus triggers 40 OUTPUT 70914;"SCAN (@100:147)" Selects the channel list 50 OUTPUT 70914;"INIT" Starts scanning cycle 60 FOR I=1 TO 48 Start count loop 70 ENTER 722;A Enter reading into variable A 80 PRINT A Print reading in variable A 90 TRIGGER 70914 Trigger the switchbox to advance the channel list 100 NEXT I Increment count 110 END SCAN:MODE [ROUTe:]SCAN:MODE NONE |VOLT |RES sets the multiplexer
Example Selecting the 2-Wire Ohms Mode TRIG:SOUR EXT SCAN:MODE RES SCAN (@100:147) INIT SCAN:MODE? Example Selects external trigger source Selects the 2-wire ohms scanning mode Sets channel list Starts scanning cycle [ROUTe:]SCAN:MODE? returns the current state of the scan mode. The command returns NONE, VOLT, or RES if the scan mode is in the NONE, VOLT, or RES mode, respectively. Query Scan Mode Since this example selects the RES (ohms) mode, the query command returns RES.
STATus The STATus subsystem reports the bit values of the Standard Operation Status Register. Enables the Status Register to set a bit after a bit is set to 1 by the Standard Operation Register. Subsystem Syntax :OPERation[:EVENt]? Comments STATus :OPERation [:EVENt]? :ENABle STATus:OPERation[:EVENt]? returns the bit value of the Operation Status Register (only bit 8 is used by the multiplexer modules).
SYSTem The SYSTem subsystem returns the error numbers and error messages in the error queue of a switchbox, and returns the types and descriptions of modules (cards) in a switchbox. Subsystem Syntax SYSTem :ERRor? :CDEScription? :CTYPe? :CPON |ALL :ERRor? 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.
Example Reading the Description of a Card #1 Module SYST:CDES? 1 :CTYPe? Determine the description SYSTem:CTYPe? returns the module (card) type of a selected module in a switchbox. Parameters Comments Parameter Name Parameter Type Range of Values number numeric 1 - 99 • Multiplexer Module Model Number: The SYSTem:CTYPe? command returns: HEWLETT-PACKARD,E1346A,0,A.01.
TRIGger The TRIGger subsystem commands controls the triggering operation of the multiplexer modules in a switchbox. Subsystem Syntax [:IMMediate] Comments TRIGger [:IMMediate] :SOURce BUS |EXTernal |HOLD |IMMediate :SOURce? TRIGger[:IMMediate] causes a trigger to occur when the defined trigger source is TRIGger:SOURce HOLD or TRIGger:SOURce BUS.
• Using External Trigger Inputs: With TRIGger:SOURce EXTernal • • • • • Example selected, only one switchbox at a time can use the external trigger input at the Agilent E1300/E1301 Mainframe "Event In" BNC port. The trigger input is assigned to the first switchbox that requested the external trigger source. Assigning External Trigger: A switchbox assigned with TRIGger:SOURce EXTernal remains assigned at that source until it receives a command to change the source to BUS, HOLD, or IMMediate.
IEEE 488.2 Common Commands The following table lists the IEEE 488.2 Common (*) Commands that the Agilent E1346A 48-Channel Single Ended Relay Multiplexer Module accepts. The operation of some of these commands is described in Chapter 4 of this manual. For more information on Common Commands, refer to the Agilent 75000 Series B Mainframe (Agilent Model Number E1300/E1301) User’s Manual or the ANSI/IEEE Standard 488.2-1987.
Command Quick Reference The following tables summarize SCPI and IEEE 488.2 Common (*) commands for the 48-Channel Single Ended Relay Multiplexer Module used in a switchbox. SCPI Commands Quick Reference Command Description ABORt Abort a scan in progress. ARM :COUNt :COUNt? [MIN |MAX] Multiple scans per INIT command. Query number of scans. INITiate :CONTinuous ON |OFF [:IMMediate] Enables/disables continuous scanning. Starts a scanning cycle.
Appendix A Agilent E1346A Multiplexer Specifications Maximum Voltage: Terminal to Terminal: 120 V DC or AC RMS; 170 V Peak Terminal to Chassis: 120 V DC or AC RMS; 170 V Peak Maximum Current per Channel: 50 mA (non-inductive) Closed Channel Capacitance: High-Low <150 pF Low-Guard <150 pF Guard-Chassis <2000 pF Maximum Screw Term. Wire Size: 16 AWG Module Size/Device Type: B, register-based Connectors Used: P1 Maximum Power per Channel: 1 VA No.
Relay Life Electromechanical relays are subject to normal wear-out. Relay life depends on several factors. The effects of loading and switching frequency are briefly discussed below: Relay Load. In general, higher power switching reduces relay life. In addition, capacitive/inductive loads and high inrush currents (e.g., turning on a lamp or starting a motor) reduces relay life. Exceeding specified maximum inputs can cause catastrophic failure. Switching Frequency. Relay contacts heat up when switched.
Appendix B Agilent E1346A Multiplexer Registers Register Definitions The 48-Channel Relay Multiplexer Module is a register based device. See Figure B-1 for register definitions. 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 addresses. The multiplexer uses six of the 64 addresses allocated. Figure B-1 shows the register address location within A16.
Figure B-2. Multiplexer Registers within E1300/E1406 A16 Address Space. The A16 base address used in register-based programming depends on whether the A16 address space is located inside the E1300(01) Mainframe/E1406 Command Module or elsewhere (e.g. embedded computer).
1. Agilent E1499A V/382 Controller with READIO and WRITEIO (register access is from VXI backplane). 2. E1300/01 IBASIC absolute addressing with READIO and WRITEIO (register access is from VXI backplane). 3. E1300/01 IBASIC select code 8 with READIO and WRITEIO (register access is from VXI backplane). 4. External Computer using DIAG:PEEK? and DIAG:POKE (register access is over GPIB). 5. External Computer using VXI:READ? and VXI:WRITE (register access is over GPIB). Table B-1.
Embedded Computer Programming (C-Size Systems) IBASIC Programming If the E1346A multiplexer is part of a C-Size VXI system, the fastest throughput is achieved using an embedded computer. The embedded computer allows you to access the registers from the VXIbus backplane, and thus, there is no parsing of SCPI command headers.
External Computer Programming When the multiplexer is programmed by an external computer through the E1300/E1301 mainframe or E1406 Command Module, the registers are accessed using DIAG:PEEK? and DIAG:POKE, or VXI:READ? and VXI:WRITE. DIAG:PEEK?/DIAG:POKE and VXI:READ?/VXI:WRITE Throughput speed using DIAG:PEEK? and DIAG:POKE is faster than VXI:READ? and VXI:WRITE because the complete register address (including the A16 starting location 1FC00016) is specified.
Writing to the Registers Status Control Register You can write to the following multiplexer registers: • Status Register (base +04h) • Tree Switch Registers (base +06h) • Channel Registers (base +08h) Writing a "1" to bit 0 of this register resets the interface circuitry to its power-on state and opens all channels. This is the only allowable write to this register. Bit 7 is the only bit that has meaning when reading this register.
ID Register b +00 15 14 13 Write Read* 12 11 10 9 8 7 6 Undefined Reg-Base 5 4 3 2 1 0 (Logical Address) A16 Manufacturer ID * Returns FFFFh = Agilent Technologies A16 only register-based Device Type Register b +02 15 14 13 12 11 10 9 Write 8 7 6 5 4 3 2 1 0 3 2 1 0 Undefined Read* 1 (A16 only) Module ID Code * Returns: FF08h =48-Channel Single Ended Relay Multiplexer (E1346A) Status/Control Register b +04 15 14 13 12 11 10 Write* 9 8 7 6 5 4 U
70 Agilent E1346A Multiplexer Registers Appendix B
Appendix C Agilent E1346A Multiplexer Error Messages Table C-1 lists the error messages associated with the multiplexer modules programmed by SCPI. See the appropriate mainframe manual for a complete list of error messages. Table C-1. 48-Channel Multiplexer Error Messages No. Title Potential Cause(s) -211 Trigger ignored Trigger received when scan not enabled. Trigger received after scan complete. Trigger too fast.
72 Agilent E1346A Multiplexer Error Messages Appendix C
Index Agilent E1346A 48 Channel Relay Multiplexer ! *CLS 38 *RST 16 *SRE 38 *STB 38 OPERation? 54 :SOURce 57 MONitor 44 A Abbreviated Commands 40 ABORt subsystem 42 Address Logical 31 Logical 14 Address Switch, Setting 21 Addressing Registers 63 Analog Bus 21 Connector 21 Analog Bus Cables 21, 29 Analog Bus, Connecting 21 ARM subsystem 43 ARM:COUNt 25 B Base address 63 Blocks, terminal 18 - 19 C Cables Analog Bus 21 Card Numbers 13 - 14, 31 CDEScription? 55 Certification 5 Channel address 15 closing 26
Commands (continued) ROUTe:OPEN? 50 ROUTe:SCAN 25, 51 ROUTe:SCAN:MODE 25, 52 ROUTe:SCAN:MODE? 53 SCPI 11, 13, 16 SCPI Format 16, 39 STATus:OPERation:ENABle 38, 54 STATus:OPERation? 38 SYSTem:CDEScription? 55 SYSTem:CPON 56 SYSTem:CTYPe? 56 SYSTem:ERRor? 55 TRIGger:SOURce 33, 57 TRIGger:SOURce? 58 types 39 Common (*) Command *CLS 38 *RST 16 *SRE 38 *STB 38 Common (*) Commands 39 Common Command Format 39 Computer configurations, register-based programming 64 Conformity, declaration 7 Connecting Analog Bus 21
O Ohms Measurement 27 OPEN 50 OPEN,(ROUTe:OPEN) 28 OPEN? 50 OPEN?,(ROUTe:OPEN?) 28 Operation Initial 16 OPERation:ENABle 54 Optional Commands 16 Optional Parameters 41 OUTPut 33 OUTPut subsystem 48 P Parameters 41 Port Trig Out 33 Programming Multiplexer Module 13 R Reading Registers 67 Register number 66 Register offset 66 Register Types of Multiplexer Modules 67 Register-based programming base address 63 computer configurations 64 DIAG:PEEK?/DIAG:POKE 67 embedded computers 66 external computers 67 IBASI
T Terminal Blocks 18 - 19 Throughput speed 64 Tree Terminals connecting 26 TRIG:SOURce 33 Trigger Sources 33 TRIGger subsystem 57 Triggers scanning 33 V Voltage Measurement 26 W WARNINGS 6 Warranty 5 Wiring a Terminal Block 19 Wiring Guidelines 18 Writing to Registers 68 76 Agilent E1346A 48 Channel Relay Multiplexer Index