Operators; Overview Operators; Assignment Operators - Siemens SINUMERIK 840D sl Operating Manual

Integrate create myconfig - diff, expert, topo
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Create MyConfig - Expert
4.6 Script language
4.6.7

Operators

4.6.7.1

Overview operators

The following operator groups are available for scripts in dialogs, step scripts, and manipulation
tasks:
● Assignment operators (Page 286)
● Arithmetic operators (Page 287)
● Logic operators (Page 288)
● Comparison operators (Page 288)
● Special operators (Page 289)
4.6.7.2

Assignment operators

Assignment operators - VAR = 123
The assignment operators constitute the core function of manipulation tasks, because they
write the control data. All assignment operators can also be applied to script variables.
Table 4-23
?=
=
+=
-=
*=
/=
|=
286
The following assignment operators are available:
Assign if blank or not available
Assign the specified value if no value is available.
No assignment is made if a value is already available.
Assign
Assignment of a new value.
The assignment is always executed. If the data item or variable is not yet available, it is created.
If it already exists, its value is changed.
(An assignment of "null" leads to the deletion of the variables or to the reset of the value to the
default, see deletion operator ~.)
Delete
The data and the value are removed.
For data relating to the control (NC/drive/display data) this generally means resetting the value
to the default of the control (of the software release).
Add
Addition of the specified value to the existing value.
Subtract
Subtraction of the specified value from the existing value
Multiply
Multiplication of the specified value and the existing value.
Divide
Division of the existing value by the specified value.
OR operation
OR operation on the specified and existing value (set bits).
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents