Work with probe

More
11 years 4 months ago #60216 by mariusl
Replied by mariusl on topic Work with probe
I am trying to probe an inside circle but the initial travel is not enough. Which of the parameters must be set to enable me to probe a larger hole? I think it is the length of the edge but I am not sure.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #60220 by BigJohnT
Replied by BigJohnT on topic Work with probe
It's best to be sure and understand...

linuxcnc.org/docs/html/gcode/gcode.html#sec:G38-probe

JT

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #60228 by spangledboy
Replied by spangledboy on topic Work with probe
Thanks for creating this screen - it finally gave me the motivation to connect up my probe and get this useful feature working.

I do however have a few suggestions which might be useful for those of us that use touch screens:

1) The spin buttons are really small for use on a tough screen - if they were larger they'd be much less frustrating to use and there seems to be plenty of room on the screen for the change.

2) If you can find a way to make the on screen keyboard available on this tab it would probably be even more useful than larger spin buttons.

3) It would be great if probing settings could be saved and retrieved - typically the different types of probing require quite different values for probe distance etc and if you have to change between two different types of probing often then it would be useful to bring up some frequently used presets.

Many thanks for your hard work on this!

Ben
The following user(s) said Thank You: verser

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago - 11 years 4 months ago #60232 by lerman
Replied by lerman on topic Work with probe
After crashing my probe because the routines do some moves that are not guarded against contact, I started to write my own routines.


Here are some of what I want in such routines:
1 -- Must be safe in the sense that every move terminates when the probe makes contact.
2 -- My mode of operation is interactive. I don't need the probe routine to go down to the center of a hole before determining its diameter. I will position the probe in the desired location (I just bought an MPG) and then run the find center routine.
3 -- When it makes sense, (such as finding the center of something) the routine should leave the probe at the center. It doesn't make sense (at least to me) to position the probe at an edge because we need to know how far to raise the probe before positioning. In cases like that, find the edge, but remember the found value and return the probe to the starting point. Then manually move the probe to a safe location and give another command to move to remembered place.
4 -- When positioning to the center of a block, I want to use the same procedure as if I had just a DRO and edge finder.
A -- Jog to the side of an edge. Find the edge.
B -- Zero the DRO (selecting which coordinate system should be zeroed - P0, P1, ...)
C -- Jog to the side of the opposite edge. Find the edge.
D -- Store half the difference between the value in the coordinate system and the current value to that coordinate system.
E -- Go to that location. -- Or, since it has been saved in a coordinate system, do something else and go there later.
5 -- I'd also like the ability to find the top center of a horizontal cylinder. I've written a gcode routine to find the center and diameter of a circle given three points on it. It still needs some cleanup to make it more general, but it seems to work.
6 -- I'd like it to integrate with the buttons on my MPG. The axis selection knob together with the zero and half buttons should be useful for doing the procedure in #4.
7 -- It should (my current draft does) have an init routine that sets the relevant parameters (they are global named parameters) -- probe diameter, search distance, ... There is no reason why specific init routines couldn't be written for each important case.
8 -- Rather than diddle little screws on the bottom of my probe to get it centered perfectly, I've chosen to just calibrate the probe by measuring its offset. One way of doing that is to put a pin in a collet and use that to zero a ring. Then measure the center of the ring and record the offset. Save the offset and add (or subtract it) from every reading.

Comments, suggestions, etc are solicited. Should this be moved to a separate thread?

Thanks,

Ken
Last edit: 11 years 4 months ago by lerman. Reason: Fix typo.

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago - 11 years 4 months ago #60245 by verser
Replied by verser on topic Work with probe

spangledboy wrote: I do however have a few suggestions which might be useful for those of us that use touch screens...

Thanks, Ben, for interesting suggestions. I will try add something of this as far as possible .
Last edit: 11 years 4 months ago by verser.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #60463 by ruffle
Replied by ruffle on topic Work with probe
Very nice.

One slight issue (Linuxcnc 2.7-pre6); if you change the values in the control boxes by typing in numbers instead of clicking on the up/down arrows, the new values don't get saved in the <machinename>.pref file.

They might not even take effect when directly typed in but I'm not sure on that and not in front of a machine at the moment to check.

Please Log in or Create an account to join the conversation.

Time to create page: 3.936 seconds
Powered by Kunena Forum