CNC Machinist Calculator Ultra

Home › M-codes › Swiss (Citizen Star) › M20

M20 C axis off (Citizen) / One cycle stop (Star)

Swiss (Citizen Star) M-code · Lathe

On lathes: C axis off (Citizen)

Ends C axis control and returns the main spindle to normal turning.

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

Format

M20

Addresses

AddressWhat it does
NoneNo addresses

How it works

Cancels M18.

Example program

M82 (ROTARY TOOL STOP)
M20 (C AXIS OFF)
G97 S1=4000 M3 (BACK TO TURNING)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: One cycle stop (Star)

Stops the machine at the end of the current part when the one cycle switch logic calls for it.

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

Format

M20

Addresses

AddressWhat it does
NoneNo addresses

How it works

One shot.

Example program

M200 (STAR WAIT)
M20 (ONE CYCLE STOP)
M99 (LOOP)

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M18 · M99 · M200

M20 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Gantry loader call
DMG Mori MAPPS (Fanuc)Automatic power shut off
Mazak (EIA)Robot service call
Okuma OSPTailstock Barrier OFF
Hurco WinMax (NC)Pulse indexer one step
FadalCycle general purpose indexer

Every M-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 M20 in the app All Swiss M-codes

App Store Google Play