background image

Where to Find it - Online and Printed Information:

System installation (hardware/software) ............VXIbus Configuration Guide

(

Supplied with Agilent Command Modules , Embedded Controllers, and VXLink

.)

Module configuration and wiring .......................This Manual
SCPI programming .............................................This Manual
SCPI example programs .....................................This Manual, Driver Disk
SCPI command reference  ..................................This Manual
Register-Based Programming.............................This Manual

VXI

plug&play

 programming  ............................VXI

plug&play 

Online Help

VXI

plug&play

 example programs .....................VXI

plug&play

 Online Help

VXI

plug&play

 function reference......................VXI

plug&play

 Online Help

Soft Front Panel information ..............................VXI

plug&play

 Online Help

VISA language information................................Agilent VISA User's Guide

Agilent VEE programming information.............Agilent VEE User's Manual

Agilent E8462A 
256-Channel Relay Multiplexer 

User’s Manual and SCPI Programming Guide

Agilent 75000 Series C

*E8462-90000*

Manual Part Number: E8462-90000

Printed in Malaysia E0912

Содержание E8462A

Страница 1: ...ter Based Programming This Manual VXIplug play programming VXIplug play Online Help VXIplug play example programs VXIplug play Online Help VXIplug play function reference VXIplug play Online Help Soft...

Страница 2: ...x...

Страница 3: ...e 17 Connecting Field Wiring 18 Field Wiring Not Using Optional Terminal Cards 18 Field Wiring Terminal Connector 18 Front Panel Connector Pin Out 19 Connecting the Analog Bus 23 Terminal Cards 24 Pro...

Страница 4: ...This Chapter 67 Command Types 67 Common Command Format 67 SCPI Command Format 67 Linking Commands 68 Parameters 69 SCPI Command Reference 70 ABORt 71 ARM 72 ARM COUNT 72 ARM COUNt 72 DIAGnostic 74 DI...

Страница 5: ...s OPERation ENABle 103 STATus OPERation EVENt 103 STATus PRESet 104 SYSTem 105 SYSTem CDEScription 105 SYSTem CPON 106 SYSTem CTYPe 106 SYSTem ERRor 107 TEST 108 TEST NUMBer 108 TRIGger 110 TRIGger IM...

Страница 6: ...128 Appendix B Register Based Programming 129 About This Appendix 129 Register Addressing 129 The Base Address 129 Register Offset 132 Register Descriptions 133 ID Register 134 Device Type Register 13...

Страница 7: ...site preparation or maintenance 7 TO THE EXTENT ALLOWED BY LOCAL LAW THE ABOVE WARRANTIES ARE EXCLUSIVE AND NO OTHER WARRANTY OR CONDITION WHETHER WRITTEN OR ORAL IS EXPRESSED OR IMPLIED AND AGILENT S...

Страница 8: ...g the removal of covers or shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrica...

Страница 9: ...to obtain the Declaration of Conformity Go to http regulations corporate agilent com DoC search htm You can then search by product number to find the latest Declaration of Conformity Alternately you...

Страница 10: ...8 Notes...

Страница 11: ...9 Notes...

Страница 12: ...10 Notes...

Страница 13: ...ng the Multiplexer Page 29 Initial Operation Page 32 Module Description Figure 1 1 shows the Agilent E8462A armature relay multiplexer simplified block diagram Option 014 or 015 Terminal Card and a si...

Страница 14: ...canning Voltmeter configuration See Chapter 4 for information on using the E8462A in a scanning voltmeter Optional Terminal Cards The E8462A has three optional terminal cards which you may purchase fr...

Страница 15: ...Configuring the Agilent E8462A Multiplexer 13 Figure 1 1 Agilent E8462A Simplified Schematic...

Страница 16: ...CRMS or 60VDC Caution MAXIMUM VOLTAGE CURRENT Maximum allowable voltage per channel terminal to terminal or terminal to chassis for the Multiplexer is 200 VDC 140 VACrms or 200VACpeak Maximum switchin...

Страница 17: ...rce manager when it encounters a module with address 255 The logical address must be a multiple of eight e g 112 120 128 etc when using a VXIbus command module An instrument must have a unique seconda...

Страница 18: ...ine These protection resistors limit the maximum current through the relays However in some measurements such as 2 Wire resistance measurements you may want to bypass the protection resistors Each res...

Страница 19: ...to install the Multiplexer in a mainframe Figure 1 4 Installing the Multiplexer in a VXIbus Mainframe NOTE The extraction levers will not seat the backplane connectors on older VXIbus mainframes You m...

Страница 20: ...crimp tool Agilent P N 8710 2306 or ERNI P N 014374 and option ally a disassembly tool Agilent P N 8710 2307 or ERNI P N 471555 Caution Due to the close terminal spacing and the potential for pin to p...

Страница 21: ...acts or terminal cards However terminal cards can be ordered as an option In Figure 1 6 columns C1 and C2 contain the terminals for the 16 line multiplexer bus Ter0 to Ter15 as well as terminals for T...

Страница 22: ...129 CH 161 T_ERROR CH 193 CH 225 CH 130 CH 162 Reserved CH 194 CH 226 CH 131 CH 163 Terminal 8 CH 195 CH 227 CH 132 CH 164 Reserved CH 196 CH 228 CH 133 CH 165 XVCC CH 197 CH 229 CH 134 CH 166 Reserve...

Страница 23: ...CH 96 HI CH 65 HI CH 65 LO T_ERROR CH 97 LO CH 97 HI CH 66 HI CH 66 LO Reserved CH 98 LO CH 98 HI CH 67 HI CH 67 LO Terminal 8 CH 99 LO CH 99 HI CH 68 HI CH 68 LO Reserved CH 100 LO CH 100 HI CH 69 H...

Страница 24: ...HI 1 CH 32 LO 1 T_ACCESS CH 32 LO 2 CH 32 HI 2 CH 33 HI 1 CH 33 LO 1 T_ERROR CH 33 LO 2 CH 33 HI 2 CH 34 HI 1 CH 34 LO 1 Reserved CH 34 LO 2 CH 34 HI 2 CH 35 HI 1 CH 35 LO 1 Terminal 8 CH 35 LO 2 CH...

Страница 25: ...o Figure 1 9 Figure 1 9 Agilent E1411B Connections to the Analog Bus Note The Option 014 and 015 Terminal Cards distribute the analog bus from P109 in the Terminal Card An external measuring device ca...

Страница 26: ...2306 or ERNI Components P N 014374 and optionally a disassembly tool P N 8710 2307 or ERNI Components P N 471555 Caution The Agilent E8462A Option 012 Crimp and Insert Terminal Block connectors must b...

Страница 27: ...bon Cable Connector Terminal Block Option 015 Terminal Block provides nine ribbon cable header connectors This option is identical to option 014 but does not have fault protection PTC resistors Zero o...

Страница 28: ...26 Configuring the Agilent E8462A Multiplexer Wiring a Terminal Card Figure 1 11 shows how to connect wire to the optional terminal blocks Figure 1 11 Wiring a Terminal Card...

Страница 29: ...Configuring the Agilent E8462A Multiplexer 27 Figure 1 11 Wiring a Terminal Card continued See Figure 1 12 for more detail Mark the last digit of the MUX model number e g E8462...

Страница 30: ...E8462A Multiplexer Attaching a Terminal Block to the Multiplexer Figure 1 12 shows how to attach an optional terminal block to the Agilent E8462A Relay Multiplexer module Figure 1 12 Attach a Termina...

Страница 31: ...s channel_list has the form ccbnnn where cc module card number 01 99 b bank or MUX number 0 to one less than banks or muxes and nnn channel numbers The channel number consists of three parts listed in...

Страница 32: ...tifies the module within a multiple switching cards The card number assigned depends on the switch configuration used Leading zeroes can be ignored for the module card number Single module In a single...

Страница 33: ...nnel range must be from a lower channel number to a higher channel number For example CLOS 1000 1015 is acceptable but CLOS 1015 1000 generates an error Using the channel range cc0000 cc9999 with the...

Страница 34: ...ter states after the last command executed by the driver The driver record of register states is not updated by a register write only the register value is changed Therefore the driver will not know t...

Страница 35: ...char ch_state channel open close state Open the default resource manager errStatus viOpenDefaultRM viRM if VI_SUCCESS errStatus printf ERROR viOpenDefaultRM returned 0x x n errStatus return errStatus...

Страница 36: ...state Open Channel 002 errStatus viPrintf E8462A OPEN 10002 n if VI_SUCCESS errStatus printf ERROR viPrintf returned 0x x n errStatus return errStatus Close the Module Instrument Session errStatus viC...

Страница 37: ...one TRIGger SOURce IMM Advances through a scanning list automatically INITiate CONTinuous OFF Continuous scanning disabled OUTPut STATe OFF Trigger output from EXT TTL or ECL sources is disabled ROUT...

Страница 38: ...plexer s operating mode with the ROUTe FUNCtion command before executing the ROUTe CLOSe OPEN or SCAN functions This closes the appropriate tree relays configuring the module for the specified mode Se...

Страница 39: ...rements Valid channel numbers are 000 through 127 From the perspective of the 1 Wire mode channel 000 becomes channel 000 HI channel 032 becomes channel 000 LO etc Refer to Figure 1 7 on page 21 3 Wir...

Страница 40: ...rminal bus line to route all channels to Ter0 1 wire Valid Channel List All 256 channels 000 255 Analog Bus All the channels can be also connected to analog bus line H1 by closing AB200 CH9200 and tog...

Страница 41: ...s C100 and C108 remain connected to Ter0 Valid Channel List 000 127 Analog Bus All the channels can be also connected to analog bus lines H1 and L1 by closing AB200 CH9200 and AB201 CH9201 SCPI Exampl...

Страница 42: ...04 For 4 Wire measurements you would typically use a pair of channels from banks 0 and 2 for the voltage sense and another pair of channels from banks 4 and 6 for the current source these four channel...

Страница 43: ...Using the Multiplexer 41 NOTE See Figure 1 8 for 3 wire and 4 wire front panel pin out Figure 2 3 3 Wire and 4 wire Operating Mode 3 Wire uses Ter0 Ter1 and Ter4 4 Wire uses Ter0 Ter1 Ter4 and Ter5...

Страница 44: ...onfigured as two 128 x 1 or two 64 x 2 multiplexers Figure 2 4 illustrates these configurations Front Panel Pin out See Figure 1 6 for 1 wire or Figure 1 7 for 2 wire Figure 2 4 Two 1 x 128 or Two 2 x...

Страница 45: ...re connected to eight terminal bus Terminals 0 2 4 6 8 10 12 14 by closing 16 related tree relays These modes are automatically set with the ROUTe FUNC command which automatically sets the appropriate...

Страница 46: ...connected to eight terminal bus Terminals 0 2 4 6 8 10 12 14 by closing 16 related tree relays These modes are automatically set with the ROUTe FUNC command which automatically sets the appropriate t...

Страница 47: ...channel list continuously until the scan is aborted The TRIGger SOURce command specifies the source to advance the scan The OUTPut command can be used to enable the E1406A Command Module s Trig Out p...

Страница 48: ...VM Input and I terminals on P109 connector see Figure 1 1 on page 13 Synchronizing the Multiplexer with a Multimeter This example uses the TTL VXIbus triggers TTLT 0 7 to synchronize channel closures...

Страница 49: ...340 or 82341 GPIB module installed and properly configured in your PC An Agilent E1406 Command Module is required This following example resets and configures the multimeter for DC Voltage measurement...

Страница 50: ...pen viRM MULTI_ADDR VI_NULL VI_NULL E1412A if VI_SUCCESS errStatus printf ERROR viOpen returned 0x x n errStatus Reset the Multimeter clear status system errStatus viPrintf E1412A RST CLS n if VI_SUCC...

Страница 51: ...errStatus viPrintf E8462A OUTP TTLT0 ON n if VI_SUCCESS errStatus printf ERROR viPrintf returned 0x x n errStatus Set Trigger Input On TTL 1 errStatus viPrintf E8462A TRIG SOUR TTLT1 n if VI_SUCCESS e...

Страница 52: ...atus for ii 0 ii 10 ii printf Reading d is lf n ii readings ii Reset E8462A to open all channels errStatus viPrintf E8462A RST n if VI_SUCCESS errStatus printf ERROR viPrintf returned 0x x n errStatus...

Страница 53: ...ve been scanned The actual C language program is similar to the previous example and will not be presented again Hybrid MUX Configuration The module can be configured into segments of channels that ar...

Страница 54: ...closed ARM COUNt Value TRIGger SOURce Mode OUTPut STATe Configuration INITiate CONTinuous Mode ROUTe FUNCtion Mode ROUTe SCAN MODE Mode ROUTe SCAN PORT Mode DIAGnostic SCAN DELay Time DIAGnostic INTe...

Страница 55: ...ns as programmed If errors do occur the Multiplexer interrupts the computer and the error codes and messages are read from the error queue Analog Bus 2 Wire Resistance Measurements ROUTe SCAN MODE RES...

Страница 56: ...ree relay T1 connects channels 16 31 to Ter0 and channels 48 63 to Ter1 Tree relays T2 through T7 make similar connections to Ter0 and Ter1 The routing relay C100 toggles between terminal lines Ter0 a...

Страница 57: ...ch 13 157 bank 5 ch 13 221 bank 7 ch 13 30 bank 1 ch 14 94 bank 3 ch 14 158 bank 5 ch 14 222 bank 7 ch 14 31 bank 1 ch 15 95 bank 3 ch 15 159 bank 5 ch 15 223 bank 7 ch 15 32 bank 0 ch 0 96 bank 2 ch...

Страница 58: ...3 30 HI bank 1 ch 14 30 LO bank 1 ch 14 94 HI bank 5 ch 14 94 LO bank 5 ch 14 31 HI bank 1 ch 15 31 LO bank 1 ch 15 95 HI bank 5 ch 15 95 LO bank 5 ch 15 32 HI bank 0 ch 0 32 LO bank 2 ch 0 96 HI bank...

Страница 59: ...29 LO2 bank 3 ch 13 30 HI1 bank 1 ch 14 30 LO1 bank 1 ch 14 30 HI2 bank 3 ch 14 30 LO2 bank 3 ch 14 31 HI1 bank 1 ch 15 31 LO1 bank 1 ch 15 31 HI2 bank 3 ch 15 31 LO2 bank 3 ch 15 32 HI1 bank 4 ch 0...

Страница 60: ...h 13 29 bank 5 ch 13 93 bank 7 ch 13 30 bank 1 ch 14 94 bank 3 ch 14 30 bank 5 ch 14 94 bank 7 ch 14 31 bank 1 ch 15 95 bank 3 ch 15 31 bank 5 ch 15 95 bank 7 ch 15 32 bank 0 ch 0 96 bank 2 ch 0 32 ba...

Страница 61: ...ch 13 29 bank 3 ch 13 29 bank 5 ch 13 29 bank 7 ch 13 30 bank 1 ch 14 30 bank 3 ch 14 30 bank 5 ch 14 30 bank 7 ch 14 31 bank 1 ch 15 31 bank 3 ch 15 31 bank 5 ch 15 31 bank 7 ch 15 32 bank 0 ch 0 32...

Страница 62: ...3 29 bank 2 ch 13 29 bank 4 ch 13 29 bank 6 ch 13 30 bank 0 ch 14 30 bank 2 ch 14 30 bank 4 ch 14 30 bank 6 ch 14 31 bank 0 ch 15 31 bank 2 ch 15 31 bank 4 ch 15 31 bank 6 ch 15 MUX1 MUX3 MUX5 MUX7 0...

Страница 63: ...ch 13 29 LO bank 5 ch 13 30 HI bank 1 ch 14 30 LO bank 1 ch 14 30 HI bank 5 ch 14 30 LO bank 5 ch 14 31 HI bank 1 ch 15 31 LO bank 1 ch 15 31 HI bank 5 ch 15 31 LO bank 5 ch 15 32 HI bank 0 ch 0 32 LO...

Страница 64: ...13 29 HI bank 5 ch 13 29 LO bank 5 ch 13 30 HI bank 1 ch 14 30 LO bank 1 ch 14 30 HI bank 5 ch 14 30 LO bank 5 ch 14 31 HI bank 1 ch 15 31 LO bank 1 ch 15 31 HI bank 5 ch 15 31 LO bank 5 ch 15 MUX1 MU...

Страница 65: ...13 13 HI bank 5 ch 13 13 LO bank 5 ch 13 14 HI bank 1 ch 14 14 LO bank 1 ch 14 14 HI bank 5 ch 14 14 LO bank 5 ch 14 15 HI bank 1 ch 15 15 LO bank 1 ch 15 15 HI bank 5 ch 15 15 LO bank 5 ch 15 MUX2 M...

Страница 66: ...bank 3 ch 13 29 LO2 bank 3 ch 13 30 HI1 bank 1 ch 14 30 LO1 bank 1 ch 14 30 HI2 bank 3 ch 14 30 LO2 bank 3 ch 14 31 HI1 bank 1 ch 15 31 LO1 bank 1 ch 15 31 HI2 bank 3 ch 15 31 LO2 bank 3 ch 15 MUX1 0...

Страница 67: ...bank 3 ch 13 13 LO2 bank 3 ch 13 14 HI1 bank 1 ch 14 14 LO1 bank 1 ch 14 14 HI2 bank 3 ch 14 14 LO2 bank 3 ch 14 15 HI1 bank 1 ch 15 15 LO1 bank 1 ch 15 15 HI2 bank 3 ch 15 15 LO2 bank 3 ch 15 MUX2 0...

Страница 68: ...66 Using the Multiplexer...

Страница 69: ...orm functions like reset self test status byte query and so on Common commands are four or five characters in length always begin with the asterisk character and may include one or more parameters The...

Страница 70: ...ptable Implied Commands 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 y...

Страница 71: ...to 1 In OUTPut TTLTrgn n can range from 0 through 7 Parameters Parameter Types The following table contains explanations and examples of parameter types you might see later in this chapter Parameter...

Страница 72: ...parameter the present ARM COUNt value is returned If you send the MIN parameter the command returns the minimum count available If you send the MAX parameter the command returns the maximum count ava...

Страница 73: ...face When a scan is enabled via an interface an interface clear command CLEAR 7 can be used to stop the scan When the scan is enabled via the interface and TRIG SOUR BUS or HOLD is set you can use ABO...

Страница 74: ...r MAX for the number of scanning cycles Related Commands ABORt INITiate IMMediate RST Condition ARM COUNt 1 Example Setting Ten Scanning Cycles This example sets a multiplexer module for 10 scans of c...

Страница 75: ...er of Scans This example sets a multiplexer module for 10 scanning cycles and queries the number of scan cycles set The ARM COUN command returns 10 ARM COUN 10 Set 10 scans per INIT command ARM COUN Q...

Страница 76: ...omments The module s fuse register identifies good fuses on bits 0 1 2 and 3 as noted in the following table A good fuse is idicated by the bit being 1 A 0 bit indicates the associated banks are not r...

Страница 77: ...INTerrupt LINE card_number queries the module s VXI backplane interrupt line and the return value is one of 1 2 3 4 5 6 7 which corresponding to the module s interrupt line 1 7 The return value being...

Страница 78: ...en command is given before sending an interrupt and clearing the busy bit RST does not change the selected time Example Delay the interrupt signal 8 mS after a relay is opened or closed DIAG INT TIM 2...

Страница 79: ...Parameters Comments Example Set the scan delay time for scanning operations DIAG SCAN DEL 2 005 5 mS scan delay setting on card number 2 DIAGnostic SCAN DELay DIAGnostic SCAN DELay card_number queries...

Страница 80: ...Nitor CARD card_number AUTO CARD STATe mode STATe DISPlay MONitor CARD DISPlay MONitor CARD card_number AUTO selects the module in a switchbox to be monitored NOTE You must use DISP MON STAT ON to act...

Страница 81: ...Channel Multiplexer is as follows WIRE1 WIRE1x2 WIRE1x4 and WIRE1x8 Displays Closed channels are identified in each mux A closed relay on each mux will be displayed for all 1 wire modes WIRE1 WIRE1x2...

Страница 82: ...n H0000 where the hexidecimal value 0008 for B4 indicates channel 3 in bank 4 is closed channel 3 in bank 6 is paired with this channel and is also closed The hexidecimal value 0810 for T0 the Tree ba...

Страница 83: ...ntinuous scanning is enabled with the INITiate CONTinuous OFF or INITiate CONTinuous 0 command Sending the INITiate IMMediate command closes the first channel in the channel list Each trigger from the...

Страница 84: ...list Successive triggers from the source specified by the TRIGger SOURce command advance the scan through the channel list Comments Starting the Scanning Cycle The INITiate IMMediate command starts s...

Страница 85: ...nabling ECL Trigger Bus When enabled a pulse is output from the selected ECL Trigger bus line 0 or 1 after each channel is closed during a scan If disabled a pulse is not output The output is a negati...

Страница 86: ...1 enables the port and OFF 0 disables the port Parameters Comments Enabling Trig Out Port When enabled a pulse is output from the Trig Out port after each scanned switchbox channel is closed If disab...

Страница 87: ...ables OFF or 0 the specified TTL Trigger bus line Parameters Comments Enabling TTL Trigger Bus When enabled a pulse is output from the selected TTL Trigger bus line 0 to 7 after each channel in the sw...

Страница 88: ...ch scanned channel is closed OUTPut TTLTrgn STATe OUTPut TTLTrgn STATe Queries the present state of the specified TTL Trigger bus line The command returns 1 if the specified TTLTrg bus line is enabled...

Страница 89: ...OUTe CLOSe ROUTe CLOSe channel_list Closes the multiplexer channels specified by channel_list Channel_list has the form ccbnnn where cc card number 01 99 b bank or MUX number 0 one less than number of...

Страница 90: ...inal Closing Channels Any combination of the above channel lists is valid in one command Parameter Name Parameter Type Mode Range of Values channel_list numeric WIRE2X4 cc0000 to cc0031 cc1000 to cc10...

Страница 91: ...tch C108 in Figure 1 1 9200 to 9204 to connect the banks to the analog bus These switches are labeled AB200 AB204 in Figure 1 1 9200 connects analog H1 to switch C108 9108 9201 connects analog L1 to t...

Страница 92: ...ogrammed to be closed 1 1 is returned CLOS 10000 20067 10000 closes channel 0 card 1 and 20067 closes channel 67 card 2 CLOS 10000 20067 Query state of channel 0 card 1 and channel 67 card 2 ROUTe FUN...

Страница 93: ...wo wire by 1 MUX 2 MUXs 4 MUXs or 8 MUXs A pair of wires is connected to the common terminal pair by closing a double pole relay A single channel closure will connect both wires Three Wire Modes WIRE3...

Страница 94: ...ne wire mode is selected WIRE1 is returned FUNC 1 WIRE1 Configures card 1 to one wire mode FUNC 1 Query mode of card 1 ROUTe OPEN ROUTe OPEN channel_list Opens the multiplexer channels specified by ch...

Страница 95: ...cc0000 to cc0255 cc0000 to cc0127 cc0000 to cc0063 cc0000 to cc0063 WIRE1X2 cc0000 to cc0127 cc1000 to cc1127 WIRE2X2 cc0000 to cc0063 cc1000 to cc1063 WIRE4X2 cc0000 to cc0031 cc1000 to cc1031 WIRE1...

Страница 96: ...listed must be greater than the first channel specified Opening the Control Relays The control relays 9000 to 9021 9100 to 9108 9200 to 9204 can be opened to perform special functions for example isol...

Страница 97: ...N 100 267 100 opens channel 0 of card 1 and 267 opens channel 67 of card 2 ROUTe OPEN ROUTe OPEN channel_list Returns the current state of the channel s queried Channel_list has the form ccbnnn see RO...

Страница 98: ...to cc0063 cc1000 to cc1063 WIRE4X2 cc0000 to cc0031 cc1000 to cc1031 WIRE1X4 cc0000 to cc0063 cc1000 to cc1063 cc2000 to cc2063 cc3000 to cc3063 channel_list numeric WIRE2X4 cc0000 to cc0031 cc1000 t...

Страница 99: ...el specified Multiple Scanning Operations NOT Allowed The SCAN command does not allow multiple scanning operations even when the module is configured to one of the multiple MUX modes e g WIRE1X2 WIRE2...

Страница 100: ...ter s current source When SCAN PORT ABUS is selected control relays 9203 and 9204 are also closed to connect Analog H2 and Analog L2 which are the Analog Bus connections to the Ohmmeter s current sour...

Страница 101: ...the ROUTe FUNCtion and ROUTe SCAN MODE commands Then followed by the ROUTe SCAN PORT and ROUTe SCAN channel_list commands Analog Bus Connection The SCAN PORT ABUS command only connects disconnects the...

Страница 102: ...og Control Relay 9203 is opened if the mode is not VOLT 9203 is closed RST Condition ROUTe SCAN PORT NONE Example Selecting the Analog Bus Port This example selects the four wire ohms measurement mode...

Страница 103: ...he STB command Use the ESE command to query the unmask value for the Standard Event Status Register the bits you want logically OR d into the summary bit The registers are queried using decimal weight...

Страница 104: ...102 Agilent E8462A Relay Multiplexer Command Reference...

Страница 105: ...7 of the Status Register STATus OPERation ENABle 256 sets bit 7 of the Status Register to 1 after bit 8 of the Operation Status Register is set to 1 Related Commands ROUTe SCAN Example Enabling the S...

Страница 106: ...Nt command clears it Aborting a scan Aborting a scan will leave bit 8 set to 0 Related Commands ROUTe SCAN Example Reading the Operation Status Register After a Scanning Cycle STAT OPER Returns the bi...

Страница 107: ...IRE1 Sets mode to one wire Parameter Name Parameter Type Range of Values Default Value number numeric 1 through 99 N A FUNCtion Mode Description NONE User defined mode 8 x 16 Channel GP Relay Mux WIRE...

Страница 108: ...er or RST commands In addition these commands do not affect the DIAGnostic INTerrupt or DIAGnostic INTerrupt TIMer commands Example Setting Card 1 Module to its Power on State SYST CPON 1 Sets card 1...

Страница 109: ...rom the queue each time the SYSTem ERRor command is sent The errors are cleared first in first out When the queue is empty each following SYSTem ERRor command returns 0 No error To clear all error num...

Страница 110: ...n are the same as the error codes given by the TST query and are summarized in the following table Parameter Name Parameter Type Range of Values Default Value test_number numeric cc 1 through 99 N A c...

Страница 111: ...all relays on the card cc99 This is a special test that scans through all relays DO NOT USE this test when the card has terminal block connections NOTE The Multiplexer function must be set to the eigh...

Страница 112: ...iate will execute BUS or HOLD Source If selected the TRIGger SOURce BUS or TRIGger SOURce HOLD commands remain in effect after triggering a switchbox with the TRIGger IMMediate command Related Command...

Страница 113: ...cted One Trigger Input Selected at a Time Only one input ECLTrg0 or 1 TTLTrg0 1 2 3 4 5 6 or 7 or EXTernal can be selected at one time Enabling a different trigger source will automatically disable th...

Страница 114: ...ds ABORt ROUTe SCAN OUTPut RST Condition TRIGger SOURce IMMediate Example Scanning Using External Triggers This example uses external triggering TRIG SOUR EXT to scan bank 0 channels 0 through 7 of a...

Страница 115: ...e switchbox Command returns BUS ECLT EXT HOLD IMM or TTLT for sources BUS ECLTrgn EXTernal HOLD IMMediate or TTLTrgn respectively Example Querying the Trigger Source This example sets external trigger...

Страница 116: ...channel list for scanning Sets ARM COUN 1 TRIG SOUR IMM and INIT CONT OFF DIAG SCAN DEL 0 0 SAV numeric state Stores the instrument state but does not save the scan list SRE register value Service req...

Страница 117: ...state Enables Disables TTL Trigger bus line pulse Query TTL Trigger bus line state ROUTe CLOSe channel_list CLOSe channel_list FUNCtion card_number function FUNCtion card_number OPEN channel_list OPEN...

Страница 118: ...116 Agilent E8462A Relay Multiplexer Command Reference...

Страница 119: ...ultimeter must be the Agilent E1411B or the E1326B used with a C size adapter installed in the C size mainframe The device driver for these two multimeters controls Agilent switches in the scan mode T...

Страница 120: ...oltmeter address all 256 channels and the tree relays are open All E8462A routing relay common terminals are set to the normally closed contact In addition after a RST command the current scan channel...

Страница 121: ...og bus The E1326 E1411 multimeter automatically controls the channels and tree relays when you use the MEASure or CONFigure commands Tree relays are described in Table 4 2 Table 4 1 Agilent E8462A Def...

Страница 122: ...command is used to both specify the channel list to scan and to make measurements Scanning Voltmeter Measurement Program This example scans a list of multiplexer channels and makes a measurement on ea...

Страница 123: ...AS FRES 100 131 NOTE 4 wire channels are made by pairing banks 0 and 2 banks 1 and 3 banks 4 and 6 and banks 5 and 7 Two lines from each bank will automatically be paired to form the 4 wire channel 10...

Страница 124: ...onitor mode FETCh Place stored readings in output buffer FORMat DATA type length Select output data format and length FORMat Query format INITiate IMMediate Place multimeter in wait for trigger state...

Страница 125: ...integration time Select range Query range Set integration time in PLCs Query integration time Enable disable autoranging Query autorange mode Specify resolution Query resolution SYSTem CDEScription ca...

Страница 126: ...124 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4 Notes...

Страница 127: ...re to climatic conditions such as direct sunlight wind rain snow sleet and icing water spray or splash hoarfrost frost or dew Pollution Environment Pollution environment for which this product may be...

Страница 128: ...n 014 or Option 015 Terminal Block The ribbon cable header connectors on the Agilent E8462A Option 014 or Option 015 Terminal Card must be replaced after 15 000 hours of 50Vrms voltage stress due to t...

Страница 129: ...Configuration 100 Protection Resistor Shorted 256 1 1 wire 6 0 MHz 128 1 2 wire 12 0 MHz 32 1 2 wire 30 0 MHz Configuration to Chassis To open Channel 256 1 620 pF 410 pF 128 1 340 pF 220 pF 32 1 160...

Страница 130: ...t 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...

Страница 131: ...x contains the information you need for register based programming The contents include Register Addressing Page 129 Register Descriptions Page 133 Program Timing and Execution Page 139 Programming Ex...

Страница 132: ...rting location of the register addresses LADDR is the multiplexer s logical address and 6410 is the number of address bytes per VXI device For example the multiplexer s factory set logical address is...

Страница 133: ...ere 1FC000h 2 080 768 is the starting location of the VXI A16 addresses LADDR is the multiplexer s logical address and 64 is the number of address bytes per register based device Again the multiplexer...

Страница 134: ...e block of 64 address bytes For example the multiplexer s Status Control Register has an offset of 04h When you write a command to this register the offset is added to the base address to form the reg...

Страница 135: ...015 032 047 Base 20h Relay Control Register 1 22h R W Bank 1 Channels CH 016 031 048 063 Base 22h Relay Control Register 2 24h R W Bank 2 Channels CH 064 079 096 111 Base 24h Relay Control Register 3...

Страница 136: ...ce The Programming Example on page 141 shows how to read the ID Register Device Type Register Reading the Device Type Register returns 026Bh decimal 619 which identifies the device as the Agilent E846...

Страница 137: ...rrupts are disabled bit 6 set and interrupt level is set to 1 bits 10 9 8 001 WRITE BITS Control Register bit 0 R Writing a 1 to bit 0 resets the module to the power on state all channels open Allow a...

Страница 138: ...Control Register 4 Base 28h Bank 0 Channels 000 015 Relay Control Register 0 base 20h base 20h 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write ch015 ch014 ch013 ch012 ch011 ch010 ch009 ch008 ch007 ch006...

Страница 139: ...5 ch004 ch003 ch002 ch001 ch000 Read base 2Ch 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write ch015 ch014 ch013 ch012 ch011 ch010 ch009 ch008 ch007 ch006 ch005 ch004 ch003 ch002 ch001 ch000 Read base 2Eh...

Страница 140: ...bit 0 in the Status Control Register to reset the Multiplexer Reading the Relay Control Registers Reading the Relay Control Registers returns a hexadecimal number A bit that is 1 represents a channel...

Страница 141: ...the program Closing Channels The following flowchart shows how to close or open a multiplexer channel and determine when it has finished closing or opening Comments The address of the multiplexer Sta...

Страница 142: ...Comments Multiplexer Status Register bit 7 BUSY bit is monitored to determine when a channel can be closed or opened and when a channel has finished closing or opening Multimeter status bit 0 ready f...

Страница 143: ...onstrate how to program the multiplexer in register format This example includes Reading the ID Device Type and Status Registers Closing Opening a channel Stand Alone Multiplexer Measurements Scanning...

Страница 144: ...B0 9 14 INSTR VI_NULL VI_NULL mux Read ID and Device Type Registers read the multiplexer s ID and Device Type registers err viIn16 mux VI_A16_SPACE 0x00 id_reg if err VI_SUCCESS err_handler mux err pr...

Страница 145: ...iClose mux viClose defaultRM end of main Error Handling Function void err_handler ViStatus err char err_msg 1024 0 viStatusDesc mux err err_msg printf ERROR s n err_msg return end of error handler rou...

Страница 146: ...144 Register Based Programming...

Страница 147: ...Described Number Range Error Types Description 199 to 100 Command Errors syntax and parameter errors See the Agilent E1405 E1406 Command Module User s Manual for a description of these errors 299 to 2...

Страница 148: ...lid card number Addressing a module card in a switchbox that is not part of the switchbox 2001 Invalid channel number Attempting to address a channel of a module in a switchbox that is not supported b...

Страница 149: ...ard event summary bit 101 summary bit 103 Boolean Command Parameters 69 boolean parameters 69 Bus connecting a channel to the analog 37 scanning channels using the analog 43 C Card Numbers 30 Changing...

Страница 150: ...tecting error 53 reset 35 Configuring 11 11 11 11 11 11 11 Connecting analog bus 99 Connecting a Channel to the Analog Bus 37 Connecting User Inputs 18 Continuous Scanning Cycles 81 Control Relays clo...

Страница 151: ...tial Operation 32 INITiate CONTinuous 81 CONTinuous 82 INITiate Subsystem 81 81 82 82 INITiate IMMediate 82 Inputs connecting user 18 L LADDR 130 Linking Commands 70 linking commands 68 Logical Addres...

Страница 152: ...rogram execution 139 Program Timing 139 Program Timing and Execution 139 Programming Register based 129 Programming Examples 141 Programming the Multiplexer 29 Programs Example 33 Q Query analog bus p...

Страница 153: ...100 100 Routing Relays reset condition 118 RST 106 118 Common Commands RST 106 118 S Saving States 52 Scan Channels using BUS triggers with an external device to 51 Scan Complete Bit 101 using the exa...

Страница 154: ...ent SCPI 67 Standard Event Register 101 Standard Event Status Register 101 101 Standard Event Summary Bit 101 Starting scan 71 scanning cycles 81 82 scanning process 82 States recalling 52 recalling a...

Страница 155: ...g 84 84 enabling 84 84 85 query state of 85 TRIGger SLOPe 110 SLOPe 111 SOURce 111 112 112 112 SOURce 113 Trigger bus inputs 112 external inputs 111 query source 113 source 111 TRIGger Subsystem 110 1...

Страница 156: ...154 Index...

Отзывы: