by jcoldon » Tue Jul 02, 2019 5:29 am
ohmic input setup
The probing can be done with G31 code. The G31 code is very simple, what it does is that it touches the probe input and then stops the axis.
In practise a plunge is added to the G31, but that is done usually in a macro with the macro executing the G31 and then a linear plunge motion and then the macro can adjust the Z work coordinate to offset the measured position or it can write a G92 offset or a tool offset, all solutiuons work.
The UCCNC understands the same industry standard programming language (RS274NGC) as Mach3, so Mach3 post processors work.
Also a generic Fanuc post processor usually work, but might need a few small adjustments for mach3 and uccnc.
There are macros built into the UCCNC (M213/M214) to turn the safe probe mode on/off. What the safe probe mode does is it stops the motion if the probe triggers.
So, you could use those macros... or you could input a switch to a separate input which sensor senses if the sensor mount, you could then configure it to an input trigger and e-stop or to an unused axis limit input.