|
Executable Block Statements - OUTPUT
Values, control characters, literal strings, TAB_ and NEW_LINE_IS triggers will be written to an output program only when their names are stated in the OUTPUT statement. If a variable name does not appear, it will be ignored. When a variable is output its indicator is set to "off", if it is modal.
Example:
TOOL CHANGE: OUTPUT ! TOOL_NAME;
In the example, the OUTPUT applies to the exclamation mark and the variable TOOL_NAME. The exclamation mark must have been defined as a NEW_LINE_IS character in the declaration statement at the beginning of the Post Processor Program File, in addition to the executable statements that it triggers. A list of variables may be included in the same OUTPUT statement.
|