EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

Siemens SINUMERIK 828D Function Manual

Siemens SINUMERIK 828D
1799 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1578 background imageLoading...
Page #1578 background image
W1: Tool offset
18.12 Working with tool environments
Basic Functions
1578 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
18.12.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 value range is from 0 to machine data:
MD18116 $MN_MM_NUM_TOOL_ENV (number of tool environments in TO area).
This system variable can be accessed even if no tool environments are possible (MD18116 = 0). In this case, the
return value is 0.
$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.
18.12.5 Read T, D, DL from a tool environment
GETTENV function
The GETTENV function is used to read the T, D and DL numbers stored in a tool environment.
Syntax:
_N = $P_TOOLENVN
Data type:
_N
INT
Number of defined TOOLENV
Syntax:
_NAME = $P_TOOLENV[i]
Data type:
_NAME
STRING
Name of the data set with number i
i
INT
Number of the data set.
If an index is specified, which does not point to a defined data set, the following alarm is
output:
Alarm "17020 (inadmissible array-index1)"

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals