KUKA Robot codes
KUKA RobotSystemBasic

KRC0722

KUKA Robot KRC0722 - COMPONENT NOT PART OF VARIABLE TYPE 2058

COMPONENT NOT PART OF VARIABLE TYPE 2058

This alarm occurs when a KRL program attempts to access a component or member of a variable that does not exist within the defined variable type structure. The referenced component @P1@ is not a valid member of the variable type being accessed, indicating a mismatch between the code and the variable definition.

Common Causes

  • Attempting to access a struct member that was not declared in the variable type definition
  • Typo or incorrect spelling of the component/member name in the KRL code
  • Using an incompatible variable type or accessing the wrong variable
  • Variable type definition was modified or updated without updating corresponding code references
  • Trying to access a component from a different or outdated variable type version

Troubleshooting Steps

  1. 1Review the KRL source code line indicated in the alarm message to identify the exact component access that failed
  2. 2Verify the variable type definition in the type definition file (.typ) to confirm the component @P1@ is properly declared
  3. 3Check for spelling errors or case sensitivity issues in the component name used in the code versus the type definition
  4. 4Ensure the correct variable is being accessed and matches the intended variable type
  5. 5Regenerate or recompile the program after verifying all variable type definitions are current and correct
  6. 6If using multiple versions of a type, confirm all code uses the same version and all members are properly defined

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.