Siemens SINUMERIK 828D Function Manual page 116

Synchronized actions
Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Detailed description
2.7 Actions in synchronized actions
Example: Travel to fixed stop completely via synchronized actions
Program code
; IF selection request $R1==1 AND state of the Y axis == "not to fixed stop"
; THEN: For the Y axis:
; - Switch on FXS
; - Traverse to position 150 mm
; - Reduce drive torque to 10%
IDS=1 WHENEVER G71 (($R1==1) AND $AA_FXS[y]==0)) DO $R1=0 FXS[Y]=1 FXST[Y]=10
FA[Y]=200 POS[Y]=150
...
; IF state of the Y-Axis == "Fixed stop has been detected"
; THEN: Increase drive torque to 30%
IDS=2 WHENEVER ($AA_FXS[Y]==4) DO FXST[Y]=30
...
; IF state of the Y axis == "Successful travel to fixed stop"
; THEN: Set drive torque in accordance with setting $R0
IDS=3 WHENEVER ($AA_FXS[Y]==1) DO FXST[Y]=$R0
...
; Deselection depending on R3 and retract.
IDS=4 WHENEVER (($R3==1) AND $AA_FXS[Y]==1)) DO FXS[Y]=0 FA[Y]=1000 POS[Y]=0
...
N10 R1=0 FXS[Y]=0 G0 G90 Y0
N30 RELEASE(Y)
N50 ...
N60 GET(Y)
116
Comment
;
Initialization
;
Enable Y axis for traversing in synchronized actions
;
Include Y axis in the path group again
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Synchronized actions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents