KUKA Error 2123 — NAME NOT DECLARED AS A FUNCTION
Displayed as KSS02123 on KRC4 / KRC5 controllers
KUKA 2123 (“NAME NOT DECLARED AS A FUNCTION”): A supposed function value is assigned to a variable. First check: Modify the program.
Updated 2026-09-09 · LogrobotLM reference
Cause
A supposed function value is assigned to a variable. Generally, the supposed function is defined as a subprogram. Example: INT i i=Prog() ... DEF Prog() ... END
Effect
The program is not executable.
Troubleshooting
Modify the program. Example: INT i i=Prog() ... DEFFCT INT Prog() ... ENDFCT
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 →