G25/G26: Spindle speed fluctuation detection
G25 cancels spindle speed fluctuation detection; G26 activates it to detect interrupted cuts or imbalance.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
- Family
- Spindle
- Machine
- Milling, Turning, Mill-turn
- Risk
- Medium
- Example
- G26 S1500 D200 L0.5 / G25
G26 S1500 D200 L0.5 / G25Parameters
- S
- rpm que se vigilan. · rpm
- D
- Desviación permitida antes de dar alarma. · rpm
- L
- Tiempo de espera antes de empezar a vigilar. · s
Machine: Milling, Turning, Mill-turnRisk: Medium
Fanuc · Haas
- Fanuc: Useful for lathe and mill; the D and L parameters define band and time.
- Haas: Haas does not implement G25/G26 as standard.
Other codes in Spindle
Frequently Asked Questions (FAQ)
What does G25/G26 mean in a CNC program?
G25 cancels spindle speed fluctuation detection; G26 activates it to detect interrupted cuts or imbalance. In the catalogue it appears as "Spindle speed fluctuation detection", within the Spindle family.
Can you give me an example of G25/G26?
G26 S1500 D200 L0.5 / G25 — G25 cancels spindle speed fluctuation detection; G26 activates it to detect interrupted cuts or imbalance.
Which machines use G25/G26?
G25/G26 is used in: Milling, Turning, Mill-turn.
What should you watch out for with G25/G26?
Medium risk: it rarely breaks anything on its own, but a wrong value shows up on the part. Check the block before running the batch.
Related tools
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.