CNC Machinist Calculator Ultra

Home › M-codes › Fadal › M20

M20 Cycle general purpose indexer

Fadal M-code · Mill

Sends an index signal to a general purpose indexer. On some machines it is also used for auto doors or Hydrosweep.

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

How it works

Non modal.

Example program

N10 G0 Z1. M9
N11 M20 (INDEX THE FIXTURE)
N12 G4 P1000

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M18

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
Swiss (Citizen Star)C axis off (Citizen)

Every M-code for Fadal 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 Fadal M-codes

App Store Google Play