Setting Z offset for printing April 16, 2017 04:12PM |
Registered: 9 years ago Posts: 330 |
Re: Setting Z offset for printing April 16, 2017 04:32PM |
Registered: 8 years ago Posts: 306 |
Re: Setting Z offset for printing April 16, 2017 04:45PM |
Registered: 10 years ago Posts: 14,672 |
Quote
drmaestro
Hi,
I have some difficulty understanding the implementation of bed leveling in Duet Wifi. My problem is with the Z offset between the switch (BLTouch) and the hotend's nozzle. In Marlin you could set it in the firmware. In Smoothieware you had to use a G30 Zx.x command to set it at the beginning of the g code.
In Duet, I can use BLTouch to probe the bed and create a height map. Then, I have added the following to the starting gcode:
G28 XY; Home X and Y axis
M280 P3 S10 I1; BLTouch Pin down
G1 X100 Y100; Go to 100,100
G28 Z; Home Z
G29 S1 ; Bed leveling with already recorded height map
M280 P3 S90 I1; BLTouch pin up
I also have determined the trigger height of the probe using the method at [duet3d.com]
The problem I am facing is I don't know how to set the Z offset. When I start a print, it starts too high (at least 0,4 mm) from the bed, which prevents adhesion. I have to babystep manually 0.4 mm downwards, so that the printing head can touch the bed. But this defeats the purpose of leveling the bed. Which part I am doing is wrong? Where do I set the Z offset?
Thanks
Re: Setting Z offset for printing April 16, 2017 05:27PM |
Registered: 9 years ago Posts: 330 |
Quote
dc42
Unless you are also using the probe to do Z homing, I recommend that after homing and before probing with G29 or loading the height map, you do a single G30 probe to establish the Z=0 position more accurately than homing does.
Re: Setting Z offset for printing April 16, 2017 05:31PM |
Registered: 10 years ago Posts: 14,672 |
Re: Setting Z offset for printing April 17, 2017 12:13PM |
Registered: 9 years ago Posts: 330 |
Re: Setting Z offset for printing April 17, 2017 02:58PM |
Registered: 10 years ago Posts: 14,672 |