B3: Distributed systems - 840D sl only
2.3 Examples
2.3.2.2
Axis container rotation with an implicit part program wait
Channel 1
AXCTWE(C1)
Part program with movement of a
container axis
2.3.2.3
Axis container rotation by one channel only (e.g. during power up)
Channel 1
AXCTWED(C1)
2.3.3
Evaluating axis container system variables
2.3.3.1
Conditional branch
Channel 1
N100 AXCTWE(CT1)
MARKER1:
N200 ...
IF $AC_AXCTSWA[CT1] == 1 GOTOB MARKE1
N300 ...
2.3.3.2
Static synchronized action with $AN_AXCTSWA
Channel 1
IDS =1 EVERY $AN_AXCTSWA[CT1] == 1 DO M99
124
Channel 2
Part program ...
Part program ...
AXCTSWE(C1)
Channel 2
In the RESET state
Comment
Channel 1: Enable of the rotation of axis container CT1
Part program without movement of a container axis
IF rotation of axis container CT1 still active
THEN continue with MARKER1
ELSE (rotation of axis container CT1 completed)
Part program with movement of a container axis
Comment
Static synchronized action:
Always output auxiliary function M99 at the beginning of an
axis container rotation.
References: Synchronized Actions Function Manual
Comment
Channel 1 enables the axis container
for rotation.
Channel 1 waits implicitly for axis
container rotation
Channel 2 enables the axis container
for rotation, rotation occurs.
Channel 1 is continued.
Comment
Instantaneous rotation
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions