Condition - Siemens SINUMERIK 828D Function Manual

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

Advertisement

2.2.4

Condition

Execution of the action can be made dependent on the fulfillment of a condition. As long as
the synchronized action is active, the condition is checked cyclically in the interpolation
cycle. If no condition is specified, the action is executed cyclically in every interpolation cycle.
All operations that return a truth value (TRUE/FALSE) as the result can be programmed as a
condition:
● Comparisons of system variables with constants
● Comparisons of system variables with system variables
● Comparisons of system variables with results of arithmetic operations
● Linking of comparisons through Boolean expressions
Examples
Comparisons
Program code
ID=1 WHENEVER $AA_IM[X] > $$AA_IM[Y] DO ...
ID=2 WHENEVER $AA_IM[X] > (10.5 * SIN(45)) DO ...
Boolean operations
Program code
ID=1 WHENEVER ($A_IN[1]==1) OR ($A_IN[3]==0) DO ...
See also
Reading and writing (Page 17)
Examples of conditions in synchronized actions (Page 141)
System variables for synchronized actions (Page 17)
Synchronized actions
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Detailed description
2.2 Components of synchronized actions
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents