Siemens SINUMERIK codes
Siemens SINUMERIKProgram/G-codeIntermediate30-120 minutes

101606

Siemens 840D 101606 - Incorrect data type

Incorrect data type

Siemens SINUMERIK operator message 101606: Incorrect data type. This is an informational message from the SINUMERIK control indicating a system status or operation result that may require operator action.

Root Cause Summary

Alarm 101606 indicates that a variable, parameter, or argument in the NC program or system function is using an incompatible or incorrect data type. This typically occurs when attempting to assign a value of one type (e.g., REAL, INT, STRING) to a variable or function parameter that expects a different type, or when mixing data types in operations that require type consistency.

Safety

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Identify the block number shown in the alarm and locate the specific NC program line causing the error.

  2. 2

    Check the variable declarations (DEF statements) for all variables used in that line and verify their data types (INT, REAL, BOOL, STRING, CHAR, AXIS, FRAME).

  3. 3

    Verify that all assignments and operations use compatible data types. For example, ensure REAL variables receive decimal values, INT variables receive integers, and STRING operations use quoted text.

  4. 4

    If type conversion is needed, use explicit conversion functions: TRUNC() or ROUND() for REAL to INT, or declare variables with the correct type from the start.

    Implicit type conversion is limited in SINUMERIK; always use explicit conversion functions when changing data types.

Service Recommended confidence

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.