CNC Machinist Calculator Ultra

Home › G-codes › Swiss (Citizen Star) › G50

G50 Max spindle speed and coordinate set

Swiss (Citizen Star) G-code · Lathe

With S it clamps max RPM for G96. On Citizen G50 Z0 also sets the Z zero, used on the back spindle after pick-off, and G50 W shifts Z.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G50 S | G50 X Z | G50 W

Addresses

AddressWhat it does
SMax spindle RPM in G96
X ZSet the current position as these values
WShift Z zero by this amount, Citizen

How it works

One shot. The S clamp stays until changed.

Example program

G50 S6000 (CLAMP MAIN SPINDLE AT 6000 RPM)
G96 S1=400 M3 (CSS 400 SFM, CITIZEN S1)
G00 X.55 Z-.02 T0100 (TOOL 1)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G96 · G97

G50 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucScaling cancel
Haas NGCScaling cancel
Mazak (EIA)Scaling cancel, machining center
Okuma OSPScaling cancel
Mitsubishi M70 M80Scaling cancel
Brother SpeedioScaling cancel
Fagor 8055 8065Controlled corner rounding
Mach3 Mach4Scaling cancel
Centroid CNC12 AcornScaling and mirroring off
Hurco WinMax (NC)Scaling cancel
FadalRamp slope control cancel

Every G-code for Swiss (Citizen Star) in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open G50 in the app All Swiss G-codes

App Store Google Play