Tool change not updating system parameter? < needs initialized>

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
LinkCNC
Posts: 30
Joined: Thu May 20, 2021 9:57 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Qld, Australia

Tool change not updating system parameter? < needs initialized>

Post by LinkCNC »

I have a custom M6 macro that for the most part works, well sort of.
With T1 in the spindle, a T2 request results in a perfectly executed unloading of T1 and loading of T2 into the spindle.
Once the macro is complete, CNC 12 displays T2 H1 at the top of the screen.

Now with T2 in the spindle, a T1 request results in CNC12 updating the display to read T1 H1 but no physical tool change occurs.
This leads me to think that my macro is missing something and #9976 is not being updated after a tool change.

If anyone has any thoughts on what I might be missing...

Thanks

Reported Generated: Wed Dec 18 15:02:44 2024
MPU12 serial number: 0035FF62198D-0505214745
License: ACORN ROUTER PRO
Version: CNC12 Acorn Router v5.20
Attachments
icam_report_0035FF62198D-0505214745_2024-12-18_15-02-43.zip
(693.85 KiB) Downloaded 6 times


cnckeith
Site Admin
Posts: 9047
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Tool change not updating system parameter?

Post by cnckeith »

the H value is separate from the T value you have to set both. just changing to T2 doesn't mean that CNC12 is going to use H2.
H120 can be used with T2 or T56 or T87 etc..
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63

Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


LinkCNC
Posts: 30
Joined: Thu May 20, 2021 9:57 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Qld, Australia

Re: Tool change not updating system parameter?

Post by LinkCNC »

Yes, the Height offset would typically be called in the G code job file.

The issue I'm experiencing is to do with the CNC "thinking" that T1 is in the spindle regardless of which tool it has just picked up.
Even though CNC12 shows the correct T# at the top of the screen.

When I first initialised the ATC feature T1 was in the spindle as per the instructions. I assume at this point #9976 is set to 1.
In the M6 macro #9976 (current tool) is compared to #4120 (requested tool) and if they are different the macro progresses.
What should happen, but doesn't appear to in my situation, is that #9976 is set to #4120 once the change is complete.

With #9976 always set to 1, a T1 request will always result in no physical action. And any other T# request will result in the CNC trying put away T1 regardless on the tool # in the spindle.

Hopefully this explains my issue better.

Thanks


Gary Campbell
Posts: 2361
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Bergland, MI, USA
Contact:

Re: Tool change not updating system parameter?

Post by Gary Campbell »

The system variable #150 must be updated (written) to reflect the current tool in the spindle
GCnC Control
CNC Control & Retrofits
CNC Depot Modular ATC kits
https://www.youtube.com/user/Islaww1/videos


LinkCNC
Posts: 30
Joined: Thu May 20, 2021 9:57 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Qld, Australia

Re: Tool change not updating system parameter?

Post by LinkCNC »

Yep I just discovered that also... re-initializing the ATC has resolved the issue.

Thanks Gary


Post Reply