background image

2

Remote Operation

This chapter describes operating the SR474 over the serial interface.

In This Chapter

2.1

Index of Common Commands . . . . . . . . . . . . . 2 – 2

2.2

Alphabetic List of Commands . . . . . . . . . . . . . 2 – 4

2.3

Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 – 6

2.4

Interface Configuration . . . . . . . . . . . . . . . . . 2 – 6

2.5

Commands . . . . . . . . . . . . . . . . . . . . . . . . 2 – 6

2.5.1

Command syntax . . . . . . . . . . . . . . . . . 2 – 6

2.6

Command List . . . . . . . . . . . . . . . . . . . . . . 2 – 8

2.6.1

Common IEEE-488.2 Commands . . . . . . . . 2 – 8

2.6.2

Status Reporting Commands . . . . . . . . . . 2 – 12

2.6.3

Instrument Control Commands . . . . . . . . . 2 – 13

2.6.4

Interface Configuration Commands . . . . . . 2 – 17

2.7

Error Codes . . . . . . . . . . . . . . . . . . . . . . . . 2 – 22

2.7.1

Execution Errors . . . . . . . . . . . . . . . . . 2 – 22

2.7.2

Query Errors . . . . . . . . . . . . . . . . . . . 2 – 23

2.7.3

Device Dependent Errors . . . . . . . . . . . . 2 – 23

2.7.4

Parsing Errors . . . . . . . . . . . . . . . . . . . 2 – 23

2.7.5

Communication Errors . . . . . . . . . . . . . . 2 – 25

2.7.6

Other Errors . . . . . . . . . . . . . . . . . . . . 2 – 25

2 – 1

Summary of Contents for SR474

Page 1: ...d Research Systems Revision 1 0 February 9 2009 Distribution in the UK Ireland Lambda Photometrics Limited Lambda House Batford Mill Harpenden Herts AL5 5BZ United Kingdom E info lambdaphoto co uk W w...

Page 2: ...returned to a Stanford Research Systems authorized service facility Contact Stanford Research Systems or an authorized representative before returning this product for repair Information in this docu...

Page 3: ...mbols vi Notation vii Speci cations viii 1 Getting Started 1 1 1 1 Introduction to the Instrument 1 2 1 2 Front Panel Operation 1 2 1 3 The SR474 Rear Panel 1 7 2 Remote Operation 2 1 2 1 Index of Com...

Page 4: ...ii Contents SR474 Four Channel Shutter Driver...

Page 5: ...rnately each of the four channels can be individually controlled manually through front panel buttons or through a remote interface The Global Control section of the front panel allows you to set all...

Page 6: ...o the outlet ground to protect against electrical shock Always use an outlet which has a properly connected protective ground The shields of the six rear panel BNC ports the rear panel Chassis Ground...

Page 7: ...uct Laser Safety Certain hazards are always present when working with laser radia tion Visible and invisible beams of light have the potential to cause serious bodily injury including blindness or dea...

Page 8: ...on SRS Products Symbol Description Alternating current Caution risk of electric shock Frame or chassis terminal Caution refer to accompanying documents Earth ground terminal Battery Fuse On supply Of...

Page 9: ...nventions used in this manual are Front panel buttons are set as Button Front panel indicators are set as Remote Remote command names are set as IDN Literal text other than command names is set as OFF...

Page 10: ...el Align buttons for each channel ac tive when in manual mode open and close shut ters at 1 Hz chopping rate to assist with mechan ical alignment Gate Inhibit The rear panel aux i o port can be con gu...

Page 11: ...mpers I O ports Level inputs 4 TTL compatible rear panel input BNC connectors internally pulled up to 3 3 VDC through 100 k Auxiliary I O 1 rear panel BNC connector TTL level multi purpose Alarm outpu...

Page 12: ...x General Information SR474 Four Channel Shutter Driver...

Page 13: ...n 1 2 1 2 1 Individual channel controls 1 2 1 2 2 Global controls 1 5 1 2 3 Remote lockout and front panel operation 1 6 1 2 4 Restoring factory default con guration 1 7 1 3 The SR474 Rear Panel 1 7 1...

Page 14: ...ont Panel Operation The front panel of the SR474 Figure 1 1 provides simple controls for the operator and displays the shutter states at a glance The panel is divided into ve sections four identical s...

Page 15: ...n channel is initially in the OFF state then pressing Enable will cause the SR474 to attempt to enable the shutter head connected to that channel If the head powers on successfully the channel will di...

Page 16: ...e state of the shutter is controlled to be open or closed by direct user input as selected by the State key and its indicators 1 2 1 1 In the TTL source mode the state of the shutter is controlled by...

Page 17: ...en the channel is eventually returned to manual control Holding down either Reset or Set for approximately two seconds will force global Set Reset meaning that all four channels will be placed in the...

Page 18: ...dark except for the Disp O indicator by the Local key To turn the display back on hold the key for 2 s again Turning o the display may be helpful because it prevents the OPEN and CLOSED indicators fr...

Page 19: ...on 7 Select manual con guration for the rear Aux I O port Recalling factory default settings this way does not a ect the interface con guration Most of the interface con guration is determined by the...

Page 20: ...ing post is connected to the SR474 chassis and to earth ground 1 3 3 TTL Inputs The primary control inputs for the SR474 Four Channel Shutter Driver are the four rear panel BNC inputs corresponding to...

Page 21: ...Fig 1 3 and the signal names are shown in Table 1 1 The shield of each shutter connector is connected to earth ground as it ships from the factory Please see 1 3 9 about grounding consid erations for...

Page 22: ...o the polarity switches will take e ect after a brief delay 1 3 8 Remote interfaces Remote operation of the SR474 is supported with GPIB RS 232 and Ethernet computer interfaces These interfaces are pr...

Page 23: ...P Address con guration The IP Address con guration is primarily selected by switches 2 and 3 of the larger DIP switch these position are labeled IP Address Selection As with the GPIB address selection...

Page 24: ...e and the shield of the cable If the chassis of the shutter head is electrically connected to earth ground for example by way of attachment to a grounded optical table then the shield will be grounded...

Page 25: ...nt before once again attaching it to power Jumper location Shutter channel J202 1 J206 2 J210 3 J214 4 Table 1 3 Grounding jumper locations Figure 1 5 Shutter cable ground selection header Part a show...

Page 26: ...1 14 Getting Started SR474 Four Channel Shutter Driver...

Page 27: ...n 2 6 2 5 Commands 2 6 2 5 1 Command syntax 2 6 2 6 Command List 2 8 2 6 1 Common IEEE 488 2 Commands 2 8 2 6 2 Status Reporting Commands 2 12 2 6 3 Instrument Control Commands 2 13 2 6 4 Interface Co...

Page 28: ...CL i 2 9 Recall Instrument Settings RST 2 10 Reset the Instrument SAV i 2 10 Recall Instrument Settings SRE i 2 10 Service Request Enable STB 2 11 Status Byte WAI 2 11 Wait for Command Execution Statu...

Page 29: ...AT c i 2 17 Open Closed State TEMP c 2 17 Shutter Temperature Interface Commands COMP i 2 17 Compatibility Mode EMAC 2 18 Ethernet MAC Address EPHY i j 2 18 Ethernet Physical Layer Con guration IFCF i...

Page 30: ...tatus Byte WAI 2 11 Wait for Command Execution A ASRT c i 2 13 Assertion State AUXC i c 2 13 Auxiliary I O Con guration AUXI i 2 14 Auxiliary I O State C CHOP c i 2 14 Alignment Mode COMP i 2 17 Compa...

Page 31: ...y R RATE c 2 16 Maximum Rate REMT 2 20 Go to Remote S SCMD c s b 2 16 Shutter Command SERR c 2 16 Shutter Error Word SPOS c 2 16 Shutter Position SRCE c i 2 16 Source of Control SSER c 2 16 Shutter Se...

Page 32: ...dress that is settable by remote com mand 2 5 Commands This section provides syntax and operational descriptions for remote commands 2 5 1 Command syntax Communications with the SR474 uses ASCII chara...

Page 33: ...status register ESR Execution errors can be detected by looking at bit 4 EXE of the event status register In both cases an error code indicating the speci c cause of the error is appended to the error...

Page 34: ...rresponding bit is set in the ESR register Standard Event Status Register ESR Query the Standard Event Status Register Upon executing a ESR query the returned bits of the ESR register are cleared The...

Page 35: ...s 0 then the Service Request Enable and Standard Event Status Enable Registers SRE ESE are stored in non volatile memory and retain their values through power cycle events If the value of the ag is 1...

Page 36: ...Save instrument settings to location i The parameter i may range from 0 to 9 Locations 1 to 9 are for arbitrary use Location 0 is used for current instrument settings This location is overwritten aft...

Page 37: ...ates that FAULT1 MAV ESB and MSS are set FAULT1 indicates that a fault was detected on channel 1 MAV indi cates that a message is available in the output queue ESB indicates that an enabled bit in ESR...

Page 38: ...ation are allocated to each channel as follows Bit Meaning 0 Channel 1 fault status bit a 1 Channel 1 fault status bit b 2 Channel 2 fault status bit a 3 Channel 2 fault status bit b 4 Channel 3 fault...

Page 39: ...ASRT 3 1 CR Example Place shutter 3 in the asserted state ASRT CR Example 210 A return of 210 would indicate that shutters 1 3 and 4 are in an indeterminate state and that shutter 2 is asserted ASRT...

Page 40: ...CHOP c i Set query alignment mode i e continuous chopping of shutter c to i If parameter i is 0 alignment mode is turned o If it is 1 alignment mode is turned on This command will fail if the given sh...

Page 41: ...i Valid modes range from 0 to 3 with zero being the default mode The set form sends the byte 0 1 2 or 3 to the shutter The e ect of di erent modes is hardware dependent please see the shutter head man...

Page 42: ...he response Shutter Position SPOS c Query the shutter position for shutter c A value of 1 indicates the shutter is open A value of 0 indicates the shutter is closed A value of 1 indicates the shutter...

Page 43: ...1 and 3 STAT 1 1 CR Example Open shutter 1 STAT CR Example 210 A return of 210 would indicate that shutters 1 3 and 4 are in an indeterminate state and that shutter 2 is open STAT 3 CR Example 1 A re...

Page 44: ...MAC Query the SR474 s ethernet MAC address Ethernet Physical Layer Con guration EPHY i j Set query the physical con guration item i to j The parameter i may be one of the following i Con guration 0 En...

Page 45: ...et Query Subnet Address Network Mask 11 Set Query Default Gateway 12 Enable Disable compatibility mode at startup Set j to 0 to disable a setting and 1 to enable it Parameters 9 11 require an IP addre...

Page 46: ...eturns 1 if the lock is granted and 0 otherwise When the lock is granted no other instrument interface may alter instrument settings until the lock is released via the UNLK command or the power is cyc...

Page 47: ...ASCII character 13 followed by ASCII character 10 The interface terminator may be set to a di erent sequence of up to three characters in length by executing XTRM with parameters that consist of the...

Page 48: ...scribed below 2 7 1 Execution Errors Error Code Meaning 0 No Error No more errors left in the queue 10 Illegal Value A parameter was out of range 11 Illegal Mode The action is illegal in the current m...

Page 49: ...SR474 discards any pending output 2 7 3 Device Dependent Errors Error Code Meaning 40 Failed ROM Check The ROM checksum failed The rmware code is likely corrupted 2 7 4 Parsing Errors Error Code Meani...

Page 50: ...for storing parameter values over owed This probably indicates a syntax error 118 Invalid Floating Point Number The parser expected a oating point number but was unable to parse it 120 Invalid Intege...

Page 51: ...er owed All data in both the input and output bu ers will be ushed 2 7 6 Other Errors Error Code Meaning 254 Too many errors The error bu er is full Subsequent errors have been dropped SR474 Four Chan...

Reviews: