Retracting and Unretracting with G10/G11
-
Hi guys - me again. I'm trying to use firmware retraction in my tool-changing routines and I'm having some inconsistent results that I'm struggling to understand.
Are G10/G11 absolute or relative or something else? Should I be able to - for example - retract twice with two G10's or do I need to have a G11 unretract in there? Would a G92 E0 affect either? Are there any limitations to using them in the post and free scripts? And finally - if I execute a M207 it should have effect in any subsequent G10/G11's, regardless of what tool is selected or not?
-
After receiving G10, RRF will ignore another G10 until you do a G11. It will ignore a G11 unless a previous G10 has not already been undone by G11. G92 E0 does not affect G10 or G11.
The M207 parameters apply to subsequent G10/G11 calls when any tool is selected. It is not yet possible to specify M207 parameters on a per-tool basis.
-
@dc42 Thanks for that - I think it explains some of the weirdness - G10/G11 are not tools specific either in this context? If I issue a G10 retract on T0, then select T1 and do a G10, it's not going to do anything until it sees a G11?
-
@systemsguy said in Retracting and Unretracting with G10/G11:
@dc42 Thanks for that - I think it explains some of the weirdness - G10/G11 are not tools specific either in this context? If I issue a G10 retract on T0, then select T1 and do a G10, it's not going to do anything until it sees a G11?
It's going to ignore another G10 until it sees a G11.
-
Ouch. Is there any thought of being able to make them tool specific? I know there was discussion of making M207 tool specific, which would imply then that the G10/G11 sequencing would be as well?
-
@systemsguy said in Retracting and Unretracting with G10/G11:
Ouch. Is there any thought of being able to make them tool specific? I know there was discussion of making M207 tool specific, which would imply then that the G10/G11 sequencing would be as well?
If you can't stop your slicer sending G10 just before doing a tool change, you can put a G11 command in the tfree#.g file to undo it. If it hasn't done a G10 after all, the G11 will be ignored.
-
@dc42 That might work - I'm not sure that "force" repriming the tool is what I want to do, but I need to think about it a bit.
-
@dc42 Actually - if I've dropped the tool, but not picked up a new one and issue a G11, what would happen?
-
@systemsguy said in Retracting and Unretracting with G10/G11:
@dc42 Actually - if I've dropped the tool, but not picked up a new one and issue a G11, what would happen?
Good question! You might get a "Attempt to extrude with no tool selected" message. If so, I can fix that.