KUKA Robot codes
KUKA RobotSystemBasic

KRC0964

KUKA Robot KRC0964 - NOT A NAME OF AN ENUM DATA TYPE 2301

NOT A NAME OF AN ENUM DATA TYPE 2301

This alarm indicates that a data type name used in a KRL program is not recognized as a valid enumeration (ENUM) data type. The compiler or runtime environment encountered an identifier at location 2301 that was expected to be an ENUM type but does not match any defined enumeration in the system.

Common Causes

  • Typo in the ENUM type name within the <object name>
  • ENUM data type was not declared or imported before use
  • ENUM definition was deleted or removed from the program structure
  • Incorrect namespace or module reference for the ENUM type
  • Using a non-enumeration data type where an ENUM is required

Troubleshooting Steps

  1. 1Verify the spelling and exact name of the ENUM data type referenced in the KRL program at the location indicated
  2. 2Check that the ENUM type is properly declared using the ENUM keyword in the appropriate .src or .h file
  3. 3Confirm the ENUM definition exists in the current project and has not been accidentally deleted
  4. 4Review all INCLUDE statements and ensure the file containing the ENUM definition is properly referenced
  5. 5Compare the variable/parameter declaration against the actual ENUM type name - ensure they match exactly (case-sensitive)
  6. 6Recompile the entire project to refresh type definitions and clear any stale references

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.