How to setup a Tool release or Tool UnClamp button in VCP?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

TSHcnc
Posts: 9
Joined: Fri Nov 29, 2019 11:46 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADE6D8-1030192600
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

How to setup a Tool release or Tool UnClamp button in VCP?

Post by TSHcnc »

Hi,

I have a 4 axis mill that I completely designed and built from scratch, I'm at the stage where I am doing bench testing of all the electronics before it goes on the machine.
What would be the right setup to get a button in VCP that releases the tool from the spindle?
Here are the steps I did in my attempt to do this:
1- Assign OUTPUT#4 (relay #4) on the acorn wizard to be “UnclampTool”
2- Copied the Aux 13 button folder, renamed folder and files in it to ToolUnclamp then I edited the xml file for the button to have Skin Event #205 and LED output #1120 as stated on the outputs list on page 20 of the VCP manual
3- Edited the VCP skin file to have the right button name for location of aux 13
4- Assigned macro “mfunc15.mac” to Auxiliary key 13 (Pages # 43 & 48 states that this macro is to be used for unclamping tool operation)

This did not work, the solenoid does not get energized when clicking the button. Any idea where to check or what to do?

I just noticed that vcp manual page#43 lists the wizard outputs as UnclampTool which is spelled different from what Page 20 has (ToolUnclamp Vs UnclampTool). I might have been caught by this (step 1 and 2 above have different spelling).

I did very similar process for adding a button to activate an electric lubrication pump and it worked as intended, so I guess I have a good understanding of this process of adding buttons and editing macros to control external devices.

Any help from the Centroid champions will be highly appreciated.

Thanks
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by suntravel »

pls post a fresh report so we can see your settings.

Uwe
tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by tblough »

You can also refer to this list with function descriptions:

https://www.centroidcnc.com/centroid_di ... ctions.pdf
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
TSHcnc
Posts: 9
Joined: Fri Nov 29, 2019 11:46 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADE6D8-1030192600
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by TSHcnc »

I did not have access to my machine last night from where I was posting, I knew the report would be needed at some point, anyway, here it is.
TSHcnc
Posts: 9
Joined: Fri Nov 29, 2019 11:46 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADE6D8-1030192600
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by TSHcnc »

Tom, the list you sent seems to be from an updated version of cnc12 compared to the one in the VCP manual, it has more items listed, however the parameter we are looking for is still showing the same in both sources, here is a combined screenshot where I show the parameter in the VCP manual as well as the PLC output document
output_listings.PNG
tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by tblough »

The list I referenced is from the latest release of Acorn, which, of course you should be using. That list will supersede what is printed in the older VCP Programming manual.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
cnckeith
Posts: 7164
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: How to setup a Tool release or Tool UnClamp button in VCP?

Post by cnckeith »

don't forget to install your Mill Pro license file for ATC functionality.
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
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by suntravel »

And I wonder why it did not work, because report shows installation is correctly.

Did not notice it is the Free Version.

Uwe
TSHcnc
Posts: 9
Joined: Fri Nov 29, 2019 11:46 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADE6D8-1030192600
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by TSHcnc »

cnckeith wrote: Wed Nov 30, 2022 3:28 pm don't forget to install your Mill Pro license file for ATC functionality.
Keith, you are right I am using the free version since I don't own a pro license, I am not planning on having an ATC on this mill so you are saying that these set of variables won't be available for me to use.
so in my case What would be the recommendation then to do this simple operation: " have a button on VCP that energizes one of the 8 relays and I can call it whatever I want in the button graphics without needing to have specific plc output name"
TSHcnc
Posts: 9
Joined: Fri Nov 29, 2019 11:46 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADE6D8-1030192600
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: How to setup a Tool release or Tool UnClamp button in VCP?

Post by TSHcnc »

I am starting to wonder that if no one has come across this yet then how does everyone release the tool? Am I already going on the wrong route?
Post Reply