New Tool can't be added

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

New Tool can't be added

Postby krsykes23 » Mon Feb 17, 2025 5:49 pm

Hi all.

I'm confused as to why I can't change the Tool Number in the DRO (897). I have an 8 position ATC which is working fine and shown below is the M6...

M6.txt
(4.34 KiB) Downloaded 56 times


I'm trying to change the tool number to 9 but it just keeps the current tool number. No doubt a rookie error, but if someone can help out, that would be great.

Thanks in advance
Keith
Keith

Cambridgeshire - UK
krsykes23
 
Posts: 51
Joined: Wed Apr 27, 2022 9:29 am

Re: New Tool can't be added

Postby cncdrive » Mon Feb 17, 2025 5:52 pm

Hi,

You can write the new tool number into the 2652 DRO and then you can call the Change tool button code which is the 783.
cncdrive
Site Admin
 
Posts: 5054
Joined: Tue Aug 12, 2014 11:17 pm

Re: New Tool can't be added

Postby krsykes23 » Mon Feb 17, 2025 6:53 pm

Thanks for the prompt reply.

However, I'm still confused (Rookie). Firstly....why doesn't the existing field (897) accept tool 9, when it accepts 1 to 8?

I tried adding what you suggested but 783 still doesn't accept tool 9. Plus, I don't want to actually change the tool. In the past, I could set the Tool DRO (897) to another number (Tool 14 for example), put the tool in the spindle, but not run the macro. The DRO would then accept it. So, the cause must be in the M6 macro??
Keith

Cambridgeshire - UK
krsykes23
 
Posts: 51
Joined: Wed Apr 27, 2022 9:29 am

Re: New Tool can't be added

Postby ger21 » Mon Feb 17, 2025 6:59 pm

Fields can have a minimum and maximum value set for them, and you can change it with the screen editor.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2745
Joined: Sat Sep 03, 2016 2:17 am

Re: New Tool can't be added

Postby krsykes23 » Mon Feb 17, 2025 7:05 pm

Thanks Gerry, just what I was after. I didn't realise that they had a min/max value....but I do now!
Keith

Cambridgeshire - UK
krsykes23
 
Posts: 51
Joined: Wed Apr 27, 2022 9:29 am


Return to Macros

Who is online

Users browsing this forum: No registered users and 8 guests