KUKA Robot codes
KUKA RobotSystemBasic

KRC0680

KUKA Robot KRC0680 - NOT A SYSTEM SUBROUTINE 2016

NOT A SYSTEM SUBROUTINE 2016

This alarm indicates that a called subroutine or function is not recognized as a valid system subroutine in the KRL runtime environment. The referenced object at @P1@ either does not exist, is not properly declared as a subroutine, or has an incompatible signature for system-level execution.

Common Causes

  • Subroutine name is misspelled or does not exist in the loaded program modules
  • Missing or incorrect function/subroutine declaration in the source code
  • Attempting to call a variable or non-subroutine object as a function
  • Incompatible function signature or parameter mismatch with the call
  • Required program file or module is not loaded or accessible in the project workspace

Troubleshooting Steps

  1. 1Verify the subroutine name at @P1@ exists and is spelled correctly in all program modules
  2. 2Check that the subroutine is properly declared with the DEFFCT or DEF keyword in KRL
  3. 3Confirm the function signature matches the calling parameters in type and quantity
  4. 4Load or refresh all required program modules in the KRC controller project
  5. 5Review the program call stack in the diagnostics to identify which line triggered the alarm
  6. 6Recompile the entire project and download it to the controller, then retry execution

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.