Siemens Sinumerik 840D sl Programming Manual page 631

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

Advertisement

Examples
Example 1: Travel to fixed stop (FXS), initiated using a synchronized action
Program code
Y axis:
Activate:
N10 IDS=1 WHENEVER (($R1==1) AND $AA_FXS[y]==0)) D $R1=0 FXS[Y]=1 FXST[Y]=10 FA[Y]=200 POS[Y]=150
N11 IDS=2 WHENEVER ($AA_FXS[Y]==4) DO FXST[Y]=30
N12 IDS=3 WHENEVER ($AA_FXS[Y]==1) DO FXST[Y]=$R0
N13 IDS=4 WHENEVER (($R3==1) AND $AA_FXS[Y]==1)) DO FXS[Y]=0 FA[Y]=1000 POS[Y]=0
N20 FXS[Y]=0 G0 G90 X0 Y0
N30 RELEASE(Y)
N40 G1 F1000 X100
N50 ...
N60 GET(Y)
Example 2: Activating torque/force limiting (FOC)
Program code
N10 FOCON[X]
N20 X100 Y200 FXST[X]=15
N30 FXST[X]=75 X20
N40 FOCOF[X]
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
10.4 Actions in synchronized actions
Comments
; Static synchronized actions
; FXS is activated for axis Y by setting
$R1=1, the effective torque is reduced
to 10% and travel is started towards the
fixed stop.
; As soon as the fixed stop was detected
($AA_FXS[Y]==4), the torque was reduced
to 30%.
; After the fixed stop is reached the
torque is controlled depending on R0.
; De-selection depending on R3 and
retract.
; Normal program execution:
; Release axis Y for motion in the
synchronized action.
; Motion of another axis.
; Include axis Y back into the path group
Comments
; Modal activation of limiting.
; X travels with reduced torque (15%).
; The torque is changed to 75%, X travels with
this limited torque.
; The torque limiting is switched-out.
Motion synchronous actions
631

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents