
Programming manual.
CNC 8070
22.
STATEMENTS AN
D INSTRUCTIONS
Pro
g
ramming statements
·384·
(R
EF
: 1709)
22.1.3
Display instructions. Display a message on the screen
The indicated message appears at the top of the screen and it does not interrupt the
execution of the program. The message will stay active until a new message is activated,
another program is executed or a reset is carried out.
The text to be displayed is programmed using the
#MSG
instruction.
#MSG
Display a message
The programming format is:
#MSG ["<text>"]
The text of the message must be defined between quote marks. Certain special characters
are defined as follows.
If no text is defined, the message is erased from the screen.
Including external values in the error text
The identifier %D or %d may be used to insert external values (parameters or variables) into
the message. 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.
Parameter
Meaning
<text>
Message text.
\"
Inserts quote marks in the text.
%%
Inserts the % character.
#MSG ["User message"]
#MSG ["The tool \"T1\" is a finishing tool"]
#MSG ["80%% of feedrate is being used"]
#MSG [""]
#MSG ["Part number %D", P2]
#MSG ["The current tool is %D", V.G.TOOL]
#MSG ["Finishing F=%D mm/min. and S=%D RPM", P21, 1200]
Summary of Contents for 8070 BL
Page 1: ... Ref 1709 8070 CNC Programming manual ...
Page 8: ...BLANK PAGE 8 ...
Page 12: ...BLANK PAGE 12 ...
Page 14: ...BLANK PAGE 14 ...
Page 26: ...BLANK PAGE 26 ...
Page 28: ...BLANK PAGE 28 ...
Page 30: ...BLANK PAGE 30 ...
Page 60: ...Programming manual CNC 8070 2 MACHINE OVERVIEW Home search 60 REF 1709 ...
Page 72: ...Programming manual CNC 8070 3 COORDINATE SYSTEM Coordinate programming 72 REF 1709 ...
Page 96: ...Programming manual CNC 8070 5 ORIGIN SELECTION Polar origin preset G30 96 REF 1709 ...
Page 178: ...Programming manual CNC 8070 9 TOOL PATH CONTROL MANUAL INTERVENTION Variables 178 REF 1709 ...
Page 304: ...Programming manual CNC 8070 16 C AXIS Machining of the turning side of the part 304 REF 1709 ...
Page 442: ...Programming manual CNC 8070 23 CNC VARIABLES 442 REF 1709 ...
Page 443: ...Programming manual CNC 8070 443 User notes REF 1709 ...