Hello Guest it is January 22, 2020, 06:12:57 PM

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

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  1,451 1,451
    • 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 it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
Re: Probing - what would i need?
« Reply #51 on: April 11, 2018, 02:01:29 PM »
OK, great, will have a go tomorrow hopefully
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
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
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,451 1,451
    • 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 it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
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.....
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,451 1,451
    • 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 it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
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???
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
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
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
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.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline olf20

*
  •  318 318
    • 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