"No tool measurement! Please take care of the entry in the tool table."
- trainwreck
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 5
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?
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.
04 Nov 2021 22:33 #225286
by andypugh
Replied by andypugh on topic "No tool measurement! Please take care of the entry in the tool table."
Which documentation are you following?
Please Log in or Create an account to join the conversation.
- trainwreck
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 5
04 Nov 2021 22:53 #225293
by trainwreck
Replied by trainwreck on topic "No tool measurement! Please take care of the entry in the tool table."
I followed what is listed here: www.linuxcnc.org/docs/html/gui/gmoccapy....uto-tool-measurement
Please Log in or Create an account to join the conversation.
05 Nov 2021 15:17 #225402
by andypugh
Replied by andypugh on topic "No tool measurement! Please take care of the entry in the tool table."
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?
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.
- trainwreck
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 5
06 Nov 2021 14:00 #225502
by trainwreck
Replied by trainwreck on topic "No tool measurement! Please take care of the entry in the tool table."
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.
08 Nov 2021 00:01 #225604
by andypugh
Replied by andypugh on topic "No tool measurement! Please take care of the entry in the tool table."
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
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.
- trainwreck
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 5
08 Nov 2021 13:36 #225685
by trainwreck
Replied by trainwreck on topic "No tool measurement! Please take care of the entry in the tool table."
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.
08 Nov 2021 13:42 #225688
by andypugh
Replied by andypugh on topic "No tool measurement! Please take care of the entry in the tool table."
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.
- trainwreck
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 5
08 Nov 2021 16:53 #225703
by trainwreck
Replied by trainwreck on topic "No tool measurement! Please take care of the entry in the tool table."
Here are the files. I realized that I was mistaken, I'm actually on 2.8.0 not 2.8.1.
Attachments:
Please Log in or Create an account to join the conversation.
09 Nov 2021 23:41 #225898
by andypugh
Replied by andypugh on topic "No tool measurement! Please take care of the entry in the tool table."
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
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.
Time to create page: 0.081 seconds