Motion synchronous actions
10.1 Structure, basic information
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10-3
10.1.1 Programming and command elements
Function
A synchronized action is programmed on its own in a separate block and triggers a machine
function as of the next executable block (e.g. traversing movement with G0, G1, G2, G3).
Synchronized actions consist of up to five command elements each with a different task:
7HFKQRORJLH
]\NOXV
$NWLRQ
RSW*&RGHI¾U
$NWLRQ7HFKQR=
'2
%HGLQJXQJ
$EIUDJHK¦XILJNHLW
6FKO¾VVHOZRUW
*¾OWLJNHLWVEHUHLFK
,'1XPPHU
RSW*&RGHI¾U
%HGLQJXQJ
Programming
ID=n keyword condition DO action 1 action 2 ...
Command elements
Identification number
ID/IDS
Scope of the modal synchronized actions in automatic mode or
in each operating mode.
Keyword Querying frequency none, WHEN, WHENEVER, FROM, EVERY,
Condition Gating logic for main run variables, the conditions are
checked in the interpolation cycle.
DO Perform when the action or the technology cycle is satisfied.
Action Action started if the condition is fulfilled, e.g. assign
variable.
Technology cycle A program is called as action if the condition is fulfilled.
Example
ID=1 WHENEVER $A_IN[1]==1 DO $A_OUT[1] = 1
Synchronized action
no. 1:
whenever input 1 is set then set output 1