Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
87
Programming example
N5 G1 F200 Z-50 S300 M3
; Feed F; spindle speed S
N10 G4 F2.5
; Dwell time 2.5 seconds
N20 Z70
N30 G4 S30
; Dwelling 30 revolutions of the spindle, corresponds at S=300
rpm and 100% speed override to: t=0.1 min
N40 X60
; Feed and spindle speed remain effective
M30
Note
G4 S.. is only possible if a controlled spindle is available (if the speed specifications are also programmed via S...).
8.8
Spindle movements
8.8.1
Gear stages
Function
Up to 5 gear stages can be configured for a spindle for speed/torque adaptation. The selection of a gear stage takes place in
the program via M commands (see Section "Miscellaneous function M (Page 103)"):
●
M40: Automatic gear stage selection
●
M41 to M45: Gear stage 1 to 5
8.8.2
Spindle speed S, directions of rotation
Functionality
The spindle speed is programmed in revolutions per minute under the address S provided that the machine possesses a
controlled spindle.
The direction of rotation and the start or end of the movement are specified via M commands (also see Section
"Miscellaneous function M (Page 103)").
M3: Spindle clockwise
M4: Spindle counter-clockwise
M5: Spindle stop
Note
For integer S values, the decimal point can be omitted, e.g. S270.
Information
If you write M3 or M4 in a block with axis movements, the M commands become active before the axis movements.
Default setting: The axis movements only start once the spindle has accelerated to speed (M3, M4). M5 is also issued
before the axis movement. However, there is no waiting for spindle standstill. The axis movements begin before spindle
standstill.
The spindle is stopped at program end or with RESET.
At program start, spindle speed zero (S0) is in effect.
Note
Other settings can be configured via machine data.