Programming manual
CNC 8070
STATEMENTS AND INSTRUCTIONS
Programming statements
15.
(SOFT V02.0X)
415
The error text must be defined between quote marks. Certain special
characters are defined as follows.
Including external values in the error text
The identifier %D or %d may be used to insert external values
(parameters or variables) into the text. The data whose value is to be
displayed must be defined after the text.
Up to 5 identifiers %D or %d may be defined, but there must be as
many data values as identifiers.
Display warnings
It displays on the screen the indicated warning without interrupting the
execution of the program.
It is programmed using the instruction #WARNING, selecting either the
number of the warning to be displayed or the text.
#WARNING Display a warning by selecting its number
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>]
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.
\" Inserts quote marks in the text.
%% Inserts the % character.
#ERROR ["Message"]
#ERROR ["Parameter \"P100\" is wrong"]
#ERROR ["Difference between P12 and P14 > 40%%"]
#ERROR ["Wrong %d value",120]
#ERROR ["Tool %D expired",V.G.TOOL]
#ERROR ["Wrong %D - %D values",18,P21]
Parameter Meaning
<number> Warning number.
#WARNING [100000]
#WARNING [P100]
#WARNING [P10+34]