Fanuc · Arc
Fanuc alarm 021: Illegal plane axis commanded
Most often: G17 forgotten after work in G18 or G19. First step: write the plane in the block before the arc.
On this page
What it means
The arc uses an axis that does not belong to the active plane. On 0i-D, 0i-F and the 30i series the same alarm has the number PS0021.
Common causes
- G17 forgotten after work in G18 or G19
- Arc in XZ while G17 is active
How to clear it
- Write the plane in the block before the arc
- Put G17 in the safety line at the start of every tool
Example
G17 G02 X10. Z-5. R8. F200.G18 G02 X10. Z-5. R8. F200.Before you continue: After the correction do not start in the middle of the program. Go back to the last tool change, use single block and a low rapid override, and watch the distance to go.
Tools that help
Related codes
- G17 — XY Plane Selection
- G18 — XZ Plane Selection
- G19 — YZ Plane Selection
- G02 — Circular Interpolation Clockwise
Same group: arc
- Fanuc alarm 020: Over tolerance of radius
- Fanuc alarm 022: No circular radius
- Fanuc alarm 023: Illegal radius command
Number and message follow the Fanuc 0i, 16, 18 and 21 series. Wording can differ a little between models. Alarms from 1000 upwards and messages from 2000 upwards come from the machine builder in most cases: look in the manual of the machine, not of the control. Fanuc and Grbl are names of their owners. This site is independent.
The alarm comes back?
Post the block before the alarm, your control model and what you have checked.
Ask the community