CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M224

M224 Ask the operator for a value

Centroid CNC12 Acorn M-code · Mill and lathe

Shows a formatted prompt and stores what the operator types in a variable. A string variable 300 to 399 gets the text as typed. Fanuc has no direct match.

Format

M224 [/font] #var "TEXT" [#var]

Addresses

AddressWhat it does
fontOptional font number 0 to 6
#varVariable that gets the answer
TEXTPrompt text

How it works

One shot.

Example program

#101 = .5 ; DEFAULT FOR THE GRAPH
M224 #101 "ENTER POCKET DEPTH" ; ANSWER GOES IN #101
G1 Z-#101 F10. ; CUT TO THAT DEPTH

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M225 · M200

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 M224 in the app All Centroid CNC12 Acorn M-codes

App Store Google Play