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 2138 — NO NAME FOR A CONSTANT OF THIS TYPE

Displayed as KSS02138 on KRC4 / KRC5 controllers

KUKA 2138 (“NO NAME FOR A CONSTANT OF THIS TYPE”): A constant name has been specified that does not exist or that does not match the data type. First check: Modify the program.

Updated 2026-09-09 · LogrobotLM reference

Cause

A constant name has been specified that does not exist or that does not match the data type. Example: ENUM Couleurs bleu, jaune, rouge DECL Couleurs Couleur individuelle Couleur individuelle=#orange

Effect

The program is not executable.

Troubleshooting

Modify the program. Example: ENUM Couleurs bleu, jaune, rouge, orange DECL Couleurs Couleur individuelle Couleur individuelle=#orange

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 →