Tool lenght offset doesn't update with M6 command

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
Pweely
Posts: 3
Joined: Fri Oct 04, 2024 12:30 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1216100316
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Tool lenght offset doesn't update with M6 command

Post by Pweely »

Hello, I am having an issue where the control doesn't update the H value of the new tool when given an m6 command. The weird thing is that it works fine when using the ATC/F7 soft button in the setup page. This is an MPU11 board with cnc12 v4.14 and I have attached a current report.
Thanks in advance
Attachments
report_1216100316_2024-10-04_10-35-48.zip
(365.17 KiB) Downloaded 8 times


cncsnw
Posts: 4185
Joined: Wed Mar 24, 2010 5:48 pm

Re: Tool lenght offset doesn't update with M6 command

Post by cncsnw »

You need to program a G43 and an H code after the M6.

M6 just changes tools; it does not do anything with offsets.


Pweely
Posts: 3
Joined: Fri Oct 04, 2024 12:30 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1216100316
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool lenght offset doesn't update with M6 command

Post by Pweely »

It used to work correctly before our hard drive crashed, all of the code comes from our cam software. The software doesn't put anything in the code other than T# M6.


cncsnw
Posts: 4185
Joined: Wed Mar 24, 2010 5:48 pm

Re: Tool lenght offset doesn't update with M6 command

Post by cncsnw »

Maybe you were using a custom M6 macro, to which someone had added a G43 and H command.


Pweely
Posts: 3
Joined: Fri Oct 04, 2024 12:30 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1216100316
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool lenght offset doesn't update with M6 command

Post by Pweely »

I am still using the same macro, it doesn't have g43 or anything for the H value in it. I do have g43 in my post but there is nothing telling the machine which H value to load. This problem is new since we had to reload the control software after the crash. Previously i could just use mdi to change tools and the H value would change with the tool.


Centroid188
Posts: 33
Joined: Thu Aug 10, 2017 1:55 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Tool lenght offset doesn't update with M6 command

Post by Centroid188 »

As the tool Length compensation "H" is independent of the tool number "T" A G43 must H command must be issued when I tool change is made.
You either had a custom Macro handling this or your G-Code program had to call our the H command, not just the Tool number. This the way the Centroid control has always worked.


Post Reply