Siemens SINUMERIK 840D sl Programming Manual page 474

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

Advertisement

Motion synchronous actions
10.4 Actions in synchronized actions
Program sequence in the second channel:
N210 G4 F0.1
N220 G4 F0.1
N230 G4 F0.1
N250 WAITM(10, 1, 2)
Program sequence in the first channel continues:
N150 WAIM(10, 1, 2)
N160 G4 F0.1
N199 WAITE(2)
N999 M30
Example: Axis replacement in technology cycle
The U axis U ($MA_AUTO_GET_TYPE=2) has been declared in the first and second
channel and channel 1 currently has the interpolation right. The following technology cycle is
started in channel 2:
GET(U)
POS[U]=100
The command-axis-movement line POS[U] is not executed until the U axis has been moved
to channel 2.
10-48
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]==0) DO
RDISABLE
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]<>1) DO
RDISABLE
WHEN TRUE DO RELEASE(Z)
WHENEVER($AA_TYP[Z]==1) DO
RDISABLE
WHEN TRUE DO GET(Z)
WHENEVER($AA_TYP[Z]==0) DO
RDISABLE
;Move Z axis to second channel
;Read-in disable as long as Z axis is in
;other channel
;Z axis is NC program axis
;Read-in disable until Z axis is program axis
;Z axis in second channel is neutral axis
;Read-in disable as long as Z axis is program
;axis
;Synchronize with channel 1
;Synchronize with channel 2
;Move Z axis to this channel
;Read-in disable as long as Z axis is in
;other channel
;Wait for end of program in channel 2
;Move U axis to channel
;U axis is to be moved to position 100
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents