Results 11 to 20 of 112
Thread: Auto Bed Levelling Glitches
-
11-04-2014, 11:12 AM #11
I'm starting to lean towards the Sled Docking stuff having a bug in it in that Fork.... I need to keep looking at things...
-
11-04-2014, 12:04 PM #12
- Join Date
- Jul 2014
- Location
- Ontario, Canada
- Posts
- 257
lets see if I can answer this in order haha. Regarding the z-speed, I left it how it originally came when I flashed the firmware. I haven't customized much in this firmware, aside from what was noted to get the levelling to work, as I intended to play around with things after it was working successfully.
Regarding the bed size, I had read previously that there could be issues if the probe was placed too close to the outer limits of the bed, for testing purposes, I just set the values to be somewhere closer to the middle. Thank you though, I will be flashing those changes tonight
So do you think there is something amuck with that particular fork from dacb? I wonder where else G28 is defined in the firmware......
-
11-04-2014, 12:17 PM #13
I'm thinking the Sled Docking is at the root of this. Sled Docking got added to the main Marlin release. And there were errors in the #ifdef's that caused a lot of compilation issues. The way Dacb dealt with the errors and what I have are different. So I'm going to go through those differences and see if I can find something that explains this behavior.
I have a post outstanding to Dacb on another issue in the G29 related to the declared bed size. I don't think that is your problem but it should be dealt with.
I'm not sure how to proceed, but depending upon what I find, it might make sense to make the changes to your Marlin_main.cpp and upload it here for you to try.
-
11-04-2014, 12:33 PM #14
- Join Date
- Jul 2014
- Location
- Ontario, Canada
- Posts
- 257
I'd be willing to do that! I was just going through the the docking code in marlin_main. I didn't realize that it was a newer addition to the release. I find it interesting that essentially the same command can have two different outcomes. Hmm...
-
11-04-2014, 07:23 PM #15
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
I have two G28s in my start gcode, automatically added when I slice a part. The first one "resets" the printer after a potentially tall previous print, then the bed heats, then the second G28 preparatory to a G29. I've not had any issues with where homing happens. I have the safe homing set to home Z at X10 Y10 instead of the middle, though.
I'm using the latest "main" Marlin from EricZalm, with some of the changes from becdac's fork merged across.Last edited by AbuMaia; 11-04-2014 at 07:42 PM.
-
11-04-2014, 08:37 PM #16
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
-
11-05-2014, 07:31 AM #17
MiniMadRyan, I changed the Sled Docking stuff (and a few other things) to how I have my code. Be sure to save your current file set, but then replace your Marlin_main.cpp with the attached file. I took some amount of care, but there are a lot of changes so I'm not positive it will compile clean. Please try it and let us know what you see.
-
11-05-2014, 08:46 AM #18
- Join Date
- Jul 2014
- Location
- Ontario, Canada
- Posts
- 257
Hi Roxy, thank you for your help! I will try it tonight when I get home from work! Mind me asking, how did you wrap your head around working with the Firmware files? I write apps for a living, but frankly, looking through some of the code yesterday made my head hurt....maybe I just didn't have enough coffee yet!
-
11-05-2014, 10:05 AM #19
When I built my printer, I had some problems with it doing crazy things... I spent a lot of time understanding how the firmware worked so I could add debug code to it. I don't understand all parts of it. But I do understand most of the stuff I have enabled. One thing about this firmware is there is no operating system sitting under you to provide support. What ever it needs, it provides. So, that does complicate things from one perspective. But from another view point, everything is there and only stuff it needs is in the code. So from that stand point it simplifies things.
The Marlin firmware is really just one big loop that reads in GCode commands and processes them one by one. So, from that stand point, it is pretty simple.Last edited by Roxy; 11-05-2014 at 10:12 AM.
-
11-05-2014, 07:25 PM #20
- Join Date
- Jul 2014
- Location
- Ontario, Canada
- Posts
- 257
Thanks Roxy, like always I really appreciate your help! The new marlin_main compiled fine against my existing firmware. Manually running G28 like before homes the x and y and then repositions at the middle of the bed to home the z. Subsequent G28's do the same. G29 then probes from the beginning of the bed and then returns the probe once done.
I was a bit excited, and loaded up a test cube and sliced it and clicked print after that G29. low and behold it crashed the y axis, which after crashing proceeded to extrude at the same offset distance. I chalked it up to me being a dummy and not putting the g28 and G29 code into my start gcode.
My existing start code looks like so:
G21 ; set units to millimeters
M107
M190 S55 ; wait for bed temperature to be reached
M104 S190 ; set temperature
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
M109 S190 ; wait for temperature to be reached
G90 ; use absolute coordinates
G92 E0
M82 ; use absolute distances for extrusion
G1 F600.000 E-1.00000
G92 E0
G21 ; set units to millimeters
M107
M190 S55 ; wait for bed temperature to be reached
M104 S190 ; set temperature
G28 ; home all axes
G29; auto level
M109 S190 ; wait for temperature to be reached
G1 F600.000 E-1.00000
G92 E0
Would I also have to then adjust anything else in slic3r or otherwise then? I was a bit worried with effectively having the print head starting from the middle of the bed, which caused the Y crash, but it could be just cause I never had g28 and g29 in my start code...
I just wanted to say thank you again too, especially for some of my dumb questions. I've admittedly been rushed with so many projects on the go, that I've probably over looked things I shouldn't have!
Ender 3v2 poor printing quality
10-28-2024, 09:08 AM in Tips, Tricks and Tech Help