KUKA Robot codes
KUKA RobotSystemBasic

KRC0402

KUKA Robot KRC0402 - ACCESS TO IMPORTED VARIABLE IS NOT POSSIBLE

ACCESS TO IMPORTED VARIABLE IS NOT POSSIBLE

This alarm indicates that the KRC controller cannot access an imported variable because the search path has not been properly extended to include the external data list. This occurs when a program attempts to reference a variable from an external data source without the necessary path configuration being established in the controller's file system or data management settings.

Common Causes

  • External data file path not added to the controller's search path configuration
  • Missing or incorrect PATH statement in the KRC program header referencing external data
  • External data list file not present in the expected directory or file system location
  • Incorrect file permissions preventing the controller from accessing the external data file
  • Data declaration syntax error or missing DECL statement for imported variables in the source program

Troubleshooting Steps

  1. 1Verify that the external data file exists in the correct directory on the controller's storage system
  2. 2Check the program's PATH declaration and ensure it correctly references the external data file location
  3. 3Add the external data file path to the controller's search path through the System menu or by editing the configuration files
  4. 4Verify file permissions and ensure the controller process has read access to the external data file
  5. 5Review the variable declaration syntax and confirm all imported variables are properly declared with correct naming conventions
  6. 6Restart the KRC controller and reload the program to reinitialize the path configuration and clear any cached path 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.