Home
HAL MSIU Software User Manual
Contents
1. motor fault Status input from stepper motor controller motor fault 0 OK O1 nput from Aux I O T1 pin 10 TTL input set to BV 0 OV O2 nput from Aux I O T2 pin 23 set to 1 5V 0 OV 03 nput from Aux I O T3 pin 11 set to 1 5V 0 OV O4 nput from Aux I O T4 pin 24 set to 1 5V 0 OV O5 nput from Aux I O T5 pin 25 set to 1 5V 0 OV potential Sets the potential applied to the probe Range 100 000V to 100 000V rangedev A group logical device containing range devices associated with input devices auxiliaryl Auxiliary input 1 NB the LINI auxiliaryl command makes auxiliaryl the current input As at R2 8 the slope of the auxiliaryl device is 910000 For HA 072 302 from rev A and HA 061 303 from rev F should be 904977 With 910000 10V in reads 9 94V This value is determined by the 44 2K input resistor to the AD652 On HA 061 303 revs A E it was determined by 22K amp 10K feedback resistors on input op amp calculated slope 909091 See NC 008 1 This device can have its offset nulled by the command LNUL device auxiliary2 Auxiliary input 2 NB the LINI auxiliary2 command makes auxiliary2 the current input See auxiliaryl for details This device can have its offset nulled by the command LNUL device current The main input Reads the probe current The as
2. 1 00 SEM O mass 32 00 SEM 0 0 energy 0 Iscans mass 28 00 SEM 0 mass 29 00 SEM O mass 30 00 SEM O mass 31 00 5 mass 32 00 SEM 0 0 energy 5 Iscans mass 28 00 SEM O mass 29 00 SEM O mass 30 00 SEM O mass 31 00 SEM O mass 32 00 SEM 0 0 energy 10 Isca ns mass 28 00 SEM O mass 29 00 SEM 0 mass 30 00 SEM O mass 311 00 55 EM O mass 32 00 SEM 0 0 Note that now the results or report of Iscans between and occurs between the input device name Iscans and the value returned by Iscans energy 5 Iscans 0 To make it clearer I have underlined the output of Iscans When a scan ldev is used as and output device a covarient scan is produced in this example energy and mass scan together Hscans Output 1 1 5 1 1 Iscans Output mass 28 32 4 nul dev energy 10 10 5 nul dev Then lget Hscans with results 5 returns Iscans 1 mass 28 00 nul dev resolution 10 nul dev SEM 0 Iscans 2 mass 29 00 nul dev resolution 5 nul dev SEM O Tscans 3 mass 30 00 nul dev resolution 0 nul dev SEM 0 Iscans 4 mass 31 00 nul dev resolution 5 nul dev SEM 0 Iscans 5 ma ss 32 00 nul dev res
3. data 0 Q00000E 0 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 1 83516E 8 0 00000E 0 1 83516E 8 0 00000ET0 0 00000 40 1 83516 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 1 83516E 8 0 0000 0E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 2693 1 83516E 9 1 83516E 9 0 00000 40 0 00000E 0 1 83516E 9 1 83516E 9 1 83516E 9 1 83516E 9 data 0 Q00000E 0 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000 40 0 00000E 0 0 00000E 0 1 83516E 9 0 00000E 0 0 00000E 0 0 00000E 0 1 83516E 9 0 00000640 1 83516E 9 1 83516E 9 0 00000E 0 1 83516E 9 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000ET0 1 83516E 9 0 00000E 0 1 83516 E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000 40 1 83516E 9 0 00000 40 1 83516 9 0 00000E 0 1 83516E 9 0 Q00000E 0 4440 0 00000E 0 0 00000 40 0 00000E 0 0 00000E 0 data 0 00000E 0 0 00000E 0 0 00000E 0 0 00000E 0 2 74724E 11 data 0 00000E 0 2 74724E 11 2 74724E 11 2 74724E 11 0 00000E 0 0 00000E 0 2 74724E 11 2 74724E 11 0 00000E 0 2 74724E 11 0 00000E 0 0 00000E 0 rerr data 0 00000E 0 0 00000E 0 0 00000 40 dat
4. lt val gt lt val gt op lt val gt Operators lt op gt and values lt val gt must be separated by spaces Upto 5 values hence 4 operators may be entered further lt op gt lt val gt pairs are truncated without error The leading is optional but is always returned by TGET expression Valid operators are val may either be a logical device name in which case the device will be read or a trip label in which case the value is fetched from the value stored in the trip or a number HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 72 of 93 Main Software Functions Trips amp Events NOTE Logical devices must be refered to by name not by their id in expressions in order to distinguish them from numbers The value calculated is stored in the trip along with its associated logical device number specified by the format as field P format as If you enter a logical device in this field the number will 2 be formatted if it had been read by this device The device in the X format as field is associated with the value stored in the trip The format as field may be nulled by the command TINI format as label The value stored in the trip then be associated with priority If this field is set to 1 the controller does not yield to other tasks Used by protection trips to prevent scan executing while s
5. priority If this field is set to 1 the controller does not yield to other tasks Used by protection trips to prevent scan executing while system being shut down Injudicious use of this field can lock up the controller next Next trip in programme After this trip has executed the Event sequence continues with the trip specified in the next field If you nter the name of a trip that does not exist a print trip is automatically created and the message Warning 98 Trips next trip created automatically is issued The next field may be nulled by the command TINI next label Execution then stops after this trip has been executed HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 70 of 93 Main Software Functions Trips amp Events NOTE If the action field is set to trun and the trip is enabled the trip will not continue with the trip in the next field but will branch to the trip specified in the activate or deactivate fields 2 8 7 Data Trip Fields The Data trip is used to fetch data from the scan data storage buffer The fetched value is stored in the trip along with its associated input logical device type Set to data scan The scan logical device from which the data is to be read must be specified here Must be a scan device Ascans to Zscans row The row of the scan device table Defaults to the same value as the last scan device table row set by the SSET row com
6. LMIN start will return MIN value of device in output LMAX start will return MAX value of device in output Default min value of device in OUIPUT NB SINI START also sets STOP to max value of device in OUTPUT Example SSET start 1 Error Command error 44 Start field out of range stop Stop mass in units of device in OUTPUT Scan Output Logical Device LMIN stop will return MIN value of device in output or value of start field whichever is greater LMAX stop will return MAX value of device in output Default max value of device in OUTPUT Example SSET stop 100 Error Command error 45 Stop field out of range step Step size in units of device in OUTPUT Scan Output Logical Device A negative step value scans from STOP to START LMIN step will return RES value of device in output LMAX step will return stop start Default 1 or LRES value of device in OUTPUT whichever is greater Example SSET step 1 Error Command error 46 Step field out of range HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 35 of 93 Main Software Functions Scan Table Editing Commands input Scan Input Logical Device Must be set before RANGEDEV LOW HIGH DWELL and SETTLE If a scan logical device it must have a ldev number gt SCAN Default FARADAY Example SSET input FARADAY Error Command error 47 Input device field out of range ra
7. timeout period for the command or the command failed to complete within the timeout period mp Problem 137 d move command otion has not been homed The z motion must be homed after initialisation or after a F132 error before the command LSET z motion may be used 2 5 9 Devices in the Test EPROMS On the 072 302 test system LIDS all returns multiplier i p select beep ip2 optrip raster emission LED fault LI range 19 EZ beam degas PIA filok emo rangedev PIC SEM Faraday SI 11 12 HA 085 006a 24 01 03 ED inhibit run LED RGA S k ptrip IOl ozume EM Total auxiliaryl auxil scanv resolution delta m discriminator mass DAC mass 1 DAC2 DAC3 DAC4 DAC5 DAC6 DAC7 DAC8 DAC9 DAC10 DAC13 DAC14 DAC15 DAC16 DAC17 DAC18 DAC1 9 HAL MSIU Software User Manual local range head range tripl tr IMS emission 106 liary2 0V 10 24V Page 52 of 93 Main Software Functions Logical Devices 20 mode clock mSecs elapsed time delay watchdog none enable mode change delay multiplier The 12bit SEM HT DAC on the HA 072 302 board 0 to 3000V i p select For internal use only Operates the input multiple
8. 7 luse 47 digital input ltyp 4 digital input lunt 47 1 on lmin 47 lmax 47 1val 47 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 4 0 lres 48 lval 48 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lia 104 idi 103 8 luse 48 digital input oo ltyp 4 digital input lunt 48 1 on lmin 48 lmax 48 4 9 luse 49 digital input HA 085 006a 24 01 03 GET GET GET off Sample Download Sequence HAL MSIU Software User Manual Page 83 of 93 Operation Sequence Sample Download Sequence ltyp 49 digital input lunt 49 1 on 0 off lmin 49 lmax 49 lres 49 lval 49 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid IO5 50 luse 50 digital input ltyp 50 digital input lunt 50 1 on off lmin 50 lmax 50 lres 50 lval 50 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid rangedev 51 luse 51 group ltyp 51 group Tant BL 1min 51 lmax 51 lres 5 lval 51 0 000000 1 000000 lid Faraday 53 luse 53 scan ltyp 53 V to F input lunt 53 torr lmin 53 1 00000E 4 lmax 53 1 00000E 4 Ires 53 1 000001 lval 53 0 0 00000640 0 00000ET0 0 00000640 0 00000E 0 0 00000640 0 00000ET0 0 00000ET0 0 00000ET0 0 000000 1 000000 lid Total 55 luse 55 scan ltyp 55 V to F input lunt 55 torr GI 10
9. Data is returned in almost the same format as is returned by using the results parameter S section 2 1 0 1 Returned Data page 172 The results parameter is now obsolete and no longer supported The DATA command may be nested If data is misread another DATA lt scan dev gt lt n gt command see below may be issued to read the missed data The data should be read until a is received or the current DATA command stopped by DATA stop When a scan is initialised LINI scan or started LGET scan or LSET scan all background data commands are stopped This command has the following syntax DATA lt scan dev name gt or DATA lt scan dev number gt Reports the results of the last cycle of the scan given by lt scan dev name gt E g Ascan or lt scan dev num gt DATA lt scan dev name gt lt n gt or DATA scan dev number n Reports the results of cycle n of the scan given by scan dev name E g Ascan or lt scan dev num gt Each time a scan is called either as an input or output ldev the scan s cycle number is incremented Note that the scans cycle numbers are independent If Ascans calls Bscans 4 times Ascans may be on cycle 1 while Bscans is on cycle 4 DATA all Reports all stored data from the head of the stored data list onward DATA Reports the next available data points Will automatically re st
10. SEM nul dev nul dev SEM nul dev nul dev SEM 0 nul dev nul dev SEM 1 or DATA all nul dev nul dev SEM O nul dev nul dev SEM O nul dev nul dev SEM O nul dev nul dev SEM O nul dev nul dev SEM O Even though nul dev returns no value That the braces come from an output scan can be deduced from their occurrence before SEM If results or report 1 the normal case this is no longer true lget Hscans 0 TV VO OO Vi VO 4 3 0 3 or DATA all 0 0 70 6 20 6 20 44 0 DATA stop Stops the recall of data Kills the most recent data recall task The command DATA without an argument will resume a stopped data recall at the next scan This command is equivalent to STOP task n where task is the task number of the data note lowercase task and n its job number DATA on Scan will not reuse data storage until the data has been recalled Issue this command before starting to scan Data acquisition will suspend if all available storage is used up DATA off Scan will reuse data storage even if not yet recalled Example Start the data acquisition by LGET scan Start the data recall by DATA all Read the returned data then issue another DATA command Continue until a C70 error is received Command Error 70 No data
11. Step Input returns mass 1 00 SEM O returns mass 3 00 SEM O mass 6 00 SEM O mass 9 00 SEM O mass Adding a second s I 00 51 mass 4 00 SEM 0 mass 2 00 51 7 00 SEM O mass 8 0 10 00 SEM O can underlined gives EM O mass 5 00 SEM O mass 0 SEM O mass Output 1 mass 1 5 2 mass ol 53 S 5 G n m E lget Hscans retur mass 1 00 5 00 SEM O mass 52 00 SEM O mas 55 00 SEM O ns EM 0 mass 2 5 00 SEM 53 00 SEM 0 s 00 SEM mass mass mass 51 00 SE 54 00 SE 3 00 SEM 0 mass mass mass If a second scan ldev is used as input device to create a multivarient 3 dimensional s Hscans can of energy and mass Output Iscans 28 00 SEM 0 mass i lenosiy 2116 Output mees 29 AR N VEE SEM 1 29 00 SE Then lget Hscans returns energy 10 Iscans mass mass 30 00 SEM O mass 31 0 32 00 SEM 0 0 energy 5 Iscans mass 28 00 SEM 0 0 SEM mass 0 mass 29 00 SEM O mass HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 18 of 93 Main Software Functions Command Interface Commands I 30 00 SEM O mass 3
12. 0 02 lval 69 05 54 50 5 507 54250 5750 5 50 5 50 5 50 20 00 0 000000 1 000000 lid synch 70 luse 70 Synchronise scans and trips ltyp 70 pseudo device lunt 70 lmin 70 0 imax 70 999 lres 70 lval 70 00 0 0 0 0 0 0 0 0 0 000000 1 000000 lid rendezvous 71 luse 71 Synchronise scans and trips ltyp 71 pseudo device lunt 71 lmin 71 0 lmax 71 999 lres 71 lval 71 00 0 0 0 0 0 0 0 0 0 000000 1 000000 lid mode 74 luse 74 group ltyp 74 group lunt 74 1 RGA lmin 74 0 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 86 of 93 Operation Sequence Sample Download Sequence lmax 74 lres 74 lval 74 0 0 1 2 3 4 5 6 7 0 000000 1 000000 lid clock 15 luse 75 Battery backed hardware Real Time Clock ltyp 75 clock lunt 75 lmin 75 01 01 80 00 00 00 lmax 75 19 01 48 03 14 07 lres 75 01 01 80 00 00 01 lval 75 0 01 01 80 00 00 00 01 01 80 00 00 00 01 01 80 00 00 00 01 01 80 00 00 00 01 01 80 00 00 00 01 01 80 00 00 00 01 01 80 00 00 00 01 01 80 00 00 00 0 000001 2147 483647 lid mSecs 76 luse 76 Elapsed time clock ltyp 76 clock lunt 76 ms lmin 76 0 lmax 76 2147483647 lres 76 lval 76 0 1445 0 0 0 0 0 0 0 0 000001 2147 483647 lid elapsed tim 77 luse 77 SElapsed time clock ltyp 77 clock lunt 77 ms limin 77 01 00 00 00 000 lmax 77 25 20 31 23 647 lr
13. Ok Set to 0002 0000 Ok Set to 0004 0000 0008 0000 Set to 0010 0000 Ok Set to 0020 0000 Ok Set to 0040 0000 Ok Set to 0080 0000 Ok Set to 0100 0000 Ok Set to 0200 0000 Ok Set to 0400 0000 Ok Set to 0800 0000 Ok Set to 1000 0000 Ok Set to 2000 0000 Ok Set to 4000 0000 Ok Set to 8000 0000 Ok Set to 0000 0000 Ok TEST timing Example TEST timing Result Testing acquisition timer 1001 ms Testing real time clock Please wait 1 minute lt gt 60 seconds TEST ASC Example Result TEST ASCII 1 second 1 minute returns an ASC Command tests the static RAM test string Interface Commands tests system clock and timers TEST ASCII 1 ABCDEFGHIJKLMNOPORSTUVWXYZabcdefghi jklmnopgqrstuvwxyz0123456789 SS amp HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 23 of 93 Main Software Functions Command Interface Commands TEST all performs all of above tests Example TEST all Result Testing SRAM Set to FEFF EFFEE eo to 55AA 55AA t Ok Set Ok Set to AA55 AA55 Ok Set to 0000 0001 Ok Set to 0000 0002 Ok Set to 0000 0004 Ok Set to 0000 0008 Ok Set to 0000 0010 Ok Set to 0000 0020 Ok Set to 0000 0040 Ok Set to 0000 0080 Ok Set to 0000 0100 Ok Set to 0000 0200 Ok Set to 0000 0400 Ok Set to 0000 0800 Ok Set to 0000 1000 Ok Set to 0000 2000 Ok Set to 0000 4000 Ok Set to 0000 8000 Ok Set to 0001 0000 Ok S
14. Release 2 5 2 7 96 results 0 31 Scan results format see scan logical device SearchSpan width of scan within which to search for a maximum SearchWindow width of window used to find top of peak by search routine SearchThreshold minimum slope of peak used by search routine SearchMinimum minimum height of peak used by search routine SEM V mS Slew rate of SEM HT supply as set by the multiplier device in Volts per ms settle The settle time used for the last measurement in 1 ms units stack Debuging aid stack depth after command state Debugging aid State value of pulse counting state machine stream A readonly parameter that returns the names of all streams PGET stream returns COMI COM2 DLC1 DLC2 DLC3 NET1 NET2 NET3 ERROR BUFFER NUL terminator Termination character for input read by RERR amp RBUF commands substitutes for a Carriage Return 4 character Default terse 0 1 Flag for terse output If 1 short format output is used no text or units yieldpoints Used to optimise data recall using DATA command Data task yields to multitasker after the number of data points set in yieldpoints have been processed z motion baud Sets the baud rate of the RS232 link to the OEM650 96 0 8 1 sets 9600 baud no parity 8 data bits and 1 stop bit z motion init The string sent to the OEM650 to initialise it
15. int value of 0 124 100mA range is 10x10 range therefore int 1 24 10 The command LINI lt rangedev gt will reset all ranges to their default slope intercept and offset 2 5 5 Analogue RGA Physical Devices NOTE The number and order of logical devices varies according to the configuration of the instrument The user should interrogate the instrument by sending a LIDS all command to list the names of all devices Then for each device name returned by LIDS all send a LID name command to obtain the devices ldev number On a standard RGA system LIDS all returns multiplier i p select local range head range tripl trip2 o ptrip emission LED fault LED inhibit RGA SIMS emission range TET E27 beam filok emok perip TO1 Me TO2 LOS TO4 TO5 rangedev Faraday Total auxiliaryl auxiliary2 resolutio n delta m mass synch rendezvous mode clock mSecs elapsed time delay watchdog enable mode change delay multiplier The SEM HT DAC This device is in the switched state group When switched is set to the HT off state then no multiplier voltage will be applied regardless of the value written to this device i p select For internal use only Operates the input multiplexor Set automatically when input device SEM Auxiliaryl etc is initialised local r
16. lt limit gt limit action activate deactiv ate enable TIDS all without a lt trip label gt argument is a special case and returns all trip field names in comma separated quoted string format in the order of their id e g type input output from to logic lt limit gt limit action activate deactiv ate enable row next text source expression format as scan index cycle on error stream priority TID Return ID number field number converse of TIDS Does not require a lt trip label gt argument Example TID next Returns lt ID number of trip field gt dJ E g Above example returns 154 NOTE Field ID numbers may change between releases Always use TID to establish the ID of a field TIN nitialise trip field set to its default In some cases this nulls a field eg TINI next TINI all initialises all fields except the type HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 63 of 93 Main Software Functions Trips amp Events Example TINI input Returns a Sets the input to the default input Faraday on analogue instruments SEM on ion counting instruments 2 8 3 Trip Types Every trip has a_type field When the trip is created by the TNEW command it will have type input The command TSET type lt label gt lt type gt may be used to change the type of trip
17. the network These Streams may receive commands and can return results data errors or the output from event sequence messages A stream may also be purely internal e g NUL BUFFER and ERROR These streams can not receive commands The names of all streams may be obtained by using the command PGET stream Task To enable more than 1 command to execute at once 6 background tasks are available These may be started explicitly by use of the SJOB command or automatically e g the DATA command Thus by use of the SJOB command while a scan logical device is scanning tuning commands may also be sent Use of SJOB allows a command to be STOPed before it completes Two tasks are started automatically at power up one is the TRIP task and the other runs an event sequence that monitors the inhibit input Trip Trips are structures that may be set to check the data as it is acquired and perform actions should limits be exceeded This function is performed by the TRIP command In addition trips may be strung together to form trip programmes In this context trips are now termed events and comprise part of event sequences See Event above HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 10 of 93 Main Software Functions Glossary 2 Main Software Functions The general intention of the command interface is to have a small set of commands acting on a large number of lo
18. Error number 40 Command error 40 Illegal command with ALL Error number 41 Command error 41 Scan field out of range Error number 42 Command error 42 Rov field out of range Error number 43 Command error 43 Output device field out of range Error number 44 Command error 44 Start field out of range Error number 45 Command error 45 Stop field out of range Error number 46 Command error 46 Step field out of range Error number 47 Command error 47 Input device field out of range Error number 48 Command error 48 Range device field out of range HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 75 of 93 Main Software Functions Error Summary Error number 49 Command error 49 Low range field out of range Error number 50 Command error 50 High range field out of range Error number 51 Command error 51 Current range field out of range Error number 52 Command error 52 Dwell time field out of range Error number 53 Command error 53 Settle time field out of range Error number 54 Command error 54 Mode field out of range Error number 55 Command error 55 Report field out of range Error number 56 Command error 56 Option not recognised Error number 57 Command error 57 Return value type not recognised Error num
19. To ensure s If tuo inputs are HAL MSIU Softvare User Manual Bscans the mass then Ascans reads SEM When Bscans does depe and Start may be regarded as indices ns scans from v to x and Bscans it can scan from ytw l Bscans stop value of must be provided in Ascan Scans have inputs output scans having inputs Bscans 1 s input wo Bscans 2 s output had been set input may be used if more inputs ar ded at the end of the Key Concepts energy and plates nd on A that all Although great care wo Bscans is used as scans s to Bscans to s stop I see no uld have to uld b required read befor Bscans 3 s required then Bscans list Page 7 of 93 System Description Key Concepts If a list of scans Bscans 1 to 3 as above was used as an input device then Bscans 1 would scan from its Start to Stop then Bscans 2 would scan from its Start to Stop and finally Bscans 3 would Scan from its Start to Stop The value returned would be the value returned by Bscans 3 Putting Xscans into a logical device in a scan will call that Scan as a logical device however calling it from within a scan will is exactly the same as the commands LGET Xscans or LSET Xscans because the commands must perform initialisation which it is undesirable to repeat from within a scan To prevent circular definitions the scans are hierarchical o
20. invoked enable Enables the system hardware Set when all DACs have been initialised Always last logical device 2 5 7 Other Devices clock Real time clock LGET clock returns dd mm yy hh mm ss Set using LSET clock dd mm yy hh mm ss Use spaces as sepeator Enter mm as month number and hh in 24 hour clock lapsed tim Elapsed time in dd hh mm ss format dd starts at day LL mSecs Elapsed time from start of scan in milliseconds lapsed tim Elapsed time in day hours mins secs nnn NB day 1 at time O0 delay Waits for a time in milliseconds When invoked from task 0 does not wait Example to wait for 6 seconds LSET delay 6000 watchdog Returns time in seconds to 3 dp since the last RERR or RBUF command was issued Use this device to monitor if a PC is polling the BUFFER and ERROR streams 2 5 8 Devices in ESP EPROMS On EPROMS for the HA 081 300 board LID all returns i p select beep local range tripl trip2 fault LED run LED head range calibrate disconnect motor shutdown motor fault IO1 IO2 IO SN TO4 TOS potential rangedev auxiliaryl auxiliary2 current voltage m ode clock mSecs elapsed time delay watchdog none enable mode change delay i p_select For internal use only Operates the input multiplexor Set au
21. is redundant in ESP systems mode change delay Similar to the delay device This device is in the mode group When the mode is changed the appropriate delay is invoked enable Enables the system hardware Set when all DACs have been initialised Always last logical device z motion The z motion device is not in the all group so is not listed by the LIDS all command nor does the command LINI all initialise it The z motion must be initialised by the command lini z motion before use The command LNUL z motion sends the z motion to the home position The command LSET z motion n may be used to set the z motion to an absolute displacement of n cm from the home position the z motion must be homed before the LSET command is used otherwise th rror P137 Problem 137 motion has not been homed is produced The z motion device operates by sending commands to the OEM650 stepper motor controller These commands are held as parameters so that they may be altered The following parameters are related to the z motion device z motion baud Sets the baud rate of the RS232 link to the OEM650 96 08 1 sets 9600 baud no parity 8 data bits and 1 stop bit tz motion init The string sent to the OEM650 to initialise it z motion home The string sent to the OEM650 to move to the home position z motion set The string sent to the OEM650 to move to displ
22. 1980 must be a leap year Excel uses 1900 Excel on the Macintosh uses 1904 UNIX uses 1970 not a leap year AutoTuneWindow width of window used to find top of peak by scan return functions AutoTuneThreshold minimum slope of peak used by scan return functions AutoTuneMinimum minimum height of peak used by scan return functions HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 56 of 93 Main Software Functions Parameters brackets 6 character string parameter Parentheses for scan results by default A point may be used as a placeholder if a bracket is not required e g omits the outermost brackets Quote the string to include spaces cycles 0 2000M Used to cause the scan to repeat itself If 0 repeats until stopped This parameter is now obsolete PSET cycles n is equivalent to SSET cycles n for Ascans debug 0 1 Flag for debug output delay matrix The delay matrix for range changing DLC p timer DLC protocol poll response timer DLC ack timer DLC protocol acknowledge timer DLC rej timer DLC protocol reject timer DLC busy timer DLC protocol remote busy timer DLC retries DLC protocol max number of retries DLC tick timer DLC protocol tick timer for above timers dwell The dwell time used for the last measurement in 1 ms units echoing 0 1 0 turns echoing of characters sent to HAL 4 off 1 turns it on Only operates in debugging mode hesitatio
23. Error number 82 Command error 82 Trips from field out of range Error number 83 Command error 83 Trips to field out of range Error number 84 Command error 84 Trips lt limit field out of range Error number 85 Command error 85 Trips gt limit field out of range Error number 86 Command error 86 Trips action field out of range Error number 87 Command error 87 Trips activate field out of range Error number 88 Command error 88 Trips deactivate field out of range Error number 89 Command error 89 Trips row field out of range Error number 90 Command error 90 Trips row field illegal not scan input Error number 91 Command error 91 Trips output field illegal with Scan as inpu Error number 92 Command error 92 Trips type field unrecognized Error number 93 Command error 93 Trips logic field unrecognized Error number 94 Command error 94 Trips activate field illegal with trip as action Error number 95 Command error 95 Trips deactivate field illegal with Error number 96 Command error 96 Trips enable field out of range Error number 97 Command error 97 Trips field illegal with this type of trip Error number 98 Warning 98 Trips next trip created automatically Error number 99 Command error 99 Trips text too short or too long Error number 100 Command error 100 Trips invalid operator in HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 76 of 93 expression Error number 101 Error number 102
24. HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 84 of 93 Operation Sequence lmin 55 1 00000E 4 lmax 55 1 00000E 4 lres 55 1 00000E 11 lval 55 0 0 00000ET0 0 00000E 0 0 00000E 0 0 00000E 0 0 00000Er0 0 00000E 0 lidf auxiliaryl 57 luse 57 scan ltyp 57 V to F input lunt 57 V lmin 57 10 0000 lmax 57 10 0000 lres 57 0 0010 lval 57 0 0 0000 0 0000 0 000000 1 000000 lidf auxiliary2 59 luse 59 scan ltyp 59 V to F input lunt 59 V lmin 59 10 0000 lmax 59 10 0000 lres 59 0 0010 lval 59 0 0 0000 0 0000 0 000000 1 000000 lid resolution 65 luse 65 Quad tuning DAC typ 65 AC unt 65 0 0000 0 0000 0 0000 0 0000 OH 4 o0 lmin 65 100 lmax 65 100 lres 65 lval 65 00 0 1 O 1 d 1 lid delta m 66 luse 66 Quad tuning DAC ltyp 66 DAC 0 0 0 0 000000 HA 085 006a 24 01 03 0 0000 0 0000 Sample Download Sequence 0 Q00000E 0 0 000000 0 0000 0 0000 1 000000 HAL MSIU Software User Manual 0 00000E 0 1 000000 0 0000 0 0000 0 0000 0 0000 Page 85 of 93 Operation Sequence Sample Download Sequence lunt 66 4 o0 3 B B3 OY Oy lres 66 lval 66 00 0 0 0 0 0 0 0 0 0 000000 1 000000 lid mass 69 luse 69 scanable quad control DAC ltyp 69 DAC lunt 69 amu lmin 69 0 40 100 00 Imax 69 lres 69
25. If the source field is a trip the value stored in the trip is associated with a logical device either inherited from the original source of the value or imposed by the format as field This field is initialised if the source field is changed action Trip action logical device This field specifies the devic written to when a trip changes state When a trip becomes active the value in the activate field is written to the device specified in this field When the trip becomes inactive the value in the deactivate field HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 69 of 93 Main Software Functions Trips amp Events is written A trip can be specified in place of a logical device in which case the trip is enabled when the trip becomes active and disabled when it becomes inactive If the action field is set to trun then the Event sequenc branches to the trip specified in activate when the trip is active and to the trip specified in deactivate when the trip is inactive A null in either of these will terminate the Event sequenc If the action is a logical device or a trip nothing is done if the trip does not change state from active to inactive or vice versa If the action is trun the branch is always taken activate Trip activate action value The value in the activate field is written to the action device when the trip changes state to active I
26. Logical device value out of range The value you have tried to set is below MIN or above MAX Command error 10 Logical device value scaled out of range When multiplied by SLO and offset by INT the value is outside the capability of the device reset the slope and intercept L999 Sets logical device safe in case of emergency overriding lock Example L999 mass 5 5 Returns 4 Errors Command error 9 Logical device value out of range The value is below MIN or above MAX Command error 10 Logical device value scaled out of range When multiplied by SLO and offset by INT the value is outside the capability of the device reset the slope and intercept 2 3 Parameter Commands The command interface will support parameters like on the HAL They will be implemented like cut down logical devices and used to set one off values in memory These values will be grouped in a parameter structure The parameter table in ROM will contain min amp max values to allow validation an initial value to allow init and reset to default a name so that the parameter may be referred to by name or parameter number Parameters do not have units so terse has no affect on returned values String parameters are quoted Some parameters are read only The last read only parameter is called readonly pget readonly or pmax readonly or pid readonly returns the pid of the last readonly parameter Array parameters all
27. NOTE Changing the type initialises all the other fields The trip types and their fields are shown in the table below These are the fields that are returned if the command TIDS all lt label gt is used for a trip with the type set as shown in the type column NOTE The command TID all label does not return the fields in order of their TID All the fields names may be listed in TID order by omitting the label eg example TIDS all returns type input output from to logic lt limit gt limit action activate deactiv ate enable row next text source expression format as scan index cycle on error stream priority IDS a al cS Sa ES EE ET te te e te te e pe a AE cm iU te te ty t c iu he iz iz rov expressi format priori next Ko a a ES NN ez EE amr EE gul ks l olm yl imis as ty sl si EE EE ty RAS IE ale ssa em fe pem pu ea EE ty ype ype yp Sale s ulus AE ee error ty ype ype yp e Trip types shown on a grey background are Events 2 8 4 Input Trip Fields This is the default type of normal trip type Trip Type Set to input input Trip Input Logical device Scans must have same input device for this trip to apply If a scan logical device is specified in the input field of the trip then the trip is tied to a scan in that scan logical device The scan mus
28. a reply to a REJ PDU The default value is 15 105ms The parameter DLC busy timer times the interval that the LLC waits for a busy state at the other LLC to clear The default value is L509 Es 3 The parameter DLC retries defines the number of times that a PDU is sent following the running out of the acknowledgement timer the P bit timer or the reject timer The default value is 10 The parameter DLC tick timer scales all the other timers The default value is 7 This gives a tick time of 7ms 2 dd The DLC2 Stream DLC2 is an Ethernet LAN stream The DLC2 stream corresponds to SAP C4 at the MSIU s Ethernet address In all other respects it is identical to DLC1 The DLC2 stream is intended for returning data 2 us Ms The DLC3 Stream DLC3 is an Ethernet LAN stream The DLC3 stream corresponds to SAP C8 at the MSIU s Ethernet address In all other respects it is identical to DLC1 The DLC3 stream is intended for redirecting error messages 2 1 Command Interface Commands am not sure how many of these I will be able to implement HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 14 of 93 Main Software Functions Command Interface Commands Unimplemented stuff is shown on a grey background EIDS EIDS lt n gt returns the error message string of error lt n gt ESET ESET lt n gt generates error number lt n gt on the current
29. acquired by the following command sequence LINI Ascans LGET Ascans Note that you initialise and get the_logical device LGET Ascans scans each row of Ascans for all indices from its start value to its stop value LSET may be used to execute a scan logical device 1 step fying the index of the step Thus with at a time the value set specif START 10 STOP 20 and STEP 1 LSET Ascans 1 would measures at mass 10 LSET Ascans 2 would measure at mass 11 and so on Where START STOP the index value does not matter Thus scan may be envisaged as having 1 input device and 1 output device in addition it has an index input and a data output to Report The scan has 2 main parameters the start value and the stop value Figure 1 The output device will normally be the mass DAC and the input device the main input e g the SEM ADC or pulse counter The values between Start and Stop are output to the Output device and each time the input device is called to return a value The input and output devices may be any logical device though using some make more sense than others including a scan logical device Now let us replace the SEM input with a scan logical device Bscans Bscans outputs to the energy DAC HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 5 of 93 System Description Key Concepts ENERGY SEM Figure 2 In this case Ascans will scan mass between Start a
30. amp re written current and mode fields documented SDEL all HA 085 006a 24 01 03 Page lof 93 System Description Key Concepts command documented Revision 6 19 Aug 1994 Scan option amp return fields documented Mass alignment procedure added Trip priority field documented Standby mode renamed Shutdown DATA on and DATA off documented Revision 7 28 March 1996 QUIT TEST amp HELP commands documented Scan cycles interval amp state fields documented Group documentation updated Logical device descriptions updated Error summary updated Operation sequence added Revision 8 23rd May 1996 Added documentation for test EPROM devices Revision 9 8th July 1996 Added documentation of ESP EPROM devices Documented range device operation Data Event enhancements SM51 documented Documented BOOT command Revision 10 3rd January 1997 Changed name from HAL 68K Software User Manual to HAL MSIU Software User Manual Issued as HA 085 006 Revision a HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 2 of 93 System Description Key Concepts 1 System Description 1 1 Key Concepts This software is built on two key concepts the logical device and the scan These two are inter related in that a table of scans is represented by a scan logical device 1 1 1 The Logical Device A logical device is a way of associating a name
31. change SSET current 7 Start on range 7 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 36 of 93 Main Software Functions Scan Table Editing Commands Error Command error 51 Current range field out of range zero If set to 1 the input device will be nulled zeroed at the start of the scan dwell Dwell of normal settling time or an absolute value Default 100 example SSET dwell 500 sets the dwell to 5 x normal value for range example SSET dwell 1000 sets the dwell to 1000ms absolute regardless of range Error Command error 52 Dwell time field out of range settle Settling time of normal settling time or an absolute value Default 100 example SSET settle 50 sets the settling time to 1 2 normal value for range example SSET settle 100 sets the settling time to 100ms absolute regardless of range mode State of mode logical device for this scan Mode 1 RGA mode 2 ve ion SIMS mode 3 ve ion SIMS If setting the mode involves changing the mode then the global environment is restored before th mode is changed The mode is restored when a nested scan returns to the calling scan Default 1 example SSET mode 2 sets the mode to ve ion SIMS report Report format for data command Each bit in the report value corresponds to a part of the result format of the DATA command Briefly bit 0 input value 1 input device name 2 output value 3 output devi
32. fields This field is initialised if the output field is changed action Trip action logical device This field has exactly the same function as in input trips It specifies the device written to when a trip changes state or a trip to be enabled disabled can be specified or the field may be set to trun to run an event sequenc activate Trip activate action value This field has exactly the same HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 68 of 93 Main Software Functions Trips amp Events function as in input trips The value in the activate field is written to the action device when the trip changes state to active or if the action field is set to trun the activate field may contain the name of a trip which is run as an event sequenc deactivate Trip deactivate action value This field has exactly the same function as in input trips The value in the deactivate field is written to the action device when the trip changes state to inactive or if the action field is set to trun the deactivate field may contain the name of a trip which is run as an event sequenc enable Trip enable This field has exactly the same function as in input trips If this field is set to 1 the trip is enabled at start up A trip may be disabled by setting this field to 0 2 8 6 Limit Trip Fields Event Used to apply limits to a value May be used to create conditional branches in Eve
33. for 7 states for each device The state of a group may be changed using the LSET command LSET mode 2 will change all devices in the mode group to the value appropriate for SIMS ve ion operation Once a state has been selected you may use LSET to tune an individual device in the group The value set will be stored in the state of the device according to the mode LGET mode will return the last value of mode set When a remote computer initially interrogates the controller it will need to know the settings of all states of a device The command LVAL returns the device state followed by 7 values one for each state and by the calibration intercept and slope The reverse of this command is LPUT which allows the 7 values corresponding to each state to be downloaded LPUT does not change the state but does set the device to the new value for its current state Devices may be calibrated using the LINT amp LSLO commands to set the intercept and slope The intercept is expressed in the units of the device to 6 decimal places using the default slope Rounding errors may occur in its calculation so take care if you are reading it and setting it back again that the value does not creep up or down The slope is expressed as a ratio to the default 1 1 2 The Scan As noted above the command LSET may be used to set a logical device to a value and LGET to read a value Thus LSET mass 28 sets the m
34. is not useful In case 2 the only useful command is LIDS the group is used solely to identify its members 2 5 1 Type 1 Groups The command LIDS groups will return all group devices Example LIDS groups Returns rangedev total partial Switched measurement reference extraction sector quad det g T id ector source degassing mode all map input output environment others global control all Used to access all logical devices except groups Use LINI all to initialise all logical devices LSET ALL will ignore its argument it will set all devices group indices to their default and set the last used value at that index LMAX ALL will return the number of logical devices mode A group used to select RGA SIMS operation Index 1 selects RGA values index 2 SIMs ve ion and index 3 SIMS ve ion Switched A group used to turn the SEM HT on or off i e multiplier amp lst dynode degas A group used turn degassing on or off beam A group used to turn the beam off in systems without a beam PIA device total partial A group that contains those devices that need to be switched when changing from Total pressure measurement to Partial Pressure measurement used internally by the total input device measurement Devices used for measuring signal intensity The command LIDS measurement returns SEM Faraday Total
35. logical device read value or return last set value for output devices Example LGET SEM HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 27 of 93 Main Software Functions Logical Device Commands Returns terse 0 lt READING gt lt UNITS gt 4 terse 1 READING Errors If the reading is less than MIN or greater than MAX returns terse 0 Warning 12 Reading out of range lt READING gt lt UNITS gt J terse 1 W12 READING J LMAX Return max value of logical device Example LMAX mass Returns terse 0 Maximum Value UNITS terse 1 Maximum Value LMIN Return minimum legal value of logical device Example LMIN mass Returns terse 0 Minimum Value UNITS terse 1 Minimum Value LRES Return resolution of logical device this is the minimum step Size when the device is scanned rounding of mapping of device physical minimum and maximum to device logical minimum and maximum may make this value approximate Example LRES mass Returns terse 0 Resolution Value gt lt UNITS gt J terse 1 lt Resolution Value LIDS Return ID string name of logical device Example LIDS multiplier Returns lt DEVICE NAME Note Not quoted and no comma device name will not include spaces If the device is a group LIDS returns all the ID of all the members of the group in comma separated quoted string form
36. next Scan unless that scan too sets the device in its list At the end of HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 39 of 93 Main Software Functions Logical Devices acquisition any remaining devices are reset to their original value The acquisition code creates a copy of the environment list before setting the devices so editing the list may occur at the same time as acquisition Read values are stored in another copy of the list so at least 2 x the length of the longest environment list should be available as free environment space while scanning A consequence of reading the device values prior to each scan is that the environment may be used to preserve the value of a scanned device by setting the output device in the environment list to the start value E g sset output energy sset start 1 sset stop 100 sset env energy 1 will scan energy from 1 to 100 and reset energy back to its original value at the end of a scan When nesting scans it is probably best to use sset env ldevname row to link environments to the topmost scan Setting an env with a list unlinks the scan Editing by sset env n val does not Environment ldevs are not locked until they are used so locking conflicts are possible As most output ldevs do not call the scheduler PAUSE this should not be a problem In theory if a device is read when locked it may return 0 resulting in the wron
37. of an error from its error number The errors associated with the commands in the following sections are not exhaustive they are those produced by the standard amp default device drivers other logical devices may produce device specific errors Any command of less than 4 characters including blank lines produces the error Command error 3 Command truncated Unrecognised commands produce Command error 1 Unknown command The following flow chart summarises command processing HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 11 of 93 Main Software Functions Send command to MSIU Receive character and buffer Is character a carriage return Parse buffer for Error messages begin and end with errors E g C001 Handle error Result expected Interpret result 2 0 1 Command Streams Glossary Commands may be sent on any input stream The following input streams have been implemented COMI COM2 DLC1 DL Zx DL 37 Commands received from any input stream are ALWAYS executed by task 0 Task 0 executes the command until it completes No other command can be processed until task 0 completes Thus for instance if the command LGET SEM were issued then the command task would be tied to this operation for the duration of the settle and dwell times for the HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 12 of 93 Mai
38. part of the option name Options may be separated by 1 or concatenated If spaces are included th ntire option string must be quoted This command applies to all rows in the scan logical device The entire set of options is returned by SMAX state e g Init Run Stop Wait Abort The default option is returned by SMIN state e g ww When the scan logical device has been initialised the state becomes Init When the scan is started the state becomes Run Example to stop a scan at the end of the current cycle SSET state Stop Example to abort a scan equivalent to L999 lt scan gt SSET state Abort Example to make a scan wait at the end of the current cycle HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 34 of 93 Main Software Functions Scan Table Editing Commands SSET state Wait Example to resume scanning when in Wait state SSET state output Scan Output Logical Device Must be set before START STOP or STEP If a scan logical device it must have a ldev number gt SCAN Default mass Example SSET output energy Error Command error 43 Output device field out of range start Start mass in units of OUTPUT Scan Output Logical Device N B Setting START also sets STOP This ensures that STOP is not less than START It enables rapid entry of MID type scans To set up a Scan from MIN to MAX default the START
39. specified by the logic field The units and minimum and maximum value of this field depend on the device specified in the input field If the input field is a scan logical device they depend on the input device of the scan specified by the trip s input amp row fields This field is initialised if the input field is changed limit Trip upper limit The value read by the scan s input device is compared with this limit according to the rules specified by the logic field The units and minimum and maximum value of this field depend on the device specified in the input field If the input field is a scan logical device they depend on the input device of the scan specified by the trip s input amp row fields This field is initialised if the input field is changed action Trip action logical device This field specifies the devic written to when a trip changes state When a trip becomes active the value in the activate field is written to the device specified in this field When the trip becomes inactive the value in the deactivate field is written A trip can be specified in place of a logical device in which case the trip is enabled when the trip becomes active and disabled when it becomes inactive If the action field is set to trun then an event sequenc specified in activate is run when the trip becomes active and an event HA 085 006a 24 01 03 HAL
40. to do is free the output device and then wait until it can get it again If the background task reports to a different device this will be free and so the task will not suspend SVAL n suspends the command task for n cycles of the scheduler Example SVAL or SVAL 100 Returns output from background task gt J If the output from the background task ends in J then SVAL returns output from background task SOUT Sets the output device of subsequent background tasks started by SJOB Example SOUT COMI Returns 4 Errors Command error 28 Unknown I O device SERR Sets the error device of subsequent background tasks started by Example SERR ERROR Returns 4 Errors HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 21 of 93 Main Software Functions Command Interface Commands Command error 28 Unknown I O device RBUF Reads the data queue BUFFER of messages produced by background tasks started by SJOB Syntax RBUF lt n gt where n is the maximum number of characters to be read When a new line is encountered it is replaced by the character specified by the terminator parameter by default and RBUF ends Example RBUF reads BUFFER until a new line is encountered or BUFFER is empty RBUF 100 reads up to 100 characters from BUFFER Returns output from BUFFER If the contents of BUFFER contains J then SVAL returns output from
41. with a hardware or software function By asking the controller what logical devices are available a remote computer may find out the capabilities of the system Once the names of the available logical devices are known the remote computer may enquire the capabilities of each device by use of the commands LMIN LMAX LRES LUNT LUSE LTYP and LVAL These commands return values that have been configured into the logical device table in the EEPROMs Their use is documented in section 2 Each logical device has a corresponding logical device number The command LID may be used to obtain this given the devices name Logical device numbers may vary from system to system so should always be obtained by use of the LID command Once known their use is quicker than using the logical device name but logical device names and numbers may be used interchangeably in most commands For future reference this also applies to Parameter names and numbers and Field names and numbers The command LSET may be used to set a logical device to a value and LGET to read a value Thus LSET mass 28 sets the mass DAC to 28 and LGET SEM will read the SEM and display the result The command LINI is used to initialise a device Logical devices may be grouped together in a group logical device Thus all devices that need initialising are in the all group The nam
42. z motion home The string sent to the OEM650 to move to the home position HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 58 of 93 Main Software Functions Mass Scale Alignment Procedure z motion set The string sent to the OEM650 to move to a displacement Contains the string which formats the displacement z motion stat The string sent to the OEM650 to request its status z motion set timeout The timeout in seconds to 3 dp for a LSET z motion command Default 60s z motion home timeout The timeout in seconds to 3 dp for a LNUL z motion command Default 300s clock format Tine oimat secim itor the Clock logical ekwiee The default UK format is RR RR ft tt DMYhms The characters between and determine the order of the values D formats the Day of the month M formats the month Y the year h the hour and s the seconds Each character between and must have a corresponding number format either 44 or 1 1 91 using f4 44 44 displays as 01 01 91 using displays as 1 1 91 and using displays as 1 1 91 i e displays leading zeroes as 0 as displays leading zeroes as a space and 8 omits them The D format character may be followed by a to display the time as a TLA i e Jan Feb Mar in which case the corresponding number format must be replaced with a E g S DMSY The following characters are sp
43. 01 03 HAL MSIU Software User Manual 30 1 1 1 1 0 0 0 0 0 000001 2147 483647 Download Sequence Page 81 of 93 Operation Sequence Sample Download Sequence luse 41 source control output ltyp 41 digital output lunt 41 1 on off lmin 41 0 lmax 41 Tras lval 41 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid bean 42 luse 42 source control output ltyp 42 digital output lunt 42 1 on Qo off lmin 42 0 lmax 42 lres 42 lval 42 1 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid 23 43 luse 43 system status input ltyp 43 digital input lunt 43 1 on 0 off lmin 43 0 imax 43 lres 43 lval 43 0 1 0 0 0 0 0 0 0 0 000001 2147 483647 ligi emok 44 luse 44 system status input AL typ 44 digital input lunt 44 1 on Qj off lmin 44 0 lmax 44 lres 44 lval 44 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid ptrip 45 luse 45 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 82 of 93 Operation Sequence system status input 0 ltyp 45 digital input lres 45 lunt 45 1 on lmin 45 imax 45 lval 45 0 0 0 0 0 0 0 0 0 0 000001 147 483647 idi 101 4 0 6 luse 46 digital input Oy ltyp 4 digital input lunt 46 1 on lmin 46 lmax 46 lres 46 lval 46 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 I 02 idi 4 0 lres 47
44. 2 lval 32 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid optrip 33 luse 33 trip relay output ltyp 33 trip lunt 33 1 on off lmin 33 lmax 33 lres 33 lval 33 05000000 00 lid emission LED 34 luse 34 LED ltyp 34 digital output unt 34 1 on off lmin 34 0 000001 2147 483647 lmax 34 lres 34 lval 34 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid fault LED 35 luse 35 LED ltyp 35 digital output lunt 35 1 on off lmin 35 lmax 35 lres 35 lval 35 050 0 050507070505 0 000001 2147 483647 1148 inhibit HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 80 of 93 Operation Sequence Sample 36 luse 36 system status input ltyp 36 digital input lunt 36 1 on off lmin 36 0 lmax 36 lres 36 lval 36 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 lid RGA SIMS 38 luse 38 System control output ltyp 38 digital output lunt 38 0 SIMS 1 RGA limin 38 0 imax 38 lres 38 lval 38 0 0 1 0 0 0 0 0 0 0 000001 2147 483647 lid emission range 39 luse 39 source control output ltyp 39 range lunt 39 uA lmin 39 0 imax 39 3 lres 39 1 lval 39 1148 Fl 40 luse 40 source control output ltyp 40 digital output lunt 40 1 on off lmin 40 0 imax 40 lr s 40 lval 40 0 0 0 0 0 0 0 0 0 0 000001 2147 483047 lidf F2 41 HA 085 006a 24
45. BUFFER gt 4 RERR Reads the error queue ERROR of error messages produced by background tasks started by SJOB Syntax RERR lt n gt where n is the maximum number of characters to be read Example RERR reads ERROR until empty RERR 100 reads up to 100 characters from ERROR QUIT Causes the command task to relinquish the lock on the input stream Lock is re established with the next command sent Allows another task to write to the stream on which this command was received Use this command if you use the RS232 or RS422 ports for testing from a terminal when you have finished using the port output from event sequences will then be allowed to the port that you were using BOOT Causes a complete re boot of the MSIU Intended for use from a watchdog event sequence The system will also re boot if 1 any task does not relinquish to the scheduler for more than 32s this can occur if an sequence of events with their priority field set to 1 loops continuously or 2 if a break signal is received on the RS232 or RS422 inputs this occurs when a PC is switched on or off This feature can be disabled by setting the reset on break parameter to O0 TEST Performs various tests These commands are intended for execution from a remote terminal They do not obey the normal syntax of returning a single line reply TEST DRAM tests the dynamic RAM Example TEST DRAM Resul
46. Commands HELP Displays a summary of some common MSIU commands This commands are intended for execution from a remote terminal It does not obey the normal syntax of returning a single line reply Example HELP Result Logical Device Commands LIDS LID LGET LSET LMIN LMAX LINI LUNT LUSE LTYP LNUL LINT LSLO LVAL LSTA Parameter Commands PIDS PGET PSET PMIN PMAX PINI Parameters terse name cycles results brackets terminator points Scan Edit Commands 5105 SGET SSET SMIN SMAX SINI SDEL Scan fields all scan row output start stop step input rangedev low high dwell settle mode env Trip Edit Commands TID TGET TSET TMIN TMAX TINI TNEW TDEL TDIR Use SJOB TRIP to start a trip task Trip fields all input output from to limit limit action activate deactivate Data commands DATA scan lt cycle gt DATA all DATA DATA stop Commands SJOB STOP STAT SOUT SERR COUT CERR RBUF RERR Other Commands HELP QUIT NOTE COUT CERR SOUT and SERR apply to the current input device Valid I O devices are COMI COM2 BUFFER ERROR DLC1 DLC2 DLC3 NETl NET2 NET3 PRINTER BUFFER is a 2000 character queue which may be read be RBUF ERROR is a 256 character queue that may be read by RERR 2 1 1 Use of Background Tasks Tasks are not allocated to a specific function as they are on the HAL II but are used to run a command in the background Functions like trips system monitoring amp da
47. Error number 103 range Error number 104 range Error number 105 range Error number 106 range Error number 107 automatically Error number 108 range Error number 109 range Error number 110 Error number 111 Error number 112 Error number 113 Error number 114 Error number 115 Error number 120 type of event Error number 121 HA 085 006a 24 01 03 Main Software Functions Error Summary invalid source invalid expression format as field out of scan field out of index field out of cycle field out of stream field out of priority field out of field specifies wrong Command error 101 Trips Command error 102 Trips Command error 103 Trips Command error 104 Trips Command error 105 Trips Command error 106 Trips Warning 107 Trips on error trip created Command error 108 Trips Command error 109 Trips Command error 110 No data Problem 111 External trip Problem 112 Over pressure trip Problem 113 Filament failure Problem 114 Emission failure Problem 115 Advise checking amp zero Problem 120 Trips Cycle Command error 121 Trips Option not recognised HAL MSIU Software User Manual Page 77 of 93 Operation Sequence Sample Download Sequence 3 Operation Sequence The typical operation sequence consists of the following
48. HAL MSIU Software User Manual HIDEN ANALYTICAL LTD 420 Europa Boulevard Gemini Business Park Warrington WA5 5UN England ANALYTICAL Tel 01925 445225 Fax 01925 416518 TITLE HAL MSIU Software User Manual AUTHOR Steve Doughton DATE 24 January 2003 SUMMARY This document describes th remote mass spec controller commands NOTE this document is intended for INTERNAL USE NOTE This document is intended for internal use if distributed to customers this document is provided as is the information herein is not guaranteed accurate or complete and is subject to change by Hiden without notice SOFTWARE REVISION This document is applicable to release 3 2 of the firmware HA 061 702m DOCUMENT REVISION HISTORY Revision Preliminary draft 30 Mar 1993 Revision 1 Current state of interface on 18 June 1993 Unimplemented command shown with grey background Revision 2 More info on returned value formats and errors added Scan results parameter documented 22 July 1993 Revision 3 8th Sept 1993 SJOB STAT SVAL SOUT SERR RBUF amp RERR commands implemented terminator parameter implemented Error summary updated Revision 4 25 Oct 1993 DATA command implemented report field implemented cycles and points parameters implemented Revision 5 2 Nov 1993 Section 1 culled from specification document
49. HAL MSIU Software User Manual Page 38 of 93 Main Software Functions Scan Table Editing Commands scan env Scan environment List of logical devices and values Devices ar read prior to the scan and then set to new value Restored to old value after scan unless set by next scan ENV has special syntax SGET env returns the entire environment list SGET env n returns just nth element as lt ldev gt lt val gt SMIN env returns min ldev number name SMIN env n returns min value of ldev in nth element as lt ldev gt lt val gt SMAX env returns max ldev number name SMAX env n returns max value of ldev in nth element as lt ldev gt lt val gt SSET env scan name n where scan name is Ascans Zscans creates a link to scan lt scan name gt row n s environment list if this in turn is a link it creates a link directly to the list SSET env n val where n is a number in range 1 26 set nth element to val SSET env lt ldev gt val ldev lt val gt creates a new environment list SSET env Ignored SINI env Deletes environment list Default no environment 2 4 1 1 Notes on using the env field The logical devices in the environment list are read prior to the start of a scan and their values stored They are then set to required value They are reset to their previous value at the start of the
50. K input tripn Trip n TTL output if configured in place of IO n 2 O1 nput from Aux I O Tl pin 10 TTL output set to 1 5V 0 OV Can also be configured as an input 02 nput from Aux I O T2 pin 23 set to 1 5V 0 OV Can also be configured as an input 03 nput from Aux I O T3 pin 11 set to configured as an input 5V 0 OV Can also be 04 nput from Aux I O T4 pin 24 set to 1 5V OV Can also be configured as an input OV Can also be 05 nput from Aux I O T5 pin 25 set to 1 5V 0 configured as an input rangedev A group logical device containing range devices associated with input devices Faraday The main input V to F NB the LINI Faraday command makes Faraday the current input turns off the SEM sets T P to partial Total The main input V to F NB the LINI Total command makes Total the current input turns off the SEM sets T P to total SEM The main input ADC or pulse counting NB the LINI SEM command makes the SEM the current input turns on the SEM HT sets T P to partial Auxiliaryl Auxiliary input 1 NB the LINI Auxiliaryl command makes Aauxiliaryl the current input Auxiliary2 Auxiliary input 2 NB the LINI Auxiliary2 command makes Auxiliary2 the current input none A dummy input
51. MSIU Software User Manual Page 66 of 93 Main Software Functions Trips amp Events sequence specified in deactivate run when the trip becomes inactive Nothing is done if the trip does not change state from active to inactive or vice versa activate Trip activate action value The value in the activate field is written to the action device when the trip changes state to active If the action field is set to trun the activate field may contain the name of a trip which is run as an event sequence If no action is desired TINI activate lt trip label gt nulls this field If the action field specifies a trip trying to access the activate field produces the error Command error 94 Trips activate field illegal with trip as action deactivate Trip deactivate action value The value in the dactivate field is written to the action device when the trip changes state to inactive If the action field is set to trun the deactivate field may contain the name of a trip which is run as an event sequence If no action is desired TINI deactivate trip label nulls this field If the action field specifies a trip trying to access the deactivate field produces the error Command error 95 Trips deactivate field illegal with trip as action enable Trip enable If this field is set to 1 the trip is enabled at start up A trip may be disabled by settin
52. Returns See section 2 1 0 1 Returned Data page 17 When the DATA command has terminated the returned data ends in 1 1 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 20 of 93 Main Software Functions Command Interface Commands Errors If DATA lt scan gt or DATA lt scan gt lt n gt is used and lt scan gt does not exist or has not been initialised Command error 26 Scan not initialised If too many background tasks have been started either by nesting DATA commands or by use of SJOB Command error 30 No free task The following error is produced when no more data is available for reporting and acquisition has stopped or when no data has been acquired It is also produced by a DATA lt scan gt lt n gt command if cycle lt n gt does not yet or no longer exists in the data buffer Command error 70 No data STAT Check status of a background job running idle or stopped Example STAT 1 Returns Task n lt status gt job lt job gt lt command gt 1 i where lt status gt is running idle or stopped not quoted and if running or stopped lt command gt is the command in progress Errors Error number 31 Command error 31 Task number out of range SVAL Returns value returned by job This can easily be implemented if each task has to own the output device before using it So if the background task has the same output device as the command processor it will suspend All SVAL has
53. START STOP and STEP fields return max value in format of OUTPUT device see LMAX LOW and HIGH return max value in format of RANGEDEV device see LMAX SMAX ALL will be a special case and will return the id number of the last field in scan table SMIN Return minimum legal value of field in scan table START STOP and STEP fields return min value in format of OUTPUT device see LMIN LOW and HIGH return min value in format of RANGEDEV device see LMIN SIDS Return ID string name of field in scan table SIDS ALL will be a special case and will returns the names of all the fields in the scan table see LIDS SID Return ID number field number SIN nitialise field in scan table set to its default same as SSET without a value SIDS all Returns a string of all the scan fields example SIDS all returns scan row cycles interval state output start stop step input rangedev low high current zero dwell settle mode report options return type env J SGET al Returns a string in the same format as required by CMD All fields are included except env in the same order as SIDS all example SGET all Ascans 1 0 000 mass 1 00 50 00 1 00 SEM PIC_SEM_range 1 7 6 0 100 100 1 17 BeamO nBefore BeamOffAfter None Bar 2 4 1 Scan Table Column Logi
54. User Manual Page 13 of 93 Main Software Functions Command Interface Commands SAP CO at the MSIU s Ethernet address This may be obtained by issuing the command PGET net address The Ethernet address given to HAL IV MSIUs is a locally adminstered address Unless otherwise comfigured it will be 02484100xxxx where xxxx is the unique 4 digit ID given to each MSIU This number is shown beneath the serial number on the rear of the MSIU it corresponds to the instruments Works Reference number The DLC1 stream is connected to the 10Base2 BNC connector It operates at 10Mbits per second using ISO 8802 3 DLC1 uses the ISO 8802 2 Logical Link Control protocol LLC compatible with Microsoft s MSDLC The SAP is always open The SAP supports only 1 link station so only 1 PC may connect to the SAP at any given time The parameter DLC p timer times the interval during which the LCC shall expect to receive a PDU with the F bit set to 1 in response to a sending a Type 2 command with the P bit set to 1 The default value is 15 105ms The parameter DLC ack timer times the interval during which the LCC shall expect to receive an acknowledgement to one or more outstanding I PDUs or expect a response PDU to a sent unnumbered command PDU The default value is 30 210ms The parameter DLC rej timer times the interval during which the LLC shall expect to receive
55. V 10 00V 10 00V DAC4 OV OV 10 00V 10 00V DAC5 OV OV 10 00V 10 00V DAC6 OV OV 10 00V 10 00V DAC7 OV OV 10 00V 10 00V DAC8 OV OV 10 00V 10 00V 9 OV OV 10 00V 10 00V DAC10 OV OV 10 00V 10 00V DAC11 OV OV 10 00V 10 00V 12 OV OV 10 00V 10 00V DAC13 OV OV 10 00V 10 00V DAC14 OV OV 10 00V 10 00V DACI5 OV OV 10 00V 10 00V 16 OV 10 00V 10 00V 17 OV OV 10 00V 10 00V DAC18 OV OV 10 00V 10 00V DAC19 OV OV 10 00V 10 00V DAC20 OV OV 10 00V 10 00V mode change Oms 1000ms 1000ms 1000ms delay 2 6 Parameters all PIDS all returns release ID stream readonly terse debug results brackets echoing flags name anniversary hesitation delay matrix terminator cycles points yieldpoints stack recall net address DLC_p_timer DLC_ack_ti mer DLC rej timer DLC busy timer DLC retries DLC tick timer p oll par se AutoTuneWindow AutoTuneThreshold AutoTuneMinimum SearchSpan Searchw indov SearchThreshold SearchMinimum masstable lov mass DAC mass DAC se ttle raster coords raster dvell raster step SEM V mS z motion baud z motion init z motion home z motion set z motion stat z motion stat z motion stat z motion set timeout z motion home timeout state dwell settle anniversary The clock 0 year Default
56. a Stop data acquisition stop 4 1 Continue polling for data data E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 83516E 9 0 00000E 0 1 2 7 rerr data CLL Error 110 no data indicates end of data lset mode O0 Switch to shutdown mode HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 93 of 93
57. acement Contains the string which formats the displacement o HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 51 of 93 Main Software Functions z motion z motion z motion Logical Devices stat The string sent to the OEM650 to reguest its status set timeout The timeout in seconds to 3 dp for a LSET z motion command Default 60s home timeout The timeout in seconds to 3 dp for a LNUL z motion command Default 300s The z motion device can return the following errors P130 Problem 130 returned by the OI the OEM650 is busy unexpected response from the OI P131 Problem 131 received A catch all F132 Fatal error 132 Status returned by the OI motion busy Status EM650 R command indicates that motion error An EM650 has been z motion failure EM650 R command indicates that the OEM650 needs attention Usually caused by hitting a limit switc This error is a fatal error Any scan in progress will be halted The z motion must be re homed by the command LNUL z motion after this error 133 Probl Parity error 134 Probl Framing error PASS Probl Overrun P136 Probl notion comms error notion comms error notion comms error notion timeout No response was received from the Ol EM650 within the
58. ames are underlined Group Groups are logical devices that operate more than 1 logical device Sometimes a group is used merely to identify related devices e g source identifies those DACs that control the source HAL IV HAL 4 Working title for the HAL RC 2 and HAL RC 6 project during development Logical Device At its simplest a logical device represents a hardware device By means of the Logical Device Table the software knows about the capability of a device and how to operate it By reference to this table a device may be set to a given value or the value read from the device This idea is extended to devices that only exist as software not as hardware e g the elapsed time clock This is taken still further in that a list of scans is a scan logical device and may be set or read The logical devices available depend on the hardware that the EPROMS have been configured for I Mode SIMS systems may operate in 3 modes RGA SIMS ve ion and SIMS ve ion In addition a Shutdown mode always mode 0 is provided this is used to put the system into a safe state The mode of the system is implemented as a group logical device This enables the HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 9 of 93 System Description Glossary settings for a number of logical devices to be changed simultaneously to the value appropriate for that mode Because the mo
59. and LNUL lt device gt HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 54 of 93 Main Software Functions Logical Devices scanV Internal input Connects input to the output from the mass DAC See auxiliaryl for details This device can have its offset nulled by the command LNUL lt device gt resolution The 8 bit resolution DAC on the HA 072 302 board 100 delta m The 8 bit delta m DAC on the HA 072 302 board 100 discriminator The 12 bit discriminator voltage DAC on the HA 072 302 board 100 offset is a hidden alias for this device mass DAC The raw mass DAC Sets the mass DAC in DAC steps 0 to 65535 DAC steps mass The mass DAC Sets the mass DAC in amu DAC values corresponding to a mass are calculated from values in the masstable array parameter Use LINI mass to reset the masstable to its defaults Use LINT mass n to set the intercept of the masstable to mass n Use LSLO mass n to scale the slope of the masstable Only affects the last entry in the masstable which is ignored if there are 4 or more entries This device is in the Total Partial state group When Total is selected it will be set to mass 20 regardless of the value written to the device DACI DACA 12 bit D to As on HA 072 302 board or HA 061 303 10 00V DAC5 DAC20 12 bit D to As on HA 072 304 board or HA 061 303 10 00V mode Sets the mode of the system In the tes
60. ange For internal use only Selects the local amplifier gain range x10 xl head range For internal use only Selects the amplfier range in the RF head tripl Trip 1 relay output 1 on amp increments use count off 1 decrements use count turns trip off when it counts down to 0 trip2 Trip 2 relay output 1 on amp increments use count 0 off 1 decrements use count turns trip off when it counts down to 0 optrip Overpressure relay output clearing this is equivalent to STATUS RESET emission LED Operates th mission LED on the front panel 1 on 0 off Normally operated by a built in event sequence usually runs as task 3 fault LED Operates the fault LED on the front panel 1 on off inhibit External trip input HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 44 of 93 Main Software Functions Logical Devices RGA SIMS Changes mode of hardware Do not operate directly Set appropriately when the mode logical device is set Redundant on an RGA instrument emission range Changes emission range The emission logical device sets this automatically Changing this will change the value returned by LGET emission Redundant on an RGA instrument Fl Filament 1 1 on off F2 Filament 2 1 on 0 off beam Beam on off selection ptrip Overpressure trip input filok Current OK input emok Emission O
61. art the background task if it has terminated received If DATA commands have been nested DATA alone after un nests the previous DATA scan command and resumes it HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 16 of 93 Main Software Functions Command Interface Commands 2 1 0 1 Returned Data Scan logical devices can be made to return the readings as they are taken by using the results parameter Stored data can be recalled by the DATA command the format of the recalled data is determined scan by scan by the report field The results parameter and the report field can take a value between 0 amp 31 Each of the 5 bits of this value control part of the output format The terse parameter determines if the short form of the reading is returned with terse 1 the units are omitted The basic output string of a reading with all fields present results or report 31 from a single row MID type start stop scan 1 is 1234 mass 1 00 amu SEM O c s time time units o p dev o p value o p units separator i p dev i p reading i p units comma Field bit set in results or report time units 4 and terse The units of th lapsed time mSecs ime separator he output logical device name in uotes xo p value he value set to the output o p units 2 and he units of the output device terse 0 lt separator g
62. ass DAC to 28 and LGET SEM will read the SEM and display the result A scan can be programmed to do this automatically SSET scan Ascans SSET row 1 SSET input mass SSET start 28 SINI step SSET input SEM These commands set up a scan table for the scan logical device Ascans The above example just measures mass 28 to scan over a range of masses use SSET start 28 SSET stop 40 SSET step 1 Which sets up the table a e TE Scan row start stop step input output are field names HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 4 of 93 System Description Key Concepts Fields correspond to the columns in the scan logical device s table The syntax of the commands the operate on fields is similar to those that operate on logical devices Many logical device commands have their equivalent field command but beginning with S instead of L SGET SSET SMIN SMAX SIDS SID and SINI Like logical devices fields may be referred to by their name or field number as returned by SID See section 2 for details of field commands and field names A sequence of scan steps may be set up by entering values for other rows san i lis ps M fem m s E Ascans 2 128 28 SEM mass Ascans 3 132 32 SEM mass Ascans 4 140 40 SE 00 mass Ascans may be
63. asstable 10 10000 64000 0000000000000 0 Set up scan structure sdel all sset scan Ascans sset row 1 sset output mass sset start 1 00 sset stop 50 00 sset stepl 00 sset input Faraday sset low 10 sset high 5 Sset current 5 sset dwell 100 sset settle 100 sset mode 1 sset report 17 sset options BeamOnBefore BeamOffAfter sset zero 1 pset cycles 0 Delete all trips amp events tdel all Down load any trips and events here Start scanning pset terse 1 pset points 70 serr ERROR sout NUL lini Ascans sjob lget Ascans 4 1 Read data data on data all Start data task amp read any data rerr Poll error queue data Poll for more data data data data data data rerr data 1 1019 1 1 83516E 8 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 0 00000E 0 1 83516E 8 1 83516E 8 1 83516E 8 0 Q00000E 0 1 83516E 8 0 00000640 0 00000 40 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 92 of 93 Operation Sequence Sample Download Sequence
64. at lt DEVICE NAME gt lt DEVICE NAME gt J LID Return ID number logical dev number of device Example LID multiplier Returns DEVICE NUMBER Note LID of a group does not return the ID s of all the members of the group it returns the ID of the group logical device LUSE Return information about use of device e g its location Returns a quoted string max length 80 characters which may be used as help text Example LUSE multiplier Returns lt Use Text l Note Quoted but no comma text may be up to 80 chars and may include spaces LIN nitialise logical devic resets device to defaults including HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 28 of 93 Main Software Functions Logical Device Commands mode and slope amp intercept Beware of using LINI on a member of a group it will may end up in a different mode to the rest of the group Use LINI lt group gt instead to init all members of the group Example LINI mass Returns 4 Errors Errors should not occur unless bad values have been compiled as defaults into the logical device table As it calls LSET the following errors are theoretically possible Command error 9 Logical device value out of range The default value is below MIN or above MAX Command error 10 Logical device value scaled out of range When multiplied by SLO and offset by INT the value is ou
65. auxiliaryl auxiliary2 rangedev Used internally When a device whose ID precedes a device in the measurement group is in the rangedev group it may be used to set the range of the device in the measurement group The command LIDS rangedev returns o o o SEM range Faraday range Total range auxiliaryl range auxiliary2 range nul range 2 5 2 Type 2 Groups groups LIDS groups returns the names of all groups HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 41 of 93 Main Software Functions Logical Devices input All input devices output All output devices global Devices in the global environment environment Devices in the local environment others Other devices that MasSoft needs to know about eg the filaments Fl and F2 map A group of devices used on SIMS instruments corresponding to a devices available in the Map Gallery dialogue box as Available to scan control Reserved for future use by Hiden 2 5 2 1 Type 2 Groups corresponding to HAL SIMS menus reference A group of devices used on High Energy SIMS instruments corresponding to a Tune menu extraction A group of devices used on SIMS instruments corresponding to a Tune menu extractor lensl sector A group of devices used on SIMS instruments corresponding to a Tune menu energy D C quad horiz vert plates axis lens2 quad A group of devices used to control t
66. ber 58 Command error 58 Zero field out of range Error number 59 Command error 59 Type field scan type not recognised Error number 60 Command error 60 Environment field invalid logical device Error number 61 Command error 61 Environment field value out of range Error number 62 Problem 62 Environment field environment space full Error number 63 Warning 63 Environment field list not changed Error number 64 Command error 64 Environment field can t link scan has no list Error number 65 Command error 65 Environment field can t link no such Error number 66 Command error 66 Environment field not in list Error number 67 Command error 67 Cycles field out of range Error number 68 Command error 68 Interval field out of range Error number 69 Command error 69 State field state not recognised Error number 70 Command error 70 Unknown trip Error number 71 Command error 71 Trip table full Error number 72 Command error 72 Trip name already exists Error number 73 Command error 73 Invalid trip name Error number 74 Problem 74 Illegal trip type Programme stopped Error number 75 Problem 75 Can t get data from co multi varient scan Error number 76 System error 76 value in a field incompatible with thi Error number 79 Command error 79 Trips invalid destination SM13 Error number 80 Command error 80 Trips input field invalid logical device Error number 81 Command error 81 Trips output field invalid logical device
67. cal Names E The SID command may be used to get the field number of any field The field number may be substituted for the field name in the examples below Likewise logical device numbers may be substituted for logical device names 2 scan Sets scan device field of scan table Must be a scan device Ascans to Zscans Must be specified before row HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 33 of 93 Main Software Functions Scan Table Editing Commands Default initially Ascans Subsequently the last SCAN edited Example SSET scan Bscans Error Command error 41 Scan field out of range row Sets current row of current sdev table Default last row 1 Will fill in gaps in scan table so if you delete scans using SDEL then ROW will default to the first deleted line Example SSET row 1 Error Command error 42 Row field out of range cycles Sets the number of cycles to scan If 0 scans until stopped or aborted This command applies to all rows in the scan logical device Example SSET cycles 100 interval Sets the minimum time for a cycle in seconds to 3 decimal places This command applies to all rows in the scan logical device Example to set the minimum cycle time to 1 minute SSET interval 60 state States are not all mutually exclusive 1 or more states may be selected by including them in the option string Every option ends in which is a required
68. ce name 4 elapsed time See section 2 1 0 1 Returned Data page 17 for more information example SSET report 5 DATA command will report o p val i p val for this scan NOTE To speed up measurement where storage of the elapsed time is not required if bit 4 is not set the elapsed time is not read and stored type scan type Affects default timings Set automatically according to values in Stop Start and Step and the Align return type Automatic setting can be over ridden using SSET type The entire set of options is returned by SMAX state e g Bar Profile MID Total Align The default option is returned by SMIN state e g Bar Bar set if stop lt gt start and step 1 Settle time occurs before every reading Profile set if stop lt gt start and step lt gt 1 Settle time occurs before first reading therafter the shorter hesitate time is used HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 37 of 93 Main Software Functions Scan Table Editing Commands MID set if stop start Settle time occurs before every reading Align set if Align return type is selected Uses slower timings to improve accuracy Log not set automatically Users 5 x longer dwell to increase dynamic range options Scan options Options control the operation of some features of the scan Options are not mutually exclusive 1 or more options may be selected by including them in the option s
69. d by SMAX return e g one Align AutoTune Max Sum Top XvalAtMaxY The default option is returned by SMIN return e g one None does not return a value The scan logical device will return the last value that it returned unchanged Align is used for mass scale alignment It returns the DAC position that corresponds to the top of the peak and also enters this value and the centre mass of the scan into the mass table If an entry already exists at that mass it is overwritten otherwise an new entry is created If no maximum is found the mass table is not changed AutoTune is used for tuning the global environment It searches for the maximum in a scan and leaves the output device set to the corresponding value If no maximum is found the previous value of the device is restored Max returns the biggest value measured Sum returns the total of all values measured Top returns the average across the top of the peak 2 times the value in the AutoTuneWindow parameter points are averaged this number should be small in proportion to the peak width so that they all lie on the plateau otherwise Top will underestimate the peak height XvalAtMaxY returns the value of the output device at the point at which the highest reading was read it also sets the output device to this value The SaveScanDev option may be used with this return function to restore the output device to the value it had prior to the HA 085 006a 24 01 03
70. d if the output field is set to all logic The logic field determines the operation of the lt limit amp gt limit values It may be set to 1 of 7 modes represented by the symbols lt gt SS ux S SS 054 Sand Symbol HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 65 of 93 Main Software Functions Trips amp Events lt gt Out of band If the value being tested is limit less than lt limit or greater than gt limit then the trip is active gt lt 1 f the value being tested is 1 greater than or equal to lt limit and less than or equal to gt limit the the trip is active lt Low limit I lue being tested is limit is not used gt High limit If the value being tested is 1177 greater than gt limit the trip active lt limit is not used e trip becomes active when e value being tested is less an lt limit It remains active ntil the value is greater than limit he trip becomes active when he value being tested is reater than gt limit It remains ctive until the value is less han lt limit lt lt Low limit with hysteresis gt gt High limit with hysteresis Comparison The trip is active if the value being tested is equal to either lt limit or gt limit TMQ cf H V ct ct H limit Trip lower limit The value read by the scan s input device is compared with this limit according to the rules
71. de interacts with the local scan environment a scan field mode is assigned for the mode of the scan MSIU Mass Spectrometer Interface Unit The 2U 6U or 7U unit containing th lectrode power supplies and microprocessor Parameter Parameters represent values used by the software Unlike logical devices the parameters available depend only on the release of the softwar they are not configured to match the hardware Like logical devices their values may be read and most may be set A few are read only for information only Scan A scan is 1 row of a scan logical device table It controls the scanning of an input device from a start value to a stop value At each step an input is read Scan Logical Device An abstract logical device representing a table of scans 26 scan logical devices are available named Ascans to Zscans Complex nested scan structures may be built by allowing a scan to call a scan logical device as an input or output device Standby aka Shutdown Mode 0 Used to put the system into a safe state ie SEM and first dynode voltages removed and the beam parked The protection trips set the system to Shutdown when a trip occurs Mode 0 will be present on all instruments and may be assumed it is not enumerated by the LUNT mode command Stream A channel of communications e g COMI the RS422 port COM2 the RS232 port DLC DLC2 DLC3
72. default same as PSET without a value PINI all initialises all settable parameters Example PINI results Returns di Errors Trying to init a read only parameter gives Read only parameter can t use pset or pini 2 4 Scan Table Editing Commands The scan editing functions are analogous to the parameter functions Each column in the scan table is given a logical name In all examples logical device numbers may be substituted for logical device names Note that changing a field may affect the values returned by the SGET SMIN and SMAX commands of other fields SDEL Deletes a scan table example SDEL Ascans deletes all rows of scan A The ldev number of Ascans may be used instead of the string Ascans example SDEL Ascans 8 deletes row 8 of Ascans example SDEL Cscans 1 10 deletes rows 1 to 10 inclusive of Cscans example SDEL all deletes all rows of all scans SSET Set value of field in scan table SSET without a value sets field to its default value SGET Return current value of field in scan table START STOP and STEP fields return field s value in format of HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 32 of 93 Main Software Functions Scan Table Editing Commands OUTPUT device see LGET LOW and HIGH return field s value in format of RANGEDEV device see LGET SMAX Return max value of field in scan table
73. e emission logical device sets this automatically Changing this will change the value returned by LGET emission Redundant on an RGA instrument F1 Filament 1 1 on off F2 Filament 2 1 on off beam Beam on off selection 1 on 0 off degas PIA Operates DEGAS line on PIA filok Current OK input 1 OK 0 fail emok Emission OK input 1 OK fail HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 53 of 93 Main Software Functions Logical Devices ptrip Overpressure trip input 1 OK 0 fail O1 nput from Aux I O Tl pin 10 TTL input set to 1 5V 0 OV O2 nput from Aux I O T2 pin 23 set to 1 5V 0 OV 03 nput from Aux I O T3 pin 11 set to 1 5V 0 OV O4 nput from Aux I O T4 pin 24 set to 1 5V 0 OV O5 nput from Aux I O T5 pin 25 set to 1 5V 0 OV rangedev A group logical device containing range devices associated with input devices Faraday The main input V toF NB the LINI Faraday command makes Faraday the current input turns off the SEM sets T P to partial This device can have its offset nulled by the command LNUL device Total The main input V to F NB the LINI Total command makes Total the current input turns off the SEM sets T P to total This device can have its offset nulled by the comma
74. ecial to the formatter and must be escaped by following with a N if used as a separator Use NN to include itself To display the time amp date as seconds since midnight PM on the lst Jan of the anniversary year use m n time format The format string for the elapsed time logical device The default format is GH HHH The elapsed time may be displayed in hours mins amp secs using the format um p between and converts milliseconds to seconds by dividing by 10 for each may be substituted for to display a decimal place The format hms may be used to display the time to 1 10th of a second and hms to 1 100th 2 7 Mass Scale Alignment Procedure Set up a scan structure with a sequence of profile scans the centre mass of each scan being the mass that you wish to align Use the minimum step size Set the scans return fields to Align Use LINI HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 59 of 93 Main Software Functions Trips amp Events lt scan gt to initialise the scan logical device Delete the existing mass table using LINI mass Align the mass table using SJOB LGET lt scan gt When the scan has completed upload the mass table using PGET masstable This will return 20 comma separated numbers These must be stored to be downloaded the next time the controller is used When downloading replace the com
75. eld Not all fields are valid for all types of trip Trying to access an invalid field produces the messag Command error 97 Trips field illegal with this type of trip The following commands support trips TNEW Create a trip Example TNEW tl Returns 4 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 61 of 93 Main Software Functions Trips amp Events TDI GI H NOTE P lt n gt TMEM TDIR TS Lu TGI Ld m Errors Entering a number or the name of a logical device as the label Command error 73 Invalid trip name Entering the name of an existing trip Command error 72 Trip name already exists No more unused trips maximum number of non protection trips is currently 100 Command error 71 Trip table full Delete a trip Example TDEL t1 Returns 4 Errors i If the trip does not exist Command error 70 Unknown trip The system protection trips P1 to P20 are not deleted by TDEL or TDEL all but no error message is produced Returns number of free trips left Example TMEM Returns 9941 Returns names of all defined trips Example TDIR Returns tl1 P20 P19 P18 P17 P16 P15 P14 P13 P12 P11 P10 P9 P8 P7 P6 P5 P4 P3 P2 P1 d After usingTDEL all the order of P1 to P20 returned by TDIR is reversed Set value of trip field Example TSET input t1 mass Returns 4 Errors Trying to set all produces the error Command error 40 Illegal command wit
76. er voltage This device is in the switched state group When switched is set to the HT off state then no multiplier voltage will be applied regardless of the value written to this device 1st dynode sets the lst dynode volatge on the multiplier This device is in the switched state group When switched is set to the HT off state then no lst dynode voltage will be applied regardless of the value written to this device i p select For internal use only Operates the input multiplexor Set automatically when input device SEM Auxiliaryl etc is initialised local range For internal use only Selects the local amplifier gain range x10 xl head range For internal use only Selects the amplfier range in the RF head tripl Operates trip relay 1 1 on amp increments use count off 1 decrements use count turns trip off when it counts down to 0 trip2 Operates trip relsay 2 1 on amp increments use count 0 off 1 decrements use count turns trip off when it counts down to 0 optrip Operates over pressure trip relay output raster Set to 1 to enable rastering 0 to disable LED2 Operates the indicator LED2 on the rear of the pulse counting card LED3 Operates the indicator LED3 on the rear of the pulse counting card inhibit Inhibit external trip input RGA SIMS Changes mode of hardware Do not operate directly Set appropriately when t
77. error stream COUT Sets the output device of the command task example COUT PRINTER CERR Sets the error device of the command task example CERR COM2 SJOB Starts a command in the background without waiting for the result Thus to run a scan the command required is Example SJOB LGET Ascans Returns Task lt task gt job jobs Errors If more than 3 background tasks already running Command error 30 No free task STOP Stops a background job Syntax STOP lt task gt lt job gt Stops job lt job gt in task lt task gt If lt job gt is omitted stops the current task No error if task is idle Example STOP 1 1234 or STOP 1 Returns d Errors HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 15 of 93 Main Software Functions Command Interface Commands Error number 31 Command error 31 Task number out of range if lt job gt does not match current job Error number 32 Command error 32 Job not running DATA Reads the data buffer This command starts a background task called data note lowercase When the background task terminates the data from it is followed by The number of data points returned by any given DATA command is specified by the points parameter PSET points 0 makes the number of data points unlimited After the specified number of points or if the last point is still being acquired DATA suspends The command DATA without an argument see below resumes recall
78. es 77 01 00 00 00 001 lval 77 0 01 00 00 01 445 01 00 00 00 000 01 00 00 00 000 01 00 00 00 000 01 00 00 00 000 01 00 00 00 00 01 00 00 00 000 01 00 00 00 000 0 000001 2147 483647 lid delay 78 luse 78 General purpose delay timer ltyp 78 timer lunt 78 ms HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 87 of 93 Operation Sequence Sample Download Sequence lmin 78 0 lmax 78 2147483647 lres 78 lval 78 0 500 0 0 0 0 0 0 0 0 000001 2147 483647 lid watchdog 79 luse 79 Elapsed time clock ltyp 79 clock lunt 79 S lmin 79 000 lmax 79 2147483 647 lres 79 001 lval 79 0 000 000 000 000 000 000 000 000 0 000000 2147 483647 lid enable 90 luse 90 system control output ltyp 90 digital output lunt 90 1 on off lmin 90 0 lmax 90 WD H lres 90 lval 90 0 1 1 1 1 1 1 1 1 0 000001 2147 483647 lid mode change delay 91 luse 91 Mode change delay timer ltyp 91 timer lunt 91 ms 1min 91 0 lmax 91 2147483647 lres 9 lval 91 40 0 1000 1000 1000 0 0 0 0 0 000001 2147 483647 lid groups rangedev total partial switched measurement quad degassing mode all map input output environment others global co ntrol ltyp rangedev group ltyp rangedev group HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 88 of 93 ltyp total group Operati
79. es of these devices may be obtained by the command LIDS all which will display their names as a comma separated string To initialise all devices use LINI all The LINI command is executed on each device in the all group in turn All the group logical devices are themselves in the groups group This device should always be present in the configuration By using LIDS groups the remote computer may enquire what groups the system supports By then doing LIDS using each of the group names returned the devices in each group may be obtained Groups may be used to suggest to the remote computer which devices to use for a particular purpose e g devices in the source group for source tuning For these groups using the LSET command will generate an error though LINI source might be useful to reset the source DACs to their default values Groups may also be used to change the value of a number of DACs simultaneously An example of this is the mode group SIMS systems may operate in 3 modes RGA SIMS ve ion and SIMS ve ion Initial values for each mode are configured into the logical device table entry of every device in the mode group Each mode represents a state of the logical devices comprising the group The logical device table has HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 3 of 93 System Description Key Concepts room
80. et to 0002 0000 Ok Set to 0004 0000 Ok Set to 0008 0000 Ok Set to 0010 0000 Ok Set to 0020 0000 Ok Set to 0040 0000 Ok Set to 0080 0000 Ok Set to 0100 0000 Ok Set to 0200 0000 Ok Set to 0400 0000 Ok Set to 0800 0000 Ok Set to 1000 0000 Ok Set to 2000 0000 Ok Set to 4000 0000 Ok Set to 8000 0000 Ok Set to 0000 0000 Ok Testing DRAM Set to FFFF FFFF Ok Set to 55AA 55AA Ok Set to AA55 AA55 Ok Set to 0000 0001 Ok Set to 0000 0002 Ok Set to 0000 0004 Ok Set to 0000 0008 Ok Set to 0000 0010 Ok Set to 0000 0020 Ok Set to 0000 0040 Ok Set to 0000 0080 Ok Set to 0000 0100 Ok Set to 0000 0200 Ok Set to 0000 0400 Ok Set to 0000 0800 Ok Set to 0000 1000 Ok Set to 0000 2000 Ok Set to 0000 4000 Ok Set to 0000 8000 Ok Set to 0001 0000 Ok Set to 0002 0000 Ok Set to 0004 0000 Ok Set to 0008 0000 Ok Set to 0010 0000 Ok Set to 0020 0000 Ok Set to 0040 0000 Ok Set to 0080 0000 Ok Set to 0100 0000 Ok Set to 0200 0000 Ok Set to 0400 0000 Ok Set to 0800 0000 Ok Set to 1000 0000 Ok Set to 2000 0000 Ok Set to 4000 0000 Ok Set to 8000 0000 Ok t Ok Set to 0000 0000 Testing timing Testing acquisition timer 1001 ms 1 second Testing real time clock Please wait 1 minute 60 seconds 1 minute Testing ASCII TEST ASCII 1 ABCDEFGHIJKLMNOPORSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 3 amp 0 lt gt HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 24 of 93 Main Software Functions Command Interface
81. evice name lt arg gt is required by LSET LINT LSLO Currently lt arg gt should be a decimal number e g 1 23 The number of decimal places stored by LSET depends on the device do you want an enquiry function to return it Do not add lots of trailing 05 after the decimal point or you may exceed the number conversion range NOTE The current distributed version of FORTH used requires the use of a comma not a decimal point before the decimal fraction i e 1 23 not 1 23 This has been modified in KERNEL F so that the decimal separator is stored in the 1 character string DPchar which now contains by default In future the command interpreter should allow the use of commas and tabs as separators but stick to spaces and tabs for the moment All logical device commands require a logical device name or number and unknown name or an illegal number will produce the error Command error 8 Unknown logical device LSET Set value of logical device LSET without an argument will reset a device to its default value Example LSET mass 50 Returns 4 Errors Command error 9 Logical device value out of range The value you have tried to set is below MIN or above MAX Command error 10 Logical device value scaled out of range When multiplied by SLO and offset by INT the value is outside the capability of the device reset the slope and intercept LGET Return current value of
82. evice that emulates th nable hardware Turns filaments off turns the beam off turns the SEM HT off and operates the front panel Run LED Set when all DACs have been initialised Always last logical device 2 5 6 SIMS Pulse Counting Devices NOTE The number and order of logical devices varies according to the configuration of the instrument The user should interrogate the instrument by sending a LIDS all command to list the names of all devices Then for each device name returned by LIDS all send a LID lt name gt command to obtain the devices ldev number On a standard EQS High Energy system LIDS all returns multiplier 1lst dynode i p select local range head range tripl trip2 optrip raster LED2 LED3 inhibit RGA SIMS emission range F1 F2 filok emok ptrip EO uu 102 TOSS po TOS resolution de HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 46 of 93 Main Software Functions Logical Devices lta m d iscriminator mass rangedev SEM auxiliaryl auxiliary2 refere nce emi ssion electron energy cage suppressor focus2 extractor ens1 plate s lens2 vert horiz axis energy D C quad X Raster Y Raster mode clock mSecs elapsed time delay watchdog enable mode change delay multiplier set the multipli
83. f the action field is set to trun the activate field may contain the name of a trip which is the next step of the Event sequence If the field is nulled by TINI activate lt trip label gt the programme will terminate if the activate branch occurs If the action field specifies a trip trying to access the activate field produces the error Command error 94 Trips activate field illegal with trip as action deactivate Trip deactivate action value The value in the deactivate field is written to the action device when the trip changes state from active to inactive If the action field is set to trun the deactivate field may contain the name of a trip which is the next step of the Event sequence If the field is nulled by TINI deactivate trip label the programme will terminate if the deactivate branch occurs If the action field specifies a trip trying to access the deactivate field produces the error Command error 95 Trips deactivate field illegal with trip as action enable Trip enable If this field is set to 1 the trip is enabled at start up A trip may be disabled by setting this field to 0 May be used in conjunction with the action field of another trip so that tl is used to enable t2 when prior conditions have been met perhaps as part of a multivarient scan If the trip action is trun a disabled trip will continue by executing the trip specified in the next field
84. f the message If the message contains spaces enter it in quotes stream The stream field specifies where the number is to be printed it over rides the SOUT for the task Valid streams include COM1 COM2 BUFFER and ERROR Others may be available NOTE If a stream is owned by another task or if the buffer becomes full the Event sequence will suspend it will resume when the stream becomes available or if the buffer is read priority If this field is set to 1 the controller does not yield to other tasks Used by protection trips to prevent scan executing while system being shut down Injudicious use of this field can lock up the controller next Next trip in programme After this trip has executed the Event sequence continues with the trip specified in the next field If you nter the name of a trip that does not exist a print trip is automatically created and the message Warning 98 Trips next trip created automatically is issued The next field may be nulled by the command TINI next label Execution then stops after this trip has been executed 2 8 11 Command Trip Fields The command trip may be used to run a command from within an event sequence type Set to command text This field contains the text of the command If the command contains spaces enter it in quotes WARNING Do not use the SJOB command to start a task in a command trip stream The s
85. g this field to 0 May be used in conjunction with the action field of another trip so that tl is used to enable t2 when prior conditions have been met perhaps as part of a multivarient scan 2 8 5 Output Trip Fields In this type of normal trip the limit amp limit fields test the value written to the scan s output device Its primary use is envisaged with multi varient scans where the user is scanning 2 or more outputs The output trip may be used to enable another trip when the ouput device that it is testing is in the correct range type Set to Output input Trip Input Logical device In output trips the input field is used only for specifying which scans the trip applies to scans must have same input device Like input trips an output trip may be tied to a particular scan by specifying a scan logical device in the input field and the row of the scan in the row field of the trip which replaces the output field output Trip Output Logical device Any scan that writes to this device has the value written tested against the values in the limit amp gt limit fields provided that the scan s input device matches the trips input field and that the value output by the scan is gt the value in the from field and lt the value in the to field In other words an output trip must fulfil the same criteria as an input trip to apply to a scan Thus it is usually sensible to set from amp to fields
86. g value being restored after a scan A future version should handle this better 2 5 Logical Devices There are two main classes of logical devices Physical devices and group devices Device groups serve two functions 1 to enable a number of devices to change state simultaneously 2 to identify the capabilities of devices In case 1 the group device responds to all commands except LSLO LINT amp LVAL which perform no useful function LSET sets is used to select the state of the group Each device in the group may have up to 7 stored values LSET sets the index into these values and sets the device to the value stored at that index LGET returns the current index of the group LMIN returns the minimum index LMAX the maximum Internally LINT may be used as an offset to the index but the default value is referenced So changing LINT will have no effect LRES will always return 1 LIDS returns the logical device names of all devices in the group in comma separated quoted string format LID returns the logical device number of the group NOT of all its members HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 40 of 93 Main Software Functions Logical Devices LDEF sets all devices in the group to their default LINI initialises all devices in the group LNUL nulls all devices in the group LSTA
87. gical devices Fast response to commands is aided by having a fixed 4 character command format The first 4 non space characters of the command line are interpreted as a command Commands may be divided into 4 groups 1 Commands associated with the command interface itself 2 Logical device commands commands beginning in L 3 Parameter commands commands beginning in P 4 Scan table commands commands beginning in S 5 Trip amp Event commands commands beginning in T The commands for type 2 3 4 amp 5 commands are as far as possible isomorphic Thus there are L P S amp T versions of the GET SET ID ID MIN amp MAX commands NOTE Commands are not case dependant but logical device names are All commands return a Carriage Return on completion Errors are returned via the STDERR device By default this is the same as STDOUT so errors will be returned prior to any returned value and the terminal CR With the terse parameter set to 0 errors return a verbose error string e g lset mass 500 Command error 9 Logical device value out of range The error message consists of 3 parts the error type the error number and the error IDS With terse set to 1 this error gives lset mass 500 C09 Here C indicates a command error and 09 the error number The helps separate the error from any following result The EID command may be used to get a verbose version
88. h ALL Return current value of trip field Example TGET limit 61 Returns 100000000 c s4 Example TGET all tl Returns Returns values of all valid fields depending on trip type e g input SEM mass 0 40 amu 300 00 amu lt gt 0 c s 100000000 c s tripl 1 1 on off 0 1 on off 1 d HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 62 of 93 Main Software Functions Trips amp Events TMAX Return maximum legal value of trip field Example TMAX gt limit t1 Returns 100000000 c sJ Example TMAX all tl Returns Returns max value of all valid fields depending on trip type e g command enable enable 300 00 amu 300 00 amu 100000000 c s 100000000 c s enable 1 1 on off 1 1 on off 1 d TMIN Return minimum legal value of trip field Example TMIN from tl Returns 0 40 amu Example TMIN all tl Returns Returns max value of all valid fields depending on trip type e g input Ascans range 0 40 amu 0 40 amu lt gt 0 c s 0 c s range 0 1 on off 0 1 on off 0 4 TIDS Return ID string name of trip field Example TID 2 tl Returns ID string i e name of field Above example returns typed Note ID string is not quoted and will not contain spaces Example TID all tl Returns names of all fields valid for the type of trip of tl E g for default type input type input output from to logic
89. he mode logical device is set emission range Changes emission range The emission logical device sets this automatically Changing this will change the value returned by LGET emission F1 Selects filament 1 1 on 0 off F2 Selects filament 2 1 on off filok Filament status input emok Emission status input ptrip Pressure trip input non functional on SIMS sysytems even if HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 47 of 93 Main Software Functions Logical Devices present O1 nput from Aux I O Tl pin 10 TTL output set to 1 5V 0 OV Can also be configured as an input 02 nput from Aux 1 0 T2 pin 23 set to 1 5V 0 OV Can also be configured as an input 03 nput from Aux I O T3 pin 11 set to 1 5V 0 OV Can also be configured as an input 04 nput from Aux I O T4 pin 24 set to 1 5V 0 OV Can also be configured as an input 05 nput from Aux I O T5 pin 25 set to 1 5V 0 OV Can also be configured as an input resolution 8 bit DAC delta m 8 bit DAC discriminator 8 or 12 bit DAC mass DAC Hidden device The raw mass DAC Sets the mass DAC in DAC steps mass The mass DAC Sets the mass DAC in amu DAC values corresponding to a mass are calculated from values in the masstable array parameter Use LINI mass to reset the masstable to
90. he quadrapole analyser corresponding to a Tune menu delta m resolution focus2 suppressor source A group of devices used to control the RGA ion source corresponding to a Tune menu emission e energy cage detector A group of devices used the detector operating parameters corresponding to a Tune menu lst dynode multiplier discriminator 2 5 3 Scan Logical Devices AscanS Zscans Names used to replace logical devices with scans when building scan lists You MUST use LINI Xscans to initialise a scan and all its dependants before using LGET Xscans or LSET Xscans LGET Xscans will cause the scan to run from its start to its stop HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 42 of 93 Main Software Functions Logical Devices LSET Xscans n will execute the nth step of a scan Use LSET cycles n to make the scan repeat n times 2 5 4 Range Devices Certain input devices have an associated range device The range device is not listed by the command LIDS all so is hidden from the user Range devices may be listed by the comand LIDS rangedev A range device always precedes its associated device in the logical device table ie its logical device number is one less than its associated input device A range devices name is usually BUT NOT ALWAYS the name of the input device suffixed with _range Range devices are not normally set by the user Ge
91. its defaults Use LINT mass n to set the intercept of the masstable to mass n Use LSLO mass n to scale the slope of the masstable Only affects the last entry in the masstable which is ignored if there are 4 or more entries rangedev A group logical device containing range devices associated with input devices SEM Pulse counting input device Auxiliaryl Auxiliary input 1 NB the LINI Auxiliaryl command makes Auxiliaryl the current input Input range is 10V by default Can be configured for other input ranges e g temperature Auxiliary2 Auxiliary input 2 NB the LINI Auxiliary2 command makes Auxiliary2 the current input Input range is 10V by default Can be configured for other input ranges e g temperature none A dummy input or output device Min value 0 00 max 1000 00 May be used as a loop counter emission Sets the demanded emission in micro Amps Tuning DACS electron energy cage suppressor focus2 extractor lensl plates lens2 vert horiz axis energy D C quad mode Sets the mode of the system 0 Shutdown 1 RGA 2 ve ion SIMS 3 ve ion SIMS mode change delay Similar to the delay device This device is in HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 48 of 93 Main Software Functions Logical Devices the mode group When the mode is changed the appropriate delay is
92. ld should be left at its minimum value as initialized If the trip is tied to a scan the trips input field is a scan logical device then the from amp to limits apply to the logical device Specified in the scan s output field to To output value limit See from above Should be left at its maximum value as initialized logic The logic field determines the operation of the limit amp gt limit values It may be set to 1 of 7 modes represented by the symbols lt gt gt lt gt gt gt lt lt and See entry in input trips limit Trip lower limit The value written to the scan s ioutput device is compared with this limit according to the rules specified by the logic field The units and minimum and maximum value of this field depend on the device specified in the output field If the input field is a scan logical device they depend on the output device of the scan specified by the trip s input amp row fields This field is initialised if the output field is changed limit Trip upper limit The value written to the scan s output device is compared with this limit according to the rules specified by the logic field The units and minimum and maximum value of this field depend on the device specified in the output field If the input field is a scan logical device they depend on the output device of the scan specified by the trip s input amp row
93. le lres 54 1 lval 54 lid auxiliaryl_range 56 luse 56 range ltyp 56 range lunt 56 lmin 56 lmax 56 0 lres 56 lval 56 30 0 27 0 28 0 0 27 0 0 000000 1 000000 lid auxiliary2 range 58 luse 58 range ltyp 58 range lunt 58 V lmin 58 lmax 58 0 lres 58 lval 58 30 0 4 27 0 4 28 0 0 27 0 0 000000 1 000000 lid nul_range 60 luse 60 range ltyp 60 range lunt 60 lmin 60 0 imax 60 0 lres 60 1 lval 60 00 0 0 0 0 0 0 0 0 0 000000 1 000000 Upload the mass table pget masstable 10 0 10000 64000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Download environment 1999 scan Stop all scans lini all initialise all devices lset mode 0 set to Standby sout NUL discard output of background tasks data on retain data until read lput 40 1 lslo 40 2147 483647 lint 40 0 000001 lput 41 0 0 HA 085 006a 24 01 03 HAL MSIU Software User Manual 60 5 27 4 29 28 0 67 42 63 0 000000 1 000000 Download Sequence Page 91 of 93 Operation Sequence Sample Download Sequence 1510 41 2147 483647 lint 41 0 000001 lput 65 0 0 slo 651 000000 lint 650 000000 lput 66 0 0 slo 66 1 000000 lint 66 0 000000 lput 69 5 50 5 50 slo 69 1 000000 lint 69 0 000000 lput 91 0 1000 slo 91 2147 483647 lint 91 0 000001 Down load the mass table pset m
94. lutio n delta m mass synch rendezvous mode clock mSecs elapsed time delay watchdog enable mode change delay lid rangedev Faraday range Total range auxiliaryl range auxiliary2 range nu l range HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 78 of 93 Operation Sequence Sample Download Sequence Interrogate each logical device lid i p_select 27 luse 27 system control output ltyp 27 digital output lunt 27 l pic 2 auxl 3 aux2 4 main 5 zero lmin 27 lmax 27 7 lres 27 lval 27 0 3 5 0 6 2 4 0 2 0 000001 2147 483647 lid local range 28 luse 28 System control output ltyp 28 digital output lunt 28 range lmin 28 0 lmax 28 lres 28 lval 28 lid head range 29 luse 29 System control output ltyp 29 digital output lunt 29 range lmin 29 0 lmax 29 3 lres 29 lval 29 lid tripl 31 luse 31 trip relay output ltyp 31 trip lunt 31 1 on off lmin 31 lmax 31 lres 3 lval 3 0 0 0 0 0 0 0 0 0 0 000001 2147 483647 HA 085 006a 24 01 03 HAL MSIU Software User Manual 30 0 0 0 0 0 0 0 0 0 000001 2147 483647 30 0 0 0 0 0 0 0 0 0 000001 2147 483647 Page 79 of 93 Operation Sequence Sample Download Sequence lid trip2 32 luse 32 trip relay output ltyp 32 trip lunt 32 1 on off lmin 32 lmax 32 lres 3
95. mand index Index into scan Only needed if the scan s start and stop fields differ If index is set to n returns the nth reading from the scan e g if the scan is from mass 20 to mass 30 in steps of 1 amu then an index of 1 will return the value of mass 20 and an index of 9 will return the value of mass 28 The minimum index is 1 If the specified index has not been reached the data trip will wait until it is available cycle cycle number If 0 is the most recent data If positive is an absolute cycle number may be automatically incremented if the IncrementCycle option is set If negative is relative to current cycle 1 the previous cycle and so on use this when you wish to compare 2 successive readings The default cycle value is 0 Alternatively the name of another data event may be specified instead of a number In this case the cycle number is taken from the Specified event Where this event specifies cycle 0 or a ve cycle number the actual cycle number of the last data acquired by the event is used This enables data events to ensure that they all take data from the same cycle useful when normalising data relative to another scan options TMAX options event returns IncrementCycle NewData WaitForData If the IncrementCycle option is set the cycle number is automatically incremented after data has been acquired If the NewData option is set a da
96. mand error 3 Command truncated Error number 6 Fatal error 6 Bad configuration Device missing Error number 7 Problem 7 Mass Table full Error number 8 Command error 8 Unknown logical device Error number 9 Command error 9 Logical device value out of range Error number 10 Problem 10 Logical device value scaled out of range Error number 11 Warning 11 Reading out of range Error number 12 Problem 12 Pressure too high for SEM Error number 13 Command error 13 Unknown parameter Error number 14 Command error 14 Read only parameter can t use pset or pini Error number 15 Command error 15 Parameter value out of range Error number 16 Command error 16 Can t set ALL parameters Error number 17 Command error 17 Unknown field Error number 18 Command error 18 Unknown scan Error number 19 Command error 19 Scan table rov out of range Error number 20 Problem 20 Current Fail Error number 21 Problem 21 Emission Fail Error number 22 Problem 22 Scan in progress Error number 23 Problem 23 Print in progress Error number 24 Problem 24 Insufficient scan workspace memory Error number 25 Problem 25 Insufficient data storage memory Error number 26 Command error 26 Scan not initialised Error number 27 Problem 27 Device in use Error number 28 Command error 28 Unknown I O device Error number 30 Problem 30 No free task Error number 31 Command error 31 Task number out of range Error number 32 Command error 32 Job not running
97. mas with spaces sorry PSET masstable n n n See Also Scan return field masstable parameter mass logical device 2 8 Trips amp Events 2 8 1 Overview There are two classes of trips 1 Normal trips check the data as it is acquired and perform actions should limits be exceeded Normal trips may be tied to a specified scan or may be global If global you may specify to which input device the trip applies and optionally two output device values between which the trip applies Each normal trip has two limit values an upper limit and a lower limit These may be used in a variety of ways between limits outside limits equal to either limit useful when testing on off values above upper limit or less than lower limit these last two may be used with hysteresis When a trip exceeds its limits it becomes active and the input value read is stored When a trip changes state from inactive to active or active to inactive it can perform 1 of 3 types of action 1 Write a value to a logical device 2 Enable or disable another trip or 3 Run an event sequence Normal trips will usually have the trip type field set to input meaning that the trip limits apply to the value read by the input device however with the trip type set to output the limits apply to the value written to the output device This may be used in combination with the enable action to apply trips with mul
98. n of default hesitation time between measurements delay used by the pulse counting SEM input logical device Default 100 ID A readonly parameter returns the ID string e g HAL4 EQP Low Energy low mass DAC Invokes mass DAC settle when the mass DAC is set to a DAC value less than the value in this parameter name Initially the same as ID May be set to any identifying string Quote the string to include spaces net address Network Ethernet address of HAL4 Use PGET net address to get network address of instrument Returns 2 48 41 0 84 62 mass DAC settle Invokes a delay equal to the value in mass DAC settle when the mass DAC is set to a DAC value less than the value in the Low mass DAC paramter masstable Table of masses and corresponding DAC positions used by mass logical device parseFlag to run network by polling rather than under interrupt Set by PARZ command points Maximum number of data points to report during DATA command 0 no limit poll Flag to run network by polling rather than under interrupt Set HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 57 of 93 Main Software Functions Parameters by PARZ command raster coords Coordinates of raster area raster dwell Dwell time for each raster step raster step Raster step size readonly The last readonly parameter recall Obsolete release A readonly parameter returns the release string e g
99. n Software Functions Glossary measurement During this time no other commands can be executed not even STOP Running an event sequence that loops by using the command TRUN lt event gt will lock the command task forever For this reason time consuming commands must be run in a background task by using the command SJOB NOTE This is unlike most operating systems Usually each input stream executes in its own task Unless redirected by the command COUT the output from a command is sent back to the stream that issued the command Output is redirected by the commands COUT CERR SOUT and SERR COUT redirects results from commands and CERR redirects error messages Thus errors can be buffered by redirecting to BUFFER then polled with the RERR command Likewise SOUT and SERR redirect the output of commands started as backgound tasks by the SJOB command Each input stream maintains its own settings for COUT CERR SOUT and SERR thus each stream may redirect its output independant of any other stream When a command is received on an input stream the corresponding output stream is locked This prevents the output from commands received on any other stream being redirected to it and prevents background tasks e g an event sequence sending messages to it Any task attempting to write to a locked stream will block until a QUIT command is received on the locked stream Its status as shown by the STAT lt
100. n the trip then be associated with the the logical device obtained from the source stream The stream field specifies where the number is to be printed it over rides the SOUT for the task Valid streams include COM1 COM2 BUFFER and ERROR Others may be available NOTE If a stream is owned by another task or if the buffer becomes full the Event sequence will suspend it will resume when the stream becomes available or if the buffer is read priority If this field is set to 1 the controller does not yield to other tasks Used by protection trips to prevent scan executing while system being shut down Injudicious use of this field can lock up the HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 73 of 93 Main Software Functions Trips amp Events controller next Next trip in programme After this trip has executed the Event sequence continues with the trip specified in the next field If you nter the name of a trip that does not exist a print trip is automatically created and the message Warning 98 Trips next trip created automatically is issued The next field may be nulled by the command TINI next label Execution then stops after this trip has been executed 2 8 10 Print Trip Fields The print trip prints the message in the text field to the output Specified in the stream field type Set to prints text This field contains the text o
101. nd LNUL device SEM The main input ADC NB the LINI SEM command makes the SEM the current input turns on the SEM HT sets T P to partial This device can have its offset nulled by the command LNUL device PIC SEM The pulse counting input NB the LINI PIC SEM command makes the PIC SEM the current input turns on the SEM HT sets T P to partial auxiliaryl Auxiliary input 1 NB the LINI auxiliaryl command makes auxiliaryl the current input As at R2 8 the slope of the auxiliaryl device is 910000 For HA 072 302 from rev A and HA 061 303 from rev F should be 904977 With 910000 10V in reads 9 94V This value is determined by the 44 2K input resistor to the AD652 On HA 061 303 revs A E it was determined by 22K amp 10K feedback resistors on input op amp calculated slope 909091 See NC 008 1 This device can have its offset nulled by the command LNUL device auxiliary2 Auxiliary input 2 NB the LINI auxiliary2 command makes auxiliary2 the current input See auxiliaryl for details This device can have its offset nulled by the command LNUL device OV Internal input Connects input to OV See auxiliaryl for details 10 24V Internal input Connects input to 10 24V See auxiliaryl for details This device can have its offset nulled by the comm
102. nd Stop at each step it will output the mass then call Bscans to input a value Bscans will then scan the energy between its start and stop inputting readings from SEM The structure in figure 2 represents a 2 dimensional scan By chaining scans to the input as many dimensions as desired may be built up Now let us place Bscans as an output to Ascans Figure 3 In figure 3 Ascans calls Bscans for each step between its Start and Stop Each time Bscans is called it is clocked once and advances 1 step between its Start and Stop outputting to mass each time it does so There is no input to Bscans Having called Bscans to set the mass Ascans reads SEM This is functionally equivalent to figure 1 This structure only HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 6 of 93 System Description becomes useful if you have lists of scans Bscans 2 Outpu energy Bscans 3 Outpu Figure 4 Now each time Ascans clocks all increment by 1 an output Stop and Start Bscans Stop and St from y to z then w min y x 1 z ass steps can be run a In figure 4 n reason to prohibit be taken in their input and Ascans step Stop tart Thus hen Ascans uming unit one of use because to Ascans the behaviour of Ascans i clocks S Bscan dummy output devic HA 085 006a 24 01 03 S ar n tep sizes f Asca
103. nerally a scan will be used to take the reading When a device with an associated range device is specified as the input device of a scan the scan s rangedev field is automatically set to the appropriate device There is no need to make an entry in the rangedev field The value in the scan s current field is set to the range device prior to taking a measurement If you do wish to take a reading other than from a scan then first set the range using the command LSET lt rangedev gt lt n gt then take the reading using LGET lt inputdev gt where lt n gt is the required range The convention for naming ranges follows that for pressure ranges thus range 5 means the 10 range that is a range with a maximum full scale reading of 10x10 On the auxiliary input therefore range has 10V FSD 10x10 and with the x10 amplifier switched in the range is 1 1V FSD 10x10 Take particular care with the ESP current input The 100mA range is range 1 100mA 10x10 the 10mA range is range 0 10mA 10x10 the 1mA range is range 1 1mA 10x10 and the 0 1mA range is range 2 0 1mA 10x10 If you take a reading on another range switched input device use LINI lt inputdev gt to set the device to its current range before taking a reading using LGET lt inputdev gt Each range of a device has a Slope Intercept and Offset DAC value associated with it When you i
104. ngedev Scan Range Logical Device MUST be range the default Error Command error 48 Range device field out of range low Scan Low Range Low autorange limit Represents lowest pressure range LMIN low will return MIN value of device in input LMAX low will return MAX value of device in input Default lowest range available LMIN value of device in RANGEDEV Error Command error 49 Low range field out of range high Scan High Range High autorange limit Represents highest pressure range LMIN high will return MIN value of device in input or the value of the low field whichever is greater LMAX high will return MAX value of device in input Default highest range available LMAX value of device in RANGEDEV example SSET low 7 SSET high 5 allows autoranging between 10 5 and 10 7 avoiding head amp resistor change example SSET low 8 SSET high 7 might be used to allow 1 decade autorange while using 8 fixed range with an RS gt 1 Error Command error 50 High range field out of range current Scan current Range Pressure range next reading to be measured on Autoranging will alter this value between the limits of lov and high LMIN current will return value of low field LMAX high will return value of high field Default high field value 1 example SSET low 7 SSET high 5 allows autoranging between 10 5 and 10 7 avoiding head amp resistor
105. nitialise an input device or set a range the appropriate values are copied into the input devices slope and intercept and the offset DAC is set The Slope Intercept and Offset DAC value are usually calculated for the current range and stored by the LNUL lt inputdev gt command or by setting the zero field to 1 in a scan If you need to set them manually eg for calibrating the ESP current input the following procedure must be followed 1 Set the range by the command LSET lt rangedev gt lt n gt 2 Set the slope by the command LSLO lt inputdev gt lt slope gt 3 Set the intercept by the command LINT lt inputdev gt lt int gt 4 Set the offset DAC by the command LSET lt offset dac gt lt offset gt N B the auxiliary inputs and the ESP voltage amp current devices do not use an offset DAC so this steps may be omitted 2 Copy these value to the range devices offset table by HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 43 of 93 Main Software Functions Logical Devices the command LNUL lt rangedev gt These steps must be repeated for each range Note that the lt int gt intercept value is an integer not a floating point number It is the offset on the current range of lt inputdev gt E g if the offset is 4 23 x 10 on range 9 then int is 0 0423 int 4 23x10 4 10 For the input device current on the 100mA range an offset of 1 24mA gives an
106. nly being able to call a lower level scan so Ascans may call Bscans to Zscans but Bscans may not call Ascans In tabular form the scans may be represented as follows An ordinary MID type table SCAN ROW START STOP STEP INPUT OUTPUT Ascans 1 0118 0118 SEM mass Ascans 2 128 28 1 SEM mass GI GI Ascans 3 132 01 32 SEM LAscans 4 140 40 1 SEM 0 mass GI GI A 2 dimensional scan scanning Energy from 5 to 10 and mass from 1 to 55 avoiding mass 28 INPUT OUTPUT Ascans Ls fig aT scans Teo Teneray Tn EBscans 1 21 yes no Bscans 22 1552112 SEM 0 mass X To scan the plate voltage with the mass the following may be used SCAN STOP STEP INPUT REPORT OUTPUT REPORT 1 150 gr EN hes Bene Bscans l NE o O mass To use the above format easily will require the implementation of the STEP field in the form where the step value indicates the total number of steps not the increment as 0 00268 is less than the resolution of the plate DAC All three of the above may be combined A 2 dimensional scan of energy and mass of selected masses with the plate voltage tracking the mass INPUT OUTPUT Ls fig fa sesens s ener s EC SEM yes fno yes Cscans no TCsca
107. ns no EEG 085 00 24 01 03 HAL MSIU Software User Manual Page 8 of 93 System Description Glossary Cscans NONE mass 1 2 Glossary Apex scan The scan logical device at the top of the scan tree When Ascans calls Bscans as an input or output device and Ascans is the scan acquired by the LGET command then Ascans is the apex scan Command The first 4 non space characters on each input line are interpreted as a command Commands are available to manipulate logical devices parameters and the scan tables associated with scan logical devices Environment There are two environments The system environment is the state of all logical devices Each scan may have a local environment a list of logical devices and values that apply only during that scan Event A component of an event sequence Formerly called a trip The term trip is now reserved for intensity trips and X axis set points Events may be strung together to form Event Sequences that can execute commands print messages or values and perform simple calculations These Event Sequences may be used as the actions of normal trips or may be run independantly by means of the TRUN command See Trip below FieldAn entry in a row of a scan logical device table e g start stop or step It may be regarded as the name of a column in the table In this manual field n
108. ns the entire set separated by commas e g None Align AutoTune Max Sum Top XvalAtMaxY J PMIN Return minimum legal value of parameter Example PMIN results Returns Numeric parameters return lt minvalue gt d String parameters return a string usually null AM Where a choice from a set exists PMIN returns the minimum or default selection e g None PIDS Return ID string name of parameter Example PIDS 2 Returns ID string i e name of parameter Above example returns HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 31 of 93 Main Software Functions Scan Table Editing Commands released Note ID string is not quoted and will not contain spaces PIDS ALL will be a special case and will returns all parameter names in comma separated quoted string format e g release ID readonly terse debug results brackets echoing flags name a nniversary hesitation terminator cycles points stack recall net address DLC p timer DLC ack timer DLC rej timer DLC busy timer DLC retries DLC tick timer poll parse AutoTuneWindow AutoTuneThreshol d AutoTuneMinimum SearchSpan SearchWindow SearchThreshold SearchMinimum masstable PID Return ID number parameter number converse of PIDS Example PID release Returns lt ID number of parameter J E g Above example returns 24 PIN nitialise parameter set to its
109. nt sequences by specifying trun in the action field type Set to limit source Source of value Either a logical device may be specified here in which case the device will be read or a trip may be specified in which case the value is fetched from the value stored in the trip Specified in the source field The value read or fetched is stored in the trip along with its associated logical device number logic The logic field determines the operation of the limit amp gt limit values It may be set to 1 of 7 modes represented by the symbols lt gt gt lt gt gt gt lt lt and See entry in input trips limit Trip lower limit The value obtained from the source is compared with this limit according to the rules specified by the logic field The units and minimum and maximum value of this field depend on the device specified in the source field If the source field is a trip the value stored in the trip is associated with a logical device either inherited from the original source of the value or imposed by the format as field This field is initialised if the source field is changed limit Trip Upper limit The value obtained from the source is compared with this limit according to the rules specified by the logic field The units and minimum and maximum value of this field depend on the device specified in the source field
110. olution 10 nul dev SEM Note that nov the results of Iscans between and occurs after the index passed to the output device and the colon separator Iscans 3 SEM 0 To make it clearer I have again underlined the output Of Iscans Note also that every scan in Iscans is enclosed in even though it only performs 1 step because start does not equal stop The DATA command avoids these unnecessary pair of Hscans with report 5 returns Iscans 1 mass 28 00 nul dev resolution 10 nul dev SEM O Iscans 2 mass 29 00 nul dev resolution 5 nul dev SEM O Iscans 3 mass 30 00 nul dev resolution r 0 nul dev SEM 0 Iscans 4 mass 31 00 nul dev resolution 5 nul dev SEM O Iscans 5 ma ss 32 00 nul dev resolution 10 nul dev SEM 0 When the output device name and value are omitted results or report 3 then the colon is also omitted E g a simple scan would give HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 19 of 93 Main Software Functions Command Interface Commands SEM 0 SEM 0 SEM 0 SEM 0 SEM 0 SEM 0 SEM 0 SEM 0 SEM 0 SEM O rt However on a covarient scan the parentheses from the output scan ldev are still produced lget Hscans nul dev nul dev SEM 0 nul dev nul dev
111. on Sequence ltyp total partial partial group ltyp switched group ltyp switched group ltyp measurement group ltyp measurement group ltyp quad tune group ltyp quad tune group ltyp degassing group ltyp degassing group ltyp mode group ltyp mode group ltyp all group ltyp all group ltyp map group ltyp map group ltyp input group ltyp input group ltyp output group ltyp output group ltyp environment group ltyp environment group ltyp others group ltyp others group ltyp global gro gro ltyp global up up ltyp control group ltyp control group Read groups lid rangedev l range lidS total partial G T P mass lid switched total partial lid measurement Sample Dovnload Sequence Faraday range Total range auxiliaryl range auxiliary2 range nu HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 89 of 93 Operation Sequence Sample Download Sequence Faraday Total auxiliaryl auxiliary2 lid quad resolution delta m lid degassing lid mode RGA SIMS F1 F2 resolution delta m mass mode change delay lids all i p select local range head range tripl trip2 optrip emiss ion LED fault LED inhibit RGA SIMS emission range EI 82 beam filok emok ptrip IO WTO IOS TO4 TO5 rangedev Faraday Total auxilia
112. or use an eval trip s format as field to associate a scan as the ldev If when setting on error you enter the name of a trip that does not exist a printS trip is automatically created and the message Warning 107 Trips on error trip created automatically is issued The on error field may be nulled by the command TINI on error label The data trip then reverts to producing error messages priority If this field is set to 1 the controller does not yield to other tasks Used by protection trips to prevent scan executing while system being shut down Injudicious use of this field can lock up the controller next Next trip in programme After this trip has executed the Event sequence continues with the trip specified in the next field If you nter the name of a trip that does not exist a print trip is automatically created and the message Warning 98 Trips next trip created automatically is issued The next field may be nulled by the command TINI next label Execution then stops after this trip has been executed next 2 8 8 Eval Trip Fields The Eval trip performs simple calculations The values may either be read from a logical device or fetched from the value stored in another trip or may be constants type Set to eval expression Expression to evaluate Th xpression consist of values and operators in the format val op lt val gt
113. or output device Min value 0 00 max 1000 00 May be used as a loop counter resolution The resolution DAC HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 45 of 93 Main Software Functions Logical Devices delta m The delta m DAC discriminator The discriminator voltage DAC mass DAC Hidden device The raw mass DAC Sets the mass DAC in DAC steps mass The mass DAC Sets the mass DAC in amu DAC values corresponding to a mass are calculated from values in the masstable array parameter Use LINI mass to reset the masstable to its defaults Use LINT mass n to set the intercept of the masstable to mass n Use LSLO mass n to scale the slope of the masstable Only affects the last entry in the masstable which is ignored if there are 4 or more entries This device is in the Total Partial state group When Total is selected it will be set to mass 20 regardless of the value written to the device energy Electron energy DAC emission Emission current DAC electron energy Electron energy DAC cage Cage voltage DAC set to 5V to turn off beam if no beam PIA lt name gt Any other named DAC mode Sets the mode of the system 0 Shutdown 1 RGA mode change delay Similar to the delay device This device is in the mode group When the mode is changed the appropriate delay is invoked enable Prior to R2 7 operates the Run LED on the front panel R2 7 onward A group d
114. ow parameters to set or get more than 1 value of the same type Trying to access a non existent parameter by name or number produces the error message Command error 13 Unknown parameter The following commands support parameters HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 30 of 93 Main Software Functions Parameter Commands PSET Set value of parameter PSET without a value resets parameter to its default value Example PSET results 15 Example to set an array PSET netaddress 02 48 41 00 00 07 The values in the array are separated by spaces Returns 4 Errors Entering a value that is less than PMIN or greater than PMAX gives Command error 15 Parameter value out of range Trying to set a read only parameter gives Read only parameter can t use pset or pini Trying to set all produces the error Command error 16 Can t set ALL parameters PGET Return current value of parameter Example PGET results Returns Numeric parameters return value J String parameters return lt string gt J Array parameters return value value value PMAX Return max value of parameter PMAX ALL will be a special case and will return the highest parameter number Example PMAX results Returns Numeric parameters return max value String parameters return a string sometimes null sometimes underscores e g J Where a choice of 1 of a set of strings is possible PMAX retur
115. ryl auxiliary2 resolutio n delta m mass synch rendezvous mode clock mSecs elapsed time delay watchdog enable mode change delay lid map mass lid input inhibi E fi lok emok ptrip 1 m 102 oan O4 TO5t Faraday Total auxiliaryl auxiliary2 clock mSecs elapsed time watchdog lid output i p select local range head range tripl trip2 optrip emiss ion LED fault LED RGA SIMS emission range FI1 F2 beam Faraday range Total range auxiliaryl range auxiliary2 range nul range resolution delta m mass lid environment resolution delta m mass mode change delay lid others 1 F2 lid global PI F2 resolution delta m mass mode change delay lid control FI F2 lid rangedev Faraday range Total range auxiliaryl range auxiliary2 range nu l range Read devices lid Faraday range 52 luse 52 range ltyp 52 range lunt 52 torr lmin 52 10 lmax 52 E35 lres 52 1 lval 52 60 5 27 29 28 0 67 42 63 0 000000 1 000000 lid Total range 54 luse 54 range ltyp 54 range lunt 54 torr lmin 54 11 lmax 54 5 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 90 of 93 Operation Sequence Samp
116. s exceeded it runs the Event Sequence in trips P3 to P5 which select mode 0 stop scanning and issue an error message P2 is the external trip monitor it checks the inhibit logical device If this input becomes active 1 it runs the Event sequence in trips P6 to P10 which select mode 0 stop scanning and issue an error message P10 waits for the input to return to P11 to P20 are spare A trip may be deleted by the command TDEL label TDEL all deletes al trips except Pl to P20 2 8 2 Trip Commands Trip commands have the general syntax of command field trip label value Trips must always be refered to by their label there is no equivalent of a trip id Fields may be refered to by either their name or by the id returned by the command TID field You might think that the lt trip label gt would be irrelevant for commands like TMAX where the value returned depends on the maximimum value allowed for a field This is true for some fields e g enable but for other like gt limit the value depends on the logical device entered in another field Also whether a field is legal depends on the type of trip so lt trip label gt is required TIDS all is a special case Trying to access a non existent trip produces the error message Command error 70 Unknown trip Trying to access a non existant field produces the error message Command error 17 Unknown fi
117. sociated range device is current range To select the 100mA range use LSET current range 1 sets current range to 10x10 Likewise sets 10mA HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 50 of 93 Main Software Functions Logical Devices range 1 1mA range and 2 0 1mA range Although this device can have its offset nulled by the command LNUL current this only nulls the offset up to the input multiplexer In normal operation the ESP software in the PC performs a calibration scan and calculates the regression of yon x Ion V to get the slope of the line More accurately the regression of Imeasured on Tapplied where Tapplied V 100K It then downloads these by first setting the range being calibrated by the command LSET current_range lt n gt then using the command LSLO current slope to set the slope and LINT current lt e intercept to set the intercept Finally the command LNUL urrent range copies the slope and intercept to the offset table of the urrent range device voltage Reads the voltage applied to the probe The associated voltage range device has two ranges range 100V and range 1 10V This device can have its offset nulled by the command LNUL device none A dummy input or output device Min value 0 00 max 1000 00 May be used as a loop counter 3 ode Sets the mode of the system 0 Shutdown 1 RGA This device
118. steps e Explore the system for available mass spectrometers e Interrogate the mass spectrometers to read their configuration e Download the desired environment to the mass spectrometer e Download the scan structure Download event sequences e Start event sequences e Start scanning e Poll for data e Stop scanning e Place in standby state 3 1 Sample Download Sequence The following commands were captured from MasSoft Comments have been added italic Explore pget name HAL IV RC HALO 100 8462 Interrogate smax options Find out which options the instrument supports RestartAutoRange NoDeferAutoRange SaveScanDev BeamOnBefore BeamOff After smax return Find out which scan return value types the instrument supports None Align AutoTune Max Sum Top XvalAtMaxY sid zero Test if instrument supports zero field in scan zero pget stream Get stream names COM1 COM2 DLC1 DLC2 DLC3 NET1 NET2 NET3 ERROR BUFFER NUL lunt mode Find out which modes the instrument supports 1 RGA lid all Get names of all logical devices i p select local range head range tripl trip2 optrip emiss ion LED fault LED inhibit RGA SIMS emission range TETT KEZ beam ufrrlok emok otrip TO1 un Wap 2 s dos 104 TO5 rangedev Faraday Total auxiliaryl auxiliary2 reso
119. t Set to FFFF FFFF Ok Set to 55AA 55AA Ok Set to AA55 AA55 Ok Set to 0000 0001 Ok Set to 0000 0002 Ok Set to 0000 0004 Ok Set to 0000 0008 Ok Set to 0000 0010 Ok Set to 0000 0020 Ok Set to 0000 0040 Ok Set to 0000 0080 Ok Set to 0000 0100 Ok Set to 0000 0200 Ok Set to 0000 0400 Ok Set to 0000 0800 Ok Set to 0000 1000 Ok Set to 0000 2000 Ok Set to 0000 4000 Ok Set to 0000 8000 Ok Set to 0001 0000 Ok Set to 0002 0000 Ok HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 22 of 93 Main Software Functions Set to Set to Set to Set to Set to Set to Set to Set to Set to Set to Set to Set to Set to Set to 0004 0008 0010 0020 0040 0080 0100 0200 0400 0800 1000 2000 4000 8000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Set to 0000 0000 Ok TEST SRAM Example TEST SRAM Result Set to FFFF FFFF Ok Set to 55AA 55AA Ok Set to AA55 AA55 Ok Set to 0000 0001 Ok Set to 0000 0002 Ok Set to 0000 0004 Ok Set to 0000 0008 Set to 0000 0010 Ok Set to 0000 0020 Uk Set to 0000 0040 0000 0080 Set to 0000 0100 Ok Set to 0000 0200 Ok Set to 0000 0400 0000 0800 Set to 0000 1000 Ok Set to 0000 2000 Ok Set to 0000 4000 Ok Set to 0000 8000 Set to 0001 0000
120. t he separator is a colon it is present if the output device value is reported in the results or report ft lt i p dev gt iL The input logical device name in quotes lt o p dev gt 4 4 xi p reading The value read by the input logical device lt i p_units gt The units of the input device terse 0 report is gt 0 Hence if results or report 31 and terse 1 1234 mass 1 00 SEM O E The device names may be omitted if results or report 21 1234 1 00 0 The elapsed time may be omitted if results or report 5 1 00 0 To just return the reading use results or report 1 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 17 of 93 Main Software Functions Command Interface Commands To aid interpretation of data from complex scan trees data may be parenthesised by contains 1101 by ch default aracters in the brackets string parameter art and end of a scan cycle and end with dev This A single cycle Ms ice when called as They are omitted if start Parenthesise the st as started by LGET will start with Parenthesise the output of a scan logical an input or output device from within a scan Parenthesise an individual scan stop Thus with results or report 15 amp terse Row Output Start Stop 1 the scan
121. t EPROMS the mode is used to switch the device between its minimum maximum amp zero states 0 Shutdown 1 Zero 2 Maximum 3 Minimum mode change delay Similar to the delay device This device is in the mode group When the mode is changed the appropriate delay is invoked enable Prior to R2 7 operates the Run LED on the front panel R2 7 onward A group device that emulates th nable hardware Turns filaments off turns the beam off turns the SEM HT off and operates the front panel Run LED Set when all DACs have been initialised Always last logical device The following table list all the devices that are changed by the LSET mode lt n gt command The table shows the value in each mode after the LINI all command has been issued Note that if the device has been set using LSET lt device gt lt value gt then lt value gt replaces the th ntry in the table for the device in the current mode until LINI all is issued Device Mode 0 Mode 1 Mode 2 Mode 3 multiplier OV OV 3000V OV RGA SIMS 0 SIMS 1 RGA 0 SIMS 0 SIMS 0 0 0 0 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 55 of 93 Main Software Functions Parameters 2 0 0 0 0 resolution 0 0 100 1005 delta m 0 0 100 100 discriminator 0 0 100 1005 mass DAC 0 0 64000 32000 1 OV 10 00V 10 00V DAC2 OV OV 10 00V 10 00V OV O
122. t specified by the row field which replaces the output field The units of the lt limit and gt limit fields depend on the input device so changing the input fields initializes the lt limit amp gt limit HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 64 of 93 Main Software Functions Trips amp Events fields output Trip Output Logical device For this trip to apply to a scan the trip and the scan must have the same output device and the value output by the scan must be gt the value in the from field and lt the value in the to field if the from amp to fields are equal this can be determined prior to the start of a scan The logical device all is treated as a special case in this case the trip will apply to any scan whose input device matches the trips input device regardless of the scan s output device or the output value This field is replaced by the row field if the_input field specifies a scan logical device row Scan row of a tied trip This field is only present if the_input field specifies a scan logical device Together the input field and_row field specify the scan to which the trip is tied The trip then behaves as if the scan s input amp output fields were its own input and output fields Tied trips have a lower processing overhead than global trips because the trip can be linked to a specific scan from From outpu
123. t value limit For this trip to apply to a scan the trip and the scan must have the same output device as the trip and the value output by the scan must be gt the value in the from field and lt the value in the to field if the from amp to fields are equal this can be determined prior to the start of a scan Warning If the from or to fields are equal and are altered after scanning has started the links to scans may become incorrect 2 If the trip is tied to a scan the trips input field is a scan logical device then the from amp to limits apply to the logical device specified in the scan s output field 2 6 to fields are not used if the output field is set to all to To output value limit For this trip to apply to a scan the trip and the scan must have the same output device as the trip and the value output by the scan must be gt the value in the from field and lt the value in the to field if the from amp to fields are equal this can be determined prior to the start of a scan Warning If the from or to fields are equal and are altered after scanning has started the links to scans may become incorrect 2 If the trip is tied to a scan the trips input field is a scan logical device then the from amp to limits apply to the logical device specified in the scan s output field 2 6 to fields are not use
124. ta event will not process the same data twice the second time that it is called it will wait until new data has been acquired If the WaitForData option is set the data event will not take an on error branch if the scan has not yet acquired data on error If an error occurs when this event is run e g scan not initialised then normally an error message is produced the value of the data trip remains unchanged and the Event sequence continues with the trip specified in the next field If a trip is specified in the on error field then when an error occurs the value of this trip is set to the error number and execution continues with the trip specified in the on error field You may test for specific errors by using a limit trip however this may be difficult to set up as the logical device associated with HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 71 of 93 Main Software Functions Trips amp Events the value will be the scan s input device until an error occurs Once an error occurs the associated input device becomes a scan logical device which have an integer format and no units One solution is to use printS amp print steps to print the error number first using the format as field of the print to force the associsiated ldev to a scan then for the limit trip to read the error from the value stored in the print trip Alternatively if you do not wish to display the err
125. ta reporting etc will be implemented by running TRIP REPT etc commands as background tasks To run a scan say Ascan in the background you could use the following sequence responses are underlined HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 25 of 93 Main Software Functions Command Interface Commands The output from several commands may be buffered in BUFFER SUOB LGET SEMI Task 1 job 2 4 SJOB LGET massa Task 2 job 1 4 SJOB LGET energy Task 1 job 3 4 RBUF 40 amu RBUF 12345 c s RBUF 100V1 1 Note that Task 2 job 1 s output preceded Task 1 job 2 s output because Task 2 job 1 finished first The shows that the output is complete HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 26 of 93 Main Software Functions Logical Device Commands Error output may similarly be redirected to ERROR Note that error messages are not terminated by a so the output of ERROR obtained by RERR is at the moment one long string In the near future ERROR will append Task lt task gt job lt job gt command device date amp time gt J to each string written to it 2 2 Logical Device Commands Logical device commands have the general format _ Lxxx lt ldev num gt lt ldev name gt _ _ lt arg gt _ where _ represents a space or more spaces lt ldev num gt a logical device number or lt ldev name gt a logical d
126. task gt command will show as blocking NOTE Although the MSIU is only intended to be sent commands by one stream it is capable of receiving commands on any input stream at any time If the user wishes to do this they should be aware of the possibilty of deadlock due to a command whose output has been redirected by COUT blocking when trying to write to the other input stream s output The command task will then be deadlocked as it can not complete the current command and can not process a QUIT command from the other stream A deadlock state of this nature is not detected by the 32s scheduler watchdog and will not cause the system to re boot See the BOOT command Use COUT with caution DOE Ds leo The COM1 Stream The COM1 stream corresponds to the RS422 input The RS422 input operates at 19 2Kbaud No parity 8 data bits and 1 stop bit This is not alterable by the user No protocol is used by the RS422 other than that of command and response or error A checksum is not used Ze d Id The COM2 Stream The COM2 stream corresponds to the RS232 input The RS232 input operates at 19 2Kbaud No parity 8 data bits and 1 stop bit This is not alterable by the user No protocol is used by the RS232 other than that of command and response or error A checksum is not used 220 123 The DLC1 Stream DLC1 is an Ethernet LAN stream The DLC stream corresponds to HA 085 006a 24 01 03 HAL MSIU Software
127. tiple conditions 2 Programme trips or Events can execute commands extract values from stored data print messages or values and perform simple calculations A varient of the normal trip may be used as an event where it may be used to check values read directly from a logical device against limits in addition it can check values extracted or calculated by other Events or the last value that tripped a normal X trip A sequence of this class of trip create an Event sequenc Event sequences may be used as the actions of normal trips or may HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 60 of 93 Main Software Functions Trips amp Events be run independantly by means of the TRUN command Trips amp events are referred to by their label this is a name given to the trip when it is created by the TNEW lt label gt command When created the trip will be a Normal Trip with the_type field set to input Trip labels must not be numbers or the same as any logical device name and must be unique Only the first 7 characters plus the length of the label is stored The labels of the existing trips may be displayed by means of the TDIR command Labels longer than 7 characters will have dots for the extra characters The TDIR command will show 20 pre created trips labelled Pl to P20 these are the trips used for system protection Pl is the SEM protection trip if the upper limit i
128. to their min and max values respectively this will be done when these fields are initialized As in input scans if the from amp to fields are equal the criteria can be tested prior to the start of a scan HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 67 of 93 Main Software Functions Trips amp Events The units of the_ lt limit and gt limit fields depend on the output device so changing the output field initializes the lt limit amp gt limit fields Do not specify the logical device all as an output device to input scans because the units of limit amp gt limit will not be useful This field is replaced by the row field if the input field specifies a scan logical device row Scan row of a tied trip The function of this field is exactly the same as in input trips This field is only present if the input field specifies a scan logical device Together the input field and row field specify the scan to which the trip is tied The trip then behaves as if the scan s input amp output fields were its own input and output fields Tied trips have a lower processing overhead than global trips because the trip can be linked to a specific scan from From output value limit Like input trips for this trip to apply to a scan the value output by the scan must be the value in the from field and lt the value in the to field therefor the from fie
129. tomatically when input device SEM Auxiliaryl etc is initialised 1 n a 0V 2 auxl 3 aux2 4 current 5 zero 6 scanV 7 voltage beep Operates beeper 1 on off local_range For internal use only Selects the local amplifier gain range 1 x10 xl tripl Trip 1 relay output 1 on amp increments use count off 1 HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 49 of 93 Main Software Functions Logical Devices decrements use count turns trip off when it counts down to 0 trip2 Trip 2 relay output 1 on amp increments use count 0 off 1 decrements use count turns trip off when it counts down to 0 fault LED Operates the fault LED on the front panel 1 on off run LED Operates the run LED on the front panel 1 on off head range For internal use only Selects the Current input amplfier range 0 sets 1mA range 1 1mA range 2 10mA range and 4 100mA range 3 will set an illegal range but as this device is for internal use this error is not trapped calibrate Selects 100K calibration input resistor With this resistor connected 100V set to the potential device will read 1mA on the current device 1 calibrate resistor connected 0 not connected disconnect Disconnects input from probe 1 disconnected 0 connected motor shutdown Status input from stepper motor controller 1 motor shutdown 0 OK
130. tream field specifies where anything returned by the command is to be printed it over rides the SOUT for the task Valid streams include COMl COM2 BUFFER and ERROR Others may be available HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 74 of 93 Main Software Functions Error Summary NOTE If a stream is owned by another task or if the buffer becomes full the Event sequence will suspend it will resume when the stream becomes available or if the buffer is read priority If this field is set to 1 the controller does not yield to other tasks Used by protection trips to prevent scan executing while system being shut down Injudicious use of this field can lock up the controller next Next trip in programme After this trip has executed the Event sequence continues with the trip specified in the next field If you nter the name of a trip that does not exist a print trip is automatically created and the message Warning 98 Trips next trip created automatically is issued The next field may be nulled by the command TINI next label Execution then stops after this trip has been executed 2 9 Error Summary Error number 0 System error Error number 1 Command error 1 Unknown command Error number 2 Command error 2 Syntax error Error number 3 Com
131. tring Every option ends in which is a required part of the option name Options may be separated by 1 or concatenated If spaces are included the entire option string must be quoted The entire set of options is returned by SMAX options e g RestartAutoRange NoDeferAutoRange SaveScanDev BeamOnBefore BeamOffAfter The default option is returned by SMIN options e g BeamOnBefore BeamOffAfter RestartAutoRange causes the current scan to be aborted and a new scan started on the next range as soon as an overrange peak is detected Data is not made available for recall until the Scan is complete NoDeferAutoRange forces remeasurement of a scan if the peaks are out of range Data is not made available for recall until the scan is complete SaveScanDev effectively adds the scan output device invisibly to the scans environment This causes the value of the scanned device to be preserved BeamOnBefore turns the beam on at the start of the scan BeamOffAfter turns the beam off at the end of the scan By default these are both set this avoids damage to the SEM if the last mass measured is intense and avoids saturation of the input amplifier when you jump across an intense peak between scans return Scan return value function This function determines th value returned by the scan Return functions are mutually exclusive 1 and only 1 return function must be selected The entire set of return functions is returne
132. tside the capability of the device reset the slope and intercept LNUL Invoke offset null routine for logical device if supported LINT Set intercept 0 offset of logical device Example LINT multiplier 0 000009 Returns 4 LSLO Set slope gain sensitivity cal factor of logical device Example LSLO multiplier 0 0855 Returns 4 LSTA Return status of logical device idle ready not ready locked Example LSTA mass Returns idled LTYP Return type of logical device Types are DAC ADC counter timer digital output digital input relay trip dummy virtual nul dev group Example LTYP mass Returns DACA LUNT Return units of logical device Example LUNT mass Returns amu LVAL Returns mode index followed by the 8 values stored in each mode followed by the slope amp intercept Example LVAL mass Returns terse 0 Index 1 5 50 amu 5 50 amu 5 50 amu 5 50 amu 5 50 amu 5 50 amu 5 50 amu 5 50 amu Intercept 0 000000 Slope 1 000000 terse 1 1 5 50 5 50 5 50 5 50 5 50 5 50 5 50 5 50 0 000000 1 000000 LPUT Set mode values into logical devices Upto 8 values may be entered The only value written to the device is the value whose index HA 085 006a 24 01 03 HAL MSIU Software User Manual Page 29 of 93 Main Software Functions Parameter Commands corresponds to the mode of the device Example LPUT energy 10 00 20 10 00 10 00 J Returns el Errors Command error 9
133. xor Set automatically when input device SEM Auxiliaryl etc is initialised 1 1 2 auxl 3 aux2 4 main 5 zero 6 scanV 7 10 24V beep Operates beeper 1 on off Present on HA 072 302 from rev D and on HA 061 303 with 7U backplane from rev F local range For internal use only Selects the local amplifier gain range 1 x10 0 x1 head range For internal use only Selects the amplfier range in the RF head tripl Trip 1 relay output 1 on amp increments use count 0 off 1 decrements use count turns trip off when it counts down to 0 trip2 Trip 2 relay output 1 on amp increments use count 0 off 1 decrements use count turns trip off when it counts down to 0 optrip Overpressure relay output clearing this is equivalent to STATUS RESET on HAL 2 raster Operates raster Blank signal and enables rastering interrupt emission LED Operates th mission LED on the front panel 1 on 0 off Normally operated by a built in event sequence usually runs as task 3 fault LED Operates the fault LED on the front panel 1 on off inhibit External trip input run LED Operates the run LED on the front panel 1 on off RGA SIMS Changes mode of hardware Do not operate directly Set appropriately when the mode logical device is set Redundant on an RGA instrument emission range Changes emission range Th
134. ystem being shut down Injudicious use of this field can lock up the controller next Next trip in programme After this trip has executed the Event sequence continues with the trip specified in the next field If you nter the name of a trip that does not exist a print trip is automatically created and the message Warning 98 Trips next trip created automatically is issued The next field may be nulled by the command TINI next label Execution then stops after this trip has been executed 2 8 9 Print Trip Fields The print trip prints a value The value may either be read from a logical device or fetched from the value stored in another trip type Set to print source Source of value Either a logical device may be specified here in which case the device will be read or a trip may be specified in which case the value is fetched from the value stored in the trip Specified in the source field The value read or fetched is stored in the trip along with its associated logical device number unless this is over ridden by the format as field 2 format as If you enter a logical device in this field the number will be formatted as if it had been read by this device The device in the F format as field is associated with the value stored in the trip The format as field may be nulled by the command TINI format as lt label gt The value stored i
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - A`PEXi Installation, Operation & Maintenance Manual Behringer Eurolight LD6230 Quick Start Guide USB 400 FO www.gefen.com LED LCD MONITOR "user manual" journal 09 10 n° 8 Baixar - Oregon Scientific HP 240A User's Manual A Taste of ESPRESSO or How to Use The San Pedro Martir REOSC Copyright © All rights reserved.
Failed to retrieve file