KUKA Robot codes
KUKA RobotSystemBasic

KRC0945

KUKA Robot KRC0945 - PARENTHESES NOT ALLOWED FOR PATH EXPRESSIONS 2282

PARENTHESES NOT ALLOWED FOR PATH EXPRESSIONS 2282

This alarm indicates a syntax error in KRL code where parentheses have been incorrectly used within a path expression. Path expressions in KUKA KRL have specific syntax rules that do not permit parentheses for accessing or referencing path objects. The compiler has detected this violation during program parsing.

Common Causes

  • Using parentheses to access array indices or struct members in a path expression (e.g., path(index) instead of proper syntax)
  • Attempting to use function call syntax with parentheses on a path object reference
  • Incorrect nesting of parentheses within motion path declarations or assignments
  • Copying code from other programming languages that use parentheses for path or pointer dereferencing
  • Misunderstanding the correct KRL syntax for path parameter access or manipulation

Troubleshooting Steps

  1. 1Locate the line number indicated in the alarm message and examine the path expression syntax
  2. 2Remove any parentheses used for path object access and replace with correct KRL syntax (dot notation or bracket notation where applicable)
  3. 3Review KUKA KRL documentation for proper path expression declaration and access syntax
  4. 4Check that path objects are referenced directly without function-call-like parentheses
  5. 5Validate the entire program by using the KUKA IDE syntax checker before downloading to the controller
  6. 6Test the corrected program on the robot controller to confirm the alarm 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.