Fanuc · Program

Fanuc alarm 010: Improper G-code

Most often: typing error in the number. First step: compare the code with the list in the machine manual.

By cnccode · Updated
On this page
  1. What it means
  2. Common causes
  3. How to clear it
  4. Example
  5. Tools that help
  6. Same group: program
  7. Frequently asked questions

What it means

The control does not know this G-code, or the option for it is not installed. On 0i-D, 0i-F and the 30i series the same alarm has the number PS0010.

Common causes

  • Typing error in the number
  • Program written for another machine
  • Option not bought, for example G51.1, G68 or G05.1
  • Lathe uses another G-code system (A, B or C)

How to clear it

  1. Compare the code with the list in the machine manual
  2. Ask the machine builder if the option exists
  3. Change the post processor to the right machine
  4. On lathes check which G-code system is active

Example

Gives the alarm
G71.5 X20.
Correct
G01 X20. 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

Same group: program

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

Frequently asked questions

What does Fanuc alarm 010 mean?
The control does not know this G-code, or the option for it is not installed.
How do I fix Fanuc alarm 010?
Compare the code with the list in the machine manual. Ask the machine builder if the option exists. Change the post processor to the right machine. On lathes check which G-code system is active.
Was this page helpful?