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, these commands are required to determine the tool life values of tools in slave axes in synchronous mode since tool life values are not acquired as described in Section Weighting factors for tool life and tool life distance ((V.TLM). The following command reads the tool life values of the active tool in the current channel and outputs these values 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 values of current tool)
#TOOL LIFE REMOVE (Reset tool life values for separate)
(acquisition of tool life values during)
(synchronous mode)
Select synchronous mode
:
.... Synchronous mode
:
Deselect synchronous mode
#TOOL LIFE READ [10] (Assumption: T10 is also moved in synchronous)
(mode: Send tool life data)
(to tool management for T10)
:
.... Normal mode
: