Using tool ID (V.TOOL.) (#TOOL DATA, #TOOL PREP)

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 physical tool change with #TOOL PREP corresponds to the T command.

Syntax:

#TOOL DATA [<basic> [, <sister> [, <variant> ] ] ]

Request new tool data

#TOOL PREP [<basic> [, <sister> [, <variant> ] ] ]

Announce a tool change

The number of parameters is fixed [6]-9.18. Expedient values are between 1 and 3. If two parameters are expected, they are the base tool number and the sister tool number.

The base tool number must be specified in all cases (basic). In addition, if the number of parameters is assigned the value 3, sister can be programmed for the sister tool number and optionally variant for the variant. If sister or variant are not programmed (a comma follows a comma or a closing bracket ')’ follows a comma), 0 is inserted instead.

Programing Example

prg_example

Programming commands and variables with ‘sister’ and ‘variant’

#TOOL DATA [ P10, “SISTER“, 0 ] <=> #TOOL DATA [ P10, “SISTER“, ]

and

#TOOL PREP [P10, 0, “VARIANT“]  < = > #TOOL PREP [P10, , “VARIANT“]

The mathematical expressions used to specify the D and T commands are to be interpreted as a base tool number. Therefore, the tool management function retains the same degree of freedom as before to select the tool data block.

Syntax:

T<basic> or D<basic>

Decoder variables are used to implement access to the elements of tool identification. The current software version already provides the option to get the number of the last tool requested from the external tool management function via V.G.T_AKT. For compatibility reasons, this variable is retained. It always represents the base tool number in parallel to the new syntax introduced below.

Syntax:

V.TOOL.BASIC

Read access to the last base tool number programmed

V.TOOL.SISTER

Read access to the last sister tool number programmed

V.TOOL.VARIANT

Read access to the last variant number programmed

Programing Example

prg_example

Programming commands and variables with ‘sister’

#TOOL DATA [ P10, “SISTER“, 3 ]

.....

#TOOL PREP [V.TOOL.BASIC, V.TOOL.SISTER, V.TOOL.VARIANT]