Fanuc · Program

Fanuc alarm 006: Illegal use of negative sign

Most often: minus on an address such as S, T, M or D. First step: remove the sign or write it once, directly behind the address letter.

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

A minus sign stands where it is not allowed, or twice. On 0i-D, 0i-F and the 30i series the same alarm has the number PS0006.

Common causes

  • Minus on an address such as S, T, M or D
  • Double minus after editing
  • Minus sign behind the number

How to clear it

  1. Remove the sign or write it once, directly behind the address letter
  2. In macros put the negative value in square brackets

Example

Gives the alarm
X--5.
Correct
X-5.

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 006 mean?
A minus sign stands where it is not allowed, or twice.
How do I fix Fanuc alarm 006?
Remove the sign or write it once, directly behind the address letter. In macros put the negative value in square brackets.
Was this page helpful?