Siemens SINUMERIK 840Di sl Function Manual page 26

Synchronized actions, ncu system software
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Detailed description
2.2 Real -time evaluations and calculations
Basic arithmetic operations
Real-time variables of the type REAL and INT can be linked logically by the following basic
arithematic operations:
• Addition
• Subtraction
• Multiplication
• Division
• Integer division
• Modulo division.
Only variables of the same type may be linked by these operations.
Expressions
Expressions from basic arithmetic operations can be put in brackets and nested. See
priorities for operators on the next page.
Comparisons
The following relational operators may be used:
==
>
<
>
<=
>=
Boolean operators
The following Boolean operators may be used:
NOT
AND
OR
XOR
Bit operators
The following bit operators may be used:
B_OR
B_AND
B_XOR
B_NOT
Operands are variables and constants of the INT type.
26
Equal to
Not equal to
Less than
Greater than
Less than or equal to
Greater than or equal to
NOT
AND
OR
Exclusive OR
bit OR
bit AND
bit-serial exclusive OR
bit negation
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
Synchronized actions

Advertisement

Table of Contents
loading

Table of Contents