Programming manual
CNC 8070
STATEMENTS AND
IN
STRUCTI
O
NS
Pr
ogr
am
m
ing st
at
em
ent
s
15.
(S
OFT
V02.0
X
)
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]
Summary of Contents for CNC 8070
Page 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Page 2: ......
Page 4: ......
Page 6: ......
Page 12: ......
Page 14: ......
Page 16: ......
Page 22: ......
Page 26: ......
Page 28: ......
Page 30: ......
Page 32: ......
Page 34: ......
Page 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Page 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Page 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Page 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...