Fanuc · Memory and data

Fanuc alarm 5010: End of record

Most often: % in the middle of the file. First step: open the file and look at the last lines.

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. Related codes
  7. Same group: memory and data
  8. Frequently asked questions

What it means

The control read the percent sign before the program was finished. On 0i-D, 0i-F and the 30i series the same alarm has the number PS5010.

Common causes

  • % in the middle of the file
  • M30 or M99 missing
  • Transfer was cut off

How to clear it

  1. Open the file and look at the last lines
  2. Every program needs M30, every subprogram M99, then %
  3. Send the file again

Example

Gives the alarm
G00 Z50.
%
Correct
G00 Z50.
M30
%

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: memory and data

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 5010 mean?
The control read the percent sign before the program was finished.
How do I fix Fanuc alarm 5010?
Open the file and look at the last lines. Every program needs M30, every subprogram M99, then %. Send the file again.
Was this page helpful?