Feedrate Control and Spindle Motion
7.10 Spindle speed (S), direction of spindle rotation (M3, M4, M5)
N10 S300 M3
N20...N90
N100 SETMS(2)
N110 S400 G95 F...
N120...N150
N160 SETMS
Preset M commands, M3, M4, M5
In a block with axis commands, the above mentioned functions are activated before the axis
movements commence (basic settings on the control).
Example:
N10 G1 F500 X70 Y20 S270 M3
N100 G0 Z150 M5
Note
Machine data can be used to set when axis movements should be executed; either once the
spindle has powered up to the setpoint speed, or immediately after the programmed
switching operations have been traversed.
Working with multiple spindles
5 spindles – master spindle plus 4 additional spindles – can be available in one channel at
the same time.
304
;Speed and direction of rotation
;for drive spindle = preset master spindle
;Machining of right side of workpiece
;S2 is now master spindle
;Speed for new master spindle
;Machining of left side of workpiece
;Switch back to master spindle S1
;The spindle powers up to 270 rpm, then
;the movements are executed in X and Y.
;Spindle stop before retraction motion in Z
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Fundamentals