KUKA Robot codes
KUKA RobotSystemBasic

KRC0835

KUKA Robot KRC0835 - BLANK CHARACTER INVALID 2171

BLANK CHARACTER INVALID 2171

This alarm indicates that a blank or whitespace character has been encountered in an invalid location within a KRL program object, preventing proper parsing or compilation. The error occurs during the syntax analysis phase when the interpreter encounters unexpected spacing or empty character sequences that violate KRL syntax rules.

Common Causes

  • Embedded blank or space character in a variable name, function name, or object identifier
  • Invalid whitespace within a keyword or reserved word in the KRL code
  • Improperly formatted line continuations or multi-line statements with misplaced spaces
  • Copy-paste errors introducing hidden or non-standard whitespace characters (tabs, non-breaking spaces, etc.)
  • Syntax error in array declarations, type definitions, or parameter lists containing unintended blank characters

Troubleshooting Steps

  1. 1Review the KRL source code around the flagged object to identify any blank or whitespace characters in variable/function names or keywords
  2. 2Check for hidden characters by enabling whitespace visibility in the KRC editor or using a hex editor to inspect the file
  3. 3Verify that all variable names, function names, and identifiers contain only alphanumeric characters and underscores without spaces
  4. 4Replace any tabs, non-breaking spaces, or other non-standard whitespace with regular space characters
  5. 5Ensure multi-line statements use proper KRL line continuation syntax and that array/parameter declarations are correctly formatted
  6. 6Recompile the KRL program after corrections 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.