Sensorless Homing crashing at ending script of first print
-
@Phaedrux I actually just thought a way to do this without having to employ a slicer. I realized that by changing all the files that are called up in DWC buttons, that I can make sensorless homing and stall detection work.
-
Yes placing the relevant commands in separate macros is a good way to do it because it means only changing it in a single place, it can be executed manually, or it can be called in other places as a macro with M98.
-
@Phaedrux okay I am starting to get it now. How successful could a macro be? Would it be easier for calibration, actual stall detection, or both?
-
Well it would be easier to tune, since you only have one place to change, and it's more flexible because you can just click on the macro to change the config. So it has benefits, but it won't change the actual performance of the stall detection.
-
@Phaedrux can you expand on what you mean by "won't change the actual performance of the stall detection?"
-
@Phaedrux do you have a basic structure I could use to build off of?
It would really help an enormous amount. And I will be sure to include it in the dozuki so others can tune theirs too!
-
Perhaps something like this?
stalld-printing.g
; sets stall detection values to be used when printing M915 X Y S7 R1 F1 ; Stall-d threshold 7, Action to 1 - log it, Filter mode 1 -filtered, one reading per 4 full steps
stalld-homing.g:
; sets stall detection values to be used when homing M915 X Y S3 R0 F0 ; Stall-d threshold 3, Action to 0 - no action, Filter mode 0 - unfiltered, one reading per full step
Place M98 P"stalld-homing.g" at the start of each homing file, and M98 P"stalld-printing.g" at the end of each homing file. This way you can take the commands out of your slicer and also just make changes to the stalld files for adjusting.
-
Yes that's exactly it. I use the same method for changing motor currents, etc
-
@Kolbi you guys are rock stars. Thank you so much. I will make sure that this info is out there for everyone else.
-
@djstephenson1 No worries. I keep meaning to do the same type of thing to my homing routines too; having homeall call the individual axes, but I've been in a combination of busy and lazy
-
@djstephenson1 I just did this to my files since it was fresh on the brain but I decided to leave the homeall.g as a standalone (not calling each homing file from within it).
You can see it here if you want: https://github.com/rkolbi/RRF-machine-config-files/tree/master/Prusa MK3s -
@Kolbi Awesome! I will certainly check it out
-
@Kolbi Your github is great!
-
@djstephenson1 Thanks! Glad you like it / found it useful.