G43 problem in auto toolchanging

More
28 Oct 2022 14:39 #255298 by raychar
G43 problem in auto toolchanging was created by raychar
hello,
I have the problem of G43. After the probing, tool offset value for the corresponding tool did enter(or edited in)the tool table, the first question is the value, it is not what I expected, the next question is the tool length offset is not implemented in the G43 code execution.
I finished building the toolchanger, but in CNC machining code working, it does the followings:
Here, shown in the two attached pictures, a simple several lines of codes are written for testing. Tools can be auto-changed and the tool length probing are carried out. But neither of them the tool length offset can be implemented:
> in the first picture, it didn't complete all the codes. After proceeded tool changing and probing, the machine stopped during the X Y axis distance moves
> in the second picture, I deleted the lines 13 Z=-12, it completed all codes but no Z tool length offset happened showing in  Z DRO value
(X offset is 22, Y offset is 220)  

Thanks
Attachments:

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

More
29 Oct 2022 22:44 #255413 by andypugh
Replied by andypugh on topic G43 problem in auto toolchanging
Have you reloaded the tool table after editing it?

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

More
30 Oct 2022 08:53 #255426 by raychar
Replied by raychar on topic G43 problem in auto toolchanging
>it did write to it automatically after probing, when I re-open the tool table file, changed value was observed. But, it didn't do any Z tool length offset during running the codes that including the G43 code
>in the first picture, why it always gives warning that line13 Z value exceeds the limit? whatever I change its value, it gives this warning

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

More
30 Oct 2022 17:39 #255467 by raychar
Replied by raychar on topic G43 problem in auto toolchanging
Sorry,  actually there was tool length offset happened, I missed the observation during the program execution. it is because the test program is short, it ends quickly and cancel it automatically at the end of it.

However, the tool length value is wrong, the tool table messed up, the T5 matched with P0, while the T0 matched with P5. I edit it by inputting a new correct value and save it. When I input G43 H5 again in MDI, it doesn't load the new value, it still use the old wrong value. Why the value always goes wrong?
Attachments:

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

  • HansU
  • HansU's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
30 Oct 2022 17:47 #255468 by HansU
Replied by HansU on topic G43 problem in auto toolchanging
You are using a bit out of date Gmoccapy version. Maybe upgrading solves the problem. Current Gmoccapy version of LinuxCNC 2.8.4 is 3.1.3.8.

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

More
30 Oct 2022 19:22 #255477 by andypugh
Replied by andypugh on topic G43 problem in auto toolchanging
What are the actual axis limits? Are you sure that -180mm is the correct tool length?

What happens if you load the tool and apply the offsets with G43, then touch-off the working coordinate system to Z = 0?

Though more importantly, in the screenshots, there is no tool shown al loaded anyway, it looks like the tool change is not being completed.

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

More
31 Oct 2022 13:07 #255570 by raychar
Replied by raychar on topic G43 problem in auto toolchanging

You are using a bit out of date Gmoccapy version. Maybe upgrading solves the problem. Current Gmoccapy version of LinuxCNC 2.8.4 is 3.1.3.8.

My current version is linuxcnc-stretch-uspace-amd64-r13 or i386-r13 (can't remember which one), Does the following newer version is suitable for me to install, i am using Mesa 7i76e card. Do i need to completely delete the old one and install new one in fresh. Oh, it is a big work for me and i am almost a newbie in Linux.
www.linuxcnc.org/iso/linuxcnc-2.8.2-buster.iso

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

  • HansU
  • HansU's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
31 Oct 2022 20:04 #255604 by HansU
Replied by HansU on topic G43 problem in auto toolchanging
Gmoccapy 3.0.9.1 should be already LinuxCNC 2.8, so you can update easily via the Synaptic Package Manager or apt command.
(See also here: linuxcnc.org/docs/2.8/html/getting-start..._setting_apt_sources)

For using apt just type in a shell:
sudo apt update
sudo apt install linuxcnc-uspace
and maybe
sudo apt install linuxcnc-uspace-dev

This should update to the latest version.
 

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

More
07 Nov 2022 10:36 #256123 by raychar
Replied by raychar on topic G43 problem in auto toolchanging
Struggled for a week, i still can't get internet connection both in wireless or in wired one, so i can't get it updating. May be due to my debian version is an old one or my system is dual boot type(windows and linux). There is lack of Linux commands of lshw, ifconfig and files netplan etc
There is wicd network manager, so i did : i) for wireless, it shows my home wireless router signal but the input password can't be accepted. ii) for wired one, I added a new one, choosing DHCP, but still can't connected while the wire network port socket lamp is lit up and flashes.

I think i need to download the file separately, then to have fresh installation instead to use Synaptic Package Manager to update to the latest version

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
07 Nov 2022 11:29 #256130 by tommylight
Replied by tommylight on topic G43 problem in auto toolchanging
Wicd does not allow more than one active connection, so installing "gnome network-manager" and removing wicd is the way to go.
There are several posts on this forum about that, please do a search.
www.google.com/search?q=remove+wicd+inst...org&aqs=heirloom-srp..

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

Time to create page: 0.071 seconds
Powered by Kunena Forum