Installation manual
CNC 8060
CNC 8065
CNC VARIABLES.
10.
(REF: 1402)
·831·
Variables associated with the tool being prepared.
10.51 Variables associated with the tool being prepared.
The CNC reads several blocks ahead of the one being executed in order to calculate in
advance the path to follow.
As can be seen in the following example, the block being prepared is calculated with the tool
T6; whereas the tool T1 is the one currently selected.
There are specific variables for consulting and/or modifying the values being used in the
preparation. These variables can only be accessed from the program and are evaluated
during block preparation. Writing these variables does not modify the tool table; the new value
is only used during block preparation.
TOOL AND ACTIVE OFFSET.
(V.)[ch].G.TOOL
Variable that can be read from the program.
The variable returns the value of block preparation.
Number of the tool being prepared.
Syntax.
·ch· Channel number.
(V.)[ch].G.TOD
Variable that can be read from the program.
The variable returns the value of block preparation.
Number of tool offset being prepared.
Syntax.
·ch· Channel number.
NEXT TOOL AND TOOL OFFSET.
(V.)[ch].G.NXTOOL
Variable that can be read from the program.
The variable returns the value of block preparation.
Number of the next tool being prepared.
Syntax.
·ch· Channel number.
(V.)[ch].G.NXTOD
Variable that can be read from the program.
The variable returns the value of block preparation.
Number of the next tool offset being prepared.
G1 X100 F200 T1 M6 (Block in execution)
Y200
G1 X20 F300 T6 M6
X30 Y60 (Block being prepared)
V.[2].G.TOOL Channel ·2·.
V.[2].G.TOD Channel ·2·.
V.[2].G.NXTOOL Channel ·2·.