Hello Guest it is March 28, 2024, 09:51:37 PM

Author Topic: Probing - what would i need?  (Read 12270 times)

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Probing - what would i need?
« Reply #50 on: April 11, 2018, 01:08:24 PM »
just in case, that was the modes witch where active during the test
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probing - what would i need?
« Reply #51 on: April 11, 2018, 02:01:29 PM »
OK, great, will have a go tomorrow hopefully

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probing - what would i need?
« Reply #52 on: April 11, 2018, 03:12:31 PM »
Some progress...

I have tried padding out the code with waits, just in case. Couldn't wait so i popped out and fired her up, no change :)

The macro i am testing is a more complex probe tip calibration ring thing so more chance to spot a pattern in the mess-ups. After staring at the code and the sequence of what happens I noticed this....


It would do the fast probe perfect, then step back, then do the slow probe and from then on it was pants - total mess :(

Now, when writing it I foolhardily presumed that as I was switching from +travel to -travel it would NOT need a step-back move - WRONG - it seems you MUST step back before issuing another PROBE call - my guess is that as the previous call ends, the probe is left touching the surface and as soon as the new call goes in, it activates the probe first, sees the existing contact and thinks “job done” without moving, from then on it just gets worse.

I added a step back after EVERY probe call and it works!

So, I thought I was on the home run, went to close Mach3 - I always press reset first before closing, so pressed it and Mach3 just bombed out back to windows. :(

two steps forwards, one back

at least part of it is positive i guess

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Probing - what would i need?
« Reply #53 on: April 12, 2018, 02:09:07 AM »
to make sure that the probe Input is off before calling a new probe, is fundamental Basic i think.

during all my testing for the probe routines i also recognized, that
if you interrrupt a probe call during execution it is allways the best
way to shut down Mach and CSlab and restart. i had some realy
strange things going on without doing this.

i know it is a bug, but if you know how to handle it, it is ok for me,
because when all the routines are tested out, it will happen only
very lest times.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probing - what would i need?
« Reply #54 on: April 12, 2018, 02:06:24 PM »
Some good news at last - with the macro tweaked for correct step-back after a probe, and soft limits off, it ran perfectly tonight !

I have as a sacrificial probe a bit of TIG wire in collet, its about 2mm dia, and i'm using a live “ring” to do a calibration routine - this was the macro that worked tonight and the screen result it came up with was a probe offset of 0.9698mm - i think that is pretty amazing for a 3” long stick of TIG wire :)

I will do more tests before committing my real probe but this is very promising, and using the M31 coding.

I did get a reply from CSL re the soft limits thing and he admitted to never hearing of it before so i think that one is going nowhere fast :( It does seem very odd that there is any connection between probing and soft limits but.....

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Probing - what would i need?
« Reply #55 on: April 12, 2018, 02:19:22 PM »
i will also Trigger CS about the soft Limit Thing, maybe ...
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probing - what would i need?
« Reply #56 on: April 12, 2018, 03:15:13 PM »
Just a quickie...

Currently using a N/o probe - just the usual touch plate and grounded tool, if i change to a N/c probe (internal switch) is it as simple as just flipping on the "active low" setting in ports & pins???

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probing - what would i need?
« Reply #57 on: April 14, 2018, 11:44:34 AM »
Getting there now, got most of my probe macros written and tested.

Short video of outside cylinder centre probing...

https://youtu.be/Yo7H4vkqEGI


And yes, changing from N/o to N/c probe style was just a matter of flipping the active low setting. N/c is far better as you can check for missing or broken probes/wires etc

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probing - what would i need?
« Reply #58 on: April 15, 2018, 06:57:43 AM »
Ok, step back time....

Been very unstable this morning -

Scripter compile errors just trying to unload a wizard, seem to have fixed that by editing the button script and adding a return or two after the call.

Mach bombing out when loading a wizard - cant seem to fix this at all, totally random, very annoying as it means a re-boot each time.

Losing the faith once more :(


If its the wizard doing it, how would i combine the wizard screen into the main screen as a page?

Its taken a couple of weeks and many hours lost to get this far I'm not giving up yet.

Offline olf20

*
  •  325 325
    • View Profile
Re: Probing - what would i need?
« Reply #59 on: April 15, 2018, 08:18:03 AM »
I know your frustration just not on your scale.
I'm working on a x y probe homing script and it
works fine when I step thru it in the editor
but fails randomly when run from the
screen button.
Keep at you will get there if Mach3 is
capable.
I enjoy your projects!
olf20 / Bob
Mach3, Atlas Knee Mill, 4th Axis, VcarvePro, ESS, Super PID.
Been Heating with corn since 1998