LogrobotLM — AI fault diagnosis for ABB · KUKA · FANUC robots. It reads your robot backup in your browser (never uploaded) and pinpoints the fault. Try it free →

KUKA Error 2122 — NAME NOT DECLARED AS AN ARRAY

Displayed as KSS02122 on KRC4 / KRC5 controllers

KUKA 2122 (“NAME NOT DECLARED AS AN ARRAY”): The variable has been specified with an index but is not declared as an array. First check: Modify the program.

Updated 2026-09-09 · LogrobotLM reference

Cause

The variable has been specified with an index but is not declared as an array. Example: INT Hugo Hugo[3]=7

Effect

The program is not executable.

Troubleshooting

Modify the program. Example: INT Hugo Hugo=7

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 →