Programming manual.
CNC 8070
22.
STATEMENTS AND INSTRUCTIONS
Programming statements
·382·
(REF: 1709)
22.1.2 Display instructions. Display a warning on the screen
The display of warnings on the screen may be programmed using the instruction
#WARNINGSTOP or #WARNING depending on whether the program execution is to be
interrupted or not. En either case, the CNC shows the warning during block preparation, not
when it executes it.
Both instructions are programmed by selecting either the text to be displayed or the warning
number according to the list of errors and warnings of the CNC.
#WARNING
Display a warning by selecting its number
#WARNINGSTOP
Display a warning by selecting its number and interrupt the
execution.
It displays the indicated warning number and its associated text according to the CNC's error
listing. If the indicated warning number does not exist in the CNC's error listing, it does not
display any text.
The programming format is:
#WARNING [<number>]
#WARNINGSTOP [<number>]
The warning number, that must be an integer, may be defined with a numerical constant,
a parameter or an arithmetic expression. When using local parameters, they must be
programmed as P0-P25.
#WARNING
Display a warning by selecting its text
#WARNINGSTOP
Display a warning by selecting its text and interrupt the
execution.
It displays the indicated warning text. If no text is defined, it shows an empty warning window.
The programming format is:
#WARNING ["<text>"]
#WARNINGSTOP ["<text>"]
The warning text must be defined between quote marks. Certain special characters are
defined as follows.
#WARNING
This instruction does not interrupt the execution of the program.
#WARNINGSTOP
This instruction interrupts program execution at the point where the
instruction is located. It's up to the user to either resume the execution at
this point, [START] key, or abort the program, [RESET] key.
Parameter Meaning
<number> Warning number.
#WARNING [100000]
#WARNING [P100]
#WARNING [P10+34]
Parameter Meaning
<number> Warning text.
\" Inserts quote marks in the text.
%% Inserts the % character.