I have a question regarding VCP Buttons.
I have noticed that a couple of the buttons I want to use have the same skin event number.
For example, "set_x_0" and "Aux1" both share "skin event number 3"
My question is: Is this going to create a conflict if I use both of these buttons on my VCP? I noticed one has PLC logic and one does not.
I also noticed that the PLC code says that the number of total Skin Event Numbers is 225 but only about 120 or so are assigned.
I have created a few new buttons of my own and have saved them to the buttons folder but they are missing the XML text as they do not have an assigned skin event number. Can I add some to the PLC code and then create an XML file to add to my custom button?
Skin Event Numbers
Moderator: cnckeith
-
- Posts: 6
- Joined: Sat Dec 29, 2018 6:45 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Skin Event Numbers
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 438
- Joined: Wed Jan 23, 2019 4:19 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5B92C3A-0213236854
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Skin Event Numbers
Since I found out you can now skip the skin event numbers, I have the buttons directly run macro's in the system folder.
You still have to modify the skin folder, but in the button file instead of a skin, you can directly have it run a named folder.
Me keeping up with which skin called what number macro, and what number macro was for what purpose was a pain.
The only trouble with direct to the system folder option is they do not get copied into the report, so you have to keep a backup of them along with a report.
Two macro's with the same skin event will be trouble if you decide to stay with that approach.
The section below shows how to run a "macro" directly from the vcp button, but it has to be a .cnc file and not a .mac file. All of the names have to match also. This is from the button folder and what you would use instead of the skin #
<vcp_button>
<run>
<macro>c:\cncm\system\perform_tool_change.cnc</macro>
</run>
</vcp_button>
You still have to modify the skin folder, but in the button file instead of a skin, you can directly have it run a named folder.
Me keeping up with which skin called what number macro, and what number macro was for what purpose was a pain.
The only trouble with direct to the system folder option is they do not get copied into the report, so you have to keep a backup of them along with a report.
Two macro's with the same skin event will be trouble if you decide to stay with that approach.
The section below shows how to run a "macro" directly from the vcp button, but it has to be a .cnc file and not a .mac file. All of the names have to match also. This is from the button folder and what you would use instead of the skin #
<vcp_button>
<run>
<macro>c:\cncm\system\perform_tool_change.cnc</macro>
</run>
</vcp_button>
Ken
1 user liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8227
- Joined: Wed Mar 03, 2010 4:23 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
- Contact:
Re: Skin Event Numbers
vcp manual covers this with examples as well.
https://www.centroidcnc.com/centroid_di ... manual.pdf
https://www.centroidcnc.com/centroid_di ... manual.pdf
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
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 143
- Joined: Fri Jan 13, 2023 8:50 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Hopewell NJ
- Contact:
Re: Skin Event Numbers
This is a great improvement. It makes things so much easier.Ken Rychlik wrote: ↑Thu Aug 15, 2024 9:09 am Since I found out you can now skip the skin event numbers, I have the buttons directly run macro's in the system folder.
You still have to modify the skin folder, but in the button file instead of a skin, you can directly have it run a named folder.
Me keeping up with which skin called what number macro, and what number macro was for what purpose was a pain.
Any reason I can't convert all my custom macros over (I think not)? I suspect there are some specific mfuncs that can't be converted over? Is there a list of these?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 438
- Joined: Wed Jan 23, 2019 4:19 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5B92C3A-0213236854
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Skin Event Numbers
Most any of them can be moved there. Just a that a normal restore report won't put them back in, so be aware of that. There are two system folders in the report.
Ken
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 143
- Joined: Fri Jan 13, 2023 8:50 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Hopewell NJ
- Contact:
Re: Skin Event Numbers
Thank you, Ken. Since I use scripts (thanks ShawnM!) to facilitate the upgrades, I'll just make another to handle the system folders. I'll use that to restore those macros.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 2648
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: Skin Event Numbers
I'm still working on my new script file Scott for 5.2 to grab all the needed info for a new CNC12 software install. As you know many things have been moved around and changed for 5.2 so there are many changes to my current script file for 5.1 and earlier.
For now, put all your custom macros in the C:\cncm\system folder (like 5.2 already does) and call them from there in the button xml file. If you keep them all in this folder they'll be picked up when you create a report so you dont have to worry about losing them.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8227
- Joined: Wed Mar 03, 2010 4:23 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
- Contact:
Re: Skin Event Numbers
yeah don't use restore report from old version on a new version of cnc12 unless you want to copy over all the old cnc12 parameters that will break the new version.
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
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)