KUKA Robot codes
KUKA RobotSystemBasic

KRC0730

KUKA Robot KRC0730 - “TRUE” OR “FALSE” EXPECTED 2066

“TRUE” OR “FALSE” EXPECTED 2066

This alarm indicates a type mismatch in KRL program logic where a boolean value (TRUE or FALSE) was expected but not provided or a different data type was encountered. The error occurs during program compilation or interpretation when a conditional statement or boolean operation receives an incompatible argument or expression.

Common Causes

  • Passing a non-boolean value to a function or conditional statement that expects TRUE/FALSE
  • Incorrect variable type assignment where a numeric or string value is used instead of BOOL
  • Missing or malformed comparison operator in an IF/WHILE/UNTIL statement
  • Using an undefined variable in a boolean context
  • Incompatible data type conversion in logical operations (AND, OR, NOT)

Troubleshooting Steps

  1. 1Review the KRL source code around the line number indicated in the error message
  2. 2Verify all conditional statements (IF, WHILE, UNTIL) contain proper boolean expressions with comparison operators
  3. 3Check variable declarations and ensure boolean operations use BOOL type variables
  4. 4Confirm function parameters match their expected data types in function definitions
  5. 5Add explicit type casting or comparison operators if numeric values are being evaluated as booleans
  6. 6Recompile the KRL program after corrections and verify syntax in the KRC editor

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.