4240 on the Siemens SINUMERIK 808D is the “Runtime overflow for IPO cycle or position controller cycle” 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.
A setting the drive cannot accept, or an operating state it is reporting. An alarm of this kind does not stop the motor on its own; a setup fault keeps the drive from running until the setting is corrected.
- Code
- 4240
- Type
- Alarm (stops the CNC)
- Control
- Siemens SINUMERIK 808D, SINUMERIK 808D ADVANCED
- Kind of fault
- Setup
01 / Causes
What causes 4240
- The interpolation or position control cycle settings were changed before the last power-up, leaving too little computing time for the cyclic tasks.
- If the alarm appears straight after power-up, there is too little time even with the axes stopped; otherwise it appears when computation-heavy NC functions run in a program.
02 / Checks
What to check for 4240
In the order Siemens gives them.
- 01Set the cycle times with more care: MD10050 $MN_SYSCLOCK_CYCLE_TIME, MD10060 $MN_POSCTRL_SYSCLOCK_TIME_RATIO and MD10070 $MN_IPO_SYSCLOCK_TIME_RATIO.
- 02Test with an NC program that loads the control as heavily as possible, and add a margin of 15 to 25% to the times found.
Also in the manual
- Reaction: the NC 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: switch the control off and on again.
03 / Clearing it
How to clear 4240
- 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 4240 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 setup 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 parameters the manual names for this code.
05 / Repair
When 4240 means a repair
No repair: a setting to correct.
If 4240 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
Setup: the same fault on other drives
Each maker numbers this protection differently. Codes from each maker's own manual.
| Drive | Codes |
|---|---|
| FANUC 0i-D | SW0100 PARAMETER ENABLE SWITCH ON · SV0413 LSI OVERFLOW · SV0415 MOTION VALUE OVERFLOW · SV0417 ILL DGTL SERVO PARAMETER · SV0422 EXCESS VELOCITY IN TORQUE · SV0423 EXCESS ERROR IN TORQUE |
| FANUC 0i-D Program (PS) | PS0001 TH ERROR · PS0002 TV ERROR · PS0003 TOO MANY DIGIT · PS0004 ADDRESS NOT FOUND · PS0005 NO DATA AFTER ADDRESS · PS0006 ILLEGAL USE OF MINUS SIGN |
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