FANUC Alarm INTP-321 — ABORT (%s^4, %d^5) END stmt of a func rtn
FANUC INTP-321 (“ABORT (%s^4, %d^5) END stmt of a func rtn”): KAREL program error. First check: Add a RETURN statement to the function routine.
Updated 2026-08-29 · LogrobotLM reference
Description
KAREL program error. The END statement was executed in a function routine instead of a RETURN statement.
Remedy · Remède
Add a RETURN statement to the function routine.
Frequently asked · Questions fréquentes
- What does FANUC alarm INTP-321 mean?
- FANUC INTP-321 (“ABORT (%s^4, %d^5) END stmt of a func rtn”): KAREL program error. The END statement was executed in a function routine instead of a RETURN statement.
- How do you troubleshoot FANUC alarm INTP-321?
- Add a RETURN statement to the function routine.
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 →