Basic logic functions: Travel to fixed stop (F1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
47
Examples
4
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 ......
N60 GET(Y)
; Include axis Y again in the
; pathgroup