Home › G-codes › Brother Speedio › G21
G21 Metric input
Brother Speedio G-code · Mill
Sets program values to millimeters.
Format
G21
How it works
Modal, units group.
Example program
O1001 (METRIC PROGRAM)
G21 (MILLIMETER)
G17 G40 G80 G90 (SAFE START)
G21 (MILLIMETER)
G17 G40 G80 G90 (SAFE START)
Example is in inch. Check offsets and clearances first.
Watch out for
- Many Speedio machines ship set for metric. Confirm the units before running an inch program.
Related codes
G21 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Metric input |
| Haas NGC | Metric programming check |
| Mazak (EIA) | Metric input |
| Okuma OSP | Metric input confirmation |
| Mitsubishi M70 M80 | Metric input |
| LinuxCNC Tormach | Millimeter units |
| Mach3 Mach4 | Metric units |
| Centroid CNC12 Acorn | Metric units |
| Hurco WinMax (NC) | Metric input (ISNC) |
| Fadal | Check for metric setting |
| Swiss (Citizen Star) | Metric input |
Every G-code for Brother Speedio 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 G21 in the app All Brother Speedio G-codes