10
Motion-Synchronous Action 08.97
10.4 Actions within s
nchronized actions
10
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC
810D
840Di
Siemens AG 2000. All rights reserved
10-378
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10.4.19 Axis coordination
Function
Typically, an axis is either moved from the part
program in the motion block or as a positioning axis
from a synchronized action.
If the same axis is to be traversed alternately from
the part program as a path or positioning axis and
from synchronized actions, however, a coordinated
transfer takes place between both axis movements.
If a command axis is subsequently traversed from
the part program, preprocessing must be
reorganized. This, in turn, causes an interruption in
the part program processing comparable to a
preprocessing stop.
Programming example
Move the X axis from either the part program or the
synchronized actions:
N10 G01 X100 Y200 F1000
X axis programmed in the part program
…
N20 ID=1 WHEN $A_IN[1]==1 DO
POS[X]=150 FA[X]=200
Starting positioning from the synchronized
action if a digital input is set
…
CANCEL(1)
Deselect synchronized action
…
N100 G01 X240 Y200 F1000
;X becomes the path axis; before motion, delay occurs because of axis transfer
if digital input was 1 and X was positioned from the synchronized action.
Programming example
Change traverse command for the same axis:
ID=1 EVERY $A_IN[1]>=1 DO POS[V]=100 FA[V]=560
;Start positioning from the synchronized action if a digital input >= 1
ID=2 EVERY $A_IN[2]>=1 DO POS[V]=$AA_IM[V] FA[V]=790
Axis follows, 2nd input is set, i.e. end position and feed
for axis V are continuously followed during a movement
when two synchronized actions are simultaneously active.