Home › M-codes › Centroid CNC12 Acorn › M101
M101 Wait for PLC bit closed or on
Centroid CNC12 Acorn M-code · Mill and lathe
Pauses the program until a PLC bit is closed, on or set. Often used in macros to wait for spindle at speed or a tool changer done signal.
Format
M101 /bit
Addresses
| Address | What it does |
|---|---|
bit | PLC bit number after a slash, such as 50005 for INP5 |
How it works
One shot.
Example program
M94 /1 ; SPINDLE START REQUEST
M101 /50005 ; WAIT FOR AT SPEED ON INP5
G1 Z-.1 F10. ; CUT
M101 /50005 ; WAIT FOR AT SPEED ON INP5
G1 Z-.1 F10. ; CUT
Example is in inch. Check offsets and clearances first.
Watch out for
- Use an M103 timer with it so the job cancels if the signal never comes.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M101 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Milling spindle unclamp |
| Mazak (EIA) | Workpiece measurement DIA end |
| Heidenhain TNC (ISO) | Replacement tool when life expires |
Every M-code for Centroid CNC12 Acorn 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 M101 in the app All Centroid CNC12 Acorn M-codes