Siemens SINUMERIK 840D sl Programming Manual page 488

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Motion synchronous actions
10.4 Actions in synchronized actions
Example of travel to fixed stop (FXS)
Triggered by a synchronized action
Y axis:
Activate:
N10 IDS=1 WHENEVER (($R1==1) AND
N11 IDS=2 WHENEVER ($AA_FXS[Y]==4) DO
N12 IDS=3 WHENEVER ($AA_FXS[Y]==1) DO
N13 IDS=4 WHENEVER (($R3==1) AND
N20 FXS[Y]=0 G0 G90 X0 Y0
N30 RELEASE(Y)
N40 G1 F1000 X100
N50 ......
N60 GET(Y)
Example of activating the torque/force limitation (FOC)
N10 FOCON[X]
N20 X100 Y200 FXST[X]=15
N30 FXST[X]=75 X20
N40 FOCOF[X]
Multiple selection
If the function is called once more due to faulty programming (FXS[Axis]=1) the alarm
20092 "Travel to fixed stop still active" is initiated.
Programming code that scans $AA_FXS[] or a separate flag (here R1) in the condition will
ensure that the parts program fragment function is not activated more than once.
N10 R1=0
N20 IDS=1 WHENEVER ($R1==0 AND
$AA_IW[AX3] > 7) DO R1=1 FXST[AX1]=12
10-62
($AA_FXS[y]==0)) DO
$R1=0 FXS[Y]=1 FXST[Y]=10
FA[Y]=200 POS[Y]=150
FXST[Y]=30
FXST[Y]=$R0
($AA_FXS[Y]==1)) DO
FXS[Y]=0
FA[Y]=1000 POS[Y]=0
;Static synchronized actions
;By setting of $R1=1,
;axis Y FXS will be activated, the
;effective torque is reduced to 10% and
;an approach motion started in the
;direction of the stop
;Once the stop has been recognized
;($AA_FXS[Y]==4), the torque is reduced
;to 30%
;After reaching the stop
;the torque is controlled depending on
;R0
;Deselect depending
;on R3 and
;return
;Normal program run:
;axis Y for
;Enable motion in synchronized action
;Movement of another axis
;include Y axis again in the path group
;Modal activation of limitation
;X travels with reduced torque (15%)
;Change the torque to 75%, X travels
;with this limited torque
;Disable torque limit
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents