Stopping unnecessary euclid probe deploy/retracts
-
@fcwilt My current thought is to have a
printstart.g
file, where it will set a global variable flag, and then when it runs through myG28
,G32
,G29
, I can have an "if" statement using that global variable flag to stop the M402 command, and then reset the flag at the end ofprintstart.g
. That way, I can use every command standalone, but still use them in mystart.g
routine -
Well it seems to me you should be able to keep the probe mounted all the time, only dismounting in
the "print begin" file just before the print file code starts to executeThen you could remount the probe in the "print done " file.
Yes? No?
Frederick
-
@fcwilt Yes, I could do that, but I'm not super fond of that idea.
-
@Surgikill put M401 in your macro at the beginning and M402 at the end. That will override and subsequent deploy and retracts
-
@Surgikill said in Stopping unnecessary euclid probe deploy/retracts:
@fcwilt Yes, I could do that, but I'm not super fond of that idea.
It minimizes the time spent mounting/dismounting and saves "wear and tear" on the system. It worked for me.
Good luck.
Frederick
-
@jay_s_uk Yes, I have that. The issue is I am running homeall.g, bed.g, and mesh.g. Each of them has a m401 and m402 at the beginning and end, respectively. I want to be able to run each of them standalone, or in consecutive order. If I run them in consecutive order currently, it will deploy/retract at the beginning and end of each file.
-
@Surgikill i understand that.
what i'm saying is also add M401 and M402 to that to the macro you use to call all 3 as well as where they currently are -
@jay_s_uk That is then going to abort the process due to error checking in my deployprobe.g
-
@Surgikill you could pass a parameter through with each command, e.g.
G28 A"macro"
and do a parameter check in your deployprobe.g
if the parameter isn't present, do the error checking etc -
@jay_s_uk Currently I am using the euclid firmware macro. This snippet will trigger the abort.
if sensors.probes[0].value[0]!=1000 ; if sensor is value other than 1000 do this ; uncomment next line to echo the probe deploy state ; echo "deployuser token = " ^sensors.probes[0].deployedByUser ; echo "Probe State = " ^sensors.probes[0].value[0] abort "deployprobe start value Probe already picked up. Manually return probe to the dock"
I'm assuming I can use M99 here instead, so it will not abort the entire nest of macros, and only exit deployprobe.g
-
@jay_s_uk I'm thinking I could use this, instead of the straight abort that the euclid macro has.
if sensors.probes[0].value[0]!=1000 ; if sensor is value other than 1000 do this echo "Probe already picked up. Checking probe status" if sensors.probes[0].value[0]!=0 abort "Probe not detected. Please check machine" M99
-
@Surgikill possibly. i've not used M99