Home › M-codes › Centroid CNC12 Acorn › M225
M225 Show a message for a set time
Centroid CNC12 Acorn M-code · Mill and lathe
Shows a formatted message for the number of seconds in a variable, then goes on. Zero shows it until CYCLE START. It does not take input.
Format
M225 [/font] #time "TEXT" [#var]
Addresses
| Address | What it does |
|---|---|
#time | Variable holding the display time in seconds |
TEXT | Message text |
How it works
One shot.
Example program
#100 = 3 ; SHOW FOR 3 SECONDS
M225 #100 "CHECK COOLANT LEVEL"
S3000 M3 ; CONTINUE
M225 #100 "CHECK COOLANT LEVEL"
S3000 M3 ; CONTINUE
Example is in inch. Check offsets and clearances first.
Watch out for
- CYCLE START skips the wait right away.
- To get a value from the operator use M224, not M225.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related 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 M225 in the app All Centroid CNC12 Acorn M-codes