KUKA Robot codes
KUKA RobotSystemBasic

KRC0777

KUKA Robot KRC0777 - IDENTIFIER NOT DECLARED 2113

IDENTIFIER NOT DECLARED 2113

This alarm indicates that a KRL program references an identifier (variable, function, or module) that has not been declared or is not accessible within the current scope. The compiler encountered an undefined object name during program parsing or compilation.

Common Causes

  • Variable or function name is misspelled or has incorrect capitalization
  • Object is declared in a different module/file that was not properly included or linked
  • Missing or incorrect INCLUDE statement for required library or module files
  • Variable scope issue - attempting to access a local variable outside its declaration block
  • Function or procedure name does not exist in the program or imported libraries

Troubleshooting Steps

  1. 1Review the error message to identify the specific identifier name and location in the source code
  2. 2Verify the spelling and capitalization of all variable and function names match their declarations exactly
  3. 3Check that all required INCLUDE statements are present and reference the correct file paths
  4. 4Confirm that the identifier is declared before its first use in the program flow
  5. 5Verify that imported modules or libraries contain the referenced object and are properly linked
  6. 6Rebuild/recompile the entire project to ensure all dependencies are resolved and up-to-date

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.