Siemens SINUMERIK 840D sl Function Manual page 23

Synchronized actions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Bit logic operators
Operator
B_OR
B_AND
B_XOR
B_NOT
Priority of the operators
The operators have the following priorities for execution in the synchronized action (highest
priority: 1):
Priori‐
ty
1
2
3
4
5
6
7
8
9
10
11
Note
It is strongly recommended that the individual operators are clearly prioritized by setting
parentheses "( ... )" when several operators are used in an expression.
Example of a condition with an expression with several operators:
Program code
... WHEN ($AA_IM[X] > VALUE) AND ($AA_IM[Y] > VALUE1) DO ...
Arithmetic functions
Operator
SIN()
COS()
TAN()
ASIN()
ACOS()
ATAN2()
SQRT()
Synchronized actions
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
Meaning
Bit-by-bit OR
Bit-by-bit AND
Bit-by-bit exclusive OR
Bit-by-bit negation
Operators
Meaning
NOT, B_NOT
Negation, bit-by-bit negation
*, /, DIV, MOD
Multiplication, division
+, -
Addition, subtraction
B_AND
Bit-by-bit AND
B_XOR
Bit-by-bit exclusive OR
B_OR
Bit-by-bit OR
AND
AND
XOR
Exclusive OR
OR
OR
<<
Concatenation of strings, result type STRING
==, <>, <, >, >=, <=
Relational operators
Meaning
Sine
Cosine
Tangent
Arc sine
Arc cosine
Arc tangent 2
Square root
3.3 System variables for synchronized actions
Detailed description
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents