KUKA Robot codes
KUKA RobotParameterBasic

KRC0938

KUKA Robot KRC0938 - TYPE ACTUAL/FORMAL PARAMETER INCOMPATIBLE 2275

TYPE ACTUAL/FORMAL PARAMETER INCOMPATIBLE 2275

This alarm indicates a type mismatch between an actual parameter and its corresponding formal parameter in a KRL function or procedure call. The compiler has detected that the data type of the argument being passed does not match the declared parameter type, preventing the program from executing.

Common Causes

  • Passing an incompatible data type to a function parameter (e.g., INT instead of REAL)
  • Attempting to pass a variable of incorrect structure type to a structured parameter
  • Using an array when a scalar value is expected, or vice versa
  • Passing a parameter with incorrect array dimensions or size
  • Incompatible pointer or reference types in function calls

Troubleshooting Steps

  1. 1Review the function or procedure declaration to identify the formal parameter types required
  2. 2Check the actual parameter being passed in the function call and verify its declared data type
  3. 3Compare the actual parameter type with the formal parameter type and correct any mismatches
  4. 4If using arrays, ensure dimensions and element types match the function signature
  5. 5If type conversion is necessary, use appropriate KUKA type conversion functions or cast operations
  6. 6Recompile the KRL program and verify the alarm is resolved before running the robot

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.