Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

Setting Junction Deviation in firmware has no effect (7 replies)

$
0
0
I posted this on Stack Exchange already:
[3dprinting.stackexchange.com]

I'd like to repeat my question here since this is group group is more focused on my specific issue.

This is a copy of the question on Stack Exchange:

I have built a 3D printer with Marlin bugfix-2.0.x forked from github.

I am attempting to set the default value for junction deviation so that I don't have to change it through the printer's screen/interface every time I power cycle the printer, but what I thought would set it properly isn't doing the trick.

My thought was that uncommenting this in Configuration_adv.h would work:

#define JUNCTION_DEVIATION_MM 0.02


I have tried setting this define inside of and outside of the default "if" block in which it appears (more on that below), just to make sure the issue wasn't because I didn't have something else set, and I get the same behavior when this define statement is either protected or unprotected by an "if"

Also, the default if block is this:

#if ENABLED( JUNCTION_DEVIATION )
    #define JUNCTION_DEVIATION_MM 0.02
#endif

Uncommenting #define JUNCTION_DEVIATION leaves me with a compiler error telling me that I don't need to do that, so I'm not seeing anything that I am supposed to enable to get it to use the JUNCTION_DEVIATION_MM setting. In other words, I can't actually enable "JUNCTION_DEVIATION" any more, so I HAVE to break the JUNCTION_DEVIATION_MM setting out of the "if" but it still has no effect.

After setting this parameter, when I power cycle the printer, the junction deviation is set to 0 (although one touch of the adjustment knob makes it jump to 0.010, so I think that what is displayed as "0" may actually mean "unset"), which is causing a significant stop/start jerk on every angle change until I manually set the junction deviation.

My current Configuration.h and Configuration_adv.h are here: [github.com]

Any ideas what I'm missing? I'm sure it's something simple, I just haven't found it.

I appreciate any insight anyone can give as to how I can get this setting to stick in the firmware so I don't have to set it every time I power up the printer.

In case it matters, I'm running this on an SKR V1.3 with TMC2208 drivers at 24V.


Thanks!

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>