How to Adjust Crash Sensitivity  

  RSS
gmbarton
(@gmbarton)
Active Member

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.

Posted : 11/05/2021 7:44 pm
karl-herbert
(@karl-herbert)
Illustrious Member
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 👍 

This post was modified 1 month ago by karl-herbert
Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen....
Posted : 11/05/2021 7:52 pm
gmbarton
(@gmbarton)
Active Member

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?

Posted : 11/05/2021 8:41 pm
Dan Rogers
(@dan-rogers)
Prominent Member

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.

 

Posted : 11/05/2021 9:07 pm
--
 --
(@)
Illustrious Member
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.

Posted : 11/05/2021 9:13 pm
karl-herbert
(@karl-herbert)
Illustrious Member

@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....
Posted : 11/05/2021 9:35 pm
cwbullet
(@cwbullet)
Illustrious Member
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.  

This post was modified 1 month ago by cwbullet
--------------------
Chuck H
3D Printer Review Blog...
Posted : 12/05/2021 3:26 am
gmbarton
(@gmbarton)
Active Member

@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() ?

Posted : 12/05/2021 4:30 pm
karl-herbert
(@karl-herbert)
Illustrious Member

@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....
Posted : 12/05/2021 5:55 pm
gmbarton
(@gmbarton)
Active Member

@karl-herbert

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

Thanks.

Posted : 12/05/2021 6:06 pm
karl-herbert
(@karl-herbert)
Illustrious Member

@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....
Posted : 12/05/2021 8:09 pm
gmbarton
(@gmbarton)
Active Member

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!

 

Posted : 13/05/2021 6:47 am
karl-herbert
(@karl-herbert)
Illustrious Member

@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....
Posted : 13/05/2021 11:30 am
Share:

Please Login or Register