KUKA Robot codes
KUKA RobotSystemBasic

KRC0735

KUKA Robot KRC0735 - ’#’ OR ENUM TYPE NAME EXPECTED 2071

’#’ OR ENUM TYPE NAME EXPECTED 2071

This syntax error occurs during KRL program compilation when the parser encounters an invalid token or missing enumeration type name where a '#' symbol or ENUM type identifier was expected. The compiler cannot proceed with program interpretation until the syntax is corrected at the specified location in the source code.

Common Causes

  • Missing or incorrectly formatted ENUM type name in variable declaration
  • Using '#' symbol without proper enumeration type reference
  • Typo or misspelling of an ENUM type name in <object name>
  • Missing ENUM definition before it is referenced in the program
  • Incorrect syntax in ENUM assignment or comparison operation
  • Using reserved keywords or invalid characters in ENUM type name

Troubleshooting Steps

  1. 1Review the KRL source code at the line number indicated in the error message
  2. 2Verify that all ENUM types are properly defined before use in <object name>
  3. 3Check that ENUM type names match exactly (case-sensitive) with their declarations
  4. 4Ensure '#' symbol usage follows correct KRL enumeration syntax (e.g., #ENUM_VALUE)
  5. 5Verify the ENUM definition file is included and accessible in the project
  6. 6Recompile the program after correcting the syntax error to confirm resolution

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.