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

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

Advertisement

4.6.9

Operators

4.6.9.1

Overview operators

The following operator groups are available for scripts in dialogs, step scripts, and manipulation
tasks:
● Assignment operators (Page 253)
● Arithmetic operators (Page 254)
● Logic operators (Page 255)
● Comparison operators (Page 255)
● Special operators (Page 255)
4.6.9.2

Assignment operators

Assignment operators - VAR = 123
The assignment operators constitute the core function of manipulation jobs, because control
data is written with them. All assignment operators can also be applied to script variables.
The following assignment operators are available:
?=
=
+=
-=
*=
/=
|=
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 11/2016, A5E36537479B-AD
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 date or the 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 system (NC/drive/display data) this generally means resetting
the value to the standard of the control system (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 of the specified and existing value (setting of bits).
Create MyConfig - Expert
4.6 Script language
253

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents