Download "user manual"

Transcript
Software & Command Reference
Example:
If a user homing routine is defined with the following label:
#HOME_X:
The following communication command will start execution of this subroutine:
XQE,#HOME_X
From within a macro procedure, the same homing function will be called using
the ‘Call Subroutine’ function (see further description on section 1.2.7
regarding macro flow control):
XCS,#HOME_X
Restrictions on labels definition:
1.
The ‘#’sign must be the first character in a label definition line.
2.
Maximal label size is limited to 12 characters (not including the proceeding
‘#’and the terminating ‘:’). Labels that are called by the PC (or any other
host…) are restricted to a length of maximum 6 characters.
3. Labels may include ASCII printable, alphanumeric characters only. Labels
are case sensitive. The underscore ‘_’character may be used within a label
definition, but can not start a label definition. No blanks are allowed within
a label definition.
4.
Ending a label definition is the ‘:’sign.
5. In order to implement high-level program flow statements such as ‘if’ and
‘while’, the AL-4164-4MC Shell pre-compiler module automatically
generates internal program labels. The following labels are saved
keywords and should not be used by the user:
‘SI_<CONST>:’,‘EI_<CONST>:’,‘WH_<CONST>:’,‘EW_<CONST>:’,
Doc. No. MAL-4164-4MC-PM.doc
- 250 -
Rev. B
Information contained herein is the sole property of ORBIT/FR and is not for publication, duplication, and it may not be passed
to any other party without written authorization from
ORBIT/FR.