KUKA Robot codes
KUKA RobotServo/AxisBasic

KRC0798

KUKA Robot KRC0798 - TYPE MUST BE “POS”,“FRAME”,“AXIS” 2134

TYPE MUST BE “POS”,“FRAME”,“AXIS” 2134

This alarm indicates that an invalid data type was passed to a function or instruction that requires a specific parameter type. The function expects one of three valid types: POS (position), FRAME (coordinate frame), or AXIS (axis specification), but received a different data type instead.

Common Causes

  • Variable declared with wrong data type (e.g., REAL instead of POS)
  • Passing a CHAR, INT, or BOOL variable where POS/FRAME/AXIS is required
  • Incorrect function call syntax with mismatched parameter types
  • Using an uninitialized or incorrectly structured variable in function arguments
  • Type mismatch between function definition and actual argument passed at runtime

Troubleshooting Steps

  1. 1Review the KRL program line where alarm KRC0798 occurs and identify which function or instruction triggered it
  2. 2Check the function/instruction documentation to verify the required parameter type (POS, FRAME, or AXIS)
  3. 3Verify that all variables passed as arguments are declared with the correct data types matching function requirements
  4. 4Declare variables using proper KUKA data types: AXIS, POS, FRAME, or use TYPE declarations for custom structures
  5. 5Compare variable initialization and assignment to ensure type consistency throughout the program logic
  6. 6Recompile the KRL program and test execution after correcting the data type mismatch

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.