On 3/7/24 21:28, gene heskett wrote:
Greetings all;

one of the problems I am having when using a reasonable speed to search for the edge of a hole is that it does not stop fast enough on first contact, and leaves the probe touching the side of the hole as it spins often enough I get a probe tripped on the next move which recenters the probe so it can find the next side of the hole. Since the move in all cases is one to open the probe contact, which a .1mm move will do, is there a way to make it ignore such a false trigger during the first few milliseconds of the back to center move? Like disabling the probe input when its not a z move after a g38.2 probe move?

Does anybody have a hal solution for what is really a false trigger?
Perhaps firing a 10 millisecond disable it timer with the probe trigger?  That should give it time to record the #5061-#5063 data and start the clearing move.

So I looked at my .hal file, saw what I put in there years ago for that & halscoped what I had for that while running the code you have but with the xy search speed reduced to 2 so I was watching too old paint drying.

Worked but halscope showed the 2nd deeper pass was not adequately being recentered leaving a hugely noisy probe signal for pass 2. Also this code ran nearly three times. Since hole_finder calculated new #100 & #101's, I copy pasted hole_finder to hole_finder2 and replaced the guess for x & y center with the previously found #100 and #101. I'm about to go test that version. But I will go see if this version will run twice. And it did, 3 times, sucessfully finding the 3mm hole on the second pass with hole_finder2. I think I'm about ready to change the probe for a 3mm mill and drill some holes. Later today maybe.

Thanks for looking at how the old farts brain doesn't work as well as it did 50 years ago. I appreciate it. I still think something in the error code processing is blowing the stack, getting rid of the call within a call seems to have helped, as did slowing the search speed to 10% of the former version. now it never gets more than one call deep.

Thanks a bunch everyone, take care & stay well.

Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to