Siemens SINUMERIK 840D sl Programming Manual page 70

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

Advertisement

Flexible NC programming
1.15 Axis replacement, spindle replacement (RELEASE, GET, GETD)
Program "Replace2" in channel 2
%_N_TRANSFER2_MPF
N... RELEASE (AX2)
N160 WAITM (1,1,2)
N150 GET (AX2)
N...
N... M30
Example of axis replacement without synchronization
If the axis does not have to be synchronized no preprocessing stop is generated by GET.
N01 G0 X0
N02 RELEASE(AX5)
N03 G64 X10
N04 X20
N05 GET(AX5)
N06 G01 F5000
N07 X20
N08 X30
N09 ...
Example: activating an axis replacement without a preprocessing stop
Prerequisite
Axis replacement without a preprocessing stop must be configured via machine data.
N010 M4 S100
N011 G4 F2
N020 M5
N021 SPOS=0
N022 POS[B]=1
N023 WAITP(B)
N030 X1 F10
N031 X100 F500
N032 X200
N040 M3 S500
N041 G4 F2
N050 M5
N099 M30
If the spindle or axis B is traversed, e.g., to 180 degrees and then back to 1 degree
immediately after block N023 as the PLC axis, this axis will revert to its neutral status and
will not trigger a preprocessing stop in block N40.
1-56
;Wait for WAIT marker in channel 1 and 2
;for synchronizing in both channels
;Accept axis AX2
;Rest of program after axis replacement
;If synchronization is not necessary,
;this is not an executable block.
;Not an executable block.
;Not an executable block because X position
;as for N04.
;First executable block after N05.
;Axis B becomes the neutral axis
;Axis does not trigger preprocessing stop/
;REORG
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents