KUKA Error 2020 — EXTERNAL FUNCTION EXPECTED, SUBPROGRAM FOUND
Displayed as KSS02020 on KRC4 / KRC5 controllers
KUKA 2020 (“EXTERNAL FUNCTION EXPECTED, SUBPROGRAM FOUND”): A function has been declared as external. First check: Modify the program.
Updated 2026-09-09 · LogrobotLM reference
Cause
A function has been declared as external. However, a subprogram with the same name was found. Example: DEF Test(x:IN) INT x ... ENDDEF P() EXTFCT INT Test(INT:IN) END
Effect
The program is not executable.
Troubleshooting
Modify the program. Example: DEFFCT INT Test(x:IN) INT x ... ENDFCTDEF P() EXTFCT INT Test(INT:IN) END
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 →