Page 1 of 8

Denford Triac Carousel ATC

Posted: Sun Jun 16, 2024 3:07 pm
by Chaz
Hi,

Doing a retrofit on a friend's Denford. Its got the 6 changer ATC. My previous Triac was 8 changer but ran Mach 3 (spit) so familiar with how that was done.

I've taken a quick look at the outputs and inputs on the Ethernet 1616. I can see some Carousel outputs such as ATCIn, ATCOut. On the Triac there are 4 locations however only 2 need Air Triggers, so that should be fine.

ATCCarouselForward I assume is used to power the motor that turns the Geneva Wheel?

Unclamptool is Drawbar?

Once I get the wiring sorted and input switches monitored, it will be time to code this. Not sure if anyone has working code for a Triac or similar Carousel? It has one proximity sensor that only triggers off tool 1 from memory and then each second of motor power is one movement, Ill need to check again to be sure, its been a while since I did one of these macines.

Thanks.

Re: Denford Triac Carousel ATC

Posted: Tue Jun 18, 2024 4:58 pm
by Chaz
I've tried to use the Wizard but am lost.

Is it possible to define 2 custom inputs? I have 4 'state' locations that the carousel arm can be. In / Out / Up / Down.

The operation is fairly simple.

The geneva wheel has a prox that counts each turn which is 1/2 a step on the wheel. So 2 turns is one tool.

Ive got ATCToolCounter as Input 33 on the Ether1616 (5V). Ive then got ATCCarousellsIn on 37 and ATCCarousellsOut on 38.

Outputs are 33, ATCCarouselIn, 34, ATCCarouselOut, 35, ATCCarouselFWD, 36, ATCCarouselReverse and 37, Unclamptool which I assume is Drawbar?

The logic is as follows (im ignoring spindle stop etc).

Z moves to correct height for tool change.

Carousel moves in, Grabs tool, Drawbar releases, Carousel Lowers, Rotates to correct tool, moves back up, inserts tool, and then moves back out.

Re: Denford Triac Carousel ATC

Posted: Tue Jun 18, 2024 5:00 pm
by Chaz
The logic can be seen on someone else's pre modded setup.

and

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 1:06 pm
by cnckeith
post a fresh report.zip

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 2:54 pm
by Chaz
Thanks. 3 Reports as Ive tried a few things. I can get it to run the macro but then its gets stuck on AtPutbackLocation_M (Mem 93) event. Ive been trawling through the PLC guide, various plc.map and .src to see where / how that is somehow mapped but cant find it, so not a lack of trying.

I wrote the same Macro in Mach 3, so understand how this should work however struggle to fully grasp the Centroid eco system as there are overlapping bits that I dont understand how each change can influence another.

Thanks for the help.

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 5:24 pm
by cnckeith
which report is the one your are using now.

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 5:26 pm
by cnckeith
do you have a copy of the macro programming guide?

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 5:30 pm
by Chaz
cnckeith wrote: Wed Jun 19, 2024 5:24 pm which report is the one your are using now.
The most recent one but can easily restore / change.

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 5:31 pm
by Chaz
cnckeith wrote: Wed Jun 19, 2024 5:26 pm do you have a copy of the macro programming guide?
This one?

https://www.centroidcnc.com/centroid_di ... amming.pdf

Re: Denford Triac Carousel ATC

Posted: Wed Jun 19, 2024 5:36 pm
by Chaz
Page 32 shows how to do custom PLC output, is that what I need to do to allow the 2 extra inputs? That said, they are important but not mandatory as they are other side of the in / out / up / down, so if its not the one state, its the other (but the 2 extras are good checksums) to be sure the location is right.