KUKA Robot codes
KUKA RobotServo/AxisBasic

KRC0916

KUKA Robot KRC0916 - EXPRESSION NOT EQUAL TO POS, FRAME, AXIS 2253

EXPRESSION NOT EQUAL TO POS, FRAME, AXIS 2253

This alarm occurs when a KRL program attempts to assign or compare an expression result to a variable that has an incompatible data type. The expression being evaluated does not match the expected POS, FRAME, or AXIS data type of the target variable, causing a type mismatch error during program execution.

Common Causes

  • Attempting to assign a non-AXIS expression to an AXIS-type variable
  • Attempting to assign a non-POS expression to a POS-type variable
  • Attempting to assign a non-FRAME expression to a FRAME-type variable
  • Using incorrect syntax or operator that returns an incompatible data type
  • Referencing a variable with the wrong data type in an assignment or comparison statement

Troubleshooting Steps

  1. 1Review the KRL source code at the line indicated by the alarm message and identify the assignment or comparison statement causing the error
  2. 2Verify the data type of the variable being assigned to (POS, FRAME, or AXIS) and ensure it matches the expression result type
  3. 3Check that function return types match the expected data type for the target variable
  4. 4Use explicit type casting or conversion functions if necessary to convert between compatible data types
  5. 5Consult the KRL language reference to confirm correct syntax for assignments involving POS, FRAME, or AXIS types
  6. 6Correct the expression or variable declaration and recompile the program to resolve the type mismatch

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.