Hi, I am kind of buried in different articles and threads for Z tool probing and was hoping someone could help me out with a few questions.
My goal is to set up a probe script that that moves the machine to a set XY location and runs the Zaxis down until it hits a contact plate and sets that as the machine's Z axis 0. I want this done during initial homing and during manual tool changes (after hooking up an alligator clip) when linuxcnc prompts to continue.
I understand that running the pncconf wizard will wipe out any changes made manually to the ini files, so I've been avoiding doing anything outside of the config wizard for fear of losing work. How would I create a gcode script that isn't overwritten?
When linuxCNC prompts for a tool change, is there a way to run said script when you confirm before it continues its job?
Is there a way to do this using the Halui command section of the pncconf wizard? As I mentioned I am a bit leery about forgetting to back up my work and loosing it.
I am using linuxcnc 2.9.0 and the Axis Gui.