KUKA Robot codes
KUKA RobotSystemBasic

KRC0958

KUKA Robot KRC0958 - “#”EXPECTED 2295

“#”EXPECTED 2295

This alarm indicates a syntax error in KRL program code where the parser expected a specific token or character (referenced as 2295) but encountered something different. The error occurs during program compilation or interpretation when the KRL syntax does not match the expected grammar rules at the identified location.

Common Causes

  • Missing or incorrect punctuation such as semicolons, parentheses, or brackets in KRL statements
  • Incorrect variable declaration syntax or missing data type specification
  • Malformed function call or procedure invocation with wrong parameter syntax
  • Improper use of control structures (IF/ELSE/FOR/WHILE) with incorrect statement delimiters
  • Incompatible or outdated KRL syntax used with current KRC software version

Troubleshooting Steps

  1. 1Review the KRL source code at the line number indicated in the error message for syntax violations
  2. 2Check that all statements end with semicolons and that all parentheses and brackets are properly balanced and closed
  3. 3Verify variable declarations follow correct KRL syntax with proper data type keywords (REAL, INT, BOOL, etc.)
  4. 4Consult the KRL language reference documentation to confirm correct syntax for the statement causing the error
  5. 5Use the KRC IDE syntax checker and code formatter to identify and highlight syntax errors automatically
  6. 6Correct the identified syntax error and recompile the KRL program to verify 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.