Made some probing routines for mill that might help someone else.Iam sure someone more experienced in c code can clean them up . Be aware i am NOT a c code programmer. More of copy and paste type of programmer.
I mostly broke down the ProbeMain code in the Probe_JB_Stig folder. Found out that it does not work correctly, or could not get it to work correctly.But i wanted separate c code programs for each probe cycle.And possibly use them with a Mcode function.
Also added a Z depth to screen so one can control the Z travel. This way you can clear fixturing or part features. Original ccode controlled it by a set parameter within the c code program.
So far all are working. But i need to check real world accuracy.
Another thing that is needed is a input in case connection is lost from probe. The touch probe i have does not have another output for this. Thought about hacking it and adding a wire that would know if ground was broke/ cable unplugged.
Using Kmotion 5.1
Anyhow, HTH
Troy