10
08.97 Motion-Synchronous Action
10.4 Actions within s
nchronized actions
10
840D
NCU 572
NCU 573
810D
CCU2
840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10-381
10.4.22 Coupled-axis motion: TRAILON, TRAILOF
Function
DO TRAILON(following axis, leading axis,
coupling factor)
Activate coupled-axis motion
DO TRAILOF(following axis, leading axis,
leading axis 2)
Deactivate coupled-axis
motion
When the coupling is activated from the
synchronized action, the leading axis can be in
motion. In this case the following axis is accelerated
up to the set velocity. The position of the leading axis
at the time of synchronization of the velocity is the
starting position for coupled-axis motion. The
functionality of coupled-axis motion is described in
the Section "Path traversing behavior".
Activate asynchronized coupled motion:
... DO TRAILON(FA, LA, CF)
where: FA: Following axis
LA: Leading axis
CF: Coupling factor
Deactivate asynchronized coupled motion:
... DO TRAILOF(FA, LA, LA2)
where: FA: Following axis
LA: Leading axis
LA2: Leading axis 2, optional
Programming example
$A_IN[1]==0
DO TRAILON(Y,V,1)
Activate 1st combined axis pair when digital input is 1
$A_IN[2]==0
DO TRAILON(Z,W,-1)
Activate 2nd combined axis pair
G0 Z10
Infeed of Z and W axes in opposite axis directions
G0 Y20
Infeed of Y and V axes in same axis
directions
...
G1 Y22 V25
Superimpose dependent and independent movement
of coupled-motion axis "V"
...
TRAILOF(Y,V)
Deactivate 1st coupled axis
TRAILOF(Z,W)
Deactivate 2nd coupled axis