KUKA Robot codes
KUKA RobotSystemBasic

KRC0678

KUKA Robot KRC0678 - VARIABLE CANNOT BE RENAMED 2014

VARIABLE CANNOT BE RENAMED 2014

This alarm occurs when attempting to rename a KRL program object (variable, module, or function) that cannot be renamed due to system constraints or naming conflicts. The operation fails because the object is either protected, in use, or the target name is invalid or already exists in the current scope.

Common Causes

  • Attempting to rename a system-reserved or protected variable
  • Target variable name already exists in the same scope or namespace
  • Object is currently in use or referenced by active code
  • Invalid characters in the new variable name
  • Attempting to rename built-in KRL functions or standard library objects

Troubleshooting Steps

  1. 1Verify the new variable name does not conflict with existing objects in the current scope using the symbol table
  2. 2Check that the variable name follows KRL naming conventions (alphanumeric, underscore, no special characters, does not start with a number)
  3. 3Ensure the object being renamed is not a system-reserved keyword or KUKA library function
  4. 4Confirm the variable is not actively referenced or in use by running code before attempting rename
  5. 5Review the KRL source code for any dependencies on the original variable name that would break after renaming
  6. 6Use the KRC IDE's refactoring tools or manual search-and-replace to update all references if renaming is necessary

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.