Function Call Isvar And Read Machine Data Array Index - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

14.5

Function call ISVAR and read machine data array index

14.5
Function
The ISVAR command is a function as defined in the NC language that has a
● Function value of type BOOL
● transfer parameter of type STRING
The ISVAR command returns TRUE if the transfer parameter contains a variable known in
the NC (machine data, setting data, system variable, general variables such as GUDs).
Syntax
ISVAR(<variable identifier>)
ISVAR(<identifier>,[<value>,<value>])
Significance
<Variable identifier>
<identifier>
<value>
Checks
The following checks are made in accordance with the transfer parameter:
● Does the identifier exist
● Is it a 1- or 2-dimensional array
● Is an array index permitted
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
14.5 Function call ISVAR and read machine data array index
Transfer parameter of type string can be undimensioned,
1-dimensional, or 2-dimensional.
Identifier with a known variable with or without an array
index as machine data, setting data, system variable, or
general variable.
Extension:
For general and channel-specific machine data, the first
element of the array will be read even when no index is
specified.
Function value of type BOOL
Additional functions
785

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents