Home › M-codes › Centroid CNC12 Acorn › M100
M100 Wait for PLC bit open or off
Centroid CNC12 Acorn M-code · Mill and lathe
Pauses the program until a PLC bit is open, off or reset. 50001 up is INP, 60001 up is OUT, 70001 up is MEM. Fanuc has no direct match.
Format
M100 /bit
Addresses
| Address | What it does |
|---|---|
bit | PLC bit number after a slash, such as 50001 for INP1 |
How it works
One shot.
Example program
M94 /12 ; START THE DEVICE
M103 /5 ; 5 SECOND TIMEOUT
M100 /50004 ; WAIT FOR INP4 TO OPEN
M104 ; DONE, CANCEL TIMER
M103 /5 ; 5 SECOND TIMEOUT
M100 /50004 ; WAIT FOR INP4 TO OPEN
M104 ; DONE, CANCEL TIMER
Example is in inch. Check offsets and clearances first.
Watch out for
- It waits forever. Pair it with an M103 timer so a stuck switch cancels the job.
- Old numbers 1 to 240 still work but new programs should use the 50001 style.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M100 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Milling spindle clamp |
| Mazak (EIA) | Workpiece measurement DIA start |
| LinuxCNC Tormach | User M codes M100 to M199 |
| Mach3 Mach4 | User macro M codes |
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 M100 in the app All Centroid CNC12 Acorn M-codes