Notifications
Clear all

How to Adjust Crash Sensitivity  

  RSS
gmbarton
(@gmbarton)
Active Member
How to Adjust Crash Sensitivity

I'm getting a lot of Y crashes for no apparent reason. The belt status is good (264).

I've heard that the crash sensitivity can be reduced with the line

M916 Y5 ; reduce y crash sensitivity, default 3 max 63, higher numbers less sensitive

But then I read that TMC2130_SERVICE_CODES_M910_M918 must be enabled for the M916 code to work. How do I do that? Does that change need to be made to the firmware? If so, how?

Any help will be appreciated.

Napsal : 11/05/2021 6:44 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to Adjust Crash Sensitivity
Posted by: @gmbarton

I'm getting a lot of Y crashes for no apparent reason. The belt status is good (264).

I've heard that the crash sensitivity can be reduced with the line

M916 Y5 ; reduce y crash sensitivity, default 3 max 63, higher numbers less sensitive

But then I read that TMC2130_SERVICE_CODES_M910_M918 must be enabled for the M916 code to work. How do I do that? Does that change need to be made to the firmware? If so, how?

Any help will be appreciated.

To enable these M codes change the following:

Configuration_prusa.h

from
//#define TMC2130_SERVICE_CODES_M910_M918

to

#define TMC2130_SERVICE_CODES_M910_M918 // kgolger - activate M916 crash sensitivity - https://help.prusa3d.com/en/article/prusa-specific-g-codes_112173

Then recompile (Linux or Windows - is described here) and flash.

good luck 👍 

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Napsal : 11/05/2021 6:52 pm
gmbarton
(@gmbarton)
Active Member
Topic starter answered:
RE: How to Adjust Crash Sensitivity

I found the file  1_75mm_MK3S-EINSy10a-E3Dv6full.h

I then found this line inside the file

<td id="LC283" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">//</span>#define TMC2130_SERVICE_CODES_M910_M918</span></td>

Do I change it to the following?

<td id="LC283" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c"></span>#define TMC2130_SERVICE_CODES_M910_M918</span></td>

Or am I looking in the wrong file?

Napsal : 11/05/2021 7:41 pm
Dan Rogers
(@dan-rogers)
Noble Member
RE: How to Adjust Crash Sensitivity

Just a thought.  Do you have any pictures of like a calibration cube?  You mentioned belt tension #'s - those you can safely ignore, they are not used to adjust the belts.  Download the pattern for the belt tension tool from the print library, and print it using Prusament PETG (only Prusament Petg or the dials will be off).  That will help you measure your belt tension.

Lots of things can cause a Y crash issue - #1 is blobbed up head runs into print.  A few more are

- turn off the printer, and slowly move the bed from front to back.  Go slowly because the motor will back feed electrical spikes into the circuitry. Or disconnect the belt and do the go slowly back and forth.  The movement should be smooth - and if the motor is disconnected, nothing should impede the Y track movement.  

I have seen things like misplaced Zip ties rubbing the bed, unparallel Y rods (not seated), over-tightened Y carriage bearing holders.

That will help you isolate tension/impeding movement issues from belt tension.  Fix whatever is causing the drag.  

One possibility that is also common is your belt is too tight.  Print out that tension gauge and center it in the sweet spot.

 

Napsal : 11/05/2021 8:07 pm
--
 --
(@)
Illustrious Member
RE: How to Adjust Crash Sensitivity
Posted by: @gmbarton

I'm getting a lot of Y crashes for no apparent reason. The belt status is good (264).

A crash is a crash - and they do not happen for no reason. Masking them is easy enough: just run the printer in stealth mode.

Napsal : 11/05/2021 8:13 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to Adjust Crash Sensitivity

@gmbarton

Copy the file "1_75mm_MK3S-EINSy10a-E3Dv6full.h" (suitable for your einsyboard) from the sub directory "variants" to the enclosing directory "firmware" and rename it to "Configuration_prusa.h".

Maybe this video could help you:

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Napsal : 11/05/2021 8:35 pm
cwbullet
(@cwbullet)
Member
RE: How to Adjust Crash Sensitivity
Posted by: @gmbarton

I'm getting a lot of Y crashes for no apparent reason. The belt status is good (264).

I've heard that the crash sensitivity can be reduced with the line

M916 Y5 ; reduce y crash sensitivity, default 3 max 63, higher numbers less sensitive

But then I read that TMC2130_SERVICE_CODES_M910_M918 must be enabled for the M916 code to work. How do I do that? Does that change need to be made to the firmware? If so, how?

Any help will be appreciated.

I had a lot of crashes on one printer.  I turn off the detection.  It went away after I reinstalled the firmware.  It now works with the crash detection turned on.  

--------------------
Chuck H
3D Printer Review Blog

Napsal : 12/05/2021 2:26 am
gmbarton
(@gmbarton)
Active Member
Topic starter answered:
RE: How to Adjust Crash Sensitivity

@karl-herbert

Thanks for the video! This clearly explains many things I was missing in recompiling the code. Now I get this error in Arduino when I check firmware.ino in Arduino

Because I have activated TMC2130_SERVICE_CODES_M910_M918, what do I need to include as arguments for tmc2130_init() ?

Napsal : 12/05/2021 3:30 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to Adjust Crash Sensitivity

@gmbarton

Which editor did you use to make the changes? Originally this should look like this (3.8.1):

/*!
### M915 - Set TMC2130 silent mode <a href="https://reprap.org/wiki/G-code#M915:_Set_TMC2130_silent_mode">M915: Set TMC2130 silent mode</a>
Not active in default, only if `TMC2130_SERVICE_CODES_M910_M918` is defined in source code.
*/
case 915:
{
   tmc2130_mode = TMC2130_MODE_SILENT;
   update_mode_profile();
   tmc2130_init();
}
break;

/*!

Which firmware version exactly do you need (MK3 3.10.0 or MK3S 3.10.0....or an older version)?
I could provide you with the changes.

 

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Napsal : 12/05/2021 4:55 pm
gmbarton
(@gmbarton)
Active Member
Topic starter answered:
RE: How to Adjust Crash Sensitivity

@karl-herbert

I used Visual Studio Code on Windows 10. The firmware I'm trying to modify is MK3S 3.10.0.

Thanks.

Napsal : 12/05/2021 5:06 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to Adjust Crash Sensitivity

@gmbarton

sent you a pm!

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Napsal : 12/05/2021 7:09 pm
gmbarton
(@gmbarton)
Active Member
Topic starter answered:
RE: How to Adjust Crash Sensitivity

Success!

With the modified firmware, I set the Y sensitivity to 7 and successfully ran an ABS print that was 40mm tall. In 3 previous attempts, it would keep "crash detecting" around 1mm height and I was unable to get it to progress any further.

Thanks @karl-herbert!

 

Napsal : 13/05/2021 5:47 am
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to Adjust Crash Sensitivity

@gmbarton

glad it helped temporarily. I would still check the mechanics of the axles for irregularities.

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Napsal : 13/05/2021 10:30 am
who1sjoe
(@who1sjoe)
New Member
RE: How to Adjust Crash Sensitivity

@karl-herbert

I have a similar problem. Is it possible that you can also help me with the definition of TMC2130_SERVICE_CODES_M910_M918?

Thanks in advance

Napsal : 10/09/2021 5:26 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: How to Adjust Crash Sensitivity

@who1sjoe

Which FW version and which printer (MK3 or MK3S)?

wbr,

Karl

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Napsal : 11/09/2021 11:03 am
who1sjoe
(@who1sjoe)
New Member
RE: How to Adjust Crash Sensitivity

@karl-herbert

I use the FW 3.10.1 and have a MK3S+

 

 

Napsal : 11/09/2021 11:08 am
Share: