KUKA Robot codes
KUKA RobotSystemBasic

KRC0941

KUKA Robot KRC0941 - ARRAY DIMENSION GREATER THAN 1 NOT ALLOWED 2278

ARRAY DIMENSION GREATER THAN 1 NOT ALLOWED 2278

This alarm indicates that a multi-dimensional array (with more than one dimension) has been used in a context where only single-dimensional arrays are permitted. The KRL compiler has detected an array declaration or usage that violates dimensionality constraints for the specific language construct or function being invoked.

Common Causes

  • Attempting to pass a multi-dimensional array to a function that only accepts 1D arrays
  • Declaring a multi-dimensional array as a function parameter without proper handling
  • Using a 2D or higher-dimensional array in a context that requires single-dimensional indexing
  • Incorrect array initialization syntax mixing single and multi-dimensional declarations
  • Attempting to use array operations or built-in functions that do not support multi-dimensional arrays

Troubleshooting Steps

  1. 1Review the KRL program source code and locate the line number referenced in the error message
  2. 2Identify all array declarations and verify they use only single-dimensional syntax where required
  3. 3Check function signatures and parameter definitions to confirm dimensionality expectations
  4. 4Refactor multi-dimensional arrays into single-dimensional arrays if the function does not support higher dimensions
  5. 5Consult the KUKA KRL documentation for the specific function to verify supported array types
  6. 6Recompile the program after 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.