Siemens SINUMERIK 840DE sl Commissioning Manual page 1067

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Variables
5.1
Defining variables
Variable value
The major property of a variable is its value.
The value of variables can be assigned by means of:
● Default settings when defining variables
● Assignment to a system or user variable
● A method
Programming
Syntax:
Description:
Parameter:
Example:
Variable status
The "Variable status" property scans a variable for valid content during runtime. This property
can be read and written with the value FALSE = 0.
Programming
Syntax:
Description:
Parameter:
Example:
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Identifier.val = Variable value
Identifier = Variable value
Variable value val (value)
Identifier:
Name of the variable
Variable value:
Value of the variable
VAR3 = VAR4 + SIN(VAR5)
VAR3.VAL = VAR4 + SIN(VAR5)
Identifier.vld
Variable status vld (validation)
Identifier:
Name of the variable
The result of the scan can be:
FALSE =
invalid value
TRUE =
valid value
IF VAR1.VLD == FALSE
VAR1 = 84
ENDIF
5
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents