Cyclically Checking The Condition (When, Whenever, From, Every) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Motion synchronous actions
10.1 Basics
10.1.2

Cyclically checking the condition (WHEN, WHENEVER, FROM, EVERY)

Function
A keyword is used to define cyclic checking of the condition of a synchronized action. If no
keyword is programmed, the actions of the synchronized action is performed once in every
IPO cycle.
Keywords
No keyword
WHEN
WHENEVER
FROM
EVERY
Main run variables
The variables used are evaluated in the interpolation cycle. Main run variables in
synchronized actions do not trigger a preprocessing stop.
Analysis:
If main run variables occur in a part program (e.g. actual value, position of a digital input or
output etc.), preprocessing is stopped until the previous block has been executed and the
values of the main run variables obtained.
640
Execution of the action is not subject to any condition. The
action is executed cyclically in any interpolation cycles.
The condition is scanned in each interpolation cycle until it is
fulfilled once, whereupon the associated action is executed
once.
The condition is checked in cycles in each interpolation cycle.
The associated action is executed in each interpolation cycle
while the condition is fulfilled.
The condition is checked in each interpolation cycle until it is
fulfilled once. The action is then executed while the synchronous
action is active, i.e. even if the condition is no longer fulfilled.
The condition is scanned in each interpolation cycle. The action
is executed once when the condition is fulfilled.
Edge triggering:
the action is executed again when the condition changes from
the FALSE state to the TRUE state.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents