On Friday 13 August 2021 12:32:17 Feral Engineer wrote: > Here's one for you guys... I think it's petty cool. > > Fanuc and mits offer an option called manual skip. We use it on our > machines for something called w setter and t setter. W setter let's > you call up the work offset page, manually jog into your workpiece and > depending on selected function, will capture a single point, 2 point > center, 3 point center or angular skew. This is all done by contacting > and retracting the probe from the workpiece with the mpg. T setter > works the same way with setting tools. It's a really handy function > for setting up jobs. > > I know that lcnc has an alarm that pops up if you contact your probe > in a manual move, but I'm wondering if there's a way to make manual > skip a thing. Maybe a custom component or possibly a change in source > code, if I knew, I'd be working on developing it by now... I'm trying, > though. I'm just getting into creating object classes in c++ 🥴 > > Any ideas of how to implement such a thing? Basically just need a > check box option to have g38.2 active in manual mode and know which > direction is being moved (x y z). > > That manual move thing got to be a pain in the drain for me since my probe is on the shelf or spindle mounted, and is normally an electrical contact, usually to a piece of pcb materiel. I have a 3/4" teflon rod about 2" long, with a bare piece of romex ground wire that I wrap the end of the wire from the bob around, with a .1 uf capacitor to ground across the circuit, and I run the spindle several hundred rpms when using it. I normally use it for a hole finder, so the spin means its eletrically perfectly centered as the wobbling wire desribes a perfect circle. So I "and" the probe input with the "state" coming from motion such that the probe is only sensitive if a G38.2 or such intentional probe is active. I expect its been all of a decade since I did that, and only remembered it now because you mentioned it.
Because any contact of the wire to ground discharges the capacitor long enough to register in linuxcnc, it doesn't care where it made contact since it takes a finite time to recharge the cap. And it will find the center of a hole in conductive material with a .0002" repeatability. Pretty good for junk box parts. I have also used it as a TLO setter by touching a piece of pcb materiel with the newly changed tool. I just glue it to the work jig. But because the tool is sharp, I run the spindle backwards, I did all the machining to make over 100 tap hats that way, with a minimum of 4 tools used per hat made, and never made a mark on the pcb, using it to find the TLO of the several tools used. It was then just a matter of touching off the newly installed tool, all automatically once the code was written. All I had to do was stand there and change tools as requested by the code. Each of us has our own favorite bag of tricks. Thats 2 of mine. > Phil T. > The Feral Engineer > > Check out my LinuxCNC tutorials, machine builds and other antics at > www.youtube.com/c/theferalengineer > > Help support my channel efforts and coffee addiction: > www.patreon.com/theferalengineer > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
