Home
HP E1364A 16-Channel Form C Switch Module User`s Manual
Contents
1. HP E1364 6620 QU Figure 2 7 E1364A Front Panel and Wiring Diagram E1564 F2 7 aed LA aed lt A ed aed aed aed weed weed ed a KA KA GA A CH10 CH11 CH9 CH8 CH12 CH13 CH14 CH15 CH7 CH6 CH5 CH4 CHO CH1 CH3 CH2 24 Configuring the HP E1364A Form C Switch Chapter 2 Chapter 3 Using the HP E1364A Form C Switch Using This Chapter This chapter provides examples to use the Form C Switch for switching channels and scanning channels As required see Chapter 4 Understanding the Form C Switch for further information on scanning channels See Chapter 5 Form C Switch Command Reference for command information Chapter contents are e Form C Switch Commands 0020000 Page 25 e Switching Channels 0 0 00 c eee eee eee eee Page 26 e Scanning Channels 0 0 0 e eee eee eee Page 31 Form C Switch Commands Table 3 1 Form C Switch Commands in Chapter 3 Command Description INITEIMM Starts the scan sequence and closes the first channel in the channel list OUTP STAT ON Enables the HP E1300A E1301A Trig Out port to output pulses ROUT CLOS lt channel_list gt Closes the channels in the channel list ROUT CLOS lt channel_list gt Queries the state of the channels in the channel list
2. HP6209C EXTERNAL DUAL PWR SUPPLY HP E1364A bes akg Channe 00 NO CONO O E CONC LI 7 NC ad HP 8761A RF SWITCH or P 33300A C STEP ATTN cgc 12V COIL VOLTAGE O 2 HP 33300 O 10 20 40 HP E1364A E O O Channel et a NO CONO HP 8761 H PORT 1 G So CENE PORT C ho NC CBC Cry ee O T Sonne NO CINO C j O mm HP 8761B RF SWITCH C1NC on o D HP 33300B D STEP ATTN NC 24V COIL VOLTAGE ere O G cP Q EXTERNAL 24V PWR SUPPLY HP6206B E1364A F3 3 Figure 3 3 Example Controlling RF Switches Step Attenuators 28 Using the HP E1364A Form C Switch Chapter 3 Example Digital Output Configuration Figure 3 4 shows channel 00 configured for digital output operation When the channel 00 relay is open NC connected to C point 1 is at V and point 2 is at O V When the channel 00 relay is closed NO connected to C points 1 and 2 are both at 0 V This configuration is useful for 24V or 48V control logic since this type of application cannot be met with the configuration shown in Chapter 2 Figure 2 5 To close channel 00 execute CLOS 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number To open channel 00 use OPEN 100 TERMINAL V E1364A ony Channel 00 NO CANO D E CONC o O C C Y NA RELAY G O OPEN V OV CLOSED
3. HP E1364A 16 Channel Form C Switch Module Index 73
4. Getting Started with the HP E1364A Using This Chapter This chapter includes a Form C Switch description addressing guidelines and an example program to check initial operation Chapter contents are e Instrument Definition 00 00 eee ee eee Page 11 e Programming the Switch 00 00 0000 0 0 Page 13 e Initial Operation 00 0 eee cee eee Page 15 Instrument Definition Switch Description Basic Operation HP plug in modules installed in an HP mainframe are treated as independent instruments each having a unique secondary HP IB address Each instrument is also assigned a dedicated error queue input and output buffers status registers and if applicable dedicated mainframe memory space for readings or data An instrument may be composed of a single plug in module or multiple plug in modules for a Switchbox or Scanning Voltmeter Instrument The HP E1364A 16 Channel Form C Switch Module is a B Size V XIbus and VMEbus register based product which can be used for switching scanning control and digital output applications The switch can operate in a B Size VXIbus or VMEbus mainframe or with an adapter in a C Size VXIbus mainframe The module has 16 channels of Form C relays Each channel includes a relay with common C normally open NO and normally closed NC contacts For the Form C Switch switching consists of opening or closing a channel relay to provide alternate connections to use
5. ROUT JOPEN lt channel_list gt Opens the channels in the channel list ROUT SCAN lt channel_list gt Closes the channels in the channel list one channel at a time TRIG SOUR Selects the trigger source to advance the scan BUS EXT HOLD IMM Chapter 3 Using the HP E1364A Form C Switch 25 Switching Channels Example Voltage Switching For general purpose relay operation you can connect or disconnect a load by opening or closing specified channel relays By adding jumpers and or pullup pulldown resistors the switch can be configured for relay control or digital output operations Use CLOS lt channel_list gt to connect a channel s normally open NO terminal to its common C terminal or use OPEN lt channel_list gt to connect a channel s normally closed NC contact to its common C terminal lt channel_list gt has the form ccnn where cc card number 01 99 and nn channel number 00 15 This example closes channel 00 of a Form C Switch to switch the load voltage E from Load 1 to Load 2 When the channel relay is open the load voltage is applied to Load 1 When the relay is closed the voltage is applied to Load 2 See Figure 3 1 for typical user connections To close channel 00 execute CLOS 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number To open channel 00 use OPEN 100 TERMINAL BLOCK Channel 00 CO
6. Relay Life 64 Relay Replacement Strategy 64 Relays Form C 12 RF Switches 28 ROUT CLOS 25 ROUT CLOS 25 ROUT JOPEN 25 ROUT SCAN 25 ROUTe Subsystem 52 ROUTe CLOSe 52 ROUTe CLOSe 53 ROUTe JOPEN 53 ROUTe OPEN 54 ROUTe SCAN 54 ROUTe SCAN MODE 55 S Safety warnings 6 SAV 39 SCAN 54 Scan Complete Bit 38 Scan Cycles 34 Scan Mode 34 Scan Stopping 44 SCAN MODE 55 Scanning Channels 31 33 Scanning using Trig Out Port 31 Scanning with External Instruments 33 36 Schematic 12 SCPI command Format 41 SCPI Error Responses 40 Simplified Schematic 12 SOURce 59 SOURce 60 Specifications 63 64 STATe 51 STATe 51 STATus Subsystem 55 Status Control Register 65 66 STATus OPERation ENABle 56 STATus OPERation EVENt 55 Step Attenuators 28 Stopping a Scan 44 Storing States 39 Switch Channel Addresses 13 Switch Channel Numbers 14 Switch Description 11 Switch Registers 65 68 Switchbox 13 Switching Channels 26 SYSTem Subsystem 56 SYSTem CDEScription 57 SYSTem CPON 58 SYSTemtCTYPe 37 SYSTem ERRor 40 56 T Terminal Block 18 Terminal Connector 24 TMSL 13 Trig Out 37 Trig Out Port 25 Trig Outp Port 31 TRIG SOURce 25 Trigger Source 34 Trigger Sources 33 35 TRIGger Subsystem 58 TRIGger MMediate 58 TRIGger SOURce 59 TRIGger SOURce 60 V Voltage Switching 26 W WARNINGS 6 Warranty 5 Wiring 24 Wiring Diagram module 12 Writing to Registers 67
7. SOURce BUS EXTernal HOLD IMMediate SOURce TRIGger IMMediate causes a trigger event to occur when the defined trigger source is TRIGger SOURce BUS or TRIGger SOURce HOLD e Executing the TRIGger IMMediate Command A channel list must be defined with ROUTe SCAN lt channel_list gt and an INITiate MMediate command must be executed before TRIGger IMMediate will execute e BUS or HOLD Source Remains If selected the TRIGger SOURce BUS or TRIGger SOURce HOLD commands remain in effect after triggering a switchbox with the TRIGger I MMediate command e Related Commands INITiate ROUTe SCAN 58 HP E1364A Form C Switch Command Reference Chapter 5 Example SOURce Parameters Comments Advancing Scan Using TRIGger Command This example uses the TRIGger command to advance the scan of a single module switchbox from channel 00 through 03 Since TRIGger SOURce HOLD is set the scan is advanced one channel each time TRIGger is executed TRIG SOUR HOLD Sets trigger source to HOLD SCAN 100 103 Defines channel list INIT Begin scan close channel 00 loop statements Start count loop TRIG Advance scan to next channel increment loop Increment loop count TRIGger SOURce BUS EXTernal HOLD IMMediate specifies the trigger source to advance the channel list during scanning Parameter Name Parameter Type Parameter Description BUS discrete TRG or GET command EXTernal discrete Event In BN
8. GND C a JM151 12V NO fe Seen JM152 12V NC Sl a 2k ttet ttt tty ma E P tHe Hee pie Bee 1 ae BEN Sy lt S Z Sl pares Sy X va q y XN A NS Decimal Value x ON OS RICO N X A OFF ie ye a y re Pz Zz DA Sy E xo IRA Tao pelele Nee hey QO 0 0 0 0 QO 000 0 oral ja o o ng ja mn o o ng NL 6 5 4 20302 150 8 010 000 20 00 00 ed Logical Address Switch Interrupt Priority Jumpers Ada Factory set logical address is 120 Set switches Interrupt priority jumpers are factory set 0 7 as required to change address Logical to interrupt Priority Level 1 Must move Address sum of decimal values of switches set to ON BOTH jumpers to change priority level Logical address 120 is shown since switches Figure shows change strom stevelss tor Level 3 4 5 and 6 are on decimal value 8 16 32 64 120 See the appropriate Installation and Getting Started Guide to change the logical address setting Figure 2 6 Form C Switch Component Locations Chapter 2 Configuring the HP E1364A Form C Switch 23 Module Front Panel Connections If you choose not to use the supplied connector block Figure 2 7 shows the E1364A front panel and the connection diagram for wiring your own terminal connector ES ES GD NO NC C FORM C l SWITCH
9. 2 in a switchbox Turns monitor mode ON 48 HP E1364A Form C Switch Command Reference Chapter 5 INITiate The INITiate command subsystem selects continuous scanning cycles and starts the scanning cycle Subsystem Syntax INiTiate CONTinuous lt mode gt CONTinuous IMMediate CONTinuous INiTiate CONTinuous ON OFF 1 O enables or disables continuous scanning cycles for the switchbox Parameters Parameter Name Parameter Type Range of Values lt mode gt boolean ON OFF 1 0 Comments e Continuous Scanning Operation Continuous scanning is enabled with the INITiate CONTinuous ON or INITiate CONTinuous 1 command Sending the INITiate MMediate command closes the first channel in 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 the end of the channel list closes the first channel in the channel list and the scan cycle repeats e Non Continuous Scanning Operation Non continuous scanning is enabled with the INITiate CONTinuous OFF or INITiate CONTinuous O command Sending the INITiate MMediate command closes the first channel in the channel list Each trigger from a trigger source selected by the TRIGger SOURce command advances the scan through the channel list At the end of the scanning cycle the last channel in the channel list is closed Stopping Continuous Scan See the ABORt comm
10. SCAN 100 147 Select channels to be scanned 60 OUTPUT 70915 INIT Start scanning cycle 70 WHILE NOT BIT SPOLL 70915 7 Waiting for scan complete 80 PRINT DO OTHER OPERATION HERE Enter program lines for computer to do other operations 90 END WHILE 100 PRINT INTERRUPT GENERATED Program goes to this line after interrupt is generated by a completed scanning cycle 110 END 38 Understanding the HP E1364A Form C Switch Chapter 4 Special 488 2 Commands This section contains information about the response of the switchbox instrument to three IEEE 488 2 common commands Sto ring States The SAV lt numeric_state gt command saves the current instrument state The state number 0 9 is specified by the lt numeric_state gt parameter The settings saved by this command are ARM COUNt TRIGger SOURce OUTput STATe INITiate CONTinuous SCAN the scan list is set to invalid therefore the command does not save a scan list SCAN MODE e SCAN PORT Recalling States The RCL lt numeric_state gt command recalls the state when the last SAV was executed for the specified lt numeric_state gt parameter 0 9 If no SAV was executed for the lt numeric_state gt RST default settings are used Refer to the SAV settings list for the settings recalled by RCL The RST command opens all channels invalidates the current channel list for scanning and sets the following ARM COUNt 1 TRIGger SOURce IMM INIT CONTi
11. TRIGger TRIGger SOURce e RST Condition All channels open Example Scanning Using External Device See Chapter 4 Example Scanning With External Devices or Example Scanning Using Trig Out and Event In Ports for example scanning programs using external instruments 54 HP E1364A Form C Switch Command Reference Chapter 5 SCAN MODE _ ROUTe SCAN MODE NONE VOLT can be used for the Form C Switch Both NONE and VOLT set the mode for no measurements This command has no effect on Form C Switch operation ROUTe SCAN MODE can be used to query the scanning mode NONE or VOLT for the Form C Switch STATus The STATus subsystem reports the bit values of a Standard Operation Status Register It enables the Status Register to set a bit after a bit is set to 1 by the Operation Status Register Subsystem Syntax STATus OPERation EVENt ENABle lt number gt OPERation EVENt sSTATus OPERation EVENt returns the bit value of the Operation Status Register only bit 8 is used by the Form C Switch Comments e Setting Bit 8 of the Operation Status Register Bit 8 Scan Complete is set to 1 after a scanning cycle completes Bit 8 returns to O after sending the STATus OPERation EVENt command e Returned Data After Sending STATus OPERation EVENt The command returns 256 if bit 8 of the Operation Status Register is set to 1 The command returns 0 if bit 8 of the Operation Status Register is set to 0 e Related Co
12. 120 secondary address 120 8 15 With this example since synchronization with the computer cannot be ensured the external instrument must have internal memory capacity to store the readings Also you must add the appropriate instrument commands to line 10 The sequence of operation is INIT line 50 closes channel 100 Closure causes trigger to be output from Trig Out port Trigger to Ext Trig In initiates channel 100 measurement Channel 100 measurement result is stored in instrument Trigger is then output from Measurement Complete port Trigger to Event In port advances scan to channel 101 Steps 2 6 are repeated for channels 101 102 NYDN PWN 10 OUTPUT 722 TRIG EXT Configure instrument 20 OUTPUT 70915 OUTP ON Enable Trig Out port 30 OUTPUT 70915 TRIG SOUR EXT Event In triggering 40 OUTPUT 70915 SCAN 4100 102 Scan channels 00 02 50 OUTPUT 70915 INIT Enable scan 60 END To DUTs HP E1300 01 Mainframe Channel 00 01 02 External HP E1364A NO nstrument NC C Event Trig Meas Ext Trig Meas In Out Input In Output o 0 o 0 A E1364 f3 60 Chapter 4 Understanding the HP E1364A Form C Switch 37 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 i
13. Channel Connectors Normally Open NO Normally Closed NC and Common C terminals for channels 00 15 4 N L GHLGHLGHL G HL GyyH L GyyH L GH L Gy DDD CKDPPCKP DOL I CH 8 CH 9 CH 10 CH 11 4 OH 124 CH 134 CH 144 0H 15 E1364A FIG2 1 Figure 2 1 Form C Switch Terminal Block 18 Configuring the HP E1364A Form C Switch Chapter 2 4 REMOVE CLEAR COVER Dy ee UNSCREW AND REMQV STRAIN RELIEF I Nu REPEAT AT THIS ab SLOT Ne we F 3 INSERT WIRE_ INTO TERMINAL TIGHTEN SOREN W Tn MAXIMUM WIRE SIZE IS 18 GAUGE it REINSTALL CLEAR COVER tf CONNECT TERMINAL BLOCK TO MODULE ALREADY INSTALLED IN MAINFRAME MATCH THE NUMBERS ON THE COLORED DOTS Pi Figure 2 2 Wiring the Form C Switch Terminal Block Chapter 2 Configuring the HP E1364A Form C Switch 19 Typical Switch Configurations General Purpose Relay Configuration Example General Purpose Relay Configuration Typical Form C Switch configurations are e General purpose relay e Relay control e Digital output As factory configured the Form C Swit
14. Comments e Closing Channels To close a single channel use ROUTe CLOSe ccnn for multiple channels use ROUTe CLOSe ccnn ccnn for sequential channels use ROUTe CLOSe ccnn ccnn for groups 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 e Related Commands ROUTe OPEN ROUTe CLOSe e RST Condition All channels open Example Closing Form C Switch Channels This example closes channels 100 and 213 of a two module switchbox card numbers 01 and 02 CLOS 100 213 Close channels 100 and 213 100 closes channel 00 of card 1 and 213 closes channel 13 of card 2 52 HP E1364A Form C Switch Command Reference Chapter 5 CLOSe ROUTe CLOSe lt channel_list gt returns the current state of the channel s queried channel_list has the form ccnn see ROUTe CLOSe for definition The command returns 1 if channel s are closed or returns 0 if channel s are open Comments e Query is Software Readback The ROUTe CLOSe command returns the current software state of the channel s specified It does not account for relay hardware failures A maximum of 127 channels at a time can be queried for a multi module switchbox Example Query Channel Closure This example closes channels 100 and 213 of a two module switchbox and queries channel closure Since the channels are programmed to be closed 1 1 is r
15. 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 reduce relay life Exceeding specified maximum inputs can cause catastrophic failure Switching Frequency Relay contacts heat up when switched As the switching frequency increases the contacts have less time to dissipate heat The resulting increase in contact temperature also reduces relay life End of Life A preventative maintenance routine can prevent problems caused by Detection expected relay failure The end of the life of the relay can be determined 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 Rep
16. Max supplied input to the Event In BNC Use a 5 V negative going pulse to trigger Enabling Trig Out Port OUTP ON With two or more switchboxes in a cabling Tie Our rons mainframe the first switchbox set for The Trig Out Port is shared by all EXT trigger keeps the trigger resource instruments in the mainframe With the until the switchbox trigger source is port enabled with OUTP ON it changed to BUS HOLD or IMM generates an output trigger each time after a channel closure for ANY switchbox in the mainframe The TRIG OUT port outputs a 5 V negative going pulse Figure 4 2 Scanning Trigger Sources Chapter 4 Understanding the HP E1364A Form C Switch 35 Example Scanning With External Devices This example uses the mainframe Trig Out port to synchronize the Form C Switch channel closures to an external measurement device See the following figure for typical user connections For measurement synchronization the HP E1300A E1301A Trig Out BNC port is connected to the instrument External Trigger In port For this example the mainframe and instrument are connected via HP IB with mainframe address of 709 and instrument address of 722 The Form C Switch is at logical address 120 secondary address 15 The measurements are transferred directly to the computer Appropriate instrument commands must be added to line 10 and you may need to add a WAIT statement as line 65 for long measurements The sequence of operation
17. OV OV El364A F3 4 Figure 3 4 Example Digital Output Configuration Chapter 3 Using the HP E1364A Form C Switch 29 Example Matrix Switching Switching Channels Comments The Form C Switch can be configured as a 4 x 4 single wire matrix to connect any combination of up to four user sources SO S1 S2 and S3 to any combination of up to four user instruments 10 I1 I2 and 13 at a time Figure 3 5 shows a typical configuration This example closes channel 02 to correct S2 to IO and closes channel 13 to connect S1 to 13 To close channels 02 and 13 execute CLOS 102 113 Close channels 02 and 13 1 is card number and 02 13 are channel numbers To open the channels use OPEN 102 113 s3 Amo U O U O E o No O x 0 O E o o O LT o Ww Tes gt i I NO cs O E i Tai E Ze O O ja m T En zZ O E E on 3 we O O ale EE ps NO O ln 1 EE SS Z 6 O SIs Ag Sa za 6 O E E gt Z 6 E3 JE E os NO SE gt pe i i gt E1364A F3 5 Figure 3 5 Example Matrix Switching Query Channel States Use ROUTe CLOSe lt channel_list gt or ROUTe OPEN lt channel_list gt to query the channel state open closed ROUTe CLOS returns a 1 for channel s clos
18. SCPI you must know the module s logical address module number and the SCPI commands to be used Guidelines to select SCPI commands for the Form C Switch follow See the HP 75000 Series B Installation and Getting Started Guide for interface addressing and computer language information This discussion applies only to SCPI Standard Commands for Programmable Instruments programming See Appendix B Form C Switch Registers for information on Form C Switch registers To address specific channels within a Form C Switch you must specify the SCPI command and switch channel address For the Form C Switch use CLOSe lt channel_list gt to connect the normally open NO terminal to the common C terminal for the channels specified Use OPEN lt channel_list gt to connect the normally closed NC terminal to the common C terminal for the channels specified Use SCAN lt channel_list gt to close the set of channels specified one channel at a time For the Form C Switch the channel address lt channel_list gt has the form ccnn where cc switch card number 01 99 and nn channel numbers 00 15 Chapter 1 Getting Started with the HP E1364A 13 You can address single channels ccnn multiple channels ccnn ccnn sequential channels ccnn ccnn groups of sequential channels ccnn ccnn ccnn ccnn or any combination Switch Card The switch card number depends on the switchbox configuration Numbers _ single module or
19. Switch Using This Chapter This chapter describes some techniques to scan Form C switch channels and to use the Scan Complete bit In addition this chapter describes how the instrument responds to special 488 2 commands and the SCPI query SYStem ERRor The chapter contents are e Scanning Channels Commands 4 Page 33 e Using Scanning Trigger Sources 0 Page 33 e Scanning with External Instruments Page 33 e Using the Scan Complete Bit 0 00 0 Page 38 e Special 488 2 Commands RCL RST SAV Page 39 e SCPI Error Responses 2 0 000 ce eee eee ee eee Page 40 Scanning Channels Commands Scanning Form C Switch channels consists of closing a set of channels connecting NO to C one channel at a time Single scan multiple 2 to 32767 scans or continuous scanning modes are available See Figure 4 1 for scanning commands Using Scanning Trigger Sources TRIG SOUR specifies the source to advance the scan Use the TRIG command to advance the scan when TRIG SOUR BUS or TRIG SOUR HOLD is set The OUTP command enables the HP E1300A E1301A or HP E1405 E1406 Trig Out port Figure 4 2 shows scanning trigger sources Scanning With External Instruments Scanning Form C Switch channels has the same effect as executing multiple CLOSe commands Thus scanning is useful when the outputs from a number of devices under test DUT are to be measured with
20. Switch Channel 10 OUTPUT 70915 CLOS 102 Close channel 02 20 OUTPUT 7091 5 CLOS 102 Query channel 02 state 30 ENTER 70915 Value Enter result into Value 40 PRINT Value Display result 50 END Chapter 1 Getting Started with the HP E1364A 15 Notes 16 Getting Started with the HP E1364A Chapter 1 Chapter 2 Configuring the HP E1364A Form C Switch Using This Chapter This chapter shows how to make user connections to the Form C Switch and how to configure the switch module Chapter contents are e Warnings and Cautions 0 cee eee ee eee Page 17 e Connecting User Inputs 0 0 00 0s ee eee Page 18 e Typical Switch Configurations 04 Page 20 e Changing Form C Switch Components Page 23 e Module Front Panel Connections Page 24 Warnings and Cautions Warning SHOCK HAZARD Only qualified service trained personnel who are aware of the hazards involved should install configure or remove the module Use wire rated for the highest input voltage and remove all power sources from the mainframe and installed modules before installing or removing a module Caution MAXIMUM VOLTAGE CURRENT Maximum allowable voltage per channel for the module is 250 Vdc or 250 Vac RMS 350 V ac peak Maximum current per channel is 1 Adc or 1 Aac RMS non inductive Maximum power input is 40 W dc or 40 VA ac per channel or 320 W dc or 320
21. TERMINAL i BLOCK i Channel 00 CONO 1 JM150 JM102 oN ES Noj me oa O a TI NO wan NC I O 7 JM148 JM145 C15NO A ee ae 5V NO HO Doo DO 5V Pivot Armature NOTES El364A F3 2 1 Channel 15 is dedicated to supplying 5V to the microwave relay The 5V supply can be used to supply other external relays connected to the channel 15NO terminal 2 For this configuration power to the external relays is limited to 4A maximum 1A typical per Form C Switch You can use separate external power supplies to supply more than 4A or to supply voltages other than Figure 3 2 Example Controlling Microwave Relays Chapter 3 Using the HP E1364A Form C Switch 27 Example Controlling Figure 3 3 shows one way to drive HP 8761 SPDT RF Switches or HP RF Switches Step 33300 Series Programmable Step Attenuators Figure 3 3 only shows Attenuators control for the HP 33300 40 dB step Additional drive relays are required for the 10 dB and 20 dB steps The HP 8761A and HP 33300A C operate from a 12 15V coil voltage while the HP 8761B and HP 33300B D operate from a 24V 30V coil voltage For example to close channel 00 execute CLOS 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number To open channel 00 use OPEN 100
22. an instrument Two examples using HP BASIC programming language follow Chapter 4 Understanding the HP E1364A Form C Switch 33 Sets Number of Scanning Cycles ARM COUN lt numbers sets 1 to 32767 scanning cycles per INIT command Selects the Trigger Source o ARM COUN lt number gt TRIG SOUR defines the trigger source to advance the scan Default is TRIG SOUR IMM TRIG SOUR queries the current trigger source Sources are TRIG SOUR BUS HOLDJEXT IMM 3 BUS TRG via HP IB EXT Event In Connector HOLD Hold Triggering IMM Automatic advance Selects Continuous Scanning Cycles o INIT CONT 1 0 ON O FF Use INIT ON or INIT 1 to enable continuous cycles Default is fixed number of scans determined by the ARM COUN command SCAN MODE NONE VOL Selects Scan Mode SCAN MODE command sets the switchbox to the following measurement modes For the Form C Switch either NONE or VOLT sets g the switch for no measurement i e j SCAN lt channel_list gt i the command has no effect on Form o at C Switch operation Selects the Channel List for Scanning SCAN lt channel_list gt defines channels to be scanned using trigger i INIT source set by TRIG SOUR command iz Enables Scanning Enables scanning for any trigger source and closes the first channel in the channel list E1364A f4 1 Ad
23. connected to C point A is at 5V When the channel 00 relay is closed NO connected to C point A is at OV neal TERMINAL BLOCK JM148 CHONO CHONC 12 0 O O y O JM150 CHOC GND o O Q El364A F2 5 Figure 2 5 Example Digital Output Configuration 22 Configuring the HP E1364A Form C Switch Chapter 2 Changing Form C Switch Components As required you can e Change the Logical Address switch setting e Change interrupt priority jumper positions e Replace fuses on the switch component module See Figure 2 6 for component locations Terminal Block Connector cm ai i q Channel 00 15 Jumpers th JM102 JM105 JM147 C Jumpers tee ee EE EE He EE HE ee ee ee He EH HE JM101 JM104 JM146 NC Jumpers JM100 JM103 JM145 NO Jumpers 02 03 01 00 04 05 06 07 15 14 13 12 08 09 11 10 Protection Fuses F1 is 4A fuse for 5V supply ie eae F2 is 1A fuse for 12V supply Common Jumpers JM148 5V NO JM149 TUNE is Backplane Connector JM150
24. control external relays using the 5V NO source For this example channel 15 is dedicated to provide the 5V source to external relays 1 and 2 When the Form C Switch channel 00 relay is open external relay 1 is connected to ground and 5V is applied to external relay 1 When the Form C Switch channel 00 is closed external relay 2 is connected to ground and 5V is applied to external relay 2 ee L 5V External Relay Relay m OPEN 1 A CLOSED 2 TERMINAL BLOCK Channe 00 CONO JM150 JM102 ool O aL Oe ee NS des CONC gt O NE O 5 Ss li JM148 JM145 C15NO iNew oo O 5V E1364A F2 4 Chapter 2 Configuring the HP E1364A Form C Switch 21 Dig ital Output By connecting jumpers and installing pullup pulldown resistors you can Co nfigu ration configure the switch as a digital output device Note When connecting the 5V or 12V backplane sources for digital output operation you must install pullup resistors on the Form C Switch for the supplies used Also the total current drawn by user circuits should not exceed 1 A per Form C Switch for the 5V supply or 0 5 A per Form C Switch for the 12V supply You should fuse all external equipment to ensure excess current is not drawn Example Digital Figure 2 5 shows channel 00 configured for digital output operation When Output Configuration the channel 00 relay is open NC
25. e Selecting a Specific Module to be Monitored Use the DISPlay MONitor CARD command to send the card number for the switchbox to be monitored e Selecting the Present Module to be Monitored Use the DISPlay MONIitor CARD AUTO command to select the last module addressed by a switching command e g ROUTe CLOSe e 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 Chapter 5 HP E1364A Form C Switch Command Reference 47 MONitor STATe DISPlay MONitor STATe lt mode gt turns the monitor mode on or off Parameters Parameter Name Parameter Type Range of Values lt mode gt boolean ON I OFF 1 0 Comments e Monitoring Switchbox Channels DISPlay MONitor STATe ON or DISPlay MONitor STATe 1 turns the monitor mode ON to show the channel state of the selected module DISPlay MONitor STATe OFF or DISPlay MONitor STATe 0 turns the monitor mode OFF Selecting the Module to be Monitored Use the DISPlay MONitor CARD lt number gt AUTO command to select the module Monitor Mode on an HP E1301A Mainframe Display A typical display for the HP E1364A Form C Switch module follows where all channels all relays are closed 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 e RST Condition DISPlay MONitor STATe OFF 0 Example Enabling the Monitor Mode DISP MON CARD 2 DISP MON 1 Selects module
26. example to address the Status Control register of a Form C Switch in an HP E1300A E1301A the register address A16 location 16 base address 16 register offset 16 1FO00016 DE0016 0416 IFDE0416 Reading the Registers ID Device Type Registers Status Control Register You can read the following Form C Switch registers e ID register base 0016 e Device Type register base 0216 e Status Control register base 0416 e Channel Enable register base 0816 For the Form C Switch a read of the ID register base address 0016 returns FFFF16 since the multiplexers are manufactured by Hewlett Packard and are A16 only register based devices The Device Type register base 0216 returns FF2016 Each relay requires about 15 msec execution time close to open or open to close during which time the switch is busy A read of the Status Control register base 0416 returns FFFF16 when the module is not busy or returns FF7F16 bit 7 is low true when the module is busy 66 HP E1364A Form C Switch Registers Appendix B Channel Enable A read of the Channel Enable register base 0816 always returns FFFF 16 Register regardless of the channel states Writing to the Registers You can write to the following Form C Switch registers e Status Control register base 0416 e Channel Enable register base 0816 The only write allowed to the Status Control register base 0416 is to bit 0 Writing a 1
27. fuse s of the same voltage and current rating and type DO NOT use repaired fuses or short circuited fuse holders Keep away from live circuits Operating personnel must not remove equipment covers or shields Procedures involving the removal of covers or shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protection features built into this product have been im paired 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 Of fice for service and repair to ensure that safety features are maintained DO NOT service or adjust alone Do not attempt internal service or adjustment unless another person capable of rendering first aid and resuscitation is present DO NOT substitute parts or modify equipment Because of the danger of introducing additional hazards do not install substitute parts or perform any unauthorized modification to the product Return the product to a Hewlett Packard Sales and Service Office for service and repair to ensure that safety featu
28. multiple module set for the switches Leading zeroes can be ignored for the card number For a single module switchbox the card number is always 01 For a multiple module switchbox the card numbers are 01 02 nn The module with the lowest logical address is card number 01 the module with the next lowest logical address is card number 02 etc See the HP 75000 Series B Installation and Getting Started Guide for a definition of logical addresses Example Assume the three Form C Switches in the following figure form a Multiple Module switchbox instrument with switch logical addresses of 120 121 and 122 Switchbox Card Since card number 01 is assigned to the module with the lowest logical Numbers address etc the card numbers are as shown Multiple Module Switchbox Instrument SWITCH 1 Logical Address 120 o o La Card Number 01 SWITCH 2 o o Logical Address 121 o Card Number 02 ooze SWITCH 3 Logical Address 122 Card Number 03 Switch Channel Form C Switch channel numbers are 00 through 15 The channels can be Numbers addressed using channel numbers or channel ranges For a single module switchbox channel ranges can span across
29. to bit O resets the switch all channels open You must then write a 0 to bit O to complete the reset Note All relays are latching and will remain in the last state during power down and power up unless a reset occurs A reset connects all channel common C terminals to the corresponding normally closed NC terminals Any combination of channel open or closed states is allowed Channel Enable Writes to the Channel Enable register base 0816 enable you to open or Reg ister lose the desired channel see Figure B 1 For example write a 1 to bit 2 of the Channel Enable register to close channel 02 Or write a 0 to bit 14 of the register to open channel 14 Appendix B HP E1364A Form C Switch Registers 67 Notes 68 HP E1364A Form C Switch Registers Appendix B Appendix C HP E1364A Form C Switch Error Messages Table C l lists the error messages associated with the Form C Switch module programmed by SCPI See the appropriate mainframe manual for a complete list of error messages Table C 1 Form C Switch Error Messages No 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 INIT command when a scan is already in progress 224 Illegal parameter value Attempting to execute a command with a parameter not applicable to the command 1500 External trigger source As
30. to line 10 Also you may need to add a WAIT statement as line 65 depending on the speed of the measurement 10 OUTPUT 722 TRIG EXT Ext triggering 20 OUTPUT 70915 OUTP ON Enable Trig Out Port 30 OUTPUT 70915 TRIG SOUR BUS Bus triggering 40 OUTPUT 70915 SCAN 100 102 Scan channels 00 02 50 OUTPUT 70915 INIT Enable scan 60 FOR 1 TO3 Start loop 70 ENTER 722 A Enter result 80 PRINT A Display result 90 TRIGGER 70915 Advance scan 100 NEXT Increment count 110 END Chapter 3 Using the HP E1364A Form C Switch 31 To DUTs m HP E1300 01 Mainframe Channel 00 01 02 External HP E1364A o NO nstrument O O NC C Trig Meas Ext Trig Out Input In G G o E1364 f3 6 Figure 3 6 Example Scanning Using Trig Out Port Scanning Channels Channel List Can Extend Across Boundaries For multiple module Comments switchbox instruments the channels to be scanned can extend across switch modules For example for a two module switchbox instrument SCAN 100 215 will scan all channels of both Form C Switches Setting Multiple Continuous Scans Use ARM COUNt lt number gt to set from 1 to 32767 scans Use INITiate CONTinous ON to set continuous scanning See Chapter 4 for details 32 Using the HP E1364A Form C Switch Chapter 3 Chapter 4 Understanding the HP E1364A Form C
31. 2 488 2 Commands 39 COUNt COUNt 45 A Abbreviated Commands 42 ABORt Subsystem 44 Address Channel 13 Addressing Registers 66 ARM Subsystem 45 ARM COUNt 45 ARM COUNt 46 C Card Numbers 14 CDEScription 57 Certification 5 Channel Addresses 13 Channel List 34 Index HP E1364A 16 Channel Form C Switch Module Channel Numbers 14 Channel Registers 65 67 CLOSe 52 CLOSe 53 54 Colon in commands 42 Command Quick Reference 62 Command Reference 41 62 Command Separator 42 Command Types 41 Commands Abbreviated 42 Common Commands 41 Implied 42 Linking 43 Parameters 43 SCPI 41 Separator 42 Comment sheet reader 9 Common Command Format 41 Common Commands 61 Configuration 13 20 Conformity declaration 7 Connecting User Inputs 18 Connector Front Panel 24 Connectors 18 CONTinuous 49 CONTinuous 50 Control Register 65 66 Controlling Microwave Relays 27 Controlling RF Switches Step Atdenuators 28 COUNt 46 CPON 58 CTY Pe 57 D Declaration of conformity 7 Defintions Register 65 68 Defintition Instrument 11 Device Type Register 65 66 Digital Output Configuration 22 29 DISP MON CARD 47 DISP MON STAT 48 DISPlay Subsystem 47 Documentation history 6 HP E1364A 16 Channel Form C Switch Module Index 71 E Enable Scanning 34 End of Relay Life 64 ERRor 56 Error Messages 69 70 Error Responses 40 Event In Port 37 Example Controlling Microwave Relays 27 Controlling R
32. 40464 pia oe HERE RH 25 Using Ths Chapier ui ea OAR eee epee Rea EERE OE 25 Form SwichCommands ira 244 6 EP REG SEER we RE RE GES 25 Sica CHANCE opa ek ee EE A A AA bot 26 Switching Channels Comments o o e 30 AA Oh ee RS ORR we REAR E SESS RES 31 Scanning Channels Comments socias 44628 45 a ow bE RES 32 4 Understanding the HP E1364A Form C Switch sanaaa a 33 Usine Ths Copiii poe 44 be oe rior se rihh SG Ewe eR OS ENS 33 Scanning Channels Commands s ee ek Sk RAR Rk ek 33 Using Scanning Trigger SourceS 454454264 bbe 6 eo we EER DEE HOH SD 33 Scanning With External Instruments 0 00002 eee eee 33 Using the Scan Complete Bit cis ea RRE A 38 Special 488 2 Commands a tin A A eak 39 HP E1364A Form C Switch Module User s Manual Contents 1 o odd he Geek ae E od pd eke ig he Roe BE do at 39 Recalling SAES ed oe eR aaa A EEE ES DERE Cee e 39 SOP Bitor RESPONSES ae ireke RS RE ee SERRE Re Re 40 5 HP E1364A Form C Switch Command Referenc nie dk oe a ee RO 41 Using Ths Cage iconos EERE AA A 41 Command RA A A ARS A RA 41 common Command Pormat egea eeaeee i k a ke a A ao 41 SCPI Command Formal ice be eS a eK EERE ERR OT ae ERR ER ea 41 Command Seperate oes ac A EA A AAA 42 Abbreviated Commands o ooo res 42 Implied Commands rra a DERE RE REED 42 Paramet cp coh eh bach cd KEE SRR OSES EERE SER 43 Linku OS e a RRR Rh oe ee ee oe See A 43 SCPL Command Relei enos 2 24 6 kc RRS SE a 44 HBOR ogad
33. C port HOLD discrete Hold Triggering IMMediate discrete Immediate Triggering e Enabling the Trigger Source The TRIGger SOURce command only selects the trigger source The INITiate MMediate command enables the trigger source e Using the TRIG Command You can use TRIGger MMediate to advance the scan when TRIGger SOURce BUS or TRIGger SOURce HOLD is selected e Using External Trigger Inputs With TRIGger SOURce EXTernal selected only one switchbox at a time can use the external trigger input at the HP E1300A E1301A mainframe Event In BNC port The trigger input is assigned to the first switchbox that requested the external trigger source with a TRIGger SOURce EXTernal command Assigning External Trigger A switchbox assigned with TRIGger SOURce EXTernal remains assigned to that source until the switchbox trigger source is changed to BUS HOLD or IMMediate When the source is changed the external trigger source is available to the next switchbox which requests it with a TRIGger SOURce EXTernal command If a switchbox requests an external trigger input already assigned to another switchbox an error is generated Chapter 5 HP E1364A Form C Switch Command Reference 59 e Using Bus Triggers To trigger the switchbox with TRIGger SOURce BUS selected use the IEEE 488 2 common command TRG or the HP IB Group Execute Trigger GET command Trig Out Port Shared by Switchboxes See the OUTPut command Related C
34. CHANNEL 15 JM145 C C15NO O Q JM146 O O C15NC gt gt ott cise Figure 1 1 Form C Switch Simplified Diagram 12 Getting Started with the HP E1364A Chapter 1 Typical Configuration The Form C Switch accepts user inputs up to 250 V de or 250 V ac peak 177 V ac RMS at 1 A de or ac RMS non inductive Maximum rated power capacity is 30 W or 40 VA per channel Channel closure time is about 15 msec so the maximum scan rate is about 50 Hz As noted the switch may be configured for general purpose switching scanning control or digital output applications For general purpose switching or scanning no additional configuration is required To configure the switch for control applications install jumpers to connect a 5V or 12V source and GND To configure the switch for digital output applications connect jumpers and install pullup pulldown resistors as required See Chapter 2 for configuration details For a SCPI Standard Commands for Programmable Instruments environment multiple Form C Switches can be configured as a switchbox instrument For a switchbox instrument all switch channels within the instrument can be addressed using a single interface address Single multiple or continuous scanning of specified switch channels is available for any switchbox configuration Programming the Switch Note Specifying SCPI Commands Switch Channel Addresses To program the Form C Switch using
35. Contents HP E1364A Form C Switch Module User s Manual AUTEM e de ys AR ie GE ok Bite Ry GOA oh BG Ge BO aH GR doe S 5 WARNER ES Se RS A 6 Saleh SFM soy eee hE Ee RELA ER EL obee EDR EE ES 6 Declinibiob of LSO a ol eee Ade ee hk he Oe eh ea 7 Reader Comment Sheet 24 4 044664 ao aa E E 9 1 Getting Stated with the HP EUSOAA oro cerren AR 11 sie Ts ERASE cardiac a edhe Ss 11 Tostrimient DEMO ooi he ee hb eee RKO SE OPER BER E CORE ES 11 SACA Desens ak cK ARES Pee ee EERE EEELERS ROO 11 Basie Ope AA ae ek eo he ho kg eo ee kak aot 11 Typical ConTisucilion 6 pickiest asec bended eer ne Sob eS k 13 Programming the Switch 2G ae de hed aS AAA 13 Specie SCPL COMMAS a e ok ka oh hae ee RE RRS ER ES EHS 13 SICH Ca Numbers i ee kb he A ai ee ee ee ae 14 Switch Channel Numbers y cb de beh aKa he A ERS RES 14 IsOpen 6a oka ke a eee H ER SSS SY ERODE ERS 15 2 Configuring the HP E1364A Form C Switch 2 2 ee ee ee 17 Use THs haper xk 6K RARE A ARA AAA COREE EA 17 Waminssand ALOE ee ee a IR A a 17 Comcttina User PiS can E RR AA A o 18 Typical Switch Configurations 3266p eee eee Re ee KEE EHH 20 General Purpose Relay Configuration o 20 Relay Control Comisursien 2 44 4 64 4 6 A Se ee 20 Digital Output Configuration so saires AA 22 Changing Form C Switch Components anoss sssr 0 000 eee eee 23 Module Front Panel Connections 2 44 54 2h da oie radd ARAE kE ws 24 3 Using the HP EI364A Form C Switch 4 026644 054 4
36. ES ERE EEO OEP ESE RS 63 Rely Liika 644 006 bh bake Re ee Os bo ache a A ee be Rete e 64 Bnd oft Lie DeeCH 5 4 ke oh CRM REDE ERE REAR GR ROSH EOS 64 Rephicsien Siateee sg ke ee ee Ro oe ee ha eS ee ee 64 B HP El364A Form C Switch Registers 2 ce lt ee ee eii 65 Register Dee 62455 2a eke SE OLE Oe Sa BREESE BR Oe SERA 65 Addresse e REGIS ce REGED HHSSE EER EDR 66 Rele RSS A SAO HY SERRE ERE EES 66 IDWDevice Type Resists ok ook be dw RE RHRYRE EEA YR KES ARES 66 SOMEONE ah Kee Ea Se we ORE RE CERES SRS 66 Channel PE male RESISTE aoas opa aoe pe Book lk ry hob ah ae Be es kd hd 67 Witte tO ihe RESIS oc ieee ht eee GK A EEO EEKE DE EHS 67 Channel Enable Register oc 64k RR Ko A ARA RA ERE 67 C HP E1364A Form C Switch Error Messages unana eee ee ee 69 HP E1364A Form C Switch Module User s Manual Contents 3 Notes 4 HP E1364A Form C Switch Module User s Manual Contents 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 Tech nology 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
37. F Switches Step Attenuators 28 Digital Output Configuration 29 Matrix Switching 30 Scan Complete Interrupt 38 Scanning Using Trig Out and Event In Ports 37 Scanning Using Trig Out Port 31 Scanning with External Instruments 36 Voltage Switching 26 External Instruments 33 36 F Field Wiring 18 Form C Switch Description 11 Front Panel 24 Fuses 23 G General Purpose Relay Configuration 20 H HP 8761 RF Switches 28 ID Register 65 66 IEEE 488 2 Common Commands 61 IMMediate 50 58 Implied Commands 42 INIT CONTinuous 49 INIT CONTinuous 50 INIT IMM 25 INIT IMMediate 50 Initial Operation 15 INITiate Subsystem 49 Instrument Definition 11 Interrupt PriorityLogical Address 23 J Jumpers 13 22 L Latching Relay 11 Linking Commands 43 Mainframes 11 Matrix Switching 30 Microwave Relays 27 Module Description 11 Module Numbers 14 MON CARD 47 MON STAT 48 O OPEN 53 Operation Status Register 38 Operation Basic 11 Operation Initial 15 OPERation ENABle 56 OPERation EVENT 55 OUTP STAT ON 25 OUTPut Subsystem 51 OUTPut STATe 51 OUTPut STATe 51 P Parameters Commands 43 Programming the Switchbox 13 Q Quick Reference 62 R RCL 39 Reader comment sheet 9 Reading Registers 66 Recalling States 39 Register Addressing 66 Register Reading 66 Registers 65 68 Relay Configuration 20 Relay Control Configuration 20 72 HPE1364A 16 Channel Form C Switch Module Index
38. NO E r NO A 2 ay ae NC C NC l A Cac O El364A F3 1 Figure 3 1 Example Voltage Switching 26 Using the HP E1364A Form C Switch Chapter 3 Example Controlling Microwave Relays This example shows one way that the Form C Switch can be used to control an external microwave relay Figure 3 2 shows an HP 33311B Microwave Relay connected to channel 00 of a Form C Switch The 5V source for the microwave relay is provided via channel 15 of the Form C Switch via JM148 JM145 and the channel 15NO terminal With this configuration the Form C Switch provides a ground path for the coil current of the microwave relay For example with the Form C Switch channel 00 relay open NC connected to C a ground path via the channel ONC terminal the channel 00 relay JM102 and JM150 is provided for the NC side of the microwave relay When the microwave relay NC contact is closed 5V is applied to the microwave NC coil and the coil is energized The same actions occur for the NO side of the microwave relay 1f the Form C Switch channel 00 relay is closed NO connected to C To close channel 00 execute CLOSE 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number To open channel 00 use OPEN 100 uWave Relay or Attenuator HP 333118 ONE HP E1364 o
39. PI Command Reference 0005 Page 44 e Common Command Reference 004 Page 61 e Command Quick Reference 00200 0005 Page 62 Commands are separated into two types IEEE 488 2 Common Commands and SCPI commands 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 key word is separated from the first parameter by a space character Some examples of Common Commands are shown below RST ESR 32 STB The SCPI commands perform functions like closing switches making measurements and 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 lt channel_list SCAN lt channel_list gt MODE ROUTe is the root command CLOSe and SCAN are second level commands and MODE is a third level command Chapter 5 HP E1364A Form C Switch Command Reference 41 Command Separator Abbreviated Commands Implied Commands A colon always separates one command from the next lower level command as shown below ROUTe SCAN MODE Colons sep
40. Restricted Rights Legend Use duplication or disclosure by the U S Government is subject to restrictions as set forth in subparagraph c 1 ii of the Rights in Technical Data and Computer Software clause in DFARS 252 227 7013 Hewlett Packard Company 3000 Hanover Street Palo Alto California 94304 U S A Rights for non DOD U S Government Departments and Agencies are as set forth in FAR 52 227 19 c 1 2 LA HEWLETT P PACKARD HP E1364A 16 Channel Form C Switch Module User s Manual Edition 2 Copyright 1995 Hewlett Packard Company All Rights Reserved HP E1364A 16 Channel Form C Switch Module User s Manual 5 Documentation History All Editions and Updates of this manual and their creation date are listed below The first Edition of the manual is Edition 1 The Edi tion number increments by whenever the manual is revised Updates which are issued between Editions contain replacement pages to correct or add additional information to the current Edition of the manual Whenever a new Edition is created it will contain all of the Update information for the previous Edition Each new Edition or Update also includes a revised copy of this documentation his tory page A A wee A September 1989 PW 2 PA a E E a A E April 1995 Safety Symbols Instruction manual symbol affixed to prod uct Indicates that the user must refer to the Ay Alternating current AC manual for specific WARNING or CAU TION information t
41. UN 10 Set 10 scans per INIT command SCAN 100 103 Scan channels 00 03 INIT Start scan close channel 00 Chapter 5 HP E1364A Form C Switch Command Reference 45 COUNt ARM COUNt MIN MA X returns the current number of scanning cycles set by ARM COUNt The current number of scan cycles is returned when MIN or MAX is not supplied With MIN or MAX as a parameter MIN returns 1 and MAX returns 32767 Parameters Parameter Name Parameter Type Range of Values MIN MAX numeric MIN 1 MAX 32767 Comments e Related Commands INITiate IMMediate Example Query Number of Scans This example sets a switchbox for 10 scanning cycles of channels 00 through 03 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 Query number of scans 46 HP E1364A Form C Switch Command Reference Chapter 5 DISPlay The DISPlay subsystem monitors the channel state of a selected module or card in a switchbox This subsystem operates only with mainframes which have a display such as the HP 75000 Series B mainframe HP Model Number E1301A Subsystem Syntax DISPlay MONitor CARD lt number gt AUTO STATe lt mode gt MONitor CARD DISPlay MONitor CARD lt number gt AUTO selects the module in a switchbox to be monitored Parameters Parameter Name Parameter Type Range of Values lt number gt AUTO numeric 1 99 Comments
42. VA ac per module Exceeding any limit may damage the module Caution CONNECTING 5V 12V On the module the backplane 5V line is fused at 4 A and the 12V line at 1 A When connecting 5V or 12V to the Form C Switch install appropriate pullup resistors to prevent shorting the power supplies Also the total current drawn by all circuits connected to the Form C Switch must not exceed the fuse rating for the supplies used Chapter 2 Configuring the HP E1364A Form C Switch 17 Caution STATIC SENSITIVE DEVICE Use anti static procedures when removing configuring and installing a module The Form C Switch is susceptible to static discharges Do not install the Form C Switch without its metal shield attached Connecting User Inputs The Form C Switch consists of a component module and a connector block User inputs to the Form C Switch are to the NO NC and C terminal connectors on the terminal block Figure 2 1 shows the connector block and associated channel numbers Figure 2 2 shows how to connect user field wiring to the connector block a SR Strain Relief Clamp Route wires under clamp to reduce chances of wires being pulled out of terminals LV TTT tT ft CH 34 CH 27 CH 1 CH OY SSOSSSSSOISNSOSS HG LHGLHGL L CH 747 CH 647 CH 547 CH 44 Terminal Connector Connect to component card terminal connector
43. and Related Commands ABORt ARM COUNt TRIGger TRIGger SOURce RST Condition INITiate CONTinuous OFF Example Enabling Continuous Scanning This example enables continuous scanning of channels 00 through 03 of a single module switchbox Since TRIGger SOURce IMMediate default is set use an interface clear command such as CLEAR to stop the scan INIT CONT ON Enable continuous scanning SCAN 100 103 Defines channel list INIT Start scan cycle close channel 00 Chapter 5 HP E1364A Form C Switch Command Reference 49 CONTinuous INiTiate CONTinuous queries the scanning state With continuous scanning enabled the command returns 1 With continuous scanning disabled the command returns 0 Example Query Continuous Scanning State This example enables continuous scanning of a switchbox and queries the state Since continuous scanning is enabled INIT CONT returns 1 INIT CONT ON Enable continuous scanning INIT CONT Query continuous scanning IMMediate INITiate IMMediate starts the scanning process and closes the first channel in the channel list Successive triggers from the source selected by the TRIGger SOURce command advance the scan through the channel list Comments e Starting the Scanning Cycle The INITiate MMediat command starts scanning by closing the first channel in the channel list Each trigger received advances the scan to the next channel in the channel list An invalid channel list definition caus
44. ape for mailing Reader Comment Sheet HP E1364A 16 Channel Form C Switch Module User s Manual Edition 2 You can help us improve our manuals by sharing your comments and suggestions In appreciation of your time we will enter you in a quarterly drawing for a Hewlett Packard Palmtop Personal Computer U S government employees cannot participate in the drawing Your Name City State Province Company Name Country Job Title Zip Postal Code Address Telephone Number with Area Code Please list the system controller operating system programming language and plug in modules you are using fold here NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL o FIRST CLASS PERMIT NO 37 LOVELAND CO A E POSTAGE WILL BE PAID BY ADDRESSEE y HEWLETT PACKARD COMPANY Measurement Systems Division o Learning Products Department P O Box 301 Loveland CO 80539 9984 Mmmm dodo fold here Please pencil in one circle for each statement below Disagree _ mm Agree e The documentation is well organized O O O O O e Instructions are easy to understand O O O O O e The documentation is clearly written O O O O O e Examples are clear and useful O O O O O e Tllustrations are clear and helpful O O O O O e The documentation meets my overall expectations O O O O O Please write any comments or suggestions below be specific 10 HP E1364A Form C Switch Module User s Manual Chapter 1
45. arate the root command from the second level command ROUTe SCAN and the second level from the third level SCAN MODE 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 For better program readability you may send the entire command The instrument will accept either the abbreviated form or the entire command For example if the command syntax shows MEASure then MEAS and MEASURE are both acceptable forms Other forms of MEASure such as MEASU or MEASUR will generate an error You may use upper or lower case letters Therefore MEASURE measure and Me AsUrE 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 this case the instrument assumes 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 PERiod PERiod The root command SOURCce is an implied command To set the instrument s pulse count to 25 you can send either of the following command statements SOUR PULS COUN 25 or PULS COUN 25 42 HP E1364A Form C Switch Command Reference C
46. ch is set for general purpose relay configuration For this configuration you can switch channels by opening or closing channel relays or you can scan a set of channels Figure 2 3 shows a typical general purpose relay configuration for channel 00 When the relay is open the NC terminal is connected to the C terminal and Load 1 is connected When the relay is closed the NO terminal is connected to the C terminal and Load 2 is connected TERMINAL BLOCK Channe V 00 NO C NO C 2 2 CONC 5 NC 1 COC LS RELAY LOAD OPEN 1 CLOSED 2 El364A F2 3 Figure 2 3 Example General Purpose Relay Configuration Relay Control Configuration Note By connecting jumpers you can use the Form C Switch to drive control external relays The source can be 5V NO 5V NC 12V NO or 12V NC depending on the jumpers connected on the switch See Figure 1 1 in Chapter 1 for jumper numbers and see Figure 2 6 for jumper locations When connecting the 5V or 12V backplane sources the total current draw should not exceed 1 A per Form C Switch for the 5V supply or 0 5 A per Form C Switch for the 12V supply You should fuse all external equipment to ensure excess current is not drawn 20 Configuring the HP E1364A Form C Switch Chapter 2 Example Relay Control Configuration Figure 2 4 Example Relay Control Configuration Figure 2 4 shows one way to
47. e STATus OPERation ENABle Enables the Operation Status Register to set a bit in the Status Register OPERation EVENt Returns status of Operation Status Register SYSTem CDEScription lt number gt Returns description of module in a switchbox CPON lt number gt ALL Sets specified module to its power on state CTYPe lt number gt Returns the module type ERRor Returns error number message in a switchbox Error Queue TRiGger IMMediate Causes a trigger to occur SOURce BUS Trigger source is TRG SOURce EXTernal Trigger source is Event In BNC SOURce HOLD Hold off triggering SOURce IMMediate Continuous internal triggers SOURce Query scan trigger source IEEE 488 2 Common Commands Quick Reference Command Title Description RST Reset Opens all channels and 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 62 HP E1364A Form C Switch Command Reference Chapter 5 Appendix A HP E1364A Specifications Maximum Input Voltage C to NC or NO Any term to chassis 250VDC 250VDC 250VAC RMS 250VAC RMS 354VAC Peak 354V AC Peak Maximum Current Per switch 1A DC 1A AC RMS Maximum Power Per switch 40W DC 40VA AC Per module 320W DC 320VA AC Thermal Offset lt 7
48. e all switches open B Status busy is true low in bit 7 FF7F 6 Channel Enable Register b 0816 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write CH15 CH14 CH13 CH12 CH11 CH10 CH9 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 CHO Read Always Returns FFFF 16 Write 1 closes channel write 0 opens channel close connect NO to C open connect NC to C Figure B 1 Form C Switch Register Definitions Appendix B HP E1364A Form C Switch Registers 65 Addressing the Registers To read or write to specific registers you must use the register address Since the addresses for HP 75000 Series B or Series C plug in modules are AOO through A15 use the VME A16 mnemonic for the address space The address space within the mainframe command module memory map depends on the mainframe command module used For example the address of the HP E1300A E1301A Mainframe starts at 1F000016 In the HP E1300 E1301 the A16 space is divided so modules are addressed only at locations beginning with C00016 within A16 Each module is allocated 64 register addresses 4016 The module base address is related to the logical address set by the logical address switch LADDR on the module base address hexadecimal logical address 16 4016 CO00 16 For the Form C Switch the factory set logical address is 120 78 so the base address 7816 4016 C16 DE0016 Then for
49. eading the Description of a Card 1 Module SYST CDES 1 Returns the description SYSTem CTYPe lt number gt returns the module card type of a selected module in a switchbox Parameter Name Parameter Type Range of Values lt number gt numeric 1 99 e Form C Switch Module Model Number The SYSTem CTYPe lt number gt command returns HEWLETT PACKARD E1364A 0 A 01 00 where the O after E1364A is the module serial number always 0 and A 01 00 is an example of the module revision code number Reading the Model Number of a Card 1 Module SYST CTYP 1 Return the model number Chapter 5 HP E1364A Form C Switch Command Reference 57 CPON Parameters Comments Example TRIGger Subsystem Syntax IMMediate Comments SYSTem CPON lt numbers ALL sets the selected module card in a switchbox to its power on state Parameter Name Parameter Type Range of Values lt number gt numeric 1 99 e Form C Switch Module Power On State The power on state is all channels relays open Note that RST opens all channels of all modules in a switchbox while SYSTem CPON lt number gt opens the channels in only the module card specified in the command Setting Card 1 Module to its Power On State SYST CPON 1 Sets module 1 to power on state The TRIGger command subsystem controls the triggering operation of Form C Switch modules in a switchbox TRIGger IMMediate
50. ed 0 for channel s open ROUTe OPEN returns a 0 for channel s closed 1 for channel open Commands are software queries and do not account for relay hardware failures Channel Closure Order ROUTe CLOSe lt channel_list gt can be used to close multiple channels one at a time but the sequence in which multiple channels are closed with a single command is not guaranteed 30 Using the HP E1364A Form C Switch Chapter 3 Scanning Channels e For the Form C Switch scanning channels consists of closing a specified set of channels one channel at a time You can scan any combination of channels for a single module or a multiple module switchbox e Single multiple or continuous scanning modes are available See Chapter 4 for information on scanning Form C Switch channels Example Scanning This example shows one way to synchronize instrument measurements of Using Trig Out Port devices under test DUT with Form C Switch channel closures For measurement synchronization the HP E1300A E1301A Trig Out BNC port is connected to the instrument External Trigger In port See Figure 3 6 for typical user connections For this example the mainframe and instrument are connected via HP IB to an HP E1300A E1301A mainframe with an address of 709 and an external instrument such as an HP 3457A Multimeter with an address of 722 The Form C Switch is at logical address 120 secondary address 15 Note You must add required instrument commands
51. es an error see ROUTe SCAN e Stopping Scaming Cycles See ABORt Example Enabling a Single Scan This example enables a single scan of channels 00 through 03 of a single module switchbox The trigger source to advance the scan is immediate internal triggering set with default TRIGger SOURce IMMediate SCAN 100 103 Scan channels 00 03 INIT Begin scan close channel 00 use immediate triggering 50 HP E1364A Form C Switch Command Reference Chapter 5 OUTPut Subsystem Syntax STATe Parameters Comments Example STATe Example The OUTPut command subsystem enables or disables the Trig Out port of the HP E1300A E1301A Mainframes or on the HP E1405 E1406 Command Modules OUTPut STATe lt mode gt STATe OUTPut STATe lt mode gt enables or disables the Trig Out BNC port on the rear panel of the HP E1300A E1301A Mainframes or on the HP E1405 E1406 Command Modules OUTPut STATe ON 1 enables the port and OUTPut STATe OFF 0 disables the port Parameter Name Parameter Type Range of Values lt mode gt boolean ON OFF 1 0 e Enabling Trig Out Port When enabled a pulse is output from the Trg Out port after each scanned switchbox channel is closed If disabled a pulse is not output from the port after channel closures The output pulse is a 5 V negative going pulse Trig Out Port Shared by Switchboxes When enabled the Trig Out port is pulsed each t
52. eturned as a string CLOS 100 213 Close channels 100 and 213 CLOS 100 213 Query channels 100 and 213 state OPEN ROUTe OPEN lt channel_list gt opens the Form C Switch channels specified by channel_list channel_list has the form ccnn where cc card number 01 99 and nn channel number 00 15 Parameters Parameter Name Parameter Type Range of Values lt channel_list gt numeric cc00 cc15 Comments e Opening Channels To open a single channel use ROUTe OPEN ccnn for multiple channels use ROUTe OPEN ccnn ccnn for sequential channels use ROUTe OPEN ccnn ccnn for groups of sequential channels use ROUTe OPEN ccnn ccnn ccnn ccnn or any combination Opening order for multiple channels with a single command is not guaranteed e Related Commands ROUTe CLOSe ROUTe OPEN e RST Condition All channels open Example Opening Channels This example opens channels 100 and 213 of a two module switchbox card numbers 01 and 02 OPEN 100 213 Open channels 100 and 213 100 opens channel 00 of 1 and 213 opens channel 13 of card 2 Chapter 5 HP E1364A Form C Switch Command Reference 53 OPEN ROUTe OPEN lt channel_list gt returns the current state of the channel s queried channel_list has the form ccnn see ROUTe OPEN for definition The command returns 1 if channel s are open or returns O if channel s are closed Comments e Query is Software Readback T
53. g IEEE 488 2 Common Commands with SCPI Commands Use a semicolon between the commands For example RST OUTP ON or TRIG SOUR HOLD RST Linking Multiple SCPI Commands Use both a semicolon and a colon between the commands For example ARM COUN 1 TRIG SOUR EXT Chapter 5 HP E1364A Form C Switch Command Reference 43 SCPI Command Reference This section describes the Standard Commands for Programmable Instruments SCPI commands for the Form C Switch Commands are listed alphabetically by subsystem and also within each subsystem ABORt The ABORt command subsystem stops a scan in progress when the scan is enabled via the interface and the trigger source is TRIGger SOURce BUS or TRIGger SOURce HOLD Subsystem Syntax ABORt Comments ABORt Actions ABORt invalidates the current channel list and sets ARM COUNt 1 one scanning cycle per INITiate command sets INITiate CONTinuous OFF no continuous scanning cycles and sets TRIGger SOURce IMMediate immediate internal triggering Stopping Scan Enabled From Interface When a scan is enabled from an interface an interface CLEAR command or the HP E1301A front panel Reset Instr or Clear Instr keys can be used to stop the scan When the scan is enabled from the interface and TRIG SOUR BUS or HOLD is set use ABORt or the HP E1301A front panel Reset Instr or Clear Instr keys to stop the scan Stopping Scan Enabled From Front Panel When a scan is enabled from t
54. hapter 5 Parameters Parameter Types The following table contains explanations and examples of the parameter types you might see later in this chapter Table 5 1 SCPI Parameter Types Parameter Type Explanations and Examples Numeric 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 Discrete Selects from a finite set of values These parameters use mnemonics to represent each valid setting An example is TRIGger SOURce lt source gt where lt source gt can be BUS EXT HOLD or IMM 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 command If you send the command without specifying a 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 available Be sure to place a space between the command and the parameter Linking Commands Linkin
55. he HP E1301A front panel you can use RST entered via the interface or the front panel Reset Instr or Clear Instr keys to stop the scan Related Commands ARM INITiate CONTinuous ROUTe SCAN TRIGger Example Stopping a scan with ABORt This example stops a continuous scan in progress TRIG SOUR BUS TRG command is trigger source INIT CONT ON Set continuous scanning SCAN 100 103 Scan channels 00 through 03 INIT Start scan close channel 00 ABOR Abort scan in progress 44 HP E1364A Form C Switch Command Reference Chapter 5 ARM The ARM subsystem selects the number of scanning cycles 1 to 32767 for each INITiate command Subsystem Syntax ARM COUNt lt number gt MIN MAX COUNt MIN MAX COUNt ARM COUNt lt number gt MIN MAX allows scanning cycles to occur a multiple of times 1 to 32767 with one INITiate command when INITiate CONTinuous OFF 0 is set MIN sets 1 cycle MAX sets 32767 cycles Parameters Parameter Name Parameter Type Range of Values lt number gt numeric 1 32767 MIN MAX Comments e Number of Scans Use only values between 1 and 32767 for the number of scanning cycles e Related Commands ABORt INITiate MMediate e RST Condition ARM COUNt 1 Example Setting Ten Scanning Cycles This example sets a Form C Switch for 10 scans of channels 00 through 03 When the scan sequence completes channels 00 through 03 relays 00 through 03 are closed ARM CO
56. he ROUTe OPEN command returns the current software state of the channels specified It does not account for relay hardware failures A maximum of 127 channels at a time can be queried for a multi module switchbox Example Query Channel Open State This example opens channels 100 and 213 of a two module switchbox and queries channel 213 state Since channel 213 is programmed to be open 1 is returned OPEN 100 213 Open channels 100 end 213 OPEN 213 Query channel 213 state SCAN ROUTe SCAN lt channel_list gt defines the channels to be scanned channel_list has the form ccnn where cc card number 01 99 and nn channel number 00 15 Parameters Parameter Name Parameter Type Range of Values lt channel_list gt numeric cc00 cc15 Comments e Defining Scan List When ROUTe SCAN is executed the channel list is checked for valid card and channel numbers An error is generated for an invalid channel list e Scanning Channels You can scan single channels ccnn multiple channels ccnn ccnn sequential channels ccnn ccnn groups of sequential channels ccnn ccnn ccnn ccnn or any combination Scanning Operation When a valid channel list is defined INITiate IMMe diate begins the scan and closes the first channel in the channel list Successive triggers from the source specified by TRIGger SOURce advance the scan through the channel list e Stopping Scan See ABORt Related Commands
57. heb a SAE SSE SAME CERES ELE AE 44 AR a ccrh eek etek te dep eke weak A oe Dae eee Sr Pee eS 45 E oe ses ee ee Stee eh ek ee ee GS 45 ICOUNI oa Rhode abe HESS EEREA GS HO G4 a EE ESSERE 46 DSPE oe ke REO SEE ERED RRA GRR de RR ee 47 MONTON CARS escri ee ROR eR Ee eS DE OH ES SHES 47 MONKOSTATe o 6 bok AGRA ORES Dwr RARE ER ES 48 We iaa EE a SEALERS ASSES ESSER AE SE SEES 49 CONTOS eo ke a ee Re EE eee ARA RSE ES 49 CONT HUE peeta Ge eo ae Ph ke ag hon me ha A e a 50 LMNediae oeri eo ee HO RARE ka EELE DR OEK ERS ORES 50 CUTE vc hehe eed ADR ERK RARA OE EERE EES 51 pa A IAN 51 ATTAR ra da A CS ore d 51 ROOTES sensor ra dae aa 52 ET DRAE EEN ED E E Ra 52 AE 53 OFEN IA a3 OPENS 2294 tees dob 24S DAA Fe E BORER SES 54 AA 54 SCANIMODE 24k bieawhedd ae bed Ge e 35 STANGER A E RS PRR RAD hE RARER RDS ORR 55 fOPERSHONR EVENT 2144280 k4e2oG4 20 ea ee eR OES GR e 55 OPERatioMm FNAB o paeka ARO a a AR 56 E AAA NI ET EE TE AREE EEEE EE E 56 PERRO 65 Sh 4 db AAA DAA 56 PORES i PR i 2100 AA E Ge eR a E he ate oe BES Se i oh 57 CIPE Beko a bo RES A AR eee 37 MPO A EIA 58 TRI car pride di a A Gd 58 a PS DER OH DERE ERE WES 58 SURESTE ORE OE KOE Oe ee eRe RK a 59 DOURG gt eke eb ee ee eh hee ee ee oe Bee SS 60 2 HP E1364A Form C Switch Module User s Manual Contents IEEE 488 2 Common Commands 0 00000 eee ee ee eee 61 Command Quick Reference kine ee ORK ewe EKER a KERR ERS 62 AHP EISA Speciheahons 26 oe ke hE ae O
58. ime a scanned channel is closed To disable the output for a specific switchbox send the OUTPut STATe OFF or OUTPut STATe 0 command for that switchbox e Related Commands ROUTe SCAN TRIGger SOURce e RST Condition OUTPut STATe OFF port disabled Enabling Trig Out Port OUTP STAT ON Enable Trg Out port to output pulse after each scanned channel is closed OUTPut STATe queries the present state of the Trig Out port The command returns 1 if the port is enabled or 0 if the port is disabled Query Trig Out Port Enable State This example enables the Trig Out port and queries the enable state The OUTPut STATe command returns 1 since the port is enabled OUTP STAT ON Enable Trig Out port OUTP STAT Query port enable state Chapter 5 HP E1364A Form C Switch Command Reference 51 ROUTe The ROUTe command subsystem controls switching and scanning operations for Form C Switch modules in a switchbox Subsystem Syntax ROUTe CLOSe lt channel_list gt CLOSe lt channel_list gt OPEN lt channel_list gt OPEN lt channel_list gt SCAN lt channel_list gt MODE NONE VOLT MODE CLOSe ROUTe CLOSe lt channel_list gt closes the Form C Switch channels specified by channel_list channel_list has the form ccnn where cc card number 01 99 and nn channel number 00 15 Parameters Parameter Name Parameter Type Range of Values lt channel_list gt numeric cc00 cc15
59. is INIT line 50 closes channel 100 Closure causes trigger output from the Trig Out port Trigger to Ext Trig In initiates channel 100 measurement Result is sent to the computer lines 60 80 TRIGGER line 90 advances the scan to channel 101 Steps 2 5 are repeated for channels 101 102 Du hh DN 10 OUTPUT 722 TRIG EXT Configure instrument 20 OUTPUT 70915 OUTP ON Enable Trig Out port 30 OUTPUT 70915 TRIG SOUR BUS HP IB bus triggering 40 OUTPUT 70915 SCAN 100 102 Scan channels 00 02 50 OUTPUT 70915 INIT Enable scan 60 FOR 1 TO3 Start count loop 70 ENTER 722 A Enter reading 80 PRINT A Display reading 90 TRIGGER 70915 Advance scan 100 NEXT Increment count 110 END To DUTs HP E1300 01 Mainframe Channel 00 01 02 External HP E1364A NO Instrument Trig Meas Ext Trig Out Input In Q 10 E1364 f3 6 36 Understanding the HP E1364A Form C Switch Chapter 4 Example Scanning This example uses the mainframe Trig Out and Event In ports to Using Trig Out and synchronize Form C switch channel closures with an external measurement Event In Ports device See the following figure for typical user connections For this example the mainframe and instrument are connected via HP IB with mainframe address of 709 and instrument address of 722 The Form C Switch logical address is
60. is warranted against defects in materials and workmanship for a period of three years from date of ship ment Duration and conditions of warranty for this product may be superseded when the product is integrated into becomes a part of 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 repair this product must be returned to a service facility designated by Hewlett Packard HP Buyer shall pre pay 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 shall not apply to defects resulting from improper or inadequate maintenance by Buyer Buyer supplied prod ucts or interfacing unauthorized modification or misuse operation outside of the environmental specifications for the product or im proper site preparation or maintenance The design and implementation of any circuit on this product is the sole responsibility of the Buyer HP does not warrant the B
61. lacement The replacement strategy depends on the application If some relays are Strategy used more often or at a higher load than the others the relays can be individually replaced as needed If all the relays see similar loads and switching frequencies the entire circuit board should be replaced when the end of life approaches The sensitivity of the application should be weighed against the cost of replacing relays with some useful life remaining Note Relays that wear out normally or fail due to misuse should not be considered defective and are not covered by the product s warranty 64 HP E1364A Specifications Appendix A Appendix B HP E1364A Form C Switch Registers Register Definitions The HP E1364A Form C Switch is a register based device See Figure B 1 ID Register b 0016 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write Undefined Logical Address Read Reg Base A16 Manufacturer ID Returns FFF16 Hewlett Packard A16 only register based Device Type Register b 0216 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write Undefined Read 1 A16 only Module ID Code Returns FF2016 16 Channel Form C Switch Status Control Register b 046 15 14 13 12 11 1 9 lae 7 je 5 j4 3 2 i Jo Write Undefined Read FF16 B 7F16 R Switch reset to power on stat
62. le Query Trigger Source This example sets external triggering and queries the trigger source Since external triggering is set TRIG SOUR returns EXT TRIG SOUR EXT Set external trigger source TRIG SOUR Query trigger source 60 HP E1364A Form C Switch Command Reference Chapter 5 IEEE 488 2 Common Commands The following table lists the IEEE 488 2 Common Commands that apply to the Form C Switch module 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 HP Model Number E1300 E1301 User s Manual or the ANSIEEE Standard 488 2 1987 Command Title Description IDN Identification Returns identification string of the switchbox RST Reset Opens all channels and invalidates current channel list for scanning Sets ARM COUN 1 TRIG SOUR IMM and INIT CONT OFF TST Self Test Always returns 0 OPC Operation Complete See note below OPC Operation Complete Query See note below WAI Wait to Complete See note below CLS Clear status Clears all status registers see STATus OPERation EVENt ESE Event status enable See note below ESE Event status enable query See note below ESR Event status register query See note below SRE Service request enable Enables status register bits see Chapter 4 for operation SRE Service request enable See note below query STB Read status byte que
63. mmands ROUTe SCAN Example Reading the Operation Status Register After a Scanning Cycle STAT OPER Returns the bit values of the Standard Operation Status Register Returns 256 if bit 8 is set to 1 or returns 0 if bit 8 is set to 0 Chapter 5 HP E1364A Form C Switch Command Reference 55 OPERation ENABle Parameters Comments Example SYSTem Subsystem Syntax ERRor Comments STATus OPERation ENABle lt number gt enables the Operation Status Register to set a bit in the Status Register For the Form C Switch when bit 8 in the Operation Status Register is set to 1 bit 7 in the Status Register is set to 1 Parameter Name Parameter Type Range of Values lt number gt numeric 1 32767 e Setting Bit 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 e Related Commands ROUTe SCAN Enabling Status Register Bit 7 STAT OPER ENAB 256 Enables bit 7 of Status Register 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 SYSTem ERRor CDEScription lt number gt CTYPe lt number gt CPON lt number gt ALL SYSTem ERRor returns the error numbers and corresponding error messages in the error queue of a switchbox See Appendix C for a listing of some switchb
64. n 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 See the STATus 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 Use the HP IB Serial Poll or the IEEE 488 2 Common Command STB to read the Status Register When bit 7 of the Status Register is enabled by the SRE 128 Common Command to assert an HP IB Service Request SRQ you can interrupt the computer when the Scan Complete bit is set after a scanning cycle completes This allows the computer to do other operations while the scanning cycle is in progress Example Scan The following example monitors bit 7 in the Status Register to determine Complete Interrupt when the scanning cycle completes The computer used in this example is an HP 9000 Series 200 300 used with HP BASIC as the programming language The computer interfaces with an HP E1300A E1301A 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 15 10 OUTPUT 70914 CLS Clear all switchbox status Structure 20 OUTPUT 70915 STAT OPER ENAB 256 Enable Scan Complete Bit to set bit 7 in Status Register 30 OUTPUT 70915 SRE 128 Enable bit 7 of Status Register to assert SRO 40 OUTPUT 70915 TRIG SOUR EXT Set to external trigger mode 50 OUTPUT 70915
65. nuous OFF OUTPut STATe OFF SCAN MODE NONE SCAN PORT NONE Chapter 4 Understanding the HP E1364A Form C Switch 39 SCPI Error Responses The SYSTem ERRor query requests a value from the instrument s error register This register contains an integer in the range 32768 to 327671 The response takes the following form lt err_number gt lt err_message gt The lt err_number gt is the value of the instrument s error register The lt err_message gt is a short description of the error followed by further information about the error If no error occurs the switchbox responds with 0 No error If there has been more than one error the instrument will respond with the first one in its error queue Subsequent queries continue to read the error queue until it is empty The maximum lt err_message gt string length is 255 characters 40 Understanding the HP E1364A Form C Switch Chapter 4 Chapter 5 HP E1364A Form C Switch Command Reference Using This Chapter Command Types Common Command Format SCPI Command Format This chapter summarizes Standard Commands for Programmable Instruments SCPI and IEEE 488 2 Common commands See the HP 75000 Series B B Size VXIbus Mainframe HP E1300A E1301IA User s Manual or the HP 75000 Series C HP E1405A User s Manual for additional information on SCPI and common commands Chapter contents are e Command Types 2 26 cect wep ee oe te a ee ee ees Page 41 e SC
66. o avoid personal injury or damage to the product e Direct current DC Indicates hazardous voltages Indicates the field wiring terminal that must be connected to earth ground before operat ing the equipment protects against electri Calls attention to a procedure practice or cal shock in case of fault WARNING condition that could cause bodily injury or death i Calls attention to a procedure practice or con Frame or chassis ground terminal typi CAUTION dition that could possibly cause damage to b ps cally connects to the equipment s metal equipment or permanent loss of data frame 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 Packard Company assumes no liability for the customer s failure to comply with these requirements Ground the equipment For Safety Class 1 equipment equipment having a protective earth terminal an uninterruptible safety earth ground must be provided from the mains power source to the product input wiring terminals or supplied power cable DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes For continued protection against fire replace the line fuse s only with
67. ommands ABORt ROUTe SCAN e RST Condition TRIGger SOURce IMMediate Examples Scanning Using External Triggers This example uses external triggering TRIG SOUR EXT to scan channels 00 through 03 of a single module switchbox The trigger source to advance the scan is the input to the Event In BNC on an HP E1300A E1301A Mainframe When INIT is executed the scan is started and channel 00 is closed Then each trigger received at the Event In BNC advances the scan to the next channel TRIG SOUR EXT Select external triggering SCAN 100 103 Scan channels 00 through 03 INIT Begin scan close channel 00 trigger externally Advance scan to next channel Scanning Using Bus Triggers This example uses bus triggering TRIG SOUR BUS to scan channels 00 through 03 of a single module switchbox The trigger source to advance the scan is the TRG command as set with TRIGger SOURce BUS When INIT is executed the scan is started and channel 00 is closed Then each TRG command advances the scan to the next channel TRIG SOUR BUS Select interface bus triggering SCAN 100 103 Scan channels 00 through 03 INIT Start scan close channel 00 loop statement Loop to scan all channels TRG Advance scan using bus triggering increment loop Increment loop count SOURce TRIGger SOURce returns the current trigger source for the switchbox Command returns BUS EXT HOLD or IMM for sources BUS EXTernal HOLD or IMMediate respectively Examp
68. ox error numbers and messages e Error Numbers Messages in the Error Queue Each error generated by a switchbox stores an error number and corresponding error message in the error queue The error message can be up to 255 characters long Clearing the Error Queue An error number message is removed from the queue each time the 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 numbers messages in the queue execute the CLS command 56 HP E1364A Form C Switch Command Reference Chapter 5 Example CDEScription Parameters Comments Example CTYPe Parameters Comments Example e 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 least recent error numbers messages remain in the queue and the most recent are discarded Reading the Error Queue SYST ERR Query the error queue SYSTem CDEScription lt number gt returns the description of a selected module card in a switchbox Parameter Name Parameter Type Range of Values lt number gt numeric 1 99 e Form C Switch Module Description The SYSTem CDEScription lt number gt command returns 16 Channel General Purpose Relay R
69. r devices Scanning consists of closing a set of relays one at a time By adding jumpers and pullup pulldown resistors the switch can be used to control external user devices or as a digital output device As shown in Figure 1 1 the Form C Switch consists of 16 channels channels 00 through 15 Each channel uses a latching relay As required jumpers can be added to connect 5 V or 12 V for control or digital output applications Also pullup resistors can be added for digital output applications Chapter 1 Getting Started with the HP E1364A 11 Each channel is switched by opening or closing the appropriate channel relay Since the relays are latching the relay remains in the last state during power up or power down When a reset occurs all channel commons C are connected to the corresponding normally closed NC contacts User inputs outputs to each channel are via the NO NC and C terminal connectors on the terminal module Component Card Terminal Block NO NC CHANNEL 00 JM100 c CONO O O gt JM101 o o CONC JM101 o coc NO NC CHANNEL 07 FI JM148 JM121 5 NO C C7NO FAO GO a O O JM152 F 1 M1 12V NC TT2 NC 4 M122 C7NC Noe JM123 O O O O 4 cit gt YV NO NC GND C CHANNEL 08 JM151 JM124 12 NO c C8NO AS ne T O ONC JM125 de o o o o C8NC gt JM126 o o cec gt NO NC
70. res are maintained 6 HP E1364A 16 Channel Form C Switch Module User s Manual 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 Form C Switch Module Model Number E1364A Product Options All conforms to the following Product Specifications Safety IEC 1010 1 1990 Incl Amend 1 1992 EN61010 1 1993 CSA C22 2 1010 1 1992 UL 1244 EMC CISPR 11 1990 EN55011 1991 Group Class A IEC 801 2 1991 EN50082 1 1992 4kVCD 8k VAD IEC 801 3 1984 EN50082 1 1992 3 V m TEC 801 4 1988 EN50082 1 1992 IKV Power Line 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 and carries the CE marking accordingly Tested in a typical configuration in an HP B Size VXI mainframe April 1995 ft QA Manager European contact Your local Hewlett Packard Sales and Service Office or Hewlett Packard GmbH Department HQ TRE Herrenberger Stra e 130 D 71034 B blingen Germany FAX 49 703 1 14 3143 HP E1364A 16 Channel Form C Switch Module User s Manual 7 Notes 8 HP E1364A 16 Channel Form C Switch Module User s Manual cut along this line Please fold and t
71. ry See note below TRG Trigger Triggers the switchbox to advance the scan when scan is enabled and trigger source is TRIGger SOURce BUS RCL Recall instrument state See note below SAV Store instrument state See note below Note These commands apply to many instruments and are not documented in detail here See the HP 75000 Series B E1300 E1301 Mainframe User s Manual or the ANSVIEEE Standard 488 2 1987 for more information Chapter 5 HP E1364A Form C Switch Command Reference 61 Command Quick Reference SCPI Commands Quick Reference Command Description ABORt Abort a scan in progress ARM COUNt lt number gt Multiple scans per INIT command COUNt MIN MAX Query number of scans DISPlay MONitor CARD lt number gt AUTO Selects module to be monitored MONitor STATe lt mode gt Selects monitor mode INITiate CONTinuous lt mode gt Enables disables continuous scanning CONTinuous Query continuous scan state IMMediate Starts a scanning cycle OUTput STATe lt mode gt Enables disables Trig Out pulse STATe Query port enable state ROUTe CLOSe lt channel_lisi gt Close channel s CLOSe lt channel_list Query channel s closed OPEN lt channel_list gt Open channel s OPEN lt channel_list gt Query channel s opened SCAN lt channel_list Define channels for scanning SCAN MODE NONE VOLT Sets scan mode SCAN MODE Query the Scan Mod
72. signing an external trigger source to a switchbox when the trigger source already allocated has already been assigned to another switchbox 2000 Invalid 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 by the module e g channel 99 of a multiplexer module 2006 Command not supported on Sending a command to a module card in a switchbox that is unsupported this card by the module 2008 Scan list not initialized Executing a scan without the INIT command 2009 Too many channels in Attempting to address more channels than available in the switchbox channel list 2012 Invalid Channel Range Invalid channel s specified in SCAN lt channel_list command Attempting to begin scanning when no valid lt channel_list gt is defined 2600 Function not supported on Sending a command to a module card in a switchbox that is not supported this card by the module or switchbox 2601 Channel list required Sending a command requiring a lt channel_list gt without the lt channel_list gt Appendix C HP E1364A Form C Switch Error Messages 69 Notes 70 HP E1364A Form C Switch Error Messages Appendix C CLS 61 ESE 61 ESE 61 ESR 61 IDN 61 OPC 61 OPC 61 RCL 61 RST 61 SAV 61 SRE 61 SRE 61 STB 61 TRG 61 TST 61 WAI 61 12 Volts 13 22 12V Jumpers 20 5 V Jumpers 20 5 Volts 13 2
73. the channels For multiple module switchboxes channel ranges can span across the channels of all modules Use commas to form a channel list or use a colon to form a channel range Only valid channels can be accessed in a channel list or channel range Also the channel list or channel range must be from a lower channel number to a higher channel number For example CLOS 100 215 is acceptable but CLOS 215 100 generates an error 14 Getting Started with the HP E1364A Chapter 1 Example Form C Channel Lists Switch Channel Lists Ranges CLOS 100 112 ad channels 00 and 12 on card OPEN 203 210 Open channels 03 and 10 on card 02 Channel Ranges OPEN 100 115 Open all channels on card 01 SCAN 100 115 Scan all channels on card 01 Initial Operation An example program follows which uses Hewlett Packard BASIC and the SCPI language to get you started using the Form C Switch The example assumes an HP 9000 Series 200 300 or equivalent computer and a Hewlett Packard Interface Bus HP IB HP IB is the Hewlett Packard implementation of the IEEE 488 2 1987 standard This program closes channel 02 of a Form C Switch at logical address 120 secondary address 120 8 15 and queries the channel closure state The result is returned to the computer and displayed 1 channel closed 0 channel open See the HP 75000 Series B Installation and Getting Started Guide for information on addressing Example Close Form C
74. uV per chan Closed Channel Resistance lt 1 50 contact initial lt 3 50 at end of relay life Insulation Resistance between any two points gt 10 Q at lt 40 C 65 RH gt 10 Q at lt 25 C 40 RH Bandwidth 3dB at 10 MHz typical Crosstalk Channel to Channel typical lt 100 kHz lt 80dB lt 10 MHz lt 30dB Power Available 5V O IA 12V 005A Insertion Loss lt 100kHz 0 1dB lt 10MHz 3 0dB Capacitance Cto NC or NO lt 20pF Chan to Chan lt 20pF Relay Life typical No load gt 10 operations Max load gt 10 operations Power Up Down States all open left in last state Terminals screw type max wire size 16 AWG Module Size Device Type B register based Connectors Used P1 No Slots 1 VXIbus Interface Capability Interrupter D16 Interupt Level 1 7 selectable Power Requirements Voltage 5 12 Peak module current IPM A 0 10 0 24 Dynamic module current IDM A 0 01 0 01 Watts Slot 1 0 Cooling Slot 0 02 mm H20 0 10 liter sec Humidity 65 to 40 C Operating Temperature 0 to 55 C Storage Temperature 40 to 75 C EMC RFI Safety meets FTZ 1046 1984 CSA 556B IEC 348 UL 1244 Net Weight Kg 0 7 Appendix A HP E1364A Specifications 63 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
75. uyer s circuitry or malfunctions of HP products that result from the Buyer s circuitry In addition HP does not warrant any damage that oc curs 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 CON TRACT TORT OR ANY OTHER LEGAL THEORY Notice The information contained in this document is subject to change without notice HEWLETT PACKARD HP MAKES NO WAR RANTY OF ANY KIND WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WAR RANTIES 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 the furnishing performance or use of this material This docu ment contains proprietary information which is protected by copyright All rights are reserved No part of this document may be photo copied 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
76. vances Channel List This command advances the channel list when the trigger source is TRIG SOUR BUS or TRIG SOUR HOLD Command not usable with TRIG SOUR EXT or TRIG SOUR IMM Figure 4 1 Scanning Channels Commands 34 Understanding the HP E1364A Form C Switch Chapter 4 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 HP E1300 E1301 Mainframe Advancing Scan TRIG Can use TRIG command to advance the scan list when switchbox is in TRIG SOUR HOLD or TRIG SOUR BUS For either trigger source the scan list advances on channel per TRIG command Immediate Triggering TRIG SOUR IMM TRIG SOUR IMM sets immediate internal triggering The scan list is automatically advanced This is the default trigger mode Bus Triggering TRIG SOUR BUS TRIG SOUR BUS defines trigger I source as a TRG or GET command executed over HP IB With TRIG SOUR BUS the scan O listis advanced for each TRG or GET command received Event In Pacer Out Trig Out External Triggering TRIG TRIG SOUR EXT sets external triggering The trigger source is a user 5V Max 5V Max 5V
Download Pdf Manuals
Related Search
Related Contents
GUIDE D`UTILISATION GZ-MG680 GZ-MG650 GZ-MG630 AudioTrack User Manual les doubles sens cyclables mode d`emploi Manual del usuario Safety CowCleaner Duo 18810 取扱説明書 Descripción Datos técnicos Modo de empleo Copyright © All rights reserved.
Failed to retrieve file