KUKA Robot codes
KUKA RobotParameterBasic

KRC0939

KUKA Robot KRC0939 - TYPE ACTUAL/FORMAL PARAMETER INCOMPATIBLE 2276

TYPE ACTUAL/FORMAL PARAMETER INCOMPATIBLE 2276

This alarm indicates a type mismatch between actual and formal parameters in a KRL program function or module call. The compiler or runtime environment detected that the data type of the argument passed to a function does not match the declared parameter type, preventing proper execution.

Common Causes

  • Passing an integer variable to a parameter expecting a real/float value
  • Passing a simple data type to a parameter expecting a structured data type or array
  • Passing a variable of wrong AXIS_HOME, FRAME, or custom structure type
  • Incorrect array dimensions passed to a function expecting a differently sized array
  • Passing a string or character to a parameter expecting a numeric type

Troubleshooting Steps

  1. 1Review the function or module declaration to verify the formal parameter types required
  2. 2Check the actual call statement and confirm the data types of all arguments being passed
  3. 3Verify variable declarations match the expected types (INT, REAL, BOOL, AXIS, FRAME, etc.)
  4. 4Convert or cast incompatible types explicitly using appropriate KRL type conversion functions
  5. 5Compare the actual parameter against the formal parameter definition in the function signature
  6. 6Recompile the KRL program after making corrections and 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.