
axismd.ai
Siemens SINUMERIK Controller
Program/G-code · Intermediate · 30-120 minutes
Siemens 840D 101158 - Function in current operating mode not allowed
Alarm 101158 occurs when a function or command is attempted while the drive or control system is in an incompatible operating mode. This typically happens when trying to execute motion commands during safety states, when drives are not enabled, or when the system is in an operating mode that prohibits the requested function (e.g., attempting automatic operations while in JOG mode, or executing motion while still in RESET state).
Siemens 840D 101158 - Function in current operating mode not allowed
Function in current operating mode not allowed
Siemens SINUMERIK alarm 101158: Function in current operating mode not allowed. 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 101158 occurs when a function or command is attempted while the drive or control system is in an incompatible operating mode. This typically happens when trying to execute motion commands during safety states, when drives are not enabled, or when the system is in an operating mode that prohibits the requested function (e.g., attempting automatic operations while in JOG mode, or executing motion while still in RESET state).
Safety
Causes and Fixes
Check HMI drive status display - verify all required axes show 'AF' (drive enabled) status, not 'STOP' or alarm conditions.
Verify external safety circuit is closed - check emergency stop buttons, safety gates, enabling switches, and STO circuits are all in RUN condition.
Do not bypass safety circuits - ensure all protective devices are properly reset and functional.
Check PLC safety signals - use diagnostic screen to verify safety-related inputs (EMERGENCY_STOP, SAFETY_INTERLOCK) are in correct state for operation.
Perform controlled drive enable sequence: Press RESET on control panel, then press and hold ENABLE button while attempting operation.
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.