Programming commands and variables
The tool-ID is programmed with plain text commands. A request for new tool data with #TOOL DATA corresponds to the D-command; the preparatory technology command for the physical tool change with #TOOL PREP corresponds to the T-command.
#TOOL DATA [ <basic> [,<sister> [,<variant> ] ] ] (Requesting of new tool data)
#TOOL PREP [ <basic> [,<sister> [,<variant> ] ] ] (Announcement of a tool change)
The number of the basic, sister, and variant parameters can be configured [6]-9.18. Expedient values are between 1 and 3. If two parameters are expected, these will be the base tool number and the alternate tool number.
Specifying the base tool number (basic) is mandatory. If the number of parameters is 3, sister for the alternate tool number and variant for the modification may optionally be programmed. Zero is inserted instead if sister or variant have not been programmed (a comma follows a comma or a closing bracket follows a closing bracket.
Programming example
#TOOL DATA [ P10, SISTER, 0 ] ⇔ #TOOL DATA [ P10, SISTER, ]
and
#TOOL PREP [P10, 0, VARIANT] ⇔ #TOOL PREP [P10, , VARIANT]
The arithmetic expressions in the specification of the D and T command must be interpreted as a base tool number. Thus, the tool management keeps the same degree of freedom for the selection of the tool data record as it had before.
T <basic> respectively D<basic>
Decoder variables are used for implementing the access to the elements of the tool identification. The current software version already provides the possibility of interrogating the number of the last requested tool from the external tool management via V.G.T_AKT. In parallel to the newly introduced syntax, it always represents the base tool number.
V.TOOL.BASIC (Read access to the last programmed base tool number
V.TOOL.SISTER (Read access to the last programmed alternate tool number)
V.TOOL.VARIANT (Read access to the last programmed modification number)
Programming example
#TOOL DATA [ P10, SISTER, 3 ]
.....
#TOOL PREP [V.TOOL.BASIC, V.TOOL.SISTER, V.TOOL.VARIANT]