Essentially the process involves two touch off operations. First one side until an LED comes on or even better the probe input goes active. At that point touch off so the axis is set to 0.
Then you move in the opposite direction until the probe (or LED) goes active. Divide that axis value by two and move back to that position. Now touch off again to set the axis to 0. You are now in the middle. It's probably possible with a fancy G-Code macro. A number of different projects I've done have been set up that way. Find the center of the object which is also where I've set the center in the CAM software. Rather than top left or bottom left corner of something that has been milled away. But I'm an amateur and probably do things the hard way. Often... John > -----Original Message----- > From: R C [mailto:[email protected]] > Sent: July-11-21 10:00 PM > To: [email protected] > Subject: Re: [Emc-users] 'automatically' go halfway between 2 points > > > On 7/11/21 10:47 PM, John Dammeyer wrote: > > I still have my Shumatech DRO on my mill. I touch one side and zero the > > axis. I then move across and jog until the LED goes on. > Then FCN 1 and the axis letter button. At that point the axis changes to > minus halfway between where I just touched off and the > original 0 point. > > > > I move to make the DRO show 0 and then touch off that axis on the AXIS > > screen. Now I have the center point between the two > edges. Since the LED indicator probe is 0.2" diameter the distance to the > center doesn't matter. Only if I am trying to find the edge > and the Shumatech can be told the diameter of the probe. > > > > Certainly there must be an easy way to do this with LCNC? The Shumatech > > software has been around for at least 13 years. > > > Oops,�� I didn't see this last line...�� I think so,��� either some > added functionality in the DRO� (that is where I was looking around),� > or else a plugin.�� it's probably not that hard,� if I knew how to write > a plugin for LCNC > > > > John > > > > > >> -----Original Message----- > >> From: R C [mailto:[email protected]] > >> Sent: July-11-21 9:29 PM > >> To: linuxcnc-users-list > >> Subject: [Emc-users] 'automatically' go halfway between 2 points > >> > >> Hello, > >> > >> > >> in linuxcnc,? is there an easy/automated way to get halfway between two > >> points??? (Fort example, you'd touch off somewhere, move to some > >> coordinate (x, y)? (or even (x, y, z)) and go inbetween right to the the > >> middle of where you touched off and where the spindle is now? > >> > >> > >> thanks, > >> > >> > >> Ron > >> > >> > >> > >> _______________________________________________ > >> Emc-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > _______________________________________________ > > Emc-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
