25040 on the Siemens SINUMERIK 808D is the “Axis standstill monitoring” alarm. Siemens calls every message on the 808D an alarm. The manual gives each alarm's reaction: most stop the part program and disable NC Start, and the serious ones also take the NC or the axes out of control.
The control watches every axis against limits in its machine data: how far it may move when stopped or clamped, how closely it must follow the commanded path, how fast it may go and how soon it must settle in position. The axis went outside one of them, and the control stopped it.
- Code
- 25040
- Type
- Alarm (stops the CNC)
- Control
- Siemens SINUMERIK 808D, SINUMERIK 808D ADVANCED
- Kind of fault
- Axis monitoring
01 / Causes
What causes 25040
- After interpolation ends, and the delay in MD36040 $MA_STANDSTILL_DELAY_TIME, the control checks that the stopped axis stays within MD36030 $MA_STANDSTILL_POS_TOL. It moved outside.
- With servo enable off, the axis jammed mechanically and mechanical forces (high machining pressure, for example) pushed it out of tolerance.
- With the position loop closed and no jam, mechanical forces pushed the axis away from its position because the position loop gain is low.
02 / Checks
What to check for 25040
In the order Siemens gives them.
- 01Check MD36040 and MD36030 and increase them if needed; the tolerance must be larger than exact stop coarse (MD36000 $MA_STOP_LIMIT_COARSE).
- 02Estimate the machining forces and reduce them if needed, with a lower feed or a higher speed.
- 03Increase the clamping pressure.
- 04Raise the position loop gain by better optimisation (Kv factor, MD32200 $MA_POSCTRL_GAIN).
Also in the manual
- Reaction: the channel goes to not ready and the axes switch to follow-up mode (the position is tracked but not held); the program stops and NC Start is disabled.
- To clear it: press RESET, then start the part program again.
03 / Clearing it
How to clear 25040
- Each alarm clears its own way, shown on its row or page: switching the control off and on, the RESET key, the alarm clear key or NC START, or by itself once the cause is gone.
- After an alarm that puts the axes into follow-up mode or says they must be referenced again, reference the axes before running a program.
- Clear an alarm only after its cause is found; one that comes straight back is telling you something.
Clear it once. If 25040 comes straight back, stop resetting and find the cause: repeated resets on servo and spindle alarms can turn a cable or motor fault into a damaged amplifier.
04 / On site
How axis monitoring faults are traced on site
General practice for this kind of alarm on CNC machines, in the order a technician works. Switch off and let the servo and spindle amplifiers' DC link discharge before touching terminals.
- 01Note the axis, what the machine was doing (rapid, cutting, standing still or clamped) and whether the alarm repeats at the same place.
- 02Check the mechanics of that axis: gibs, ballscrew, bearings, coupling and lubrication. A tight spot or a heavy cut shows up as a monitoring alarm.
- 03Check the motor brake releases, and that a clamp or the cutting force is not pushing the axis.
- 04Check the drive for its own fault or alarm at the moment of the trip.
- 05Only once the mechanics and the drive check out, compare the monitoring limits and the servo tuning with the machine builder's values.
05 / Repair
When 25040 means a repair
Monitoring alarms usually lead to a mechanical repair on the axis (ballscrew, bearings, coupling, gibs) or a drive and motor check. Widening the limits without finding the cause hides the problem until it gets worse.
If 25040 keeps returning, send the alarm number, a photo of the alarm screen and what the machine was doing when it stopped to MachineryFix on WhatsApp or call +91 70133 33007. We match a technician who works on Siemens CNC systems, and they arrive knowing what to look for.
06 / Other drives
Axis monitoring: the same fault on other drives
Each maker numbers this protection differently. Codes from each maker's own manual.
| Drive | Codes |
|---|---|
| Mitsubishi Electric M800/M80 | M01 0005 Internal interlock axis exists · M01 0051 Synchronous error excessive |
07 / More codes
Other SINUMERIK 808D codes
Source
Siemens, SINUMERIK 808D, SINUMERIK 808D ADVANCED Diagnostics Manual, 02/2016, Chapter 5 (NCK, drive and PLC alarms) and 6.2 (cancel criteria).
Codes, names, causes and remedies are taken from that edition of the manual and reworded; nothing is added to them. Firmware and manual editions differ, so check your drive's own manual before changing parameters. MachineryFix is independent of Siemens and is not its authorised service partner.
Written & reviewed by MachineryFix — last reviewed — questions? Call +91 70133 33007