KUKA Robot codes
KUKA RobotSystemBasic

KRC0944

KUKA Robot KRC0944 - RIGHT OPERAND: PARENTHESES INVALID IN PATH EXPRESSIONS 2281

RIGHT OPERAND: PARENTHESES INVALID IN PATH EXPRESSIONS 2281

This syntax error occurs when parentheses are used incorrectly in a path expression on the right operand of an assignment or operation in KRL code. Path expressions in KUKA KRL have specific syntax rules, and invalid parenthesis placement violates the expected grammar structure. The compiler cannot parse the expression and halts program execution.

Common Causes

  • Unnecessary parentheses around array or structure member access (e.g., (array[i]) instead of array[i])
  • Parentheses used in dot notation path expressions where they are not permitted
  • Incorrect nesting of parentheses within field accessor chains
  • Attempting to use function call syntax within a path expression that does not support it
  • Misplaced parentheses in complex path expressions with multiple levels of member access

Troubleshooting Steps

  1. 1Review the line number indicated in the error message and locate the offending KRL statement
  2. 2Identify the path expression on the right side of the assignment operator
  3. 3Remove any unnecessary parentheses surrounding array indices, struct members, or field accessors
  4. 4Verify that parentheses are only used where the KRL syntax explicitly permits them in path expressions
  5. 5Consult the KRL language reference for valid syntax of path expressions and member access
  6. 6Recompile the program after correcting the parenthesis placement and verify the syntax error is resolved

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.