W1: Tool offset
18.12 Working with tool environments
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1577
The first call format deletes all data sets.
The second call format deletes the data set with the specified name.
Data sets can only be deleted using the
DELTOOLENV
command, by an INITIAL.INI download or by a cold start
(NCK powerup with default machine data). There are no further automatic deletion operations (e.g., on
RESET
).
Syntax:
There are two call formats:
Status = DELTOOLENV()
Status = DELTOOLENV(_NAME)
Value/parameter:
Status
INT
0:
Function OK
-1:
No memory reserved for tool environments:
MD18116 $MN_MM_NUM_TOOL_ENV = 0 (number of tool environments in TO
area).
i.e. the "tool environments" functionality is not available.
-2:
A tool environment with the specified name does not exist.
_NAME
STRING
Name of data set to be deleted