KUKA Robot codes
KUKA RobotParameterBasic

KRC0794

KUKA Robot KRC0794 - FORMAL PARAMETER NOT DEFINED 2130

FORMAL PARAMETER NOT DEFINED 2130

A formal parameter required for a KRL program object (module, function, or variable) has not been defined or declared. The compiler cannot locate the expected parameter definition at compile time, preventing successful program execution.

Common Causes

  • Parameter declaration is missing in the function or module definition
  • Typo in parameter name between declaration and usage
  • Parameter was deleted or commented out during code editing
  • Incorrect parameter syntax or formatting in the DEF statement
  • Parameter scope mismatch between calling and called program objects

Troubleshooting Steps

  1. 1Verify all formal parameters are declared in the DEF statement of the affected function or module
  2. 2Check for spelling and case sensitivity errors in parameter names throughout the code
  3. 3Review recent code changes to identify if parameters were accidentally removed or modified
  4. 4Confirm parameter data types and array dimensions match between definition and usage
  5. 5Examine the function call to ensure all required parameters are being passed correctly
  6. 6Recompile the KRL program after corrections and verify syntax in the editor before deployment

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.