Delete Tool Environment (Deltoolenv) - Siemens SINUMERIK 840D sl Function Manual

Tools
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

By saving the complete data necessary to determine the overall tool length, it is possible to
calculate the effective length of the tool at a later point in time, even if the tool is no longer active
or if the conditions of the environment (e.g. G codes or setting data) have changed. Similarly,
the effective length of a different tool can be calculated assuming that it would be used under
the same conditions as the tool, for which the status was saved.
Maximum number of data sets for tool environments
Machine data MD18116 $MN_MM_NUM_TOOL_ENV is used to define the maximum number
of data sets that can be saved to describe the tool environments. The data are in the TOA area.
They are kept even when the control system is switched off.
Data cannot be backed up. This means that this data cannot be transferred between the
different control systems.
2.16.2

Delete tool environment (DELTOOLENV)

The DELTOOLENV function is used to delete the data sets that are used to describe tool
environments. Deletion means that the set of data stored under a particular name can no longer
be accessed (an access attempt triggers an alarm).
Note
Data sets can only be deleted using the DELTOOLENV function, by an INITIAL.INI download
or by a cold start (NC power up with default machine data). There are no additional automatic
deletion operations.
Syntax
<Status> = DELTOOLENV(<name>)
<Status> = DELTOOLENV()
Meaning
DELTOOLENV(...):
<Status>:
Parameters
1
Tools
Function Manual, 06/2019, A5E47435126B AA
Predefined function to delete a tool environment
Alone in the
block:
Function return value. Negative values indicate error states.
Data type:
Value:
Name of data set to be deleted
<name>:
Data type:
Yes
INT
0
Function OK
-1
No memory reserved for tool environments:
MD18116 $MN_MM_NUM_TOOL_ENV = 0
This means that the "tool environments" functionality is not
available.
-2
A tool environment with the specified name does not exist.
STRING
W1: Tool offset
2.16 Working with tool environments
209

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents