Reading/removing tool life values (#TOOL LIFE READ/REMOVE)
The following commands are provided for access to tool life data before the next tool change. For example, they are required to determine tool life data for tools in slave axes in synchronous mode since this data is not acquired, as described in section Weighting factors for tool life and tool life distance ((V.TLM). The following command reads the tool life data of the active tool in the current channel and outputs this data to the tool management function for any tool (e.g. tool ID of a slave axis tool).
Syntax: | |
#TOOL LIFE READ [<basic> [, <sister> [, <variant> ] ] ] | Read current tool life data and assign a tool ID in the tool management system |
The same rules apply to programming tool ID as for #TOOL PREP (section Programming commands and variables), for example. According to the HÜEMNOS convention, a tool ID may include 1, 2 or 3 tool parameters. It is mandatory to specify at least one tool parameter that is always interpreted as the base tool number (basic). Tool parameters may be any mathematical expression; e.g. V.G.T_AKT, V.TOOL.BASIC, Pxx, V.L.xxx etc.
After sending the current tool life data to the tool management system, the internal tool life acquisition is not reset to 0. Instead, the tool life data is aggregated.
The following command resets to 0 the previously acquired tool life data of the tool currently active in the current channel without sending the data to the tool management system.
Syntax: | |
#TOOL LIFE REMOVE | Delete current tool life data |
Programing Example
Reading and deleting tool life data
....
:
.... Normal mode
:
#TOOL LIFE READ [V.G.T_AKT] (Read tool life data of current tool)
#TOOL LIFE REMOVE (Reset tool life data for separate)
(acquisition of tool life data during)
(synchronous operation)
Select synchronous mode
:
.... Synchronous mode
:
Deselect synchronous mode
#TOOL LIFE READ [T10] (Assuming: T10 is also moved in synchronous)
(mode: Send tool life data)
(to tool management for T10)
:
.... Normal mode
: