Home
E1463A 32-Channel, 5 Amp, Form C Switch
Contents
1. Figure 1 7 Standard Screw type Terminal Module Option A3G provides a plastic terminal module housing with solder eye connectors see Figure 1 8 that allows you to solder wires onto connectors which are then inserted directly into the mating connector of the Form C Switch See Figure 1 9 for pin outs 18 Getting Started Figure 1 8 Option A3G Terminal Module Chapter 1 Connecting User Figure 1 9 shows the front panel of the E1463A and the Form C switch Inputs connector pin out that mates to the terminal module Actual user inputs are connected to the applicable terminal module Figure 1 9 Form C Switch Pin outs Chapter 1 Getting Started 19 Wiring a Terminal Module Figures 1 10 and 1 11 show how to connect field wiring to the terminal module When m
2. NC 00 01 02 EIE E1463A A Module C 00 01 02 E1463A FORM C Terminal Module Figure 2 5 Example Scanning Using Trig In and Trig Out Ports Using the Form C Switch 39 10 20 30 40 50 60 70 80 90 100 110 120 130 OUTPUT 70915 RST CLS Reset and clear the module OUTPUT 722 TRIG EXT DCV External trigger dc volts OUTPUT 722 MEM FIFO Memory first in first out OUTPUT 70915 OUTP ON Enable Trig Out OUTPUT 70915 TRIG SOUR EXT External triggering OUTPUT 70915 SCAN 100 102 Scan channels 00 02 OUTPUT 70915 INIT Enable scan WAIT 2 Wait for switch closures FOR Channel 1 TO 3 Start loop ENTER 722 Result Enter result PRINT Result Display result NEXT Channel Increment count END Example Scanning This example uses the E1406A Command Module TTL trigger bus lines to H synchronize Form C channel closures to an E1412A System Multimeter A Using the TTL For measurement synchronization the E1406A TTL trigger bus line O is Trigger Bus BASIC used by the Form C module to trigger the multimeter to perform a measurement and the E1406A TTL trigger bus line 1 is used by the multimeter to advance the Form C scan Figure 2 6 shows one way to connect the Form C module to the E1412A multimeter module The connections shown with dotted lines are not actual hardware connec
3. sssssssssssssseenneneeee ener enne 72 TRIGger SOURCO 1 erint diete edet iternm 73 TRIGger SOURGe iussit eed dd edid eel dad dee nid dei dn nets 74 Appendix A Form C Switch Specifications eeeeeeseeeeeeeeeeeenee 77 Appendix B Register Based Programming eene 79 About This Apperidix oe i bp tete 79 Register Programming vs SCPI Programming seen 79 Addressing the Registers 2 ccccssccceeeeesenceeeeeeneneeeedeneeeeseeceeeeenedenenneeedeenaneneeees 79 The Base Address iiss iiie eiiis needed needed dantes aine 80 Register Offset uiii iei teet tod Deae tne e ERI Gr DS 81 Register Descriptions vex 2 ocaeca eta euenit e ode e e ee eia 82 Reading and Writing to the Registers sssssen e 82 Manufacturer Identification Register sss enn 82 Device Type Register orenera ara A entree nennen nnn nen nnne 82 Status Control Register diia aa E nnns 82 Relay Control Register enie inen mnta akarnia a EEE a aR E Adai 84 Programming EXampleS seneu a E A E Ea aAa 85 Example Reading the Registers BASIC ssssseeeee 85 Example Reading the Registers C HP UX sssee e 86 Example Making Measurements BASIC esee 87 Example Making Measurements C HP UX sssse eee 88 Example Scanning Channels BASIC
4. 18 Protecting Relays and Circuits lees 23 Programming the Form C Switch 27 Form C Switch Description Basic Operation Chapter 1 The E1463A 32 Channel 5 Amp Form C Switch module Form C switch is defined as a VXlbus instrument VXIbus plug in modules installed in a mainframe or used with a command module are treated as independent instruments each having a unique secondary address Each instrument is also assigned a dedicated error queue input and output buffers status registers and if applicable dedicated mainframe command module memory space for readings or data An instrument may be composed of a single plug in module such as a counter or multiple plug in modules for a switchbox or scanning multimeter instrument The Form C switch is a C Size VXlbus and VMEbus register based product that can be used for switching scanning and control The switch can operate in a C Size VXlbus or VMEbus mainframe The switch has 32 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 user devices Scanning consists of closing a set of relays one at a time As shown in Figure 1 1 the Form C switch module consists of 32 channels channels 00 through 31 Each channel uses a nonlatching relay Varistors
5. 39 Example Scanning Using the TTL Trigger Bus BASIC ssssss 40 Querying the Form C Switch eee 42 Example Querying Channel Closures BASIC sese 42 Using the Scan Complete Bit ssssssssseeeeen mem ene 42 Example Using the Scan Complete Bit BASIC sseeess 43 Saving and Recalling States sssssssee enne eene 44 Example Saving and Recalling State BASIC sse 44 Detecting Error Conditions denis serienr ed e essent e nnde 45 Example Detecting Error Conditions BASIC seeeeese 45 Example Detecting Error Conditions Turbo C seseene 45 Synchronizing the Form C Switch sessssssseeeeee eene nennen 46 Example Synchronizing the Form C Switch BASIC seese 46 Chapter 3 E1463A Command Reference eese 47 ABORt 24d ath decal etree oh a a eR LU ibn 50 ARM ianiai te dee oe ee ined earl td raul get loc Geil Reed Le eode hea 51 ARM COUN aser aeree cated tdt cott edt Si orare dae Hoa edge ee iun 51 ARM COUNI iit a dec e RR ce RU UO ae c ge enu deu ida 52 DIS Play crc EE 53 DISPlay MONitor CARD priui ri aneii eei ESEAS 53 DISPlay MONItor STATe ssssssssssssseee eene 54 rcm 55 INITiate CONTINUOUS eem mm nnnm ennemi rennes 55 INITiate CONTINUOUS sssssseeenee eem nennen enne nennen nene 56 INITiate IMM
6. 45 Watt MF Diss 767 5 Watt MF Diss Figure 1 14 Typical Form C Switch Allowable Switch Current 26 Getting Started Chapter 1 Programming the Form C Switch This section gives guidelines to program the Form C switch including Using SCPI Commands Addressing the Form C Switch Initial Operation Using SCPI There are several ways you can program the Form C switch One way is to write directly to the registers This method can provide better throughput Commands speed However it requires more knowledge of the Form C switch design Another way to program the Form C switch is to use an E1406 Command Module and SCPI commands With SCPI commands the command module parses the commands and writes to the appropriate Form C switch register You can use different controllers and different programming languages However most examples in this manual use SCPI commands and an HP 9000 Series 200 300 or equivalent computer running BASIC or a PC with an 82350A or equivalent Interface Card with command library running Borland Turbo C NOTE Most examples in this manual use SCPI commands See Appendix B for information on writing directly to the registers To address specific channels relays within a Form C switch you must specify the SCPI command and switch channel list Table 1 3 lists the most commonly used commands Table 1 3 Typical SCP Commands SCPI Command Description CLOSe channel ist
7. 76 E1463A Command Reference Chapter 3 Appendix A Form C Switch Specifications General Module Size Device Type C size VXIbus Register based A16 D16 Interrupter levels 1 7 jumper selectable Power Requirements Voltage 5V 12V Peak Module Current A 0 10 0 60 Dynamic Module Current A 0 10 0 01 Watts slot 10W Cooling slot 0 08 mm H20 0 42 Liter sec for 10 C rise Operating Temperature 0 55 C Operating Humidity 65 RH 0 40 C Terminals Screw type maximum wire size 16 AWG Relay Life Typical Condition Number of Operations No Load 5x 107 250 Vac 2A Resistive 108 250 Vac 5A Resistive 105 250 Vac 2A p f 0 4 108 250 Vac 5A p f 0 4 105 30 Vdc 1A Resistive 109 30 Vdc 5A Resistive 10 30 Vdc 1A L R 7 msec 109 30 Vdc 5A L R 7 msec 10 Input Characteristics Maximum Input Voltage 220 Vdc or 250 Vac Terminal to Terminal 220 Vdc or 250 Vac Terminal to Chassis Maximum Current per Channel non inductive 5 Adc or aCims Maximum Switchable Power per Channel 150 W dc 1250 VA per switch 1500 W dc 12 500 VA per module DC Performance Insulation Resistance between any two points gt 5x10 Q at 40 C 95 RH gt 5x10 Q at 25 C 40 RH Maximum Thermal Offset per Channel lt 7 UV lt 3 uV typical Closed Channel Resistance 2100 mA 0 250 Q lt 2 Q at end of relay life 100 mA 20
8. eene eene tentent ennt ded nnns 24 Adding Relay and Circuit Protection ssssee emen 25 Maximum Allowable Module Switch Current sse 26 Programming the Form C Switch sssssssssseeeeeen m enne 27 Using SCPl Commiands 2 rte ett et He ttg a dietas 27 Addressing the Form C Switch ssssssssssee enne 27 InitialOperation lue t Do hg begtas p bti ue fedes dad 29 Chapter 2 Using the Form C Switch eese enn 31 Using This Chapter serrer he en edt a cad RR eR READERS 31 Form C Switch Commands sss nennen nennen nennen 31 Power on and Reset Conditions esssssssseeee emen 32 Module Identification saci cope n i iet ed an erede Reb 32 Example Module Identification BASIC sse 32 Example Module Identification TURBO C seem 33 Switching Channels soci petere tente tice ep ep D tee Der a D Eee eee 34 Example Opening Closing Channels BASIC eee 34 Example Voltage Switching BASIC sssee 34 Example Controlling RF Switches Step Attenuators BASIC 35 Example Digital Output Configuration BASIC ss 37 Example Matrix Switching BASIC ssssseeem em 37 Scanning Channels 5 D pee GO ies 39 Example Scanning Using Trig In and Trig Out Ports BASIC
9. error handler IOOUTPUTS FORMC TASK2 12 OUTPUT command error handler IOOUTPUTS FORMC TASK3 12 OUTPUT command Enter from Form C switch error handler IOENTERS FORMC into amp length ENTER command printf Now let s see if the switch is closed 9os into return int error_handler int error char routine Getting Started 29 30 Getting Started char ch if error NOERR printf n Error d 96s Mn error errstr error printf in call to function 9os n n routine printf Press Enter to exit scanf 9oc amp ch exit 0 return 0 Chapter 1 Chapter 2 Using the Form C Switch Using This Chapter This chapter uses typical examples to show ways to use the E1463A Form C switch module for switching channels and scanning channels See Chapter 3 for command information Chapter contents are Form C Switch Commands 00 0 eee eee 31 e Power on and Reset Conditions liliis 32 Module Identification llle 32 Switching Channels 00 0000 cee eee 34 e Scanning Channels 00 00 es 39 e Querying the Form C Switch 220005 42 Using the Scan Complete Bit 2000 42 Saving and Recalling States llle 000 020 a ee 44 Detecting Error Conditions llis 45 Synchronizing the Form C Switch 000 46 NOTE All examples in this chapter
10. Connects the normally open NO terminal to the common C terminal for the channels specified OPEN channel list Connects the normally closed NC terminal to the common C terminal for the channels specified SCAN channel list Closes the set of Form C relays one at a time Addressing the Relays channels within the Form C switch are addressed using the 1 channel list statement The channel list is a combination of the switch card Form C Switch number and the channel numbers The channel list takes the form ccnn where cc switch card number 01 99 and nn channel number 00 31 Chapter 1 Getting Started 27 Card Numbers The card number cc of the channel list identifies the module within a Command Module switchbox The card number assigned depends on the switch configuration used Leading zeroes can be ignored for the card number In a single module switchbox configuration the card number is always 01 In a multiple module switchbox configuration modules are set to successive logical addresses The module with the lowest logical address is always card number 01 The module with the next successive logical address is card number 02 etc Figure 1 15 illustrates card numbers and logical addresses of a typical multiple module switchbox configuration Card Number 01 t oO TroatAr Switch Module ae is P P 1 i E Logical Address 120 Secondary Address 15
11. err number is the value of the instrument s error and err message is a short description of the error This BASIC program attempts an illegal channel closure and polls for an error message 10 DIM Err_num 256 Dimension a string variable for 256 characters 20 OUTPUT 70915 CLOS 135 Try to close an illegal channel 30 OUTPUT 70915 SYST ERR Query for a system error 40 ENTER 70915 Err_num 50 PRINT Err_num Print error 2001 Invalid channel number 60 END This Turbo C program attempts an illegal channel closure and polls for an error message 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 error 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 include stdio h include chpib h Include file for GPIB define ISC 7L define FORMC 70915L Form C default address define TASK1 CLOSE 135 Command for illegal switch closure define TASK2 SYST ERR Command for system error main char into 257 int length 256 Output commands to Form C error_handler IOTIMEOUT 7L 5 0 TIMEOUT error_handler IOOUTPUTS FORMC TASK1 12 OUTPUT command error_handler IOOUTPUTS FORMC TASK2 9 OUTPUT command Enter from Form C error_handler IOENTERS FORMC into amp lengt
12. open the controller VXI interface fd open dev vxi primary O_RDWR if fd perror open exit 1 retrieve the A16 pointers dev struct dev regs vxi get a16 addr fd logical address Continued on next page Register Based Programming 91 sub to verify the time to close the switch ver time sub to close a set of switches and make measurements scan meas dev END of main program SUB VER_TIME ver time struct timeval first second lapsed struct timezone tzp gettimeofday amp first amp tzp for j 0 j 210000 j gettimeofday second amp tzp if first tv_usec gt second tv_usec second tv_usec 1000000 second tv_sec lapsed tv_usec second tv_usec first tv_usec lapsed tv_sec second tv_sec first tv_sec printf Elapsed time for closing a channel is ld sec ld usec Mn lapsed tv sec lapsed tv usec SUB SCAN_MEAS int scan_meas reg_ptr DEV_REGS reg_ptr set bankO to 000 reg_ptr gt bankO_channels 0x000 i 0 for i 0 i lastch i y reg pow 2 0 y reg_ptr bankO_channels reg for j 0 j lt 10000 j wait for switch to be closed printf n Making Measurement make measurements return 92 Register Based Programming Appendix B Appendix C E1463A Error Messages Error Types Appendix C Table C 2 lists the error messages generated by the E1463A Form C Switch module firmware
13. ssseee en 90 Example Scanning Channels C HP UX ssse eee 91 Appendix C E1463A Error Messages eeeeesseseesseeeeene enne nnne nne nn nnns 93 Error Types ouai d e eene LR ee Pee GRE ede D ERR late 93 Error CCCII 94 Notes Certification Agilent Technologies Inc certifies that this product met its published specifications at the time of shipment from the factory Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology formerly National Bureau of Standards to the extent allowed by that organization s calibration facility and to the calibration facilities of other International Standards Organization members AGILENT TECHNOLOGIES WARRANTY STATEMENT PRODUCT E1463A DURATION OF WARRANTY 1 year 1 Agilent warrants Agilent hardware accessories and supplies against defects in materials and workmanship for the period specified above one year If Aglent receives notice of such defects during the warranty period Agilent will at its option either repair or replace products which prove to be defective Replacement products may be either new or like new 2 Agilent warrants that Agilent software will not fail to execute its programming instructions for the period specified above due to defects in material and workmanship when properly installed and used If Agilent receives notice of such defects during
14. MOVs can be added for relay protection and resistors or fuses can be added for circuit protection See Adding Relay and Circuit Protection for more information on protecting relays External pull up resistors can also be added for digital output applications See Digital Output Configuration for additional information about these applications Getting Started 11 E1463A MODULE TERMINAL MODULE 1 1 1 NO NC l Channel 0 CORD roa l l E CONO I eae pot Foy Tau 2 coc 1 Pec i l E nA 1 Lese Lo s 2 CONC i e 1 1 1 I e I NO NC a am Pads Channel 15 J SIENO for MOVS r a 1 gt I 2 4 C15NO 1 Jumper ISG i uic Bay yeu C15C 1 EE f Dan 1 p EISE Ho gt 2 C15NC Pads 1 for MOVS 1 1 l l NO NC i Channel 16 C1GNO 1 q roa 1 rot S A C16NO 1 I CEs cO du Mec Q C16C 1 Ee l l Cae I 1 l jete Lo C16NC e 1 l 1 l 1 I NO NC i Channel 31 GNO 1 c roa l 1 o c 2 C31NO I I rus pot fot sO gt 31C 1 Eye I Evi 1 1 l JCG Lo 5 2 C31NC uj Figure 1 1 Form C Switch Simplified Schematic Each channel is switched by opening or closing the appropriate channel relay Since the relays are nonlatching the relays are all open during power up or power down When a reset occurs all channel commons C are connected to t
15. Module When INIT is executed the scan is started and channel 00 is closed Then each trigger received at the Trig In port 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 Begin scan close channel 00 loop statement Loop to scan all channels TRG Advance scan using bus triggering increment loop Increment loop count TRIGger SOURce returns the current trigger source for the switchbox The command returns BUS EXT HOLD IMM or TTLTfor sources BUS EXTernal HOLD IMMediate or TTLTrgn respectively Querying the 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 Chapter 3 SCPI Commands Quick Reference The following table summarizes th
16. OPC 76 OPC 76 RCL 76 RST 76 SAV 76 SRE 76 SRE 76 STB 76 TRG 76 TST 76 WAI 76 common commands reference 76 common commands format 47 configuring terminal modules 18 connecting user inputs 19 20 connector pinouts 19 Index E1463A 32 Channel Form C Switch User s Manual D declaration of conformity 9 description switch 11 detecting error conditions 45 Device Type register 82 DISPlay subsystem 53 DISPlay MONitor CARD 53 DISPlay MONitor STATe 54 documentation history 8 E error conditions detecting 45 error messages 93 94 error types 93 examples Advancing Scan Using TRIGger 72 Closing a Channel BASIC 29 Closing a Channel TURBO C 29 Closing Form C Switch Channels 62 Controlling RF Switches BASIC 35 Detecting Error Conditions BASIC 45 Detecting Error Conditions Turbo C 45 Digital Output Configuration BASIC 37 Enabling Trig Out Port 57 58 Enabling a Single Scan 56 Enabling Continuous Scanning 56 Enabling Monitor Mode 54 Enabling Operation Status Register Bit 8 67 Enabling TTL Trigger Bus Line 7 60 Making Measurements BASIC 87 Making Measurements C HP UX 88 Matrix Switching BASIC 37 Module Identification BASIC 32 Module Identification TURBO C 33 Opening Form C Switch Channels 63 Opening Closing Channels BASIC 34 Querying Trig Out Port Enable State 58 59 Querying Channel Closure 62 Querying Channel Closures BA
17. RQS Controller OPR 7 KOR Status Byte Automatically Set by Parser Summary Bit Ez sex mea sal b ojajajw lnj o m lt Interface Bus SRQ Line SRQ Other Instrument Summary Bit OPERation Status Register r STATus OPERation CONDition Other Instrument SS r STATus OPERation EVENt r STATus OPERation ENABle STATus OPERation ENABle STATus PRESet 1 2 4 unmask examples 8 lt 16 gt unmask Register decimal lt 32 gt bit weight lt 64 gt lt 128 gt OR lt 256 gt Kaw Operation Complete 7 lt 128 gt ESB lt 512 gt lt 1024 gt ESE 61 unmasks standard event register bits 0 NJOla Alwlm alo Scan Complete 2 3 4 and 5 ESE 128 only unmasks bit 7 lt 2048 gt 4096 SRE 128 unmasks the OPR bit operation in 8192 the status byte register This is effective 16384 only ifthe STAT OPER ENAB 256 command 32768 is executed STAT QUES ENAB 256 unmasks the Scan Complete bit Figure 3 1 E1463A Status System Register Diagram 66 E1463A Command Reference Chapter 3 STATus OPERation CONDition STATus OPERation CONDition returns the state of the Condition Register in the OPERation Status Register The state
18. 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 ROUTe CLOSe ROUTe CLOSe lt channel_list gt returns the current state of the channel s queried lt channel_list gt has the form ccnn where cc card number 01 99 and nn channel number 00 31 The command returns 1 if channel s are closed or returns 0 if channel s are open Comments Query is Software Readback ROUTe CLOSe returns the current software state of the channel s specified It does not account for relay hardware failures A maximum of 128 channels can be queried at one time If you want to query more than 128 channels you must enter the query data in two separate commands Example Querying 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 returned as a string CLOS 100 213 Close channels 100 and 213 CLOS 100 213 Query channels 100 and 213 state ROUTe OPEN ROUTe OPEN lt channel_list gt opens the Form C switch channels specified by lt channel_list gt lt channel_list gt has the form ccnn where cc card number 01 99 and nn channel number 00 31 Parameters Name Type Range of Values Default Value lt channel_list gt numeric cc00 cc31 N A 62 E1463A Comma
19. B 1 the switch s base address is computed as Module C00046 LADDR 64 g or 49 152 LADDR 64 where C0004g 49 152 is the starting location of the register addresses LADDR is the switch s logical address and 64 is the number of address bytes per VXI device For example the switch s factory set logical address is 120 7846 If this address is not changed the switch will have a base address of C000 6 120 64 16 C00016 1E0046 DEO0i or decimal 49 152 120 64 49 152 7680 56 832 A16 Address Space When the A16 address space is inside the E1406 Command Module Inside the Command see Figure B 2 the switch s base address is computed as Module or Mainframe 4 990 LADDR 64 or 2 080 768 LADDR 64 where 1FC00046 2 080 768 is the starting location of the VXI A16 addresses LADDR is the switch s logical address and 64 is the number of address bytes per register based device Again the switch s factory set logical address is 120 If this address is not changed the switch module will have a base address of 1FC000 6 120 64 16 1FC000 1E00 1FDEO00 6 or 2 080 768 120 64 2 080 768 7680 2 088 448 80 Register Based Programming Appendix B Register Offset The register offset is the register s location in the block of 64 address bytes For example the switch s Status Register has an offset of 0445 When you write a command to this register the offset is
20. Card Number 02 Switch Module Logical Address 121 Card Number 03 Switch Module Logical Address 122 Note Physical placement of the Module in the Logical Address order is not required but is recommended Figure 1 15 Typical Card Numbers in a Multiple module Switchbox Channel Addresses The channel address nn of the channel list determines which relay on the 28 Getting Started selected card will be addressed Form C switch channel numbers are 00 through 31 The channels can be addressed using channel numbers or channel ranges single channels ccnn multiple channels Qccnn ccnn sequential channels ccnn ccnn groups of sequential channels ccnn ccnn cenn ccnn or any combination of the above Use a comma to form a channel list or a colon to form a channel range Only valid channels can be accessed in a channel list or channel range Also the 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 Chapter 1 Initial Operation Example Closing a Channel BASIC Example Closing a Channel TURBO C Chapter 1 Two example programs follow to help get you started using the Form C Switch The first example assumes an HP 9000 Series 200 300 controller running BASIC and a GP
21. GPIB secondary address is 15 10 OUTPUT 70915 RST CLS Reset and clear the module 20 OUTPUT 70915 STAT OPER ENAB 256 Enable Scan Complete Bit 30 OUTPUT 70915 TRIG SOUR IMM Set the Form C switch for continuous triggering 50 OUTPUT 70915 SCAN 09100 115 Select channels to scan 60 OUTPUT 70915 OPC Wait for operation complete 70 ENTER 70915 A 80 PRINT OPC A 90 OUTPUT 70915 STAT OPER ENAB Query the contents in the operation status register 100 ENTER 70915 A 110 PRINT STAT OPER ENAB A Print the contents of the operation status register 120 OUTPUT 70915 STB Query the contents of the status byte register 130 ENTER 70915 A 140 PRINT Switch Status A Print the contents of the status byte register 150 OUTPUT 70915 INIT Start scan cycle 160 I 0 Initialize the value of the counter 170 WHILE I 0 Stay in loop until some value is returned from the SPOLL 70915 command 180 I SPOLL 70915 190 PRINT Waiting for scan to complete SPOLL I 200 END WHILE 210 I SPOLL 70915 220 PRINT Scan complete SPOLL I 230 END Chapter 2 Using the Form C Switch 43 Saving and Recalling States Example Saving and Recalling State BASIC 44 Using the Form C Switch The SAV numeric state command saves the current instrument state The state number 0 9 is specified by the numeric state parameter The settings saved by this command are Channel relay
22. PURPOSE 8 Agilent will be liable for damage to tangible property per incident up to the greater of 300 000 or the actual amount paid for the product that is the subject of the claim and for damages for bodily injury or death to the extent that all such damages are determined by a court of competent jurisdiction to have been directly caused by a defective Agilent product 9 TO THE EXTENT ALLOWED BY LOCAL LAW THE REMEDIES IN THIS WARRANTY STATEMENT ARE CUSTOMER S SOLE AND EXLUSIVE REMEDIES EXCEPT AS INDICATED ABOVE IN NO EVENT WILL AGILENT OR ITS SUPPLIERS BE LIABLE FOR LOSS OF DATA OR FOR DIRECT SPECIAL INCIDENTAL CONSEQUENTIAL INCLUDING LOST PROFIT OR DATA OR OTHER DAMAGE WHETHER BASED IN CONTRACT TORT OR OTHERWISE FOR CONSUMER TRANSACTIONS IN AUSTRALIA AND NEW ZEALAND THE WARRANTY TERMS CONTAINED IN THIS STATEMENT EXCEPT TO THE EXTENT LAWFULLY PERMITTED DO NOT EXCLUDE RESTRICT OR MODIFY AND ARE IN ADDITION TO THE MANDATORY STATUTORY RIGHTS APPLICABLE TO THE SALE OF THIS PRODUCT TO YOU U S Government Restricted Rights The Software and Documentation have been developed entirely at private expense They are delivered and licensed as commercial computer software as defined in DFARS 252 227 7013 Oct 1988 DFARS 252 211 7015 May 1991 or DFARS 252 227 7014 Jun 1995 as a commercial item as defined in FAR 2 101 a or as Restricted computer software as defined in FAR 52 227 19 Jun 1987 or any equivalent agency regu
23. SCPI Command Format Chapter 3 This chapter describes Standard Commands for Programmable Instruments SCPI and summarizes IEEE 488 2 Common commands applicable to the E1463A Form C Switch Module This chapter contains the following sections Command Types 0 2200 c ee eee ees 47 e SCPI Command Reference 000 ee eeee 49 e SCPI Commands Quick Reference 75 IEEE 488 2 Common Commands Reference 76 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 keyword is separated from the first parameter by a space character Some examples of Common commands are shown below RST ESE unmask STB The SCPI commands perform functions like closing switches opening switches scanning channels 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 gt SCAN lt channel_list gt MODE ROUTe is the root command CLOSe
24. TTLT 7 Query bus enable state 60 E1463A Command Reference Chapter 3 ROUTe The ROUTe command subsystem controls switching and scanning operations for Form C switch modules in a switchbox Subsystem Syntax ROUTe CLOSe channel list CLOSe channel list OPEN channel list OPEN channel list SCAN channel list NOTE There must be a space between the second level command CLOS for example and the parameter channel list ROUTe CLOSe ROUTe CLOSe channel list 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 31 Parameters Name Type Range of Values Default Value channel list numeric cc00 cc31 N A Comments Closing Channels To close a single channel use ROUT CLOS ccnn To close multiple channels use ROUT CLOS ccnn ccnn To close sequential channels use ROUT CLOS ccnn ccnn To close groups of sequential channels use ROUT CLOS ccnn ccnn cenn ccnn or any combination of the above NOTE Closure order for multiple channels with a single command is not guaranteed Channel numbers can be in the channel list in any random order Related Commands ROUTe OPEN ROUTe CLOSe RST Condition All channels open Chapter 3 E1463A Command Reference 61 Example Closing Form C Switch Channels This example closes channels
25. This causes arcing and transfer of material between contacts Oxides and carbides from components of the atmosphere coat the contacts and cause high contact resistance The transfer of material creates hills and valleys that lock together to weld contacts Motor loads for example produce large inrush currents that can be 5 to 10 times greater than the steady state current Table 1 1 summarizes inrush current magnitudes for different types of loads Table 1 1 Inrush Currents Type of Inrush Current Type of Inrush Current Load Times Load Times Steady State Steady State Resistive 1 Incandescent Lamp 10 15 Capacitive 20 40 Mercury Lamp 3 Solenoid 10 20 Sodium Vapor Lamp 1 3 Motor 5 10 Transformer 5 15 Be aware of heavy current applications When a relay is used in heavy current applications the thin layer of gold plating on the contact may be destroyed This will not affect the heavy current application However if you go back to a low current application a high contact resistance may be present and the relay cannot be used for low current applications Use protective circuits with relay connections The relay manufacturer Aromat recommends some protective circuits that can be used with your relay connections See the Aromat Technical Data Book AGC C0064 A 1 for additional information Contact Aromat at 408 433 0466 for more information Do not use capacitors Capacitors are not to be
26. Use DISPlay MONitor CARD lt number gt AUTO to select the module Monitor Mode with a Form C Switch When monitoring mode is turned ON decimal numbers representing the channels closed will be displayed at the bottom of the display terminal For example if channels 3 7 and 12 are closed the bottom of the display will read as follows where the channel numbers represent channels that are closed Chan 3r ELA r12 r tC RST Condition DISPlay MONitor STATe OFF 0 Enabling Monitor Mode DISP MON CARD 2 Select module 2 in a switchbox DISP MON 1 Turn monitor mode ON Chapter 3 INITiate The INITiate command subsystem selects continuous scanning cycles and starts the scanning cycle Subsystem Syntax INITiate CONTinuous mode CONTinuous IMMediate INITiate CONTinuous INITiate CONTinuous lt mode gt enables or disables continuous scanning cycles for the switchbox Parameters Name Type Range of Values Default Value lt mode gt boolean ON OFF 1 0 OFF 0 Comments Continuous Scanning Operation Continuous scanning is enabled with INITiate CONTinuous ON or INITiate CONTinuous 1 Sending INITiate IMMediate closes the first channel in the channel list Each trigger from the source specified by TRIGger SOURce 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 Noncontin
27. Z define TASK1 RST CLS IDN Reset clear and query id define TASK2 SYST CDES 1 Command for card description z define TASK3 SYST CTYP 1 Command for card type main i char into1 51 into2 51 into3 51 int length 50 Output and enter commands to Form C error handler IOTIMEOUT 7L 5 0 TIMEOUT error handler IOOUTPUTS FORMC TASK1 15 OUTPUT command error handler IOENTERS FORMC into1 amp length ENTER command error handler IOOUTPUTS FORMC TASK2 12 OUTPUT command error handler IOENTERS FORMC into2 amp length ENTER command error handler IOOUTPUTS FORMC TASK3 12 OUTPUT command error handler IOENTERS FORMC into3 amp length ENTER command printf IDENTIFICATION 9os into1 printf CARD DESCRIPTION s into2 printf CARD TYPE s into3 return int error_handler int error char routine char ch if error NOERR printf n Error d 96s n error errstr error printf in call to GPIB function s Wn routine printf Press Enter to exit scanf 9oc amp ch exit 0 return 0 Chapter 2 Using the Form C Switch 33 Switching Channels Example Opening Closing Channels BASIC NOTE Example Voltage Switching BASIC 34 Using the Form C Switch For general purpose relay operation you can connect or disconnect a load by opening or closing specified channel relays By adding extermi
28. a protective earth terminal an uninterruptible safety earth ground must be provided from the mains power source to the product input wiring terminals or supplied power cable DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes For continued protection against fire replace the line fuse s only with fuse s of the same voltage and current rating and type DO NOT use repaired fuses or short circuited fuse holders Keep away from live circuits Operating personnel must not remove equipment covers or shields Procedures involving the removal of covers or shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protection features built into this product have been impaired either through physical damage excessive moisture or any other reason REMOVE POWER and do not use the product until safe operation can be verified by service trained personnel If necessary return the product to an Agilent Technologies Sales and Service Office for service and repair to ensure that safety features are maintained DO NOT service or adjust alone Do not attempt internal service or adjustment unless another person capable of r
29. driver will be unaware of changes to the card state if you alter the card state by using register writes Register based programming is a series of reads and writes directly to the Form C switch registers This increases throughput speed since it eliminates command parsing and allows the use of an embedded controller Also if slot 0 the resource manager and the computer GPIB interface are provided by other devices a C size system can be downsized by removing the command module Addressing the Registers Appendix B Register addresses for register based devices are located in the upper 2596 of VXI A16 address space Every VXI device up to 256 devices is allocated a 32 word 64 byte block of addresses With five registers the E1463A Form C Switch uses five of the 64 addresses allocated Register Based Programming 79 The Base Address wnen reading or writing to a switch register a hexadecimal or decimal register address is specified This address consists of a base address plus a register offset The base address used in register based programming depends on whether the A16 address space is outside or inside the E1406 Command Module Figure B 1 shows the register address location within A16 as it might be mapped by an embedded controller Figure B 2 shows the location of A16 address space in the E1406 Command Module A16 Address Space When the E1406 Command Module is not part of your VXIbus system see Outside the Command Figure
30. for bits 0 through 15 are shown in Figure 3 1 OPERation Status Register Using STATus OPERation ENABle 256 allows only bit 8 to generate a Summary bit from the OPERation Status Register since the decimal value for bit 8 is 256 The decimal values can also used in the inverse manner to determine the bits set from the value returned by STATus OPERation EVENt or STATus OPERation CONDition The Form C switch driver uses only bit 8 of OPERation Status Register This bit is called the Scan Complete bit and is set whenever a scan operation completes Since completion of a scan operation is an event in time bit 8 will never appear set when STATus OPERation CONDition is queried However you can find bit 8 set by using STATus OPERation EVENt E1463A Command Reference 65 NOTE Output Queue QUE Questionable Data MAV Message Available ESB Standard Event f oF RQS Request Service OPR Operation Status C Condition Register EV Event Register EN Enable Register SRQ Interface Bus Service Request Standard Event Status Register ESR ESE unmask ESE Status Byte Register r STB SPOLL Automatically Set at 1 Power On Power On Conditions User Request SRE unmask Command Error SRE Execution Error Device Dependent Error Query Error Request Control Set by OPC 1 Operation Complete Related Commands MAV are OPC and WAI L ESB System m
31. in series with common C xx Channel Number Figure 1 13 Adding Relay and Circuit Protection Chapter 1 Getting Started 25 i e Form C switch has an individual channel current specification o 1 Maximum Allowable The Form C switch h dividual channel t specification of 5A A However if you apply 5A to all the channels with a relay contact resistance Module Switch of 25 Ohms the power dissipation is 200 W Since for example the Current E1401B mainframe can only provide cooling for 55W per slot to keep the temperature rise to 10 C this cannot be allowed to happen A reasonable maximum current for the entire mainframe is 50A That is 10 channels each carrying 5A or some combination of channels and currents that total 50A This will produce about 67 5 W of internal dissipation leading to an approximate 15 C temperature rise Figure 1 14 shows a typical way to derate the channels in terms of current throughout the channels to keep internal power dissipation under 45 W and 67 5 W or 10 C and 15 C temperature rise respectively E1401B Mainframe and 250 Relay Contact Resistance e n z X a D n c g 5 o lr dani ce Se ol Ms Mg elem oboe Eee Men Bl cl e nes lee the al 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 No of Switches Carrying Current
32. of the E463A Form C Switch To open channel 00 use OPEN 100 10 DISP Testing the E1463A 20 OUTPUT 70915 CLOS 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number 30 END Chapter 2 E1463A TERMINAL MODULE MODULE Figure 2 1 Example Voltage Switching Example Figure 2 2 shows one way to drive the 8761 SPDT RF Switches or 33300 H Series Programmable Step Attenuators Figure 2 2 only shows control for Controlling RF the 33300 40 dB step Additional drive relays are required for the 10 dB and Switches Step 208 steps Attenuators The 57614 and 33300A C operate from a 12V 15V coil voltage while the BASIC 8761B and 33300B D operate from a 24V 30V coil voltage To close channel 00 execute the following To open channel 00 use OPEN 100 10 DISP Applying 12V 20 OUTPUT 70915 CLOS 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number 30 END Chapter 2 Using the Form C Switch 35 6205C EXTERNAL DUAL PWR SUPPLY E1463A TERMINAL MODULE MODULE HA sme T Channel 00 NO CON D CONC 4 8761A RF Switch or 33300A C Step Attenuator 12V Coil Voltage 2 NC E1463A TERMINAL MODULE MODULE Channel 00 NO CONO CONC 2 NC l l l l l l l l D 8761B RF Switch or l
33. represents conditions that are part of the instrument s operation The switch driver does not set bit 8 in the OPERation Status Register see STATus OPERation EVENt STATus OPERation ENABle Parameters Comments Example STATus OPERation ENABle lt unmask gt sets an enable mask to allow events recorded in the Event Register of the OPERation Status Register to send a Summary bit to the Status Byte Register bit 7 For switch modules when bit 8 in the OPERation Status Register is set to 1 and bit 8 is enabled by STATus OPERation ENABle bit 7 in the Status Byte Register is set to 1 Name Type Range of Values Default Value lt unmask gt numeric 0 through 65 535 N A Setting Bit 7 of the Status Byte Register STATus OPERation ENABle 256 sets bit 7 OPR of the Status Byte Register to 1 after bit 8 Scan Complete of the OPERation Status Register is set to 1 Related Commands ROUTe SCAN Enabling Operation Status Register Bit 8 STAT OPER ENAB 256 Enable bit 8 of the OPERation Status Register to be reported to bit 7 OPR in the Status Byte Register STATus OPERation ENABle Chapter 3 Comments STATus OPERation ENABle returns the bit value of the Enable Register within the OPERation Status Register Output Format STATus OPERation ENABle returns a decimal weighted value from 0 to 65 535 indicating the bits set to true Maximum Value Returned The value returned is the value set by STAT
34. states open or closed ARM COUNt TRIGger SOURce OUTPut STATe INITiate CONTinuous The RCL numeric state command recalls the state when the last SAV was executed for the specified numeric state parameter 0 9 If no SAV was executed for the numeric state RST default settings are used Refer to the SAV settings list for the settings recalled by RCL This program shows how to save and recall Form C switch states 10 DIM A 150 Dimension a string variable for 150 characters 20 OUTPUT 70915 CLOS 100 131 Close channels 00 31 on the Form C switch 30 OUTPUT 70915 SAV 5 Save as numeric state 5 40 OUTPUT 70915 RST CLS Reset and clear the Form C switch 50 OUTPUT 70915 CLOS 100 131 Query the channels closed 60 ENTER 70915 A 70 PRINT Channels Closed A Print closed channels should print Os 80 OUTPUT 70915 RCL 5 Recall numeric state 5 90 OUTPUT 70915 CLOS 100 131 Query to see which channels are closed 100 ENTER 70915 A 110 PRINT Channels Closed A IPrint closed channels should print 1s 120 END Chapter 2 Detecting Error Conditions Example Detecting Error Conditions BASIC Example Detecting Error Conditions Chapter 2 Turbo C The SYSTem ERRor query requests a value from an instrument s error register This register contains an integer in the range 32 768 to 32 767 The response takes the form err number err message where
35. the warranty period Agilent will replace software media which does not execute its programming instructions due to such defects 3 Agilent does not warrant that the operation of Agilent products will be interrupted or error free If Agilent is unable within a reasonable time to repair or replace any product to a condition as warranted customer will be entitled to a refund ofthe purchase price upon prompt return of the product 4 Agilent products may contain remanufactured parts equivalent to new in performance or may have been subject to incidental use 5 The warranty period begins on the date of delivery or on the date of installation if installed by Agilent If customer schedules or delays Agilent installation more than 30 days after delivery warranty begins on the 31st day from delivery 6 Warranty does not apply to defects resulting from a improper or inadequate maintenance or calibration b software interfacing parts or supplies not supplied by Agilent Technologies c unauthorized modification or misuse d operation outside of the published environmental specifications for the product or e improper site preparation or maintenance 7 TO THE EXTENT ALLOWED BY LOCAL LAW THE ABOVE WARRANTIES ARE EXCLUSIVE AND NO OTHER WARRANTY OR CONDITION WHETHER WRITTEN OR ORAL IS EXPRESSED OR IMPLIED AND AGILENT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OR CONDITIONS OF MERCHANTABILITY SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR
36. when programmed by SCPI Errors with negative values are governed by the SCPI standard and are categorized in Table C 1 Error numbers with positive values are not governed by the SCPI standard See the E1406A Command Module User s Manual for further details on these errors Table C 1 Error Types Range Error Types Description 199 to 100 Command Errors syntax and parameter errors 299 to 200 Execution Errors instrument driver detected errors 399 to 300 Device Specific Errors instrument driver errors that are not command nor execution errors 499 to 400 Query Errors problem in querying an instrument E1463A Error Messages 93 Error Messages Table C 2 Error Messages Code Error Message Potential Cause s 109 Missing Parameter Sending a command requiring a channel list without the channel list 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 310 System Error Internal Driver This error can result if an excessively long parameter list is entered Error 1500 External Trigger Source Assigning an external trigger source to a switchbox when the trigger Already Allocated source has already been ass
37. 27 CH26 CH25 CH24 CH23 CH22 CH21 CH20 CH19 CH18 CH17 CH16 Read Always returns FFFF4g 84 Register Based Programming Appendix B Programming Examples Example Reading the Registers Appendix B BASIC This section provides example programs in BASIC and C HP UX including Example Reading the Registers BASIC Example Reading the Registers C HP UX Example Making Measurements BASIC Example Making Measurements C HP UX Example Scanning Channels BASIC Example Scanning Channels C HP UX This BASIC programming example reads the Manufacturer ID Register Device Type Register and Status Register on the Form C switch 10 TKKK K KKK KK K KK OK OK KK OK KK K K KK K KK K OK KK K KK KK OK K OK K KK OK K KK K K 30 TKKK KKK K KK K KK OK K KK K KK K K KK K KK K KK K K KK KK OK K K K KK K K KK K K 40 OPTION BASE 1 50 Setup arrays to store register names and addresses 60 DIM Reg name 1 3 32 Reg addr 1 3 70 80 Read register names and addresses into the arrays 90 READ Reg name 100 READ Reg addr 110 120 Set base address variable 130 Base addr DVAL DEO00 16 140 150 Map the A16 address space in the controller 160 170 CONTROL 16 25 2 180 Call the subprogram Read regs 190 Read regs Base addr Reg name Reg addr 200 210 DATA Identification register Device register Status register 220 DATA 00 02 04 230
38. 7 Agilent Technologies Warranty Statement ssssssssss e 7 Safety Symbols feces eii e ib lt te e rae teet ede itus Qoi RE Ag ene et Man ES 8 WarrilligS i iecit eror tn yenit Oen tene pe T Dexia es 8 Declaration Of Contformlty 2 niinc merce bee EE E n ER 9 Chapter 1 Getting Started seseseseeseeeeeeeenee ener nnne nnne nnns 11 USING TIS Chapter ro eet CR eb p D ED Ia LO RIS 11 Form C Switch Descriptions enie e a a a 11 Basic Operatlonhi 3 E aie ai ict eM 11 Typical Configurations ecu tii t nr Ee EE AERE HOPRER ML wees MUT IER tug 13 Configuring the Form C Switch cions A a eee nnns 14 Warnings and Cautions orena aata E E E enne nnns 14 Setting the Logical Address Switch ssssssse 15 Setting the Interrupt Priority sateno ee aE A mmn 16 Installing the Form C Switch in a Mainframe ss 17 Configuring a Terminal Module seen eene eene 18 Standard Terminal Module Description sssssssssssssseme 18 Terminal Module Option A3G Description sssssssssseeeenes 18 Connecting User Inputs asiarra O eene nennen nns 19 Wiring a Terminal Module moire oea r aT mmm nnn 20 Attaching a Terminal Module to the Form C Switch ssesesess 22 Protecting Relays and Circuits s sirrane iarere enaa aaa EE EREA ARRETARA REG 23 Relay biteXEactors ea Ure afe tco A 23 Extending Relay Life
39. AED ANE NI Agilent 75000 Series C Agilent E1463A 32 Channel 5 Amp Form C Switch a a a c i User s Manual and SCPI Programming Guide Where to Find it Online and Printed Information System installation hardware software VXIbus Configuration Guide Module configuration and wiring This Manual SCPI programming This Manual SCPI example programs This Manual VXIplug amp play Driver CD SCPI command reference This Manual VXIplug amp play programming VXIplug amp play Online Help VXIplug amp play example programs VXIplug amp play Online Help VXI plug amp play function reference VXIplug amp play Online Help Soft Front Panel information VXIplug amp play Online Help VISA language information Agilent VISA User s Guide Agilent VEE programming information Agilent VEE User s Manual Supplied with Agilent Command Modules Embedded Controllers and VXLink Agilent Technologies Manual Part Number E1463 90004 Printed September 2012 Printed in Malaysia E0912 NOTICE In August 2014 Agilent Technologies former Test and Measurement business became Keysight Technologies This document is provided as a courtesy but is no longer kept current and thus will contain historical references to Agilent For more information goto www keysight com KEYSIGHT TECHNOLOGIES Contents E1463A 32 Channel Form C Switch User s Manual Front Matter eget Re ipi E aee Ped rra eee ak AA
40. Device Type register printf n Device Type Register 0x x n reg_ptr gt device_type read the Status register printf n Status Register 0x x n reg_ptr gt status_reg return 86 Register Based Programming Appendix B Example Making This BASIC programming example closes bit 1 on bank 0 waits for a Measurements measurement to be made and then opens the channel You must insert your own programming code for the measurement part of this program For BASIC example if you are using the E1411B see the E1326B E1411B Multimeter User s Manual for programming examples 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 280 290 300 310 320 330 340 350 380 390 Appendix B DOK K KKK KK RK K K K KK K KK K K KK K KKK KK KKK OK KK K KK OK K KK K K KK OK OK KK PK 2 2 KKK K KK K KKK KK KK K KK K KKK K K KK K K KK KK KK K KK K KKK KK KKK K KK OPTION BASE 1 I Set up arrays to store register names and addresses DIM Reg name 1 1 32 Reg addr 1 1 I Read register names and address into the arrays READ Reg name READ Reg addr I Set base address variable Base addr DVAL DE00 16 Map the A16 address space in the controller CONTROL 16 25 2 Call the subprogram Make meas Make meas Base addr Reg addr l DATA BankO channels register DATA 06 END This subprogram closes bit 1 of bankO channels waits for the Ichannel to be clos
41. END 300 This subprogram steps through a loop that reads each register 310 and prints its contents 320 SUB Read regs Base addr Reg name Reg addr 330 340 For Number 1 to 3 350 Register READIO 16 Base addr Reg addr number 360 PRINT Reg name number IVAL Register 16 370 Next Number 380 SUBEND Register Based Programming 85 Example Reading This C HP UX programming example reads the Manufacturer ID Register the Registers Device Type Register and Status Register on the Form C switch eek readreg C Fkk kk BERRA RERK AAA RAHA ARKH AA EKA AK EKA AK KEKEE AK AF include lt sys vxi h gt source file for controller VXI drivers include fcntl h include lt stdio h gt define logical_address 120 logical address of the Form C module int fd typedef unsigned short word typedef struct dev_regs set up pointers unsigned short id_reg unsigned short device_type unsigned short status_reg unsigned short bankO channels DEV_REGS main open the controller VXI interface fd open dev vxi primary O_RDWR if fd perror open exit 1 retrieve the A16 pointers dev struct dev regs vxi get a16 addr fd logical address sub to read the registers read reg dev END of main program SUB READ_REG int read_reg reg_ptr DEV_REGS reg_ptr read the ID register printf n ID Register Ox x n reg_ptr gt id_reg read the
42. Enabling Trig Out Port When enabled a pulse is output from the Trig 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 5V negative going pulse Trig Out Port Shared by Switchboxes When enabled the Trig Out port is pulsed by any switchbox each time a scanned channel is closed To disable the output for a specific module send OUTPut EXTernal STATe OFF or OUTPut EXTernal STATe 0 for that module One Output Selected at a Time Only one output TTL Trg or EXTernal can be enabled at one time Enabling a different output source will automatically disable the active output Related Commands ROUTe SCAN TRIGger SOURce RST Condition OUTPut EXTernal STATe OFF port disabled Example Enabling Trig Out Port OUTP EXT ON Enable Trig Out port to output pulse after each scanned channel is closed Chapter 3 E1463A Command Reference 57 OUTPut EXTernal STATe Example OUTPut STATe Parameters Comments Example 58 E1463A Command Reference OUTPut EXTernal STATe queries the present state of the Trig Out port on the E1406A Command Module 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 OUTPut EXTernal STATe returns 1 since the port is enabled OUTP EXT ON Enabl
43. IB interface The second example assumes a PC running Borland Turbo C and an 82350A or equivalent Interface Card with command library 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 Chapter 3 for information on the SCPI commands 10 OUTPUT 70915 RST Reset the module 20 OUTPUT 70915 CLOS 102 Close channel 02 30 OUTPUT 70915 CLOS 102 Query channel 02 state 40 ENTER 70915 Value Enter result into Value 50 PRINT Value Display result 60 END 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 Chapter 3 for information on the SCPI commands include lt stdio h gt include lt chpib h gt Include file for GPIB define ISC 7L define FORMC 70915L Form C default address define TASK1 RST Command for a reset define TASK2 CLOSE 89102 Command to close channel 02 define TASK3 CLOS 102 Command to query channel 02 main char into 257 int length 256 Output commands to Form C switch error handler IOTIMEOUT 7L 5 0 TIMEOUT error handler IOOUTPUTS FORMC TASK1 4 OUTPUT command
44. Q AC Performance Capacitance 30 pF Channel to Channel 40 pF Channel to Common 25 pF Common to Guard Bandwidth 3 dB 210 MHz typical Crosstalk db for Z1 Zs 50 Q Frequency lt 10 kHz 100 kHz lt 1 MHz Channel to Channel 83 63 43 Common to NO or NC 80 60 40 Module to Module 100 100 90 Relays are subject to normal wearout based on the number of operations Absolute worst case when all relays are closed simultaneously Appendix A Form C Switch Specifications 77 Notes 78 Form C Switch Specifications Appendix A Appendix B Register Based Programming About This Appendix This appendix contains the information you can use for register based programming of the E1463A Form C Switch The contents include Register Programming vs SCPI Programming 79 Addressing the Registers lllllel else 79 Register Descriptions llle 82 Programming Examples 0 00 eese 85 Register Programming vs SCPI Programming NOTE The E1463A Form C Switch is a register based module that does not support the VXlbus word serial protocol When a SCPI command is sent to the Form C switch the E1406 Command Module parses the command and programs the switch at the register level If SCPI is used to control this module register programming is not recommended The SCPI driver maintains an image of the card state The
45. RIGger SOURce HOLD is set the scan is advanced one channel each time TRIGger is executed TRIG SOUR HOLD Set trigger source to HOLD SCAN 100 103 Define channel list INIT Begin scan close channel 00 loop statement Start count loop TRIG Advance scan to next channel increment loop Increment loop count 72 E1463A Command Reference Chapter 3 TRIGger SOURce Chapter 3 Parameters Comments TRIGger SOURce source specifies the trigger source to advance the channel list during scanning Parameter Parameter Parameter Default Name Type Description Value BUS discrete TRG or GET command IMM EXTernal discrete Trig In port IMM HOLD discrete Hold Triggering IMM IMMediate discrete Immediate Triggering IMM TTLTrgn numeric TTL Trigger Bus Line 0 7 IMM Enabling the Trigger Source TRIGger SOURCce only selects the trigger source INITiate IMMediate enables the trigger source Using the TRIGger Command You can use TRIGger MMediate to advance the scan when TRIGger SOURce BUS or TRIGger SOURce HOLD is selected Using External Trigger Inputs With TRIGger SOURce EXTernal selected only one switchbox at a time can use the external trigger input at the E1406A Trig In port The trigger input is assigned to the first switchbox requesting the external trigger source with a TRIGger SOURce EXTernal command Assigning External Trigger A switchbox assigned with TRIGger SOURce EXTernal r
46. Rce IMM Will advance scanning cycles automatically INITiate CONTinuous OFF Number of scanning cycles is set by ARM COUNt OUTPut STATe OFF Trigger output from EXT or TTL sources is disabled Module Identification The following example programs use the RST CLS IDN SYST CTYP and SYST CDES commands to reset and identify the E1463A Form C switch module A typical print for the E1463A Form C switch is Example Module 10 Identification B BASIC 30 40 50 60 70 80 90 HEWLETT PACKARD SWITCHBOX 0 A 04 00 32 Channel General Purpose Relay HEWLETT PACKARD E1463A 0 A 04 00 DIM A 50 B 50 C 50 OUTPUT 70915 RST CLS OUTPUT 70915 IDN ENTER 70915 A OUTPUT 70915 SYST CDES 1 ENTER 70915 B OUTPUT 70915 SYST CTYP 1 ENTER 70915 C PRINT A B C 100 END 32 Using the Form C Switch IDimensions three string variables to fifty characters Outputs the commands to reset and clears the status register Queries for module identification Enters the results into A Outputs the command for a card description Enters the results into B Outputs the command for the card type Enters the results into C Prints the contents of variables A B and C Chapter 2 Example Module include stdio h Identification inctude chpib h Include file for GPIB TURBO C define Isc 7L define FORMC 70915L Form C default address
47. Rt Subsystem Syntax Comments Example 50 E1463A Command Reference The ABORt command 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 ABORt ABORt Actions The ABORt command terminates the scan and invalidates the current channel list Stopping Scan Enabled Via Interface When a scan is enabled via an interface an interface CLEAR command can be used to stop the scan When the scan is enabled via the interface and TRIG SOUR BUS or HOLD is set you can use ABORt to stop the scan Related Commands ARM INITiate CONTinuous ROUTe SCAN TRIGger Stopping a Scan with ABORt This example stops a continuous scan in progress TRIG SOUR BUS Trigger command will be via backplane bus interface TRG command generates trigger INIT CONT ON Set continuous scanning SCAN 100 107 Scan channels 00 to 07 INIT Start scan close channel 00 ABOR Abort scan in progress Chapter 3 ARM Subsystem Syntax ARM COUNt Parameters Comments Example Chapter 3 The ARM subsystem selects the number of scanning cycles 1 to 32 767 for each INITiate command ARM COUNt number MIN MAX COUNE lt MIN MAX gt ARM COUNt number MIN MAX allows scanning to occur a multiple of times 1 to 32 767 with one INITiate command when INITiate CONTinuous OFF O0 is set MIN sets 1 cycle and MAX sets 32 767 cycles Name Type Ra
48. SIC 42 Querying Channel Open State 63 Querying Continuous Scanning State 56 Querying Number of Scans 52 Index 95 E continued examples cont d Querying the OPERation Status Register 68 Querying the Trigger Source 74 Querying TTL Trigger Bus Enable State 60 Reading the Description of a Module 69 Reading the Error Queue 71 Reading the Model Number of a Module 70 Reading the OPERation Status Register 68 Reading the Registers BASIC 85 Reading the Registers C HP UX 86 Saving and Recalling State BASIC 44 Scanning Channels BASIC 90 Scanning Channels C HP UX 91 Scanning Using Bus Triggers 74 Scanning Using External Device 64 Scanning Using External Triggers 74 Scanning Using Trig In Out Ports BASIC 39 Scanning Using TTL Trigger Bus BASIC 40 Select Module for Monitoring 53 Setting Ten Scanning Cycles 51 Stopping a Scan with ABORt 50 Synchronizing the Form C Switch BASIC 46 Using the Scan Complete Bit BASIC 43 Voltage Switching BASIC 34 extending relay life 24 IEEE 488 2 commands reference 76 implied commands 48 INITiate subsystem 55 INITiate CONTinuous 55 INITiate CONTinuous 56 INITiate IMMediate 56 installing switch in mainframe 17 instrument VXlbus 11 interrupt priority setting 16 L linking commands 49 logical address switch setting 15 Manufacturer ID register 82 module identification 32 96 Index O offset register 81 operation status registe
49. Tem ERRor command returns 0 No error To clear all error numbers messages in the queue execute CLS Chapter 3 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 errors are discarded Example Reading the Error Queue SYST ERR Query the error queue Chapter 3 E1463A Command Reference 71 TRIGger The TRIGger command subsystem controls the triggering operation of Form C switch modules in a switchbox Subsystem Syntax TRIGger MMediate SOURCe source SOURCe TRIGger IMMediate TRIGger IMMediate causes a trigger event to occur when the defined trigger source is TRIGger SOURce BUS or TRIGger SOURce HOLD Comments Executing TRIGger IMMediate Before TRIGger IMMediate will execute a channel list must be defined with ROUTe SCAN lt channel_list gt and an INITiate MMediate must be executed BUS or HOLD Source Remains If selected TRIGger SOURce BUS or TRIGger SOURce HOLD remains in effect after triggering a switchbox with TRIGger IMMediate Related Commands INITiate ROUTe SCAN Example Advancing Scan Using TRIGger This example uses TRIGger IMMediate to advance the scan of a single module switchbox from channel 00 through 03 Since T
50. YSTem ERRor Comments 70 E1463A Command Reference Form C Switch Power on State The power on state is all channels relays open SYSTem CPON ALL and RST open 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 Module to Power on State SYST CPON 1 Set card 1 to power on state SYSTem CTYPe lt number gt returns the module card type of a selected module in a switchbox Name Tw Range of Values Default Value number numeric 1 through 99 E1463A Form C Switch Model Number SYSTem CTYPe number returns HEWLETT PACKARD E1463A 0 A 04 00 where the 0 after E1463A is the module serial number always 0 and A 04 00 is an example of the module revision code number Reading the Model Number of a Module SYST CTYP 1 Return the model number SYSTem ERRor returns the error numbers and corresponding error messages in the error queue of a switchbox See Appendix C for a listing of switchbox error numbers and messages 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 SYSTem ERRor is sent The errors are cleared first in first out When the queue is empty each following SYS
51. added to the base address to form the register address 1FDE00 6 04 6 1FDE04 or 2 088 448 4 2 088 452 FFFF 46 REGISTER REGISTER DESCRIPTION ADDRESS QEESET SPACE Es 0816 Relay Control Register 2 0646 Relay Control Register 1 0446 Status Control Register 0246 Device Type Register 0046 ID Register E1463A A16 REGISTER MAP C000 46 49 152 Base Address COOO 4s Logical Address 64 46 or 49 152 Logical Address 64 4o Register Address Base address Register Offset Figure B 1 Registers Within A16 Address Space E1406 FFFFFF 4g ADDRESS MAP EM me OFFSET EROS 20000046 rA 0846 Relay Control Register 2 A16 0646 Relay Control Register 1 A24 ADDRESS REGISTER 0446 Status Control Register ADDRESS SPACE ADDRESS 0246 Device Type Register SPACE SPACE 0046 ID Register E1463A IFOOO0 1g IFCOOO s A16 REGISTER MAP 2 080 768 16 BIT WORDS 200000 46 1F0000 16 Base Address IFCO00 16 Logical Address 64 46 or 2 080 768 Logical Address 64 10 00000046 Register Address Base address Register Offset Figure B 2 Registers Within the E1406 A16 Address Space Appendix B Register Based Programming 81 Register Descriptions The Form C switch module contains two read registers one read
52. aking wiring connections be sure the wires make good connections on screw terminals Maximum terminal wire size is No 16 AWG When wiring all channels a smaller gauge wire No 20 22 AWG is recommended Wire ends should be stripped 6 mm 0 25 inch and tinned to prevent single strands from shorting to adjacent terminals 1 Remove Clear Cover N A A Release Screws and Release 3 Make Connections Screw Type VW1 Insert wire into terminal Tighten screw 4 Install Connectors Solder Eye Only B Press Tab Forward Use wire Size 16 26 AWG Flammability Rating 2 Remove and Retain Wiring Exit Panel Remove 1 of the 3 wire exit panels Solder Eye Type Tighten wraps to secure wires Figure 1 10 Wiring a Terminal Module continued on next page 20 Getting Started Chapter 1 Cut required holes in panels for wire exit 6 Replace Wiring Exit Panel Q0 07g q 07 Keep wiring exit panel hole as small as possible onto the fixture 7 Replace Clear Cover A Hook in the top cover tabs B Press down and tighten screws g 8 Install the Terminal Module s L E1463A Module Extraction Levers FS 9 Pu
53. and SCAN are second level commands with parameters and MODE is a third level command There must be a space between the second level command such as CLOSe and the parameter channel list E1463A Command Reference 47 Command Separator A colon always separates one command from the next lower level command as shown below ROUTe SCAN MODE Colons separate the root command from the second level command ROUTe SCAN and the second level from the third level SCAN MODE Abbreviated Commands The command syntax shows most commands as a mixture of upper and lowercase letters The uppercase 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 TRIGger then TRIG and TRIGGER are both acceptable forms Other forms of TRIGger such as TRIGG or TRIGGE will generate an error You may use uppercase or lowercase letters Therefore TRIGGER trigger and TrigGeR are all acceptable Implied Commands Implied commands are those that appear in square brackets in the command syntax 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 u
54. ase_addr Reg_addr 1 0 SUBEND Appendix B Example Scanning This C HP UX programming example scans through the bank 0 channels Channels C HP UX Appendix B NOTE closing one switch at a time and makes measurements between switch closures You must insert your own programming code for the measurement part of this program For example if you are using the E1411B see the E1326B E1411B Multimeter User s Manual for programming examples The sub ver time allows time for the switches to close The program should print a time around 10 ms If the time is less you must change the value of j in the for loop For example instead of 10000 you might need to use 12000 The math h include file requires a Im option when compiling this program JEEXTA KEEKEEKE EKKE KKE KEE KK EKEK KEEK KEE KEKEREKE EKEK KEEK K Jt scanning c pou Fkeotokkookooko RAK AA xokokokookekkokeokokookokkokokokokkokokekcekekekoerokolek include time h include math h file to perform math functions include sys vxi h source file for controller VXI drivers include fcntl h include lt stdio h gt define logical_address 120 logical address of Form C Switch define lastch15 int fd i reg double y typedef unsigned short word typedef struct dev_regs set up pointers unsigned short id_reg unsigned short device_type unsigned short status_reg unsigned short bankO channels DEV REGS main
55. ation CONDition 67 STATus OPERation ENABle 67 STATus OPERation ENABle 67 STATus OPERation EVENt 68 STATus PRESet 68 Status Control register 82 switch addressing 27 allowable current 26 card numbers 28 channel addresses 28 configuration 13 14 connector pinouts 19 current maximum 26 description 11 error conditions 45 error messages 93 94 error types 93 installing in mainframe 17 S continued Switch cont d logical address 15 module identification 32 operation 11 programming 27 power on conditions 32 querying 42 recalling states 44 relays 12 reset conditions 32 saving states 44 scan complete bit 42 scanning channels 39 schematic 12 SCPI commands 31 Switching channels 34 synchronizing 46 SYSTem subsystem 69 SYSTem CDEScription 69 SYSTem CPON 69 SYSTem CTYPe 70 SYSTem ERRor 70 T terminal module Option A3G description 18 terminal modules attaching 22 configuring 18 wiring 20 TRIGger subsystem 72 TRIGger IMMediate 72 TRIGger SOURce 73 TRIGger SOURce 74 U user inputs connecting 19 20 V variable command syntax 48 VXIbus instrument 11 W WARNINGS 8 14 warranty statement 7 wiring a terminal module 20 Index 97 Notes 98 Index
56. channel at a time You can scan any combination of channels for a single module or a multiple module switchbox Single multiple or continuous scanning modes are available See Chapter 3 for additional information on scanning Form C switch channels Channel lists can extend across boundaries For multiple module switchbox instruments the channels to be scanned can extend across switch modules For example for a two module switchbox instrument SCAN 8 100 231 will scan all channels of both Form C switch modules Use ARM COUNt number to set multiple continuous scans from 1 to 32 767 scans Use INITiate CONTinuous ON to set continuous scanning See Chapter 3 for information about these SCPI commands This example shows one way to synchronize instrument measurements of a device under test DUT with Form C switch channel closures For measurement synchronization the E1406A Command Module Trig In and Trig Out ports are connected to the instrument Voltmeter Complete and External Trigger ports See Figure 2 5 for typical user connections For this example the normally closed NC contacts channels 00 02 are connected to ground and the measurements are made on the common C contacts The command module and instrument are connected via GPIB The Form C switch module has a logical address 120 secondary address 15 and the external instrument has an address of 722 E1406A Command Voltmeter External Complete Trigger
57. 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 and 213 OPEN 213 Query channel 213 state E1463A Command Reference 63 ROUTe SCAN Parameters Comments NOTE Example 64 E1463A Command Reference ROUTe SCAN channel list defines the channels to be scanned channel list has the form ccnn where cc card number 01 99 and nn 7 channel number 00 31 Name Type Range of Values Default Value channel list numeric cc00 cc31 N A 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 Scanning Channels To scan a single channel use ROUT SCAN ccnn To scan multiple channels use ROUT SCAN ccnn ccnn To scan sequential channels use ROUT SCAN Qccenn ccnn To scan groups of sequential channels use ROUT SCAN ccnn ccenn cenn ccnn or any combination of the above Channel numbers can be in the lt channel_list gt in any random order Scanning Operation When a valid channel list is defined INITiate IMMediate 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 At the end of the scan the last trigger
58. d 24 0 7 1 9 17 and 25 8 15 2 10 18 and 26 16 23 3 11 19 and 27 24 31 4 12 20 and 28 Chapter 2 Using the Form C Switch 37 Table 2 3 Matrix Switching Connections Connect These Common C Channel Numbers Together Connect These Normally Open NO Channel Numbers Together 5 13 21 and 29 6 14 22 and 30 7 15 23 and 31 Close the channel number enclosed in the circle in Figure 2 4 to connect the corresponding row and column This example closes channel 25 to connect S3 to 11 and closes channel 20 to connect S2 to 14 To close channels 20 and 25 execute the following To open the channels use OPEN 120 125 10 DISP Testing Switch Matrix 20 OUTPUT 70915 CLOS 120 125 Close channels 20 and 25 1 is 30 END the card number 20 and 25 are channel numbers ec e NO 00 Cc NO 08 c NO 46 ec NO 2M ec Close this channel to connect S to I 38 Using the Form C Switch Figure 2 4 Example Matrix Switching Chapter 2 Scanning Channels Example Scanning Using Trig In and Trig Out Ports Chapter 2 BASIC 3457A Multimeter Rear View i 0v For the Form C switch scanning channels consists of closing a specified set of channels one
59. e E1406A Trig Out port OUTP EXT Query port enable state OUTPut STATe mode enables or disables the Trig Out port on the E1406A Command Module OUTPut STATe ON 1 enables the port and OUTPut STATe OFF 0 disables the port This command functions the same as OUTPut EXTernal STATe Nam Yee Range of Values Default Value mode boolean ON OFF 1 0 OFF 0 RST Condition OUTPut STATe OFF port disabled Enabling Trig Out Port OUTP ON Enable Trig Out port to output pulse after each scanned channel is closed Chapter 3 OUTPut STATe Example OUTPut STATe queries the present state of the E1406A Command Module Trig Out port The command returns 1 if the port is enabled or Q if the port is disabled This command functions the same as OUTPut EXTernal STATe Query Trig Out Port Enable State This example enables the E1406A Command Module Trig Out port and queries the enable state OUTPut STATe returns 1 since the port is enabled OUTP ON Enable Trig Out port OUTP Query port enable state OUTPut TTLTrgn STATe Chapter 3 Parameters Comments OUTPut TTLTrgn STATe mode selects and enables which TTL Trigger bus line 0 to 7 will output a trigger when a channel is closed during a scan This is also used to disable a selected TTL Trigger bus line n specifies the TTL Trigger bus line 0 to 7 and mode enables ON or 1 or disables OFF or 0 th
60. e Logical Address Switch Setting the Interrupt Priority Installing the Form C Switch in a Mainframe SHOCK HAZARD Only qualified service trained personnel who are aware of the hazards involved should install configure or remove the Form C switch module Use only wire rated for the highest input voltage and remove all power sources from the mainframe and installed modules before installing or removing a module MAXIMUM VOLTAGE CURRENT Maximum allowable voltage per channel for the Form C switch is 125 Vdc or 250 Vrms Maximum current per channel is 5 Adc or ac rms non inductive Maximum power of an external load is 150 W or 1250 VA per channel or 1500 W or 12500 VA per module Exceeding any limit may damage the Form C switch Chapter 1 CAUTION STATIC ELECTRICITY Static electricity is a major cause of component failure To prevent damage to the electrical components in the Form C Switch observe anti static techniques whenever removing a module from the mainframe or whenever working on a module The Form C switch is susceptible to static discharges Do not install the Form C switch without its metal shield attached Setting the Logical The logical address switch LADDR factory setting is 120 Valid addresses H are from 1 to 255 The Form C switch can be configured as a single Address Switch instrument or as a switchbox See Figure 1 4 for switch position information NOTE The address switch selected value must be a
61. e Register to 0 SYSTem CDEScription number Returns description of module in a switchbox CTYPe number Returns the module type CPON number ALL Sets specified module to its power on state ERRor Returns error number message to error queue TRIGger IMMediate Causes a trigger to occur SOURce BUS SOURce EXTernal SOURce HOLD SOURce IMMediate SOURce Trigger source is TRG Trigger source is Trig In on the E1406 Hold off triggering Continuous internal triggering Query scan trigger source Chapter 3 E1463A Command Reference 75 IEEE 488 2 Common Commands Reference The following table lists the IEEE 488 2 Common commands accepted by the E1463A Form C Switch module The operation of some of these commands is described in Chapter 2 of this manual For more information on Common commands refer to the user s manual for your mainframe or to the ANSI IEEE Standard 488 2 1987 Command Title Command Description CLS Clear Status Register Clears all status registers see STATus OPERation EVENIt ESE Event Status Enable Enables Status Register bits ESE Event Status Enable Query Queries the current contents in the Standard Event Status Register ESR Event Status Register Query Queries and clears the current contents in the Standard Event Status Register IDN Identification Query Returns identification string of the Switchbox OPC Operation Com
62. e SCPI Commands for the E1463A Form C Switch module Command Description ABORt ABORt Aborts a scan in progress ARM COUNt lt number gt MIN MAX Multiple scans per INIT command COUNt MIN MAX Queries number of scans DISPlay MONitor CARD lt number gt AUTO Selects module to be monitored MONitor STATe mode Selects monitor mode INITiate CONTinuous lt mode gt Enables disables continuous scanning CONTinuous Queries continuous scan state IMMediate Starts a scanning cycle OUTPut EXTernal STATe mode Enables disables the Trig Out port on the E1406 EXTernal STATe Queries the external state STATe mode Enables disables the Trig Out port on the E1406 STATe Queries port enable state TTLTrgn STATe mode Enables disables the specified TTL trigger line TTLTIEg STATe Queries the specified TTL trigger line ROUTe CLOSe channel list Closes channel s CLOSe channel list Queries channel s closed OPEN channel ist Opens channel s OPEN channel list Queries channel s opened SCAN channel list Defines channels for scanning STATus OPERation CONDition Returns status of the Condition Register OPERation ENABle unmask Enables the Operation Event Register to set a bit in the Status Register OPERation ENABle Query the contents in the Operation Status Register OPERation EVENt Returns status of the Operation Status Register PRESet Sets Enabl
63. e if the channels are closed 40 ENTER 70915 Channels Enters the results from the switch card into the variable Channels 50 PRINT Channels Closed Channels Prints the channels closed should print 1s 60 END Using the Scan Complete Bit 42 Using the Form C Switch You can use the Scan Complete bit bit 8 in the Operation Status Register in the command module of a switchbox to determine when a scanning cycle completes no other bits in the register apply to the switchbox Bit 8 has a decimal value of 256 and you can read it directly with the STAT OPER command Refer to the STATus OPERation EVENt command in Chapter 3 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 GPIB 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 a GPIB Service Request 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 Chapter 2 Example Using the This example monitors bit 7 in the Status Register to determine when the i scanning cycle is complete The computer interfaces with an E1406A Scan Complete Bit Command Module over GPIB The GPIB select code is 7 the GPIB primary BASIC address is 09 and the
64. e specified TTL Trigger bus line Name Type Range of Values Default Value n numeric 0 to 7 N A mode boolean ON OFF 1 0 OFF 0 Enabling TTL Trigger Bus When enabled a pulse is output from the selected TTL Trigger bus line 0 to 7 after each channel in the switchbox is closed during a scan If disabled a pulse is not output The output is a negative going pulse One Output Selected at a Time Only one output TTLTrg or EXTernal can be enabled at one time Enabling a different output source will automatically disable the active output For example if TTLTrg1 is the active output and TTLTrg4 is enabled TTLTrg1 will become disabled and TTLTrg4 will become the active output Related Commands ROUTe SCAN TRIGger SOURCe OUTPut TTL Trgn STATe RST Condition OUTPut TTLTrgn STATe OFF disabled E1463A Command Reference 59 Example Enabling TTL Trigger Bus Line 7 OUTP TTLT7 STAT 1 Enable TTL Trigger bus line 7 to output pulse after each scanned channel is closed OUTPut TTLTrgn STATe OUTPut TTLTrgn STATe queries the present state of the specified TTL Trigger bus line The command returns 1 if the specified TTLTrg bus line is enabled or 0 if disabled Example Query TTL Trigger Bus Enable State This example enables TTL Trigger bus line 7 and queries the enable state OUTPut TTLTrgn returns 1 since the port is enabled OUTP TTLT7 STAT 1 Enable TTL Trigger bus line 7 OUTP
65. ed makes a measurement and then opens Ithe relay SUB Make meas Base addr Reg addr l WRITEIO 16 Base addr Reg addr 1 1 REPEAT UNTIL BIT READIO 16 Base addr 4 7 Make Measurements WRITEIO 16 Base addr Reg addr 1 0 SUBEND Register Based Programming 87 Example Making This C HP UX programming example closes bit 1 on bank 0 waits for a Measurements measurement to be made and then opens the channel You must insert your own programming code for the measurement part of this program For C HP UX example if you are using the E1411B see the E1326B E1411B Multimeter User s Manual for programming examples The sub ver time allows time for switch closures This sub should print a time around 10 ms If the time is less you must change the value of j in the for loop For example instead of 10000 you might need to use 12000 PEER E k kK ke RAK RRA Kk kK AK AAR AK Kk kkk kk kkk k kkk makemeas c EEFI JEER FEE KEKEKE KKK KK KEK KKE KAA RK AK AA RK KEE RKKK KEREKEK KK include lt time h gt include lt sys vxi h gt source file for controller VXI drivers include fcntl h include lt stdio h gt define logical address 120 logical address of Form C Switch int fd typedef unsigned short word typedef struct dev_regs set up pointers unsigned short id_reg unsigned short device_type unsigned short status_reg unsigned short bankO_channels DEV REGS main t
66. ediate ccccccccecceceeeeeeeeeeeeeeeeaeaaecaeceeeeeeeeeeeseneenaanaeseseeeeeeeenes 56 OUTPUT ETE de The e En ee ER I ee ER aee da i ee 57 OUTPutEXTernal STATe sss enne 57 OUTPut EXTernal STATe ceccecceeeeceeceeeeeeeeeeeeeececcnaeeeeeeeeeeeeeesesecseeneuaeeeeeees 58 OUTPULESTATC oat aaa TT 58 OUTPut S TATe 1 eee titer nre cect den or d od dd 59 OUTPutTTLTrgn STATe hae a a a a a a enne nnne 59 OUTPutTTLTrgn STATe deria eat eaea n eaaa rei Lia 60 ROUTE 55 5 ro de A eti e oe at e a S 61 ROUTe CLEOSe 1 iier tee cette rie tee dente edd a ie ev e dns 61 ROUTE CLOSES 1 inet detecte iet cx ede tere con Re 62 ROUTe OPEN amiini e devi Ere ed teer teer eec edd deed ra Reed ad aan de 62 s tejSur Hiel dz rr 63 RQUTe S CAN scontat ed tenerte dee eed i aded ete dde ed acess 64 STATUS S oin etti tn ete em itt LR 65 STATus OPERation CONDition sssssen enne eene 67 STATus OPERation ENABle sse eene enne 67 STATus OPERation ENABle sssssssssseeeene eene enne 67 STATus OPERation EVENIt eene rennen 68 STATUS PRESOt 224 aste ed dpa ta aL iud Ye dV A 68 SYSTE ariet een IM cH 69 SYSTem CDEScription nise i aea cette aa ae aara eataa aeaa aaae 69 SYSTem GPON ui enti LUN O E A S 69 SYSTem CTYPe avhenda lad ee a a een 70 SYSTem ERROEI 3 5 1 a ete ore a ae eed a eder fs 70 TRIGG itenim tmt 72 TRIGger IMMediate
67. elay Life Factors Extending Relay Life Adding Relay and Circuit Protection Maximum Allowable Module Switch Current Relays that wear out normally or fail due to misuse should not be considered defective and are not covered by the product s warranty Relays have a shorter life span than other electronic parts such as ICs Because of their mechanical nature relays usually have about 10 million operations at 30 operations per second which is not quite 100 hours Therefore to get the full life out of a relay in a switching module you must protect the relay Electromechanical relays are subject to normal wear out Relay life depends on several factors The effects of loading and switching frequency are Relay Load In general higher power switching reduces relay life In addition capacitive inductive loads and high inrush currents for example turning on a lamp or starting a motor reduces relay life Exceeding specified maximum inputs can cause catastrophic failure Switching Frequency Relay contacts heat up when switched As the switching frequency increases the contacts have less time to dissipate heat The resulting increase in contact temperature also reduces relay life A preventive maintenance routine can prevent problems caused by unexpected relay failure The end of the life of the relay can be determined by using one or more of the following three methods The best method or combination of methods as w
68. ell 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 Getting Started 23 Replacement Strategy The replacement strategy depends on the application If some relays are used more often or at a higher load than the others the relays can be individually replaced as needed If all the relays see similar loads and switching frequencies the entire circuit board can be replaced when the end of relay life approaches The sensitivity of the application should be weighed against the cost of replacing relays with some useful life remaining Extending Relay To help ensure full life for the relays you should consider the following Life items Be aware of non resistive loads When switching inductive loads high voltages thousands of volts are produced across the relay contacts
69. emains 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 requesting it with a TRIGger SOURce EXTernal command If a switchbox requests an external trigger input already assigned to another switchbox an error is generated Using Bus Triggers To trigger the switchbox with bus triggers when TRIGger SOURce BUS selected use the IEEE 488 2 common command TRG or the GPIB Group Execute Trigger GET command Trig Out Port Shared by Switchboxes When enabled the E1406A Command Module Trig Out port is pulsed by any switchbox each time a scanned channel is closed To disable the output for a specific module send OUTPut EXTernal STATe OFF or OUTPut EXTernal STATe 0 for that module One Output Selected at a Time Only one output TTLTrg or EXTernal can be enabled at one time Enabling a different output source will automatically disable the active output E1463A Command Reference 73 Example Example TRIGger SOURce Example 74 E1463A Command Reference Related Commands ABORt ROUTe SCAN OUTPut RST Condition TRIGger SOURce IMMediate Scanning Using External Triggers This example uses external triggering TRIGger SOURce EXTernal to scan channels 00 through 03 of a single module switchbox The trigger source to advance the scan is the input to the Trig In port on the E1406A Command
70. endering first aid and resuscitation is present DO NOT substitute parts or modify equipment Because of the danger of introducing additional hazards do not install substitute parts or perform any unauthorized modification to the product Return the product to an Agilent Technologies Sales and Service Office for service and repair to ensure that safety features are maintained Declaration of Conformity Declarations of Conformity for this product and for other Agilent products may be downloaded from the Internet There are two methods to obtain the Declaration of Conformity Go to http regulations corporate agilent com DoC search htm You can then search by product number to find the latest Declaration of Conformity e Alternately you can go to the product web page www agilent com find E1463A click on the Document Library tab then scroll down until you find the Declaration of Conformity link European contact Your local Hewlett Packard Sales and Service Office or Hewlett Packard GmbH Depart ment HQ TRE Herrenberger Stra e 130 D 71034 B blingen Germany FAX 49 703 1 14 3143 Notes Chapter 1 Getting Started Using This Chapter This chapter gives guidelines to get started using the E1463A 32 Channel 5 Amp Form C Switch module Form C switch including Form C Switch Description 2 20000 11 Configuring the Form C Switch llle 14 Configuring a Terminal Module
71. h ENTER command printf Print the errors s into return Using the Form C Switch 45 int error_handler int error char routine char ch if error NOERR printf n Error d 96s n error errstr error printf in call to GPIB function s n n routine printf Press Enter to exit scanf 9oc amp ch exit 0 return 0 Synchronizing the Form C Switch This section gives guidelines to synchronize a Form C switch module with a measurement instrument Example This BASIC program shows one way to synchronize a Form C switch yi module with a measurement instrument In this example the Form C Synchronizing the switch module switches a signal to a multimeter The program then verifies Form C Switch the BASIC 1 20 30 40 50 60 70 80 90 100 110 120 130 46 Using the Form C Switch channel is closed before the multimeter begins its measurement OUTPUT 70915 CLOS 105 Close channel 5 OUTPUT 70915 OPC Wait for operation complete ENTER 70915 Opc value OUTPUT 70915 CLOS 105 X Check to see if channel closed ENTER 70915 A IF A 1 THEN OUTPUT 70903 MEAS VOLT DC When channel is closed measure the voltage ENTER 70903 Meas value PRINT Meas value Print the measured voltage ELSE PRINT Channel did not close END IF END Chapter 2 Chapter 3 E1463A Command Reference Using This Chapter Command Types Common Command Format
72. he corresponding normally closed NC contacts When a channel is closed the common contact C is connected to the normally open contact NO User inputs and outputs to each channel are via the NO NC and C terminal connectors on the terminal module 12 Getting Started Chapter 1 Typical Configurations General Purpose Relay Configuration Digital Output Configuration Chapter 1 The Form C switch accepts user inputs up to 125 Vdc or 250 Vrms Maximum rated power capacity external load is 150 Wdc or 1250 VA per channel Per module you can switch 1500 Wdc or 12500 VA As noted the switch may be configured for general purpose switching scanning or digital output applications For general purpose Switching or scanning no additional configuration is required To configure the switch for digital output applications install external pull up resistors as required Multiple Form C switch modules can be configured as a switchbox instrument When using a switchbox instrument multiple Form C switch modules within the switchbox instrument can be addressed using a single interface address This configuration however requires the use of Standard Commands for Programmable Instruments SCPI As factory configured the Form C switch module 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 1 2 shows a typical gene
73. igned 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 This Card unsupported by the module 2008 Scan List Not Initialized Executing a scan without the INIT command 2009 Too Many Channels In Channel Attempting to address more channels than available in the switchbox List 2011 Empty Channel List No valid channels are specified in the lt channel_list gt 2012 Invalid Channel Range Invalid channel s specified in SCAN lt channel_list gt 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 This Card supported by the module or switchbox 94 E1463A Error Messages Appendix C A abbreviated commands 48 ABORt subsystem 50 adding relay protection 25 addressing registers 79 addressing the switch 27 ARM subsystem 51 ARM COUNt 51 ARM COUNt 52 attaching terminal modules 22 B base address 80 base address registers 80 C cautions 14 command separator 48 command types 47 common commands CLS 76 ESE 76 ESE 76 ESR 76 IDN 76
74. ing is Level 1 To change the interrupt priority remove the 4 pin jumper from the old priority location and reinstall in the new priority location If the 4 pin jumper is not used the two jumper locations must have the same interrupt priority level selected The interrupt priority jumper MUST be installed in position 1 when using the E1406 Command Module Level X interrupt priority should not be used under normal operating conditions Changing the priority level jumper is not recommended Do not change unless specifically instructed to do so ES Logical Address Switch Location Using 2 Pin Using 4 Pin l Jumper Jumper 3 3 IRQ IRQ szscu 7 sooal 7 E ie aeoal 6 aopunal 6 a unoaj 5 oo u 5 E A noom 4 Hae a 4 z apoal 3 gugsu g uEEE 2 eoou l 2 Interrupt gj 1 uu uz 1 Priority BEEEE X eoaal X Location Po 16 Getting Started Figure 1 5 Setting the Interrupt Priority Chapter 1 Installing the Form The E1463A may be installed in any slot except slot 0 in a C size VXIbus C Switch in a mainframe See Figure 1 6 to install the Form C switch in a mainframe Mainframe f 1 J Set the extraction levers out 2 Slide the E1463A into any slot except slot 0 until the backplane connectors touch 3 Seat the E1463A into the mainframe by pushing in the ext
75. l 1 l l l l l l l 33300B D Step Attenuator 24V Coil Voltage 2 EXTERNAL 24V PWR SUPPLY Figure 2 2 Example Controlling RF Switches Step Attenuators 36 Using the Form C Switch Chapter 2 Example Digital Figure 2 3 shows channel 00 configured for digital output operation Output When the channel 00 relay is open NC connected to C point 1 is at V and point 2 is at OV When the channel 00 relay is closed NO connected Configuration to C points 1 and 2 are both at OV To close channel 00 execute the BASIC following To open channel 00 use OPEN 100 10 DISP Closing channel 0 20 OUTPUT 70915 CLOS 100 Close channel 00 relay connect NO to C 1 is the card number and 00 is the channel number E1463A TERMINAL MODULE MODULE Channel 00 30 END NO NC Relay Open Closed Figure 2 3 Example Digital Output Configuration Exam ple Matrix The Form C switch module can be configured as a 4 x 8 single wire matrix H to connect any combination of up to four user sources SO S1 S2 S3 to Switching BASIC any combination of up to eight user instruments l0 11 11 17 at a time To do this make the connections shown in Table 2 3 Table 2 3 Matrix Switching Connections Connect These Common C Connect These Normally Open NO Channel Numbers Together Channel Numbers Together 0 8 16 an
76. l cases include MINimum MAXimum DEFault and INFinity Optional Parameters shown within square brackets are optional parameters 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 lt MIN MAX gt 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 Linking IEEE 488 2 Common Commands with SCPI Commands Use a semicolon between the commands For example RST RCL 1 or CLOS 101 SAV 1 Linking Multiple SCPI Commands Use both a semicolon and a colon between the commands such as CLOS 101 CLOS 101 Linking Subsystem Commands SCPI also allows several commands within the same subsystem to be linked with a semicolon such as ROUT CLOS 101 ROUT CLOS 101 or ROUT CLOS 9101 CLOS 101 SCPI Command Reference This section describes the Standard Commands for Programmable Instruments SCPI commands for the E1463A Commands are listed alphabetically by subsystem and within each subsystem Chapter 3 E1463A Command Reference 49 ABO
77. lation or contract clause whichever is applicable You have only those rights provided for such Software and Documentation by the applicable FAR or DFARS clause or the Agilent standard software agreement for the product involved IEC Measurement Category Il Overvoltage Protection This is a measurement Category II product designed for measurements at voltages up to 300V from earth including measurements of voltages at typical mains socket outlets The product should not be used to make voltage measurements on a fixed electrical installation including building wiring circuit breakers or service panels E1463A 32 Channel 5 Amp Form C Switch Module User s Manual AES Agilent Technologies Edition 4 Rev 3 Copyright O 1996 2006 Agilent Technologies Inc All Rights Reserved 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 Edition number increments by 1 whenever the manual is revised Updates which are issued between Editions contain replacement pages to correct or add additional information to the current Edition of the manual Whenever a new Edition is created it will contain all of the Update information for the previous Edition Each new Edition or Update also includes a revised copy of this documentation history page Edition T iind etes DA RU e July 1991 Editon 2 ceu der RAP ORI January 1994 Edition 3 ouv eres pss gid ee
78. ltimeter trigger delay counts calibration state OUTPUT 70903 OPC Check to see if multimeter is ready When ready initialize trigger 1 ENTER 70903 Check OUTPUT 70903 INIT OUTPUT 70915 OUTPUT TTLTO STATE ON Set up the Form C Form C pulses TTL Trigger line 0 on channel closed OUTPUT 70915 TRIG SOUR TTLT1 Set Form C to be triggered by TTL Trigger line 1 OUTPUT 70915 SCAN 100 102 OUTPUT 70915 INIT OUTPUT 70903 FETCH ENTER 70903 Rdgs PRINT Rdgs Enter and print readings END Using the Form C Switch 441 Querying the Form C Switch Example Querying Channel Closures BASIC All query commands end with a These commands are used to determine a specific state of the module The data is sent to the output buffer where you can retrieve it into your computer See Chapter 3 for more information on these commands Use CLOSe channel list or OPEN channel list to query the channel state open closed CLOS returns a 1 for channel s closed and a O for channel s open OPEN returns a 0 for channel s closed and a 1 for channel s open Commands are software queries and do not account for relay hardware failures This example closes a range of channels and queries for the results 10 DIM Channels 32 Dimensions a string variable to 32 characters 20 OUTPUT 70915 CLOS 100 131 Closes channels 00 through 31 30 OUTPUT 70915 CLOS 100 131 Queries to se
79. multiple of 8 if the module is the first module in a switchbox used with a VXIbus command module and is being instructed by SCPI commands I N Logical Address 120 Logical Address Switch Location l T B N 8 16 32 64 120 lt BEEE LJ CLOSED Switch Set To 1 ON OPEN Switch Set To 0 OFF OPEN CLOSED a J Figure 1 4 Setting the Logical Address Switch Chapter 1 Getting Started 15 Setting the Interrupt Priority NOTE The Form C switch generates an interrupt after a channel has been closed These interrupts are sent to and acknowledgments are received from the command module E1406 for example via the VXIbus backplane interrupt lines For most applications where the Form C switch is installed in a C Size mainframe the interrupt priority jumper does not have to be moved This is because the VXIbus interrupt lines have the same priority and interrupt priority is established by installing modules in slots numerically closest to the command module Thus slot 1 has a higher priority than slot 2 slot 2 has a higher priority than slot 3 etc See Figure 1 5 to change the interrupt priority You can select eight different interrupt priority levels Level 1 is the lowest priority and Level 7 is the highest priority Level X disables the interrupt The Form C switch factory sett
80. n tees January 1996 Edition 4 Part Number E1463 90004 February 2001 Edition 4 Rev 2 Part Number E1463 90004 June 2006 Edition 4 Rev 3 Part Number E1463 90004 September 2012 Safety Symbols Instruction manual symbol affixed to product Indicates that the user must refer to Alternating current AC the manual for specific WARNING or CAUTION information to avoid personal injury or damage to the product m a Indicates hazardous voltages Indicates the field wiring terminal that must tens be connected to earth ground before operating the equipment protects against electrical shock in case of fault Direct current DC Calls attention to a procedure practice or condition that could cause bodily injury or death WARNING Calls attention to a procedure practice or Frame or chassis ground terminal typically CAUTION S Gorthat coul ae or LL connects to the equipment s metal frame m ii ecran E x WARNINGS The following general safety precautions must be observed during all phases of operation service and repair of this product Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the product Agilent Technologies Inc assumes no liability for the customer s failure to comply with these requirements Ground the equipment For Safety Class 1 equipment equipment having
81. nal pull up resistors the switch can be configured for digital output operations Use CLOS channel list to connect a channel s normally open NO terminal to its common C terminal or use OPEN channel list to connect a channel s normally closed NC contact to its common C terminal The channel list has the form ccnn where cc card number 01 99 and nn channel number 00 31 To OPEN or CLOSe multiple channels place a comma between the channel numbers For example to close channels 101 and 103 execute CLOS 101 103 To OPEN or CLOSe a continuous range of channels place a colon between the first and last channel numbers This BASIC program shows one way to close and open channel 2 on an E1463A Form C module card 1 Implied commands are those that appear in square brackets in the command syntax The brackets are not part of the command and are not sent to the instrument For example in the following program ROUTe can be eliminated and just the CLOSe command can be used 10 DISP TEST E1463A Module 20 OUTPUT 70915 ROUT CLOS 102 30 OUTPUT 70915 ROUT OPEN 102 40 END This example closes channel 00 of a Form C switch module 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 2 1 for typical user connections The program shows how to close channel 00
82. nd Reference Chapter 3 Comments Example ROUTe OPEN Chapter 3 Comments Example Opening Channels To open a single channel use ROUT OPEN ccnn To open multiple channels use ROUT OPEN ccnn ccnn To open sequential channels use ROUT OPEN ccnn ccnn To open groups of sequential channels use ROUT OPEN cenn ccenn cenn ccnn or any combination of the above Opening Order Opening order for multiple channels with a single command is not guaranteed Related Commands ROUTe CLOSe ROUTe OPEN RST Condition All channels open Opening Form C Switch 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 card 1 and 213 opens channel 13 of card 2 ROUTe OPEN lt channel_list gt returns the current state of the channel s queried lt channel_list gt has the form ccnn where cc card number 01 99 and nn channel number 00 31 The command returns 1 if channel s are open or returns 0 if channel s are closed Query is Software Readback ROUTe OPEN returns the current software state of the channel s specified It does not account for relay hardware failures A maximum of 128 channels can be queried at one time If you want to query more than 128 channels you must enter the query data in two separate commands Querying Channel Open State This example opens
83. nd makes measurements between switch closures You must insert your own programming code for the measurement part of this program For example if you are using the E1411B see the E1326B E1411B Multimeter User s Manual for programming examples 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 270 280 290 300 310 320 330 340 350 360 370 420 430 440 PKK KKK K K KKK K KK K OK KK K KK OK K KK K KK K KK KK K KK OK KK K KK K OK KK K K K gt 2 2 KA K K KK K KKK KK KK K KK K K KK KK KK K K KK KK KKK KK K K KK KK KKK K K OPTION BASE 1 I Set up arrays to store register names and addresses DIM Reg name 1 1 32 Reg addr 1 1 I Read register names and addresses into the arrays READ Reg name READ Reg addr I Set base address variable Base addr DVAL DE00 16 l Map the A16 address space in the controller CONTROL 16 25 2 Call the subprogram Scan meas Scan meas Base addr Reg addr l DATA BankO channels register DATA 06 END This subprogram sets all bits in bank0 open then scans through Ibank 0 closing one channel at a time waits for the channel to lbe closed so a measurement can be made SUB Scan meas Base addr Reg addr I WRITEIO 16 Base_addr Reg_addr 1 0 FOR I 0 to 15 WRITEIO 16 Base addr Reg addr 1 2 I REPEAT UNTIL BIT READIO 16 Base addr 4 7 PRINT Making Measurements Make Measurements NEXT I WRITEIO 16 B
84. nge of Values Default Value number numeric 1 32 767 MIN MAX 1 Number of Scans Use only numeric values between 1 and 32767 MIN or MAX for the number of scanning cycles Related Commands ABORT INITiate IMMediate RST Condition ARM COUNt 1 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 COUN 10 Set 10 scans per INIT command SCAN 100 103 Scan channels 00 to 03 INIT Start scan close channel 00 E1463A Command Reference 51 ARM COUNt Parameters Comments Example 52 E1463A Command Reference ARM COUNt MIN MAX gt 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 specified With MIN or MAX as a parameter MIN returns 1 and MAX returns 32 767 Name Type Range of Values Default Value MIN MAX numeric MIN 1 MAX 32 767 current cycle Related Commands INITiate MMediate Querying Number of Scans This example sets a switchbox for 10 scanning cycles and queries the number of scan cycles set The ARM COUN command returns 10 ARM COUN 10 Set 10 scans per INIT command ARM COUN Query number of scans Chapter 3 DISPlay The DISPlay subsystem monitors the channel state of the selected module in a switchb
85. open the controller VXI interface fd open dev vxi primary O_RDWR if fd 4 perror open exit 1 retrieve the A16 pointers dev struct dev_regs vxi get a16 addr fd logical address sub to verify the time to close the switch ver time sub to close switch and make measurement make meas dev END of main program Continued on next page 88 Register Based Programming Appendix B SUB VER TIME ver time struct timeval first second lapsed struct timezone tzp gettimeofday amp first amp tzp for j 0 j lt 10000 j gettimeofday second amp tzp if first tv_usec gt second tv_usec second tv_usec 1000000 second tv_sec lapsed tv_usec second tv_usec first tv_usec lapsed tv_sec second tv_sec first tv_sec printf Elapsed time for closing a channel is ld sec ld usec WM lapsed tv_sec lapsed tv_usec SUB MAKE_MEAS int make_meas reg_ptr DEV_REGS reg_ptr close bit 1 of bankO reg_ptr gt bankO_channels 0x0001 for j20 j lt 10000 j wait for switch to close printf n Making Measurement make measurements open bit 1 of bank0 reg_ptr gt bank0O_channels 0x0000 return Appendix B Register Based Programming 89 Example Scanning Channels BASIC 90 Register Based Programming This BASIC programming example scans through the bank 0 channels closing one switch at a time a
86. opens the last channel Stopping Scan See ABORt Related Commands TRIGger TRIGger SOURce RST Condition All channels open Scanning Using External Device See Scanning Channels in Chapter 2 for examples of scanning programs using external instruments Chapter 3 STATus Subsystem Syntax Chapter 3 The STATus subsystem reports the bit values of the OPERation Status Register It also allows you to unmask the bits you want reported from the Standard Event Status Register and to read the summary bits from the Status Byte Register STATus OPERation CONDiition ENABIe unmask ENABIe EVENt PRESet As shown in Figure 3 1 the STATus subsystem for the E1463A Form C Switch includes the Status Byte Register the Standard Event Status Register OPERation Status Register and Output Queue The Standard Event Status Register ESE and the Status Byte Register STB are under IEEE 488 2 control Status Byte Register In the Status Byte register the Operation Status bit OPR Request Service bit RQS Standard Event bit ESB Message Available bit MAV and Questionable Data bit QUE bits 7 6 5 4 and 3 respectively can be queried with the STB command Standard Event Status Register In the Standard Event Status Register you can use ESE to query the unmask value the bits to be logically ORed into the Summary bit The registers are queried using decimal weighted bit values Decimal equivalents
87. ous scanning state INITiate IMMediate starts the scanning process and closes the first channel in the channel list Successive triggers from the source specified by the TRIGger SOURce command advance the scan through the channel list Starting the Scanning Cycle INITiate IMMediate 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 causes an error see ROUTe SCAN Stopping Scanning Cycles See the ABORt command 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 TRIGger SOURcelMMediate default SCAN 100 103 Scan channels 00 03 INIT Begin scan close channel 00 use immediate triggering Chapter 3 OUTPut The OUTPut command subsystem enables or disables the different trigger lines of the E1406A Command Module Subsystem Syntax OUTPut EXTernal STATe mode STATe STATe mode STATe TTLTrgn TTLTrgO through TTLTrg7 STATe mode STATe OUTPut EXTernal STATe OUTPut EXTernal STATe lt mode gt enables or disables the Trig Out port on the E1406A Command Module Parameters Name Type Range of Values Default Value lt mode gt boolean ON OFF 1 0 OFF 0 Comments
88. ox This subsystem operates with an E1406A Command Module when a display terminal is connected Subsystem Syntax DISPlay MONItor CARD number AUTO STATe mode DISPlay MONitor CARD DISPlay MONitor CARD number AUTO selects the module in a switchbox to be monitored Parameters Name Type Range of Values Default Value number AUTO numeric 1 99 AUTO Comments Selecting a Specific Module to be Monitored Use DISPlay MONitor CARD to send the card number for the switchbox to be monitored Selecting the Present Module to be Monitored Use DISPlay MONitor CARD AUTO to select the last module addressed by a switching command for example ROUTe CLOSe RST Conditions DISPlay MONitor CARD AUTO Example Select Module 2 in a Switchbox for Monitoring DISP MON CARD 2 Selects module 2 in a switchbox Chapter 3 E1463A Command Reference 53 DISPlay MONitor STATe Parameters Comments Example 54 E1463A Command Reference DISPlay MONitor STATe lt mode gt turns the monitor mode ON or OFF Name Type Range of Values Default Value lt mode gt boolean ON OFF 1 0 OFF 0 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 channel monitor OFF Selecting the Module to be Monitored
89. placed across the load or relay contacts Capacitors may suppress arcs but the energy stored in the capacitors will flow through the relay contacts welding them 24 Getting Started Chapter 1 Adding Relay and The Form C switch has space for adding relay and circuit protection Relay protection can be added by placing a protective device across the specified Circuit Protection pads This is done by adding metal oxide varistors MOVs between the common C and normally open NO or normally closed NC terminals As the voltage goes up the varistor draws current to protect the relay Circuit protection can be added by placing a protective device in series with the common lead This is done by adding a resistor between the common C terminal and your circuit When installing circuit protection a jumper must be removed first To install these protective devices it is necessary to remove the sheet metal covers from the module The locations for installing the devices are labeled as shown in Table 1 2 where xx the channel number Do not install a capacitor in any of these locations Figure 1 13 shows locations where these protective devices can be added Table 1 2 Protective Devices Board Locations Relay Protection Circuit Protection VxxO Varistor location across common C and normally open NO VxxC Varistor location across common C and normally closed NC Circuit Protection JMxx Resistor or fuse location
90. plete Sets the Request for OPC flag when all pending operations have completed Also sets OPC bit in the Standard Event Status Register OPC Operation Complete Query Returns a 1 to the output queue when all pending operations have completed Used to synchronize between multiple instruments RCL Recall Instrument State Recalls previously stored configuration RST Reset Opens all channels and sets the module to a known state SAV Save Instrument State Stores the current configuration in specified memory SRE Service Request Enable Sets the Service Request Enable Register bits and corresponding Serial Poll Status Register bits to generate a service request SRE Service Request Enable Queries the current contents in the Service Request Enable Register Query STB Read Status Byte Query Queries the current contents in the Status Byte Register TRG Trigger Triggers the module to advance the scan when scan is enabled and trigger source is TRIGger SOURce BUS TST Self Test Query Returns 0 if self test passes Returns cc01 for firmware error Returns cc02 for bus error Returns cc10 if an interrupt was expected but not received Returns cc11 if the busy bit was not held for 10 msec WAI Wait to Continue Prevents an instrument from executing another command until the operation caused by the previous command is finished Since all instruments normally perform sequential operations executing this command causes no change
91. r 42 operation switch 11 Option A3G terminal module 18 OUTPut subsystem 57 OUTPut EXTernal STATe 57 OUTPut EXTernal STATe 58 OUTPut STATe 58 OUTPut STATe 59 OUTPut TLTrgn STATe 59 OUTPut TLTrgn STATe 60 P parameters 49 power on conditions 32 programming the switch 27 programming register based 79 protecting relays 23 Q querying the switch 42 R recalling states 44 registers addressing 79 base address 80 device type 82 Manufacturer ID register 82 offset 81 Operation Status register 42 Relay Control register 84 register vs SCPI programming 79 Status Control register 82 types 82 register based programming 79 relay configurations 13 Relay Control register 84 relays adding relay protection 25 extending relay life 24 life factors 23 protecting 23 replacement strategy 24 reset conditions 32 restricted rights statement 7 R continued ROUTe subsystem 61 ROUTe CLOSe 61 ROUTe CLOSe 62 ROUTe OPEN 62 ROUTe OPEN 63 ROUTe SCAN 64 S safety symbols 8 saving states 44 scan complete bit 42 scanning channels 39 schematic diagram 12 SCPI commands abbreviated commands 48 command reference 49 command separator 48 format 47 implied commands 48 linking commands 49 parameters 49 quick reference 75 using 27 variable command syntax 48 specifications 77 standard terminal module description 18 STATus subsystem 65 STATus OPER
92. raction levers 4 Tighten the top and bottom screws A to secure the module to the mainframe NOTE The extraction levers will not seat the backplane connectors on older VXIbus mainframes You must manually seat the connectors by pushing in the module until the module s front panel is flush with the front of the mainframe The s extraction levers may be used to guide or remove the Form C switch To remove the module from the mainframe reverse the procedure Figure 1 6 Installing the Form C Switch in a VXIbus Mainframe Chapter 1 Getting Started 17 Configuring a Terminal Module Standard Terminal Module Description Terminal Module Option A3G Description The E1463A 32 Channel 5 Amp Form C Switch consists of a relay switch card and a screw type standard terminal module In addition a solder eye terminal module Option A3G is available User inputs to the Form C switch are to the normally open NO normally closed NC and common C terminal connectors on the terminal module This section shows how to configure the terminal modules including Standard Terminal Module Description Terminal Module Option A3G Description Connecting User Inputs Wiring a Terminal Module Attaching a Terminal Module to the Form C Switch Figure 1 7 shows the standard screw type terminal module connectors and associated channel numbers
93. ral purpose relay configuration for channel 00 When the relay is open NC terminal is connected to the C terminal load 1 is connected When the relay is closed NO terminal is connected to the C terminal load 2 is connected a TERMINAL Channel i MODULE l V 00 I I NO CONO 7 C V gt NC CONC e i L 1 1 COC T a T Relay Load Open 1 T Closed 2 E Figure 1 2 General Purpose Relay Configuration By installing external pull up resistors the Form C switch can be configured as a digital output device Figure 1 3 shows channel 00 configured for digital output operation When the channel 00 relay is open NC connected to C point 1 is at V When the channel 00 relay is closed NO connected to C point 1 is at OV Getting Started 13 E1463A TERMINAL MODULE MODULE V I I Ol l Channel bog l I al NO CONO I C o 1 1 e 1 i PT I o NC CONC a E qu ee I 0g I I Fog Coc f Relay o 2 Open V OV Closed OV OV y Figure 1 3 Digital Output Configuration Configuring the Form C Switch Warnings and Cautions 14 Getting Started WARNING CAUTION This section gives guidelines to configure the Form C switch including the following topics See Configuring a Terminal Module for guidelines to configure the terminal modules Section topics include Warnings and Cautions Setting th
94. read the register value 256 shows bit 8 is set to 1 0 shows bit 8 is set to O STATus PRESet affects only the Enable Register within the OPERation Status Register by setting all Enable Register bits to 0 It does not affect either the Status Byte Register or the Standard Event Status Register STATus PRESet does not clear any of the Event Registers Chapter 3 SYSTem The SYSTem subsystem returns the error numbers and error messages in the error queue of a switchbox It can also return the types and descriptions of modules cards in a switchbox Subsystem Syntax SYSTem CDEScription number CPON number ALL CTYPe number ERRor SYSTem CDEScription SYSTem CDEScription number returns the description of a selected module card in a switchbox Parameters Range of Values Default Value 1 through 99 N A Name Type number numeric Comments Form C Switch Module Description SYSTem CDEScription returns 32 Channel General Purpose Relay Example Reading the Description of a Module SYST CDES 1 Return description of module card 1 SYSTem CPON SYSTem CPON number ALL sets the selected module card in a Switchbox to its power on state Parameters Name Type Range of Values Default Value number numeric 1 through 99 N A Chapter 3 E1463A Command Reference 69 Comments Example SYSTem CTYPe Parameters Comments Example S
95. se the implied command and it responds as if you had sent it Examine the portion of the ROUTe subsystem shown below ROUTe CLOSe lt channel_list gt The root command ROUTe is an implied command indicated by square brackets To make a query about a channel s present status you can send either of the following command statements ROUT CLOSe lt channel_list gt or CLOSe lt channel_list gt Variable Command Some commands have what appears to be a variable syntax such as Syntax OUTPut TTLTrgn In this command the n is replaced by a number No space is left between the command and the number because the number is not a parameter 48 E1463A Command Reference Chapter 3 Parameters ParameterTypes The following table contains explanations and examples of parameter types you might see later in this chapter Type Explanations and Examples Boolean Represents a single binary condition that is either true or false ON OFF 1 0 Any non zero value is considered true Discrete Selects from a finite number of values These parameters use mnemonics to represent each valid setting An example is the TRIGger SOURce source command where source can be BUS EXTernal HOLD IMMediate or TTLTrgn Numeric Commonly used decimal representations of numbers including optional signs decimal points and scientific notation Examples are 123 123E2 123 1 23E2 123 1 23E 2 1 23000E 01 Specia
96. sh in the Extraction Levers to Lock the Terminal Module onto the E1463A Chapter 1 Figure 1 11 Wiring a Terminal Module Getting Started 21 Attaching a Figure 1 12 gives guidelines to attach a terminal module to the Form C Terminal Module to tch the Form C Switch 1 Extend the extraction levers on the terminal module lt Extraction Lever p gt Use small screwdriver to release the two extraction levers E1463A Module Extraction Lever e 2 Align the terminal module connectors to the E1463A module connectors 3 Apply gentle pressure to attach the terminal module to the E1463A module 4 Push in the extraction levers al to lock the terminal module fh onto the E1463A module Extraction Levers X amp MA E rel ati M amp To remove the terminal module from the E1463A use a small screwdriver to release the two extraction levers and push both levers out simultaneously to free it from the Form C switch module Figure 1 12 Attaching a Terminal Module to the Form C Switch 22 Getting Started Chapter 1 Protecting Relays and Circuits NOTE Relay Life Factors Loading and Switching Frequency CAUTION End of Life Detection Chapter 1 This section gives guidelines to protect relays and circuits in the Form C Switch including R
97. t is necessary to write 0 to bit O after the reset has been performed before any other commands can be programmed and executed SCPI commands take care of this automatically Typically interrupts are only disabled to peek poke a module See the appropriate command module operating manual before disabling the interrupt Writing a 1 to bit O resets the switch all channels open Appendix B Register Based Programming 83 Relay Control There are two relay control registers Relay Control Register 1 base 0646 Register and Relay Control Register 2 base 0846 These registers are used to connect the common C to the normally open NO terminal Reading any Relay Control Register will always return FFFF4g regardless of the channel states The numbers in the register maps indicate the channel number to be written to Writes to the Relay Control Registers enable you to open or close the desired channel For example write a 1 to bit 2 of Relay Control Register 1 to close channel 02 Relay Control Register Channels 00 15 b 0646 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write CH15 CH14 CH13 CH12 CH11 CH10 CH09 CH08 CH07 CH0O6 CH05 CH0O4 CHO3 CH02 CH01 CHOO Read Always returns FFFF46 Relay Control Register Channels 16 31 b 0846 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write CH31 CH30 CH29 CH28 CH
98. the user Register about the module s status and configuration This register is read and write b 0446 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write Not Used E Not Used R Read X MS Not Used B E X X 1 1 X X 82 Register Based Programming Appendix B Reading the For Status Control register reads three bits are defined as follows Status Control Register MODID Select bit 14 0 indicates the module has been selected by MODID module ID and a 1 indicates the module has not been selected Busy bit 7 0 indicates the module is busy Each relay requires about 10 ms execution time during which the Form C switch is busy Bit 7 of this register is used to inform the user of a busy condition Enable bit 6 0 indicates the interrupt is enabled The interrupt generated after a channel has been closed can be disabled Bit 6 of this register is used to inform the user of the interrupt status For example if the Form C switch module is not busy bit 7 1 and the interrupt is enabled bit 6 0 a read of the Status Control Register base 0445 returns FFBF Writing to the You can only write to bits 0 and 6 of the Status Control Register Status Control Register l l Enable bit 6 Writing a 1 to this bit disables the interrupt function of the module Soft Reset bit 0 Writing a 1 to this bit soft resets the module NOTE When writing to the registers i
99. tions These connections indicate how the firmware operates to accomplish the triggering Part of VXIbus Command Module TTLTrgO mal TTLTrg1 Multimeter Module GE L E1463A Terminal Module Trigger TTLTrg1 Complete Figure 2 6 Example Scanning Using the TTL Trigger Bus 40 Using the Form C Switch Chapter 2 The following BASIC program sets up the multimeter GPIB address 70903 to scan making 2 wire resistance measurements The common terminals for channels 0 through 2 are connected together for this example When one of these switches is closed C connected to NO different DUTs are switched in for a measurement Triggering is accomplished by the E1406A firmware The measurement is taken from the common C terminal 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 Chapter 2 ALLOCATE REAL Rdgs 1 3 OUTPUT 70915 RST CLS Reset and clear Form C switch OUTPUT 70903 RST CLS Reset and clear multimeter OUTPUT 70903 ABORT TRIG SOUR TTLTRGO Multimeter triggers on TTL trigger line O OUTPUT 70903 OUTP TTLT1 STAT ON Multimeter pulses TTL trigger line 1 on measurement complete OUTPUT 70903 CONF RES AUTO DEF Set multimeter function to resistance range NPLC OUTPUT 70903 TRIG DEL 0 COUN 3 CAL ZERO AUTO ON Set mu
100. uous Scanning Operation Noncontinuous scanning is enabled with INITiate CONTinuous OFF or INITiate CONTinuous 0 Sending INITiate IMMediate closes the first channel in the channel list Each trigger from the source specified by TRIGger SOURce advances the scan through the channel list At the end of the scanning cycle the last channel in the channel list is opened Stopping Continuous Scan See the ABORt command Related Commands ABORt ARM COUNt TRIGger SOURce RST Condition INITiate CONTinuous OFF 0 Chapter 3 E1463A Command Reference 55 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 Define channel list INIT Start scan cycle close channel 00 INITiate CONTinuous Example INITiate IMMediate Comments Example 56 E1463A Command Reference INITiate CONTinuous queries the scanning state With continuous scanning enabled the command returns 1 ON With continuous scanning disabled the command returns 0 OFF Querying 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 continu
101. us OPERation ENABle lt unmask gt However the maximum decimal weighted value used in this module is 256 bit 8 in the Condition Register within the OPERation Status Register is set to true E1463A Command Reference 67 Example Querying the Enable Register in the OPERation Status Register STAT OPER ENAB Query the Enable Register in the OPERation Status Register STATus OPERation EVENt Comments Example STATus PRESet 68 E1463A Command Reference STATus OPERation EVENt returns which bits in the Event Register within the OPERation Status Register are set The Event Register indicates that a time related instrument event has occurred 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 0 zero after sending STATus OPERation EVENt 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 Event Register Cleared Reading the Event Register within the OPERation Status Register with STATus OPERation EVENt clears the Event Register Aborting a Scan Aborting a scan will leave bit 8 set to O Related Commands ROUTe SCAN Reading the OPERation Status Register After a Scanning Cycle STAT OPER Return the bit values of the Event Register within the OPERation Status Register
102. use GPIB select code 7 primary address 09 and secondary address 15 LADDR 120 Form C Switch Commands Table 2 1 explains some of the SCPI commands used in this chapter See Chapter 3 for more information on these commands Table 2 1 E1463A Form C Switch Commands Used in Chapter 2 SCPI Command Command Description ROUTe CLOSe lt channe _ ist gt Closes the channels in the channel list ROUTe CLOSe channel ist Queries the state of the channels in the channel list ROUTe OPEN channe ist Opens the channels in the channel list ROUTe OPEN channel ist Queries the state of the channels in the channel list ROUTe SCAN channel list Closes the channels in the channel list one at a time INITiate IMMediate Starts scan sequence and closes first channel in the channel list TRIGger SOURce BUS EXT Selects the trigger source to advance the scan HOLD IMM TTLT Chapter 2 Using the Form C Switch 31 Power on and Reset Conditions Since the Form C switch module has nonlatching relays all relays condition are in the normally closed NC position at power down and power up The RST command opens all channels invalidates the current channel list for scanning and sets the conditions shown in Table 2 2 Table 2 2 Reset Conditions ARM COUNt Parameter Default Description 1 Number of scanning cycles is 1 TRIGger SOU
103. write register and two write registers This section describes each Form C module register Reading and Example programs are provided at the end of this appendix that show how Writing to the to read and write to these registers You can read or write to the following Form C switch module registers Registers Manufacturer Identification Register base 0046 read Device Type Register base 0246 read Status Control Register base 0446 read or write Relay Control Register for Channels 00 15 base 064g write Relay Control Register for Channels 16 31 base 084g write Manufacturer The Manufacturer Identification Register is at offset address 0046 and Identification returns FFFF4g This shows that Agilent Technologies is the manufacturer and the module is an A16 register based module This register is read only Register b 0046 15 14 13 12 11 10 B 8 7 6 5 4 3 2 1 0 Write Undefined Read Manufacturer ID Returns FFFF Agilent Technologies A16 only register based device Device Type The Device Type Register is at offset address 024g and returns 012146 for Register an E1463A Form C Switch module This register is read only b 0216 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write Undefined Read 012146 Status Control The status Control Register is at offset address 044g and informs
Download Pdf Manuals
Related Search
Related Contents
Maroo Woodland Bordeaux Surface 3 PCoIP® Zero Client and Host Administrator Guide Zoning User Manual - Brocade Community CDX-MP40 Volltext - SE 2013 DeWalt DW927 User's Manual 昌サービスメニューの。 Ein neuer Weg zum Ziel - Schmiedewerke Gröditz GmbH DIGITAL Banner User Manual 2013-2014 Copyright © All rights reserved.
Failed to retrieve file