CNC Machinist Calculator Ultra

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

M18 C axis on (Citizen)

Swiss (Citizen Star) M-code · Lathe

Returns the main spindle to zero and switches it to C axis control for live tool work.

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

Format

M18

Addresses

AddressWhat it does
NoneNo addresses

How it works

Modal. Cancel with M20.

Example program

M5 (MAIN SPINDLE STOP)
M18 (C AXIS ON)
G00 C0. (INDEX TO ZERO)
M80 S3=3000 (ROTARY TOOL ON)

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

M20 · M80

M18 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCPallet clamp and close APC door
Doosan (Fanuc)Machine lock cancel
Mazak (EIA)Spindle orientation 240° (for AJC)
Okuma OSPOriented spindle stop Cancel
FadalCycle Cushman 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 M18 in the app All Swiss M-codes

App Store Google Play