Page 1 of 1

Remapping button after 5.1 > 5.3 upgrade

Posted: Tue Mar 11, 2025 6:46 pm
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

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Tue Mar 11, 2025 8:05 pm
by cncian
There is a small error in the VCP User's Manual. The opening <vcp_button> tag should close with </vcp_button>.

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Tue Mar 11, 2025 9:07 pm
by Blades
Thanks for that cncian, I shall give that a try!

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Wed Mar 12, 2025 10:56 am
by CentroidFrog
Cncian is correct, the closing tag should be </vcp_button>.
Thanks for finding this, I've marked this down to be fixed!

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Wed Mar 12, 2025 3:05 pm
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

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Wed Mar 12, 2025 5:02 pm
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.

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Wed Mar 12, 2025 5:29 pm
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.

Re: Remapping button after 5.1 > 5.3 upgrade

Posted: Wed Mar 12, 2025 8:07 pm
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.