KUKA Robot codes
KUKA RobotSystemBasic

KRC0997

KUKA Robot KRC0997 - “*” EXPECTED 2334

“*” EXPECTED 2334

This alarm indicates a syntax error in the KRL program where an asterisk (*) character was expected at a specific location during code parsing, but was not found. The parser encountered an unexpected token or syntax structure at line or position 2334 in the source code.

Common Causes

  • Missing asterisk (*) in a pointer declaration or dereference operation
  • Incorrect syntax in array or variable declaration missing the required asterisk operator
  • Malformed comment syntax or string literal that should contain an asterisk
  • Missing asterisk in a multiplication operation or pointer reference in the code
  • Copy-paste error or incomplete editing that removed required asterisk characters from expressions

Troubleshooting Steps

  1. 1Open the KRL source file and navigate to line or position 2334 where the error was reported
  2. 2Review the syntax around the error location and compare with KUKA KRL language documentation for proper asterisk usage
  3. 3Check for missing asterisks in pointer declarations (e.g., 'DECL INT *pVar') or dereference operations
  4. 4Verify all multiplication operations and pointer references have proper asterisk syntax
  5. 5Correct the syntax error by adding the missing asterisk in the appropriate location
  6. 6Recompile or reload the KRL program to 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.