20005 on the Siemens SINUMERIK 808D is the “Axis reference point approach canceled” 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 has lost, or could not establish, the link between where the machine is and what its position detector says. It happens after the absolute encoder's battery backup fails, after an encoder or motor is replaced or disconnected, or when a reference return cannot complete.
- Code
- 20005
- Type
- Alarm (stops the CNC)
- Control
- Siemens SINUMERIK 808D, SINUMERIK 808D ADVANCED
- Kind of fault
- Reference position
01 / Causes
What causes 20005
- Referencing could not be completed for every axis named: for example servo enable was missing, the measuring system was switched over or the direction key was released.
02 / Checks
What to check for 20005
In the order Siemens gives them.
- 01Check servo enable is present: DB380x DBX2.1.
- 02Check for a measuring system switchover: DB380x DBX1.5 / 1.6.
- 03Check the traversing key plus or minus is held: DB380x DBX4.7 / 4.6.
- 04Check feed override is not at 0 and no feed disable is active.
- 05Check the axis reached exact stop within MD36020 $MA_POSITIONING_TIME.
- 06Check MD34110 $MA_REFP_CYCLE_NR, which sets the axes that take part in channel-specific referencing and their order.
Also in the manual
- Reaction: 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 20005
- 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 20005 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 reference position 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.
- 01Check the absolute encoder backup battery; replace batteries with the control powered on, so the stored position is not lost.
- 02Check the encoder cable and its connectors on the motor and the amplifier.
- 03Return the axis to its reference position (or set it by the machine builder's procedure for axes without a deceleration dog), then reset.
- 04Before running a program, confirm the position against a known point on the machine.
- 05If the alarm returns with a good battery and cable, check the encoder's supply voltage and the encoder itself.
05 / Repair
When 20005 means a repair
Points to a repair when the battery and cables are good but the position is still lost, or a reference return will not complete: a failing encoder, encoder cable or axis card.
If 20005 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
Reference position: the same fault on other drives
Each maker numbers this protection differently. Codes from each maker's own manual.
| Drive | Codes |
|---|---|
| FANUC 0i-D | DS0020 REFERENCE RETURN INCOMPLETE · DS0300 APC ALARM: NEED REF RETURN · DS0306 APC ALARM: BATTERY VOLTAGE 0 · DS0307 APC ALARM: BATTERY LOW 1 · DS0308 APC ALARM: BATTERY LOW 2 · DS0309 APC ALARM: REF RETURN IMPOSSIBLE |
| FANUC 0i-D Program (PS) | PS0090 REFERENCE RETURN INCOMPLETE · PS0091 MANUAL REFERENCE POSITION RETURN IS NOT PERFORMED IN FEED HOLD · PS0092 ZERO RETURN CHECK (G27) ERROR · PS0224 ZERO RETURN NOT FINISHED · PS0301 RESETTING OF REFERENCE RETURN IS INHIBITED · PS0302 SETTING THE REFERENCE POSITION WITHOUT DOG IS NOT PERFORMED |
| Mitsubishi Electric M800/M80 | M01 0001 Dog overrun · M01 0002 Some ax does not pass Z phase · M01 0003 R-pnt direction illegal · M01 0009 Ref point return No. invalid · M01 0020 Ref point retract invalid · M01 0021 Tool ofs invld after R-pnt |
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