Mesh Compensation not moving Z axis Motors
-
@thepfeiffenator said in Mesh Compensation not moving Z axis Motors:
@fcwilt Yeah I need to do some more tidying up. I just copied and pasted the code from the homez.g into the homeall.g at the end. Lol. A little sloppy for sure. Sorry for the confusion.
Understood.
You have a number of things in the code that are not really needed - even though they don't hurt anything.
Frederick
-
@phaedrux I thought I did use that file to update the Duet. I will have to check it again.
In regards to the M203 Z7200, that is probably not viable, but idk if it will have a negative effect on it, wouldn't it just do the max speed possible if it is too high?
I can post some Gcode of a sliced gcode file and height map.
-
That height map suggests you didn't set the Z=0 Datum using a single G30 at the first grid point or the center of the bed before creating the height map.
Frederick
-
@fcwilt Alright, I will try and do that and report back with my result. Thanks for all your help.
-
@thepfeiffenator said in Mesh Compensation not moving Z axis Motors:
but idk if it will have a negative effect on it, wouldn't it just do the max speed possible if it is too high?
It will use the max speed unless told to use a slower feed rate. If that max speed is beyond what the axis is capable of it may skip steps. For a heavy lead screw axis like a print bed moving in Z 600mm/min is a good place to start. Fast enough to make movement not annoying, but not too fast to case issues. You are setting a slower Z speed in your homing files, so it's not likely to be an issue, but to be on the safe side you should set the speed limit correctly in config.g regardless.
Your sliced gcode files shows that it only does G28 homing at the start of the print. And you have G29 S1 in your homeall, so it's loading the saved heightmap after it's homed. This is ok, but it still doesn't tell us when you do the tilt correct with G32 or whether that was done before you created the saved heightmap in the first place.
One issue I do see in your bed.g is that you have the M561 commented out to clear any compensation in effect. Then you home all, which has the heightmap loaded, and then you do the tilt correction. So in effect, you're doing tilt correct with the heightmap already in effect.
I would suggest that you move the G29 S1 from the end of homeall to your slicer start gcode after the g28 to keep them separate. Then make sure you are using M561 at the start of your homeall.g and bed.g to ensure you're not layering compensations on top of each other.
Also make sure you do a G30 at bed center before and after the tilt correction. Make sure the point used for that G30 is the same as used in your homeall.g
Also make sure your G31 probe XYZ offsets are correct. Otherwise everything will be off.
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
-
@phaedrux So I did the Probe calibration, but for some reason it is starting too high when I start the print now. Any idea why that would be? I followed the guide multiple times and am still have issues with it being to far from the bed for some reason.
-
What was the G31 Z before and what is it now?
Where on the bed are you measuring?
Did you also correct the other things mentioned? -
@phaedrux Yeah I went through an corrected everything you told me to. I had it at Z0.95 and now I have it at Z0.825, but for some reason it is starting way too high now. Very confusing. I just put it to what the G30 S-1 showed after checking it multiple times that way. Measuring right in the middle of the bed.
-
@thepfeiffenator said in Mesh Compensation not moving Z axis Motors:
@phaedrux Yeah I went through an corrected everything you told me to. I had it at Z0.95 and now I have it at Z0.825, but for some reason it is starting way too high now. Very confusing. I just put it to what the G30 S-1 showed after checking it multiple times that way.
Does your home Z routine include setting the Z=0 Datum using a single G30?
After you've done the setting of the Z=0 Datum does a command like G90 G1 Z0 result in the nozzle just touching the bed?
Are you trying to print with mesh compensation enabled?
Frederick
-
@fcwilt Yeah when I go the G90 G1 Z0 and it does touch the bed. I have G29 S1 in my start gcode, but it wasn't showing on in the dashboard. I turned it on there and we will see what happens.
-
@fcwilt Still starting way too high for some reason. I am going to try an probe the bed with G29 again to see if that helps.
-
@thepfeiffenator said in Mesh Compensation not moving Z axis Motors:
I had it at Z0.95 and now I have it at Z0.825
If it's too high you can adjust the value by the amount you had to baby step back down. The higher the value the closer to the bed. Consider it fine tuning. What the value is and how it was set isn't as important as Z0 being when the nozzle is just touching the bed.
-
@thepfeiffenator said in Mesh Compensation not moving Z axis Motors:
@fcwilt Yeah when I go the G90 G1 Z0 and it does touch the bed. I have G29 S1 in my start gcode, but it wasn't showing on in the dashboard. I turned it on there and we will see what happens.
If your height map is wrong it can cause the problem you are seeing if you enable mesh compensation.
Try printing with no mesh compensation.
Frederick
-
-
@thepfeiffenator looking at the mesh, i would try some physical leveling too. Either the X is tilted or bed is physically tilted. the less compensation the better. just because it compensates doesn't mean it always should