Siemens SINUMERIK codes
Siemens SINUMERIKSpindleIntermediate30-120 minutes

22322

Siemens 22322 - Axis PRESET: illegal value

Axis PRESET: illegal value

The entered Preset value is too large (number format overflow) Control reaction: NC Start disable in this channel. Interface signals are set. Alarm display. NC Stop on alarm.

Root Cause Summary

Alarm 22322 fires when a PRESET command attempts to load a spindle position value that exceeds the numerical data type range defined in the NCK interpreter. This occurs because the entered preset value causes an integer or floating-point overflow in the axis position register, typically during G10 L2/L20 preset operations or direct SD parameter writes to spindle axis position memory.

Safety

  • Only qualified personnel should diagnose and clear control alarms; follow the machine builder's safety procedures and lockout/tagout where hardware work is required.

Causes and Fixes

  1. 1

    Access Diagnostics > Parameters > Machine Data (MD) via HMI and navigate to the spindle axis configuration. Verify MD32100 and MD32101 boundaries for the reported axis %2. Document the maximum allowed positive and negative values.

    Do not modify these limits without consulting machine geometry documentation—they define the physical spindle stroke.

  2. 2

    Review the NC program or manual preset input that triggered alarm 22322. Confirm the PRESET value entered does not exceed the documented MD32100/MD32101 range. If the value appears valid, check for calculation errors in the G-code generator or parametric program logic.

  3. 3

    If the intended preset is legitimate but the machine range is too restrictive, recalculate and update MD32100 and MD32101 in System > Settings > Parametrize Axis via the control's Parametrize Wizard. Recompile the NCK via PLC > System > Store & Activate.

    Changes to axis range MDs require system reboot and full CNC cycle before new limits become active.

  4. 4

    Clear the alarm by pressing the Reset button on the control panel, then re-enter the PRESET command with a value confirmed to be within the validated range.

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.