Mesa 7I96 + Renishaw LP2 probe

More
04 Feb 2021 17:54 #197667 by BastianMC
Hi Andy, sorry for my weak description.

What i mean is that the code im using for the tool change adds offset values to the tool.tlb file and i suspect this might have something to do with the instability of my probing rutine.
The rutine im using is the one im linking to here:

forum.linuxcnc.org/10-advanced-configura...fEUjqsZnzBqyus#48235

Im by no means an expert in linuxcnc so forgive me if im using some wrong terms here.
The inconsistency of the probing offset makes the probing useless imo, this would really need some attention.

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

More
04 Feb 2021 18:47 #197669 by andypugh
That routine seems to use G43.1 and some calculations. That seems like the wrong way to do it, to me.

Though, version that is actually distributed with LinuxCNC uses G43.1 too:
github.com/LinuxCNC/linuxcnc/blob/master...es/manual_change.ngc

(Note that that one also relies on a number of INI file entries to work out which pins to use, and a custom GUI panel, so might not be the ideal example to copy)

There is certainly a lot to be said for having a proper spindle with pre-set tools.

But both these routines store the newly-measured offset in the tool table. But only for Z (I can't remember if you are working with a lathe or a mill)
The following user(s) said Thank You: chimeno

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

More
04 Feb 2021 19:02 #197670 by BastianMC
Im working with a mill Andy.
I see they store the info in the tool.tlb maybe thats not the problem. Is there anything else i can do to troubleshoot the inconsistency or some other probing routine i can use?

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

More
06 Feb 2021 22:26 #197879 by andypugh
I can only guess how it is all meant to work by looking at the G-code.

I am wondering if perhaps you are using a machine that doesn't home repeatably? Do you by any chance use homing to set the workpiece zero, rather than home switches?
The following user(s) said Thank You: BastianMC

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

More
25 Feb 2021 12:53 #200091 by BastianMC
Hi Andy,

I use home to home the machine and then use the touch off settings to define my work coordinates. I only home once when I start the machine first time of the day.

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

More
25 Feb 2021 13:04 #200092 by andypugh
OK, then storing offsets in the tool table should be correct.

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

More
25 Feb 2021 13:10 #200093 by andypugh
It looks like G10 L11 is intended for this use-case.
linuxcnc.org/docs/2.8/html/gcode/g-code.html#gcode:g10-l1

Though I was actually looking for a G10 variant which set the tool length and position in the machine coordinate system, as I think that generally tool-length probing is done with G93 moves.
The following user(s) said Thank You: BastianMC

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

Moderators: cncbasher
Time to create page: 0.078 seconds
Powered by Kunena Forum