How Many Environments And Which Ones Are Saved - Siemens SINUMERIK 840Di Function Manual

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.10 Working with tool environments
2.10.4

How many environments and which ones are saved?

$P_TOOLENVN
This system variable returns the number of available data sets for describing tool
environments. (Data sets defined by TOOLENV and not yet deleted).
The range of values is 0 to MD18116 $MN_MM_NUM_TOOL_ENV.
This system variable can be accessed even if no tool environments are possible
(MD18116 = 0). In this case, the return value is 0.
Syntax:
Data type:
_N
$P_TOOLENV
This system variable returns the number of the nth data set for describing a tool
environment.
The assignment of numbers to data sets is not fixed, but can be changed as a result of
deleting or creating data sets. The data sets are numbered internally. The range is from
1 to $P_TOOLENVN.
Syntax:
Data type:
_NAME
i
2-142
_N = $P_TOOLENVN
INT
Number of defined TOOLENV
_NAME = $P_TOOLENV[i]
STRING
Name of the data set with number i
INT
Number of the data set.
If an index, which does not refer to a defined data set, is passed, alarm 17020 (illegal array
index1) is output.
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Tool Compensation (W1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents