KUKA Robot codes
KUKA RobotSystemBasic

KRC0640

KUKA Robot KRC0640 - ENUM not declared in $CONFIG

ENUM not declared in $CONFIG

A SET INFO command is attempting to apply data to an ENUM variable, but the ENUM type definition is not accessible in the current configuration. The search path for type information has been modified, preventing the system from locating the required ENUM declaration.

Common Causes

  • User data list file containing ENUM definition has been moved or deleted from the search path
  • Search path configuration in KRC4 system has been altered and no longer includes required directories
  • ENUM type declaration exists but is in a different configuration scope that is not being searched
  • WorkVisual project configuration was modified and type library paths were not updated accordingly
  • Incorrect file extension or naming convention preventing ENUM type discovery during search

Troubleshooting Steps

  1. 1Verify the user data list file containing the ENUM declaration is present and in a valid location
  2. 2Check the CONFIG search path settings in the KUKA controller to confirm all necessary directories are included
  3. 3Review WorkVisual project settings and ensure the source configuration includes the ENUM type definition
  4. 4Recompile the KRL program to force re-parsing of type definitions and search path resolution
  5. 5Verify the ENUM is declared in the correct configuration scope and is accessible from the current task context
  6. 6Restore the original search path configuration or update the ENUM declaration location to match current path settings

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.