"No tool measurement! Please take care of the entry in the tool table."

More
5 years 1 day ago #224684 by trainwreck
Hello,
I'm trying to set up tool measurement probing, and I'm certain I'm just doing something dumb and don't know enough to google the right thing. I have followed all the setup steps in the documentation, and everything seems to work fine. When I try to do a tool change now, though, I get the error message in the post title.

I have never used the tool table before now, but I tried adding entries in all of the available boxes (tool number, slot number, x, y, z, diameter, and notes) and I continue to receive the error. What am I missing?

Please Log in to join the conversation.

More
4 years 11 months ago #225286 by andypugh
Which documentation are you following?

Please Log in to join the conversation.

More
4 years 11 months ago #225293 by trainwreck

Please Log in to join the conversation.

More
4 years 11 months ago #225402 by andypugh
The error report is generated here:
github.com/LinuxCNC/linuxcnc/blob/master...ython/stdglue.py#L91
So the return value must have been 3 from here:
github.com/LinuxCNC/linuxcnc/blob/master...acros/change.ngc#L29
Which indicates that there is a HAL pin missing which the g-code routine is expecting to find.
Can you see that HAL pin when the system is loaded?

Please Log in to join the conversation.

More
4 years 11 months ago #225502 by trainwreck
I do see all the hal pins from section 4.2.6.1 in the hal meter. All of those pins seem to not be defined though, as they are all 0 or false even when trying to do a tool change. Is there some setting I am missing that will enable all of the pins?

Please Log in to join the conversation.

More
4 years 11 months ago #225604 by andypugh
The code (which is raising the error message) will read the pins directly (ie without a net) so initially I would not be too concerned about the values.

Which version of LinuxCNC are you using? It has just occurred to me that you might need to enable G-code access to HAL pins.

In 2.8 (and the development version) there is an INI entry "HAL_PIN_VARS" that defaults to set:
linuxcnc.org/docs/2.8/html/config/ini-co...l#gcode:ini-features

But in 2.7 it was necessary to enable it:
linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration

Please Log in to join the conversation.

More
4 years 11 months ago #225685 by trainwreck
I am using 2.8.1. Would it be helpful for me to upload a zip of my config? I feel like it must be some very stupid small thing I have missed in doing the setup (although I have gone over the instructions very carefully more than once at this point).

Please Log in to join the conversation.

More
4 years 11 months ago #225688 by andypugh
Just attach the INI and HAL files as-is, unzipping is an extra step.

Please Log in to join the conversation.

More
4 years 11 months ago #225703 by trainwreck
Here are the files. I realized that I was mistaken, I'm actually on 2.8.0 not 2.8.1. 

Attachment not found


Attachment not found


Attachment not found

Please Log in to join the conversation.

More
4 years 11 months ago #225898 by andypugh
I don't think that this is the problem, but you have [RS274NGC]FEATURES = 12 which was the 2.7 way to do it.
It is just possible that there are unexpected side-effects, try, instead:

INI_VARS = 1
HAL_PIN_VARS = 1

Please Log in to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum