Travel to Fixed Stop (F1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
4-1
Examples
4
4.1 4.1 Travel to fixed stop
Static synchronized actions
Travel to fixed stop (FXS), initiated by a synchronized action.
N10 IDS=1 WHENEVER ; Activate static synchronized action:
(($R1==1) AND ; By the setting of $R1=1
($AA_FXS[Y]==0)) DO ; For
$R1=0 FXS[Y]=1 ; The axis Y FXS is activated
FXST[Y]=10 ; The active torque is reduced to 10%
FA[Y]=200 ; And a travel motion to
POS[Y]=150 ; Direction of the stop started
N11 IDS=2 WHENEVER ; Once the stop has been recognized
($AA_FXS[Y]==4) DO ; ($AA_FXS[Y]==4), the torque is
FXST[Y]=30 ; Increased to 30%
N12 IDS=3 WHENEVER ; After reaching the stop
($AA_FXS[Y]==1) DO ; The torque becomes dependent
FXST[Y]=$R0 ; On R0 controlled
N13 IDS=4 WHENEVER ; Deselection in dependence
(($R3==1) AND ; On R3 and
($AA_FXS[Y]==1)) DO ; Reverse
FXS[Y]=0
FA[Y]=1000 POS[Y]=0
N20 FXS[Y]= 0 ; Normal program run:
G0 G90 X0 Y0
N30 RELEASE(Y) ; Axis Y for the movement to
; Activate synchronized action
N40 G1 F1000 X100 ; Movement of another axis
N50 ......