Remapping button after 5.1 > 5.3 upgrade

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
Blades
Posts: 43
Joined: Wed Feb 02, 2022 8:56 pm
Acorn CNC Controller: Yes
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: 30E283DF4605-0126225588
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Prescott Valley, AZ
Contact:

Remapping button after 5.1 > 5.3 upgrade

Post by Blades »

I recently upgraded CNC12 from 5.1 to 5.3 and everything seems good except for button mapping of Auto Z to Plate, which previously launched mfunc44.mac. Per the instructions found in the VCP user's manual (top pic) I modified the button's xml file (bottom pic) but I get an error message stating there is a filename or path error.
I know for sure the path and filename are correct, having attempted it like 4 times. I noticed the example from the manual is pointing to a .cnc file and not the .mac filetype. Is this causing the issue?
Screenshot 2025-03-11 153530.png
Screenshot 2025-03-11 154007.png


cncian
Posts: 45
Joined: Thu Mar 05, 2020 1:15 pm
Acorn CNC Controller: Yes
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: A81087B4FFCB-0712192265
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Farmington Hills, MI

Re: Remapping button after 5.1 > 5.3 upgrade

Post by cncian »

There is a small error in the VCP User's Manual. The opening <vcp_button> tag should close with </vcp_button>.


Blades
Posts: 43
Joined: Wed Feb 02, 2022 8:56 pm
Acorn CNC Controller: Yes
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: 30E283DF4605-0126225588
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Prescott Valley, AZ
Contact:

Re: Remapping button after 5.1 > 5.3 upgrade

Post by Blades »

Thanks for that cncian, I shall give that a try!


CentroidFrog
Tech Support
Posts: 165
Joined: Wed Jan 29, 2025 9:39 am
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: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Remapping button after 5.1 > 5.3 upgrade

Post by CentroidFrog »

Cncian is correct, the closing tag should be </vcp_button>.
Thanks for finding this, I've marked this down to be fixed!
Want to post your own question?
Check this out first: http://centroidcncforum.com/viewtopic.php?f=60&t=1043
Acorn CNC tech tips: viewforum.php?f=63


Blades
Posts: 43
Joined: Wed Feb 02, 2022 8:56 pm
Acorn CNC Controller: Yes
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: 30E283DF4605-0126225588
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Prescott Valley, AZ
Contact:

Re: Remapping button after 5.1 > 5.3 upgrade

Post by Blades »

So this sort of worked.. it called up mfunc44.mac but it's also throwing up a notice that it never did in the past. This worked flawlessly before the upgrade, so I'm thinking there's some variable that got changed but I haven't a clue what or where to look. When I just click the run button it brings up the normal tool touch-off box I am expecting, and runs the routine.

I never had this screen before, and I suspect this is part of the issue. This message doesn't make any sense to me. Why would it prompt me to set WCS Z-zero when that's what the macro is going to do? I was never prompted to change tool or set Z zero before. This message box needs to go away.

My mfunc44.mac file is attached for reference. Prior to this in 5.1, mfunc44.mac was called up by skin_event #13, but that no longer works and I'm not sure where to assign skin_event numers at.
Screenshot.png
Attachments
mfunc44.mac
(11.39 KiB) Downloaded 7 times
Last edited by Blades on Thu Mar 13, 2025 7:21 am, edited 1 time in total.


Sword
Posts: 849
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
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: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Remapping button after 5.1 > 5.3 upgrade

Post by Sword »

You may be using a different mfunc44 than you did before, as that is not the default one that was included in 5.10. It looks like one that was used to allow setting tool length with the plate and fixed TT and also saving the offset for consecutive tool changes. Kind of like a M6 tool change macro.

Attached is the default one that you may be used to.
Attachments
mfunc44.mac
(2.05 KiB) Downloaded 6 times
Scott


Blades
Posts: 43
Joined: Wed Feb 02, 2022 8:56 pm
Acorn CNC Controller: Yes
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: 30E283DF4605-0126225588
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Prescott Valley, AZ
Contact:

Re: Remapping button after 5.1 > 5.3 upgrade

Post by Blades »

Hey Scott, actually you hooked me up several months ago with the one that I posted, and it had been working flawlessly under 5.1 That was the one with the 3 options:
1) initial tool measurement with reference measurement
2) subsequent measurement based on previous recorded offset
3) Movable Z plate only

But thank you for posting this, I will give it a try and see what happens.

EDIT: I tried the one you posted, but it was just a simple Z probe with no options for reference measurements.


Sword
Posts: 849
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
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: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Remapping button after 5.1 > 5.3 upgrade

Post by Sword »

I thought it looked familiar. I haven't used that for quite some time, and I think there have been some changes that may make it not work as it used to. It can be fixed though.
Scott


Post Reply