FANUC Alarm INTP-321 — ABORT END stmt of a func rtn
Manufacturer wording — ABORT (%s^4, %d^5) END stmt of a func rtn
The manual prints placeholders; your controller fills them in with the real group, axis or number.
FANUC INTP-321 (“ABORT END stmt of a func rtn”): KAREL program error. First check: Add a RETURN statement to the function routine.
Updated 2026-09-17 · LogrobotLM reference
Description
KAREL program error. The END statement was executed in a function routine instead of a RETURN statement.
Remedy
Add a RETURN statement to the function routine.
Related codes
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. How this reference is built →