S1: Spindles
16.8 Spindle monitoring
Basic Functions
1352
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Example
Automatic gear stage selection M40 is the initial setting after NC reset.
Part program:
Configuring data for spindle 1 (AX5):
Program code
Comment
...
N15 S3500 M3
; S3500 is greater than MD35110 of the 2nd gear stage. The
2nd gear stage is selected.
...
N50 S0 M3
; Spindle is stopped, S0 does not request a gear stage
change (special handling, S0).
...
N95 S5 M3
; S5 is less than MD35120 of the 1st gear stage. The 1st
gear stage is selected.
...
MD35010 $MA_GEAR_STEP_CHANGE_ENABLE[AX5] = 1
; Enable gear stage
change
MD35090 $MA_NUM_GEAR_STEPS[AX5] = 2
; Number of existing gear
stages
MD35110 $MA_GEAR_STEP_MAX_VELO[1,AX5] = 500
; Upper switching
threshold for gear stage
1
MD35120 $MA_GEAR_STEP_MIN_VELO[1,AX5] = 10
; Lower switching
threshold for gear stage
1
MD35110 $MA_GEAR_STEP_MAX_VELO[2,AX5] = 2000
; Upper switching
threshold for gear stage
2
MD35120 $MA_GEAR_STEP_MIN_VELO[2,AX5] = 500
; Lower switching
threshold for gear stage
2