FANUC Alarm PROG-051 — WARN Cannot skip the return stmt
FANUC PROG-051 (“WARN Cannot skip the return stmt”): The specified lines to which a move was attempted exceed the number of lines in the program. First check: Check the line number.
Updated 2026-08-29 · LogrobotLM reference
Description
The specified lines to which a move was attempted exceed the number of lines in the program.
Remedy · Remède
Check the line number.
Frequently asked · Questions fréquentes
- What does FANUC alarm PROG-051 mean?
- FANUC PROG-051 (“WARN Cannot skip the return stmt”): The specified lines to which a move was attempted exceed the number of lines in the program.
- How do you troubleshoot FANUC alarm PROG-051?
- Check the line number.
Related codes / Codes liés
Indicative field information — the robot manufacturer's manual and safety procedures always prevail. Never bypass a safety device; apply lockout/tagout (LOTO) before any physical intervention. · Informations indicatives issues du terrain — le manuel du constructeur et ses procédures de sécurité font foi. Ne shuntez jamais un organe de sécurité ; consignez (LOTO) avant toute intervention physique. How this reference is built →