[3.5.0.beta.4] Is Z offset correct in Object Model
-
I have noticed the following behavior, is it correct ?
I set the z probe (CL Touch) with (for example):
; Set Z probe trigger value and offsets G31 K0 P500 X40 Y-10 Z2
G31 reports back the same numbers (and signs)
However the object model
sensors.probes[0].offsets[2]
reports-2
, i.e. the z offset is negated (x and y are correct).This causes problems in one of my macros because I'm expecting the "correct" value (and sign).
-
@stuartofmt for historical reasons the Z parameter of the G31 command is the trigger height (the height of the nozzle or other head reference point above thew bed when the probe triggers), which is the negative of the offset. For example, if the probe triggers when the probe is 3mm above the bed, it's as if the probe projects 3mm lower than the nozzle, which means the Z offset of the probe is -3mm.
-
@dc42
Thanks for the clarification. -
-