2.3 Description of the most important defining parameters
Correcting the tool of a stored tool environment: _TENV
As from NCK SW 6.3, you can save the operating environment of a particular tool you are
using. This is to allow you to correct the tool used to measure a workpiece taking into
account the operating conditions
(environment: e.g. plane, length assignment, ...).
You then no longer have to specify the T, D, DL number in the offset explicitly. These are
included in the stored tool environment. The name of a tool environment can have up to 32
References: /PGA/, "Programming Guide Advanced"
Parameter _TENV is used in measuring cycles for workpiece measurement with automatic
tool offset to define the tool environment.
_TENV is type string . _TENV is only considered if the corresponding digit is
programmed in parameter _KNUM.
_TENV can only be used if function
TOOLENV("NAME") has already been programmed by the user in the workpiece machining
program. This sets up the tool environment.
The number tool environments that can be created in the SINUMERIK control is set in
MD 18116: MM_NUM_TOOL_ENV.
A tool offset used in conjunction with a tool environment offers many possibilities. These will
be shown in more detail using examples in the next Section.
Example of automatic tool offset with and without saved tool environment in
workpiece measuring cycles
During workpiece machining, if the tool environment was saved with TOOLENV("NAME"), it
is possible to subsequently correct a tool under these stored conditions while measuring a
First, the name of the tool environment _TENV="name" must be specified in the offset.
_TENV is evaluated if the corresponding position in _KNUM has value 2 or 3 ( offset ...
according to _TENV).
To correct tool T stored in tool environment "NAME", _TNUM=0 must be set. Otherwise, the
programmed _TNUM / TNAME, D (contained in _KNUM), _DLNUM is corrected with the
conditions of the specified tool environment "NAME". Further alternatives: See examples.
In "flat D number " structure _TNUM has no significance. Here, only _KNUM (for D) and
_DLNUM are relevant.
Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0