Motion synchronous actions
10.1 Structure, basic information
Job planning
10-2 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
• Setting up safety functions
• ....
Programming
DO action1 action2 …
KEYWORD condition DO action1 action2 …
ID=n KEYWORD condition DO action1 action2 …
IDS=n KEYWORD condition DO action1 action2 …
Command elements
Identification number ID/IDS:
ID=n
Modal synchronized actions in automatic mode,
local to program; n = 1... 255
IDS=n
Modal synchronized actions in each mode,
static; n = 1... 255
Without ID/IDS
Non-modal synchronized actions in automatic mode
Keyword:
No keyword Execution of the action is not subject to any
condition. Cyclical execution in the IPO cycle.
WHEN, WHENEVER, FROM, EVERY, Querying frequency of the action to be started
Condition:
Main run variable.
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.
DO:
Initiation of the action
Coordination of synchronized actions/technology cycles:
CANCEL[n] Cancel synchronized actions
LOCK[n] Disable synchronized actions
UNLOCK[n] Unlock synchronized actions
RESET Reset technology cycle
Example
WHEN $AA_IW[Q1]>5 DO M172 H510 ;If the actual value of axis Q1 exceeds 5 mm,
auxiliary functions M172 and H510 are output to
the PLC interface.