> > On 7/12/21 9:20 AM, Les Newell wrote: > > > It's pretty easy to do this in g-code. There is no need to get > > > involved with HAL programming. > > > Here is one way I do it on my mill. I have buttons for the following: > > > Zero X (runs code G92X0) > > > Zero Y (runs code G92Y0) > > > Zero Z (runs code G92Z0) > > > X/2 (runs code G92X[#5420 / 2])
> > > Y/2 (runs code G92X[#5421 / 2]) Should that not be for the Y axis with the G92Y...? Y/2 (runs code G92Y[#5421 / 2]) > > > > > > what does the "#5420" do/mean? > > > Say I want to find the centre of X. I find one X edge using a probe or > > > eyeball as required then zero X. Move to the other side and hit X/2. > > > X0 is now in the centre. > > > If you have an electronic probe this plugin works quite well > > > <https://github.com/linuxcnc-probe-screen/probe-screen-ng>. > > > > > > Les _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users