Is there any way to detect if G32 is already been executed?
-
Is there any way to detect if G32 is already been executed? I want to test if in the bed.g and perform leveling only if it's not already done.
-
It's probably best to go ahead and always to the G32.
That way if something has knocked the bed out of level (which the firmware won't know) the bed will end up level.
Frederick
-
@fcwilt said in Is there any way to detect if G32 is already been executed?:
It's probably best to go ahead and always to the G32.
That way if something has knocked the bed out of level (which the firmware won't know) the bed will end up level.
Frederick
Possibly, but unlikely in my setup.
-
@evomotors said in Is there any way to detect if G32 is already been executed?:
Possibly, but unlikely in my setup.
I agree it may not be likely but it has happened to me.
And given that, for me, the printing phase is measured in hours I don't worry about a bit of extra time doing something like G32 that may have already been done.
Frederick
-
@fcwilt said in Is there any way to detect if G32 is already been executed?:
@evomotors said in Is there any way to detect if G32 is already been executed?:
Possibly, but unlikely in my setup.
I agree it may not be likely but it has happened to me.
And given that, for me, the printing phase is measured in hours I don't worry about a bit of extra time doing something like G32 that may have already been done.
Frederick
Still, the question is how to detect. Not if it's a good practice or not.
-
G32, unlike mesh bed levelling, is not a state the printer is in, but rather a compensation or calibration sted, there is no flag that is set to say "g32 has been run" since last boot. When variables are added to RRF (3.4 is the time table AFAIR) then you will be able to set a variable at the end of your bed.g and then check for that at the beginning.
-
@evomotors, I am out of the office right now, however I think you can tell whether G32 has been run by inspecting object model value move.calibration.deviation.
-
@dc42 said in Is there any way to detect if G32 is already been executed?:
@evomotors, I am out of the office right now, however I think you can tell whether G32 has been run by inspecting object model value move.calibration.deviation.
Yes, that will work. Just need to check what is the value after power up. Thank you.