
axismd.ai
Siemens SINUMERIK Controller
Spindle · Intermediate · 30-120 minutes
Siemens 22322 - Axis PRESET: illegal value
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.
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
Causes and Fixes
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.
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.
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.
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.
Seeing Multiple Alarms?
Seeing another alarm with this one? Enter the code.
AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.
Start freeWas this guide helpful?
Always verify with your machine manual or a certified technician before performing service procedures.