HomeZ with sensor
-
no you need to establish z=0 (G30) before loading a heightmap
-
@Veti
Hi, that's what the code does, -
homing unloads the height map.
-
@Veti said in HomeZ with sensor:
homing unloads the height map.
Hi,
I know that has changed in the past so I checked it just to be safe - this was with firmware 3.1.1 AND 3.2.0
I executed G29 S1 and verified with the DWC that mesh compensation was in use.
Then I executed:
- G90 G1 Z25 F600 ; to be sure the end stop sensors were not triggered
- G91 G1 H1 Z-30 F300 ; one slow speed homing move
I checked via the DWC and mesh compensation was still in use.
Frederick
-
try a G28 Z. that has a different meaning
-
-
@Veti said in HomeZ with sensor:
try a G28 Z. that has a different meaning
OK I renamed my existing homeZ.g file and created a new one just with:
G90
G1 H2 Z25 F600
G91
G1 H1 Z-30 F300
G90Same result. The DWC reported mesh compensation was still in use.
Glad to do more tests.
Frederick
-
maybe i got it confused with marlin
-
@Veti said in HomeZ with sensor:
maybe i got it confused with marlin
I have trouble keeping things straight as the "side effects" of various commands have changed over time.
So I now just do everything explicitly in my code.
Frederick
-
but thinking about it.
even if you are rehoming and an offset would be applied. the point where you homed should be 0 anyway
-
Hi, just coming back to the original point,
are you saying that I don't need to use G29 S2 and G29 S1 as that is already explicit in the Home functionality?
-
@pcsentinel said in HomeZ with sensor:
Hi, just coming back to the original point,
are you saying that I don't need to use G29 S2 and G29 S1 as that is already explicit in the Home functionality?
You may still need to use G29 S1 and G29 S2.
I tested firmware 3.1.1 and homing does not affect the state of mesh compensation. I will test 3.2 if that applies to you.
The "side effects of certain commands have changed over time BUT it is always safe to do things explicitly rather than depend on "side effects".
The worse that happens is you issue a command that is redundant.
Frederick
-
I think it would be best practice to clear any bed transformations before trying to reset Z0 with homing or doing a G29, etc.