CNC Machinist Calculator Ultra

Home › M-codes › Centroid CNC12 Acorn › M223

M223 Write formatted text to data file

Centroid CNC12 Acorn M-code · Mill and lathe

Writes a formatted string with variables to the file opened by M120 or M121.

Format

M223 "TEXT" [#var]

Addresses

AddressWhat it does
TEXTText with percent codes
#varVariables for each percent code

How it works

One shot.

Example program

M121 "BORES.TXT" ; OPEN FILE
#100 = 1.0012 ; MEASURED BORE
M223 "POCKET MEASURED" ; WRITE A TEXT LINE

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

M120 · M123

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

App Store Google Play