Gmocappy- no z tool offset displayed

More
04 Aug 2017 10:11 #96997 by chrisfairbrother
I have changed from axis to gmocappy, and I am very impressed. The only problem is the z tool offset is always displayed as zero. If I apply a z tool length in the tool table, my cnc machine works correctly using the tool length, but the display is always zero (see pics). Linuxcnc 2.7.11 Gmocappy 1.5.8
many thanks
Attachments:

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

More
04 Aug 2017 21:21 #97011 by newbynobi
Have you connected the corresponding hal pn in your postgui.hal file?
Have you issued a G43 after the tool change?

Norbert

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

More
05 Aug 2017 08:59 #97021 by chrisfairbrother
Hi Norbert, Yes I have issued a G43 after the tool change. It must be the hal pin I am missing. I will check later today.
It's strange that the tool length is working, but not being displayed.
many thanks
Chris

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

More
05 Aug 2017 15:36 #97040 by chrisfairbrother
All working now. I was missing
"net tooloffset-z gmoccapy.tooloffset-z <= motion.tooloffset.z"
it was obvious once i looked at my hal file. I had removed some lines when I changed from axis to gmoccapy.
For your interest; I have gmoccapy running with:
Hyuanyang vfd using rs285
Xhc-Hb04 wireless hand control
Nativecam in an embedded tab
Andonstar usb microscope in an embedded tab
Thanks for your help Norbert.

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

More
08 Aug 2017 15:26 #97181 by andypugh

Have you connected the corresponding hal pn in your postgui.hal file?
Have you issued a G43 after the tool change?t


Out of curiosity, why are you using a HAL pin rather than polling linuxcnc.stat.tool_offset ?

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

More
09 Aug 2017 16:29 #97243 by chrisfairbrother
Hi Andy, I had an old config for gmoccappy that I modified to suit my current setup when i changed from axis. I had 'remmed' out the HAL pin seen above. Should I change it to linuxcnc.stat.tool_offset ? I will follow your expert knowledge.
I have been involved with CAD/CAM for many years, but I have only been using Linuxcnc for 18 months.
Many thanks

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

More
09 Aug 2017 16:55 #97246 by andypugh

Should I change it to linuxcnc.stat.tool_offset ?


Absolutely not, that was a question for Norbert.

The stat object is only visible inside the software, not in the HAL layer.

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

More
09 Aug 2017 20:07 #97259 by newbynobi
Andy, that is a good question, i do not know out of my confused brain, why i did that the way i did it. I will check on your proposal, as the internal use would it make easier for most users.

But i am very short on time at the moment, i should not have taken my new job:-)

Norbert

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

More
09 Aug 2017 20:35 #97261 by andypugh
I did wonder if stat() returns lookahead values. That would explain the decision.

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

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