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