
axismd.ai
Siemens SINUMERIK Controller
Program/G-code · Intermediate · 30-120 minutes
Siemens 840D 104022 - Error in present location search
Alarm 104022 occurs when the control system cannot successfully execute a present location search operation during program execution. This typically happens when the search parameters are incorrectly defined, the measuring system provides invalid data, or the search movement encounters physical or logical limits before finding the reference point.
Siemens 840D 104022 - Error in present location search
Error in present location search
Siemens SINUMERIK alarm 104022: Error in present location search. 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 104022 occurs when the control system cannot successfully execute a present location search operation during program execution. This typically happens when the search parameters are incorrectly defined, the measuring system provides invalid data, or the search movement encounters physical or logical limits before finding the reference point.
Safety
Causes and Fixes
Review the NC program block that triggered the alarm and verify the search syntax (G75 or similar) includes correct axis designation and search direction.
Check machine data MD34200 $MA_ENC_REFP_MODE for the affected axis to ensure reference point mode is correctly configured for the encoder type installed.
Verify machine data MD34210 $MA_ENC_REFP_CAM_DIR_IS_MINUS for correct reference cam direction setting matching your machine's physical configuration.
Inspect MD34100 $MA_REFP_CAM_DIR_IS_MINUS to ensure the reference cam direction for the axis matches the actual hardware setup and search direction in the program.
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.