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

More
30 Oct 2021 00:55 #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 or Create an account to join the conversation.

More
04 Nov 2021 22:33 #225286 by andypugh
Which documentation are you following?

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

More
More
05 Nov 2021 15:17 #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 or Create an account to join the conversation.

More
06 Nov 2021 14:00 #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 or Create an account to join the conversation.

More
08 Nov 2021 00:01 #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 or Create an account to join the conversation.

More
08 Nov 2021 13:36 #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 or Create an account to join the conversation.

More
08 Nov 2021 13:42 #225688 by andypugh
Just attach the INI and HAL files as-is, unzipping is an extra step.

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

More
08 Nov 2021 16:53 #225703 by trainwreck
Here are the files. I realized that I was mistaken, I'm actually on 2.8.0 not 2.8.1. 

File Attachment:

File Name: custom_postgui.hal
File Size:1 KB

File Attachment:

File Name: NotoriousCNC.hal
File Size:14 KB

File Attachment:

File Name: NotoriousCNC.ini
File Size:6 KB
Attachments:

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

More
09 Nov 2021 23:41 #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 or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.664 seconds
Powered by Kunena Forum