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 →

FANUC Alarm PNT2-159 — Illegal code in NEXT color …

Manufacturer wording — Illegal code in NEXT color %s
The manual prints placeholders; your controller fills them in with the real group, axis or number.

FANUC PNT2-159 (“Illegal code in NEXT color …”): The system color number that is next in the queue is illegal. First check: This error should never occur during normal PaintTool operation.

Updated 2026-09-17 · LogrobotLM reference

Description

The system color number that is next in the queue is illegal.

Remedy

This error should never occur during normal PaintTool operation. The system color numbers are being scanned when they are put into the queue.

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 →