# Programmable spindle override

This function influences spindle speed in NC program. The spindle-specific programmed override is active when the assigned spindle moves.

If an external override is also defined, the effective override results from the multiplication of the two override values.

## Notice

The G167 function only suppresses the effect of the external override value.

Syntax:
<spindle_name> [ OVERRIDE SPEED_FACT=.. ]

<spindle_name> | Name of the spindle
OVERRIDE | Identifier for spindle-specific override programming. Must always be programmed as the first keyword.
SPEED_FACT=.. | Override factor for spindle speed blocks [0.1%-200%]

## Programing Example

Programmable spindle override (OVERRIDE)

%spdl_override |
N10 G01 X100 Y100 Z100 F1000 |
N20 S[M3 REV1000] |
N40 S[OVERRIDE SPEED_FACT=20] | ;Spindle override 20%
N50 X0 | ;G01 motion with S200
N60 Y0 | ;G01 motion with S200
N70 Z0 | ;G01 motion with S200
N60 S[OVERRIDE SPEED_FACT=100] | ;Spindle override 100%
N90 Y100 | ;G01 motion with S1000
N100 Z100 | ;G01 motion with S1000
N110 X200 Y200 | ;G01 motion with S1000
N120 X300 Y300 Z200 | ;G01 motion with S1000
N130 M5 |
M30 |