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

104222

Siemens 840D 104222 - Illegal parameters

Illegal parameters

Siemens SINUMERIK alarm 104222: Illegal parameters. This alarm indicates an error condition in the NC program or control configuration that must be resolved before the operation can continue.

Root Cause Summary

Alarm 104222 indicates that the NC program contains parameters that are syntactically incorrect, out of valid range, or incompatible with the current command. This typically occurs when G-code commands receive invalid arguments, prohibited parameter combinations, or values that exceed defined system limits for the active function.

Safety

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Note the exact block number where alarm occurred and review the NC program line in the editor.

  2. 2

    Check all numerical parameters in the flagged block against machine data limits (axis travels, max feedrate MD36200, max spindle speed MD35110).

  3. 3

    Verify tool numbers exist in active tool management (T parameter) and magazine configuration data.

  4. 4

    Correct the out-of-range value, reload the program, and test in single block mode.

    Always verify machine data limits before modifying parameters to avoid mechanical collisions.

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.