← Back

Codes · 6 min

G50 on a Fanuc lathe: safe RPM limit

Set a safe spindle ceiling before using constant surface speed.

Set a safe spindle ceiling before using constant surface speed.

With G96, demanded RPM rises as diameter decreases. A spindle ceiling limits the command; it does not certify that the setup is safe.

What G50 does

On controls where G50 S defines maximum spindle speed, G50 S2500 sets a 2500 rpm ceiling. Confirm the function in your machine manual. Choose the value from the permitted limits of the chuck, jaws, workpiece, balance and machine, not from this example or the spindle maximum alone.

Illustrative sequence

G50 S2500 followed by G96 S180 illustrates a ceiling and a surface-speed command in metric mode on a compatible control. It is not a complete program or approved cutting recommendation. Set and verify the limit before activating constant surface speed.

Common errors

An excessive ceiling can exceed workholding limits. A low ceiling may prevent the desired cutting speed at small diameters. Check retained modal state, active spindle and the manufacturer’s restrictions before a controlled proving cycle.