Programming manual
486
CNC 8070
15.
STATEMENTS AND INSTRUCTIONS
Programming statements
(SOFT V02.0X)
414
15.1 Programming statements
15.1.1 Display instructions
Error display
It interrupts program execution and displays the indicated error
message.
It is programmed using the instruction #ERROR, selecting either the
number of the error to be displayed or the error text.
#ERROR Display an error by selecting its number
It displays the indicated error number and its associated text according
to the CNC's error listing. If the indicated error number does not exist
in the CNC's error listing, it does not display any text.
The programming format is:
#ERROR [<number>]
The error 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.
#ERROR Display an error by selecting its text
It displays the indicated error text. If no text is defined, it shows an
empty error window.
The programming format is:
#ERROR [<text>]
Parameter Meaning
<number> Error number.
#ERROR [100000]
#ERROR [P100]
#ERROR [P10+34]
Parameter Meaning
<number> Error text.