User manual

MEX ASPERA-3
Ref.:
ME-ASP-MA-0002
Issue:
Issue 1 Rev. 4
Date:
15/2/2002
Page:
Page 33 of 58
ASPERA-3 EGSE User Manual
IFSI
CNR
At Instrument Level Test (ILT) configuration, two kind of command sequence are possible: procedure
and program. The sequences differ in the execution location (SCOE/MEXILT) and in the pseudo
instruction mnemonic.
3.1.3.5.1 Procedure
A procedure is a sequence of commands, as defined in the previous sections, stored on the SCOE main
window. As such each command is transmitted to MEXILT every time it must be executed.
The procedure is controlled by few "pseudo instructions":
Instruction Parameters Description
_STEP N N=Time [ms] to wait for the next
instructions until redefined. Default
N=200
_SETRX Rn, X Set local register R[r](r= 0 .. 15)to X.
R[r]=X
_RX+ r, +-X R[r]= R[r]+X (X may be negative)
_RX-RY r , n R[r]= R[r]- R[n]
_RX+RY r , n R[r]= R[r]+ R[n]
_JMP +-N Skip +-N lines (comments and empty lines
ignored).
_JMP –1 execute the line before the _JMP
_JMP 0 execute the line after the _JMP.
This is an exception to avoid
dead loop
_JMP 1 execute the line after the _JMP
_JMPRX r ,+-N Skip +-N lines (comments and empty lines
ignored) and decrement R[r]. If R[r]=0
No skip
_GOTO _str_ Goto to label _str_. Labels must
begin/end with '_' and are case
insensitive.
_GOTORX r, _str_ Goto to label _str_ and decrement R[r].
If R[r]=0 no jump
_BEGIN Initiate the procedure. Used only to
zeros the errors counter
_END Terminate the procedure and print total
errors
The procedure initiate by the function key F10 at the current cursor position, and terminate when the
_END instruction is reached, no more instructions are present on the edit window/command file or
pressing again the F10 key.
The procedure "pseudo instructions" are strongly connected to the editor window layout, so these
instructions can’t be used inside a command file transmitted directly as with TXFILE command.
The array RX[0 .. 15] is an integer general-purpose variable array to be used inside the procedures. The
last 4 variables have a special meaning: