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 2139 — THE PREDEFINED TYPE IS NOT OF TYPE ENUM.

Displayed as KSS02139 on KRC4 / KRC5 controllers

KUKA 2139 (“THE PREDEFINED TYPE IS NOT OF TYPE ENUM.”): An attempt has been made to assign an ENUM constant to a variable that is not an ENUM variable. First check: Modify the program.

Updated 2026-09-09 · LogrobotLM reference

Cause

An attempt has been made to assign an ENUM constant to a variable that is not an ENUM variable. Example: INT i ENUM Erna e1,e2,e3 i=#e1

Effect

The program is not executable.

Troubleshooting

Modify the program. Example: ENUM Erna e1,e2,e3 DECL Erna RealErna RealErna=#e1

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 →