Home › M-codes › Hurco WinMax (NC) › M20
M20 Pulse indexer one step
Hurco WinMax (NC) M-code · Mill
Advances an external indexer one position and waits for its in position signal.
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
| Address | What it does |
|---|---|
none | No words |
How it works
Non modal.
Example program
G00 Z1. (CLEAR)
M20 (INDEX ONE STEP)
M98 P1000 (CUT NEXT FACE)
M20 (INDEX ONE STEP)
M98 P1000 (CUT NEXT FACE)
Example is in inch. Check offsets and clearances first.
Watch out for
- One M20 per index. Program several blocks for several steps.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M20 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Gantry loader call |
| DMG Mori MAPPS (Fanuc) | Automatic power shut off |
| Mazak (EIA) | Robot service call |
| Okuma OSP | Tailstock Barrier OFF |
| Fadal | Cycle general purpose indexer |
| Swiss (Citizen Star) | C axis off (Citizen) |
Every M-code for Hurco WinMax (NC) 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 Hurco WinMax M-codes