sensors.probes[].diveHeight
-
I am running a macro that is using the object "sensors.probes[].diveHeight" I know that it has been replaced by sensors.probes[].diveHeights. I ried updating the macro, however, when I replace diveHeight with diveHeights, I get the error:
M98 P"0:/macros/Maintenance/Calibrate Z Offset"
Error: in file macro line 26 column 41: G1: expected numeric operandLine 26: G1 Z{sensors.probes[0].diveHeights} F360 ; if axes homed move to dive height
If I change it back to diveHeight, I get the warning that the object is obsolete, but the macro works.
-
@jhelmstetterjr
sensors.probes[].diveHeights[] is an array.
It contains two dive heights as configured by M558 Hnn:nnSo you need something like
sensors.probes[0].diveHeights[1] -
@OwenD Ah, that makes sense. As I only have 1 Z probe, the first element in the array would be 0, correct?
-
By the way, that worked. Thanks
-
-