Instruction Manual
202 Language Reference • Reference
Publication 1398-PM601A-EN-P — October 2000
WORDS
ERETPOS
Emergency Return Position Position
Purpose Set the ERETURN position. ERETURN position specifies the position the system
moves to when the Emergency Return input is activated (if assigned).
Syntax ERETPOS = position
variable = ERETPOS
EPOS = position
variable = EPOS
position The position is entered in user units. User units are defined by
the SCALE parameter. Va lue can be a constant, a nonvolatile
variable Gn, a volatile variable Vn, or a system variable.
variable The variable can be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.
Remarks Changes made to this variable by a program are only in effect while the program is
running. When the program ends it will return to the value stored in the Personality
Module. If no change is made to this variable by the program, the value in the Person-
ality Module is used. The value in the Personality Module is set in the Parameter
menu, System dialog box.
See Also ERET
Example
ERETPOS = 2.5
EPOS = V2
EXPANDMACROS
Expand Assign Statements in
List File
Compiler Options
Purpose Expand Assign statement information in List files.
Syntax EXPANDMACROS = ON/OFF
ON Assign statements will be expanded in the list file.
OFF Assign statements will not be expanded in the list file.
Remarks The EXPANDMACROS statement overrides the default compiler option for Expand
Macros set in the Edit menu, Compiler Options dialog box.
This setting is ignored if Compile to Memory is selected (no list file will be created).
See Also PGMTYPE, DEBUG, COMPILETOMEMORY, LISTFILE
Example
EXPANDMACROS = ON
EXPANDMACROS = OFF