Installation manual
CNC 8035
11.
ACCESS TO INTERNAL CNC VARIABLES
Variables associated with tools.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·370·
Tool magazine table
Each magazine position is represented as follows:
1··255 Tool number.
0 The magazine position is empty.
-1 The magazine position has been canceled.
The tool position in the magazine is represented as follows:
1··255 Position number.
0 The tool is in the spindle.
-1 Tool not found.
-2 The tool is in the change position.
Read-only variables
Variables TOOL, NXTOOL, TOD and NXTOD can only be written from the PLC while no block or
part-program is being executed or simulated.
TOOL
Returns the number of the active tool.
TOD
Returns the number of the active tool offset.
NXTOOL
Returns the next tool number, which is selected but is awaiting the execution of M06 to be active.
NXTOD
Returns the number of the tool offset corresponding to the next tool, which is selected but is awaiting
the execution of M06 to be active.
TMZPn
Returns the position occupied in the tool magazine by the indicated tool (n).
Read-and-write variables
TLFDn
This variable allows the tool offset number of the indicated tool (n) to be read or modified in the tool
table.
TLFFn
This variable allows the family code of the indicated tool (n) to be read or modified in the tool table.
TLFNn
This variable allows the value assigned as the nominal life of the indicated tool (n) to be read or
modified in the tool table.
CNCRD(TOOL,R100,M100)
Assigns the number of the active tool to register R100.