Denford Triac Carousel ATC

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

cncsnw wrote: Thu Jun 20, 2024 7:07 pm No, the default Acorn M63 turns on whatever output (if any) you have assigned the name "OUTPUT3" through the Acorn Wizard.
Thanks. In this case (referring to the mapping earlier), that's ATCCarouselForward, so M63 should spin the Carousel?

Actually, Output 3 on the main board is not the same as Output 3 on Ether1616. That's Output 35, correct?


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

Greg wrote: Thu Jun 20, 2024 9:21 pm You can press alt-i to look at and toggle all your outputs for testing, no need for mdi commands.
Thanks. Im trying to validate the macro code without rerunning the macro each time.

I'd just be happy with simple outputs switching as needed. Can worry about state checking after.


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

OK, Testing using Alt-I to force the output has worked. To confirm, that's Output 35.

If I then refer here - https://www.centroidcnc.com/centroid_di ... ctions.pdf

It tells me that Output3 is activated by M63. M83 deactivates.

So if I do type M63 in the MDI and nothing happens, where do I look? Could it be that a)my setup doesnt recognise the Ether1616 (but its in the Wizard and assigned) or something else like a .src file that's corrupt / incorrect?


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

I can see this in the acorn mill.src file, so looks like it's there and assigned however here the ETH1616 mapping points to 111 onwards. Output 1-8 might map to the non Ether outputs? Is that the issue?

;OUTPUT1-8
IF M61 THEN (OUTPUT1)
IF M62 THEN (OUTPUT2)
IF M63 THEN (OUTPUT3)
IF M64 THEN (OUTPUT4)
IF M65 THEN (OUTPUT5)
IF M66 THEN (OUTPUT6)
IF M67 THEN (OUTPUT7)
IF M68 THEN (OUTPUT8)

;ETH1616 OUTPUTS 1-16
IF M94M95111_SV THEN (M94M95111)
IF M94M95112_SV THEN (M94M95112)
IF M94M95113_SV THEN (M94M95113)
IF M94M95114_SV THEN (M94M95114)
IF M94M95115_SV THEN (M94M95115)
IF M94M95116_SV THEN (M94M95116)
IF M94M95117_SV THEN (M94M95117)
IF M94M95118_SV THEN (M94M95118)
IF M94M95119_SV THEN (M94M95119)
IF M94M95120_SV THEN (M94M95120)
IF M94M95121_SV THEN (M94M95121)
IF M94M95122_SV THEN (M94M95122)
IF M94M95123_SV THEN (M94M95123)
IF M94M95124_SV THEN (M94M95124)
IF M94M95125_SV THEN (M94M95125)
IF M94M95126_SV THEN (M94M95126)


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

If I look in the acorn mill carousel.src version, its similar however different. Are these referring to the main Outputs or those on Eth1616?


M61 IS SV_M94_M95_61; OUTPUT1 (NOT the same as OUT1), M81 Off
M62 IS SV_M94_M95_62; OUTPUT2 (NOT the same as OUT2), M82 Off
M63 IS SV_M94_M95_63; OUTPUT3 (NOT the same as OUT3), M83 Off
M64 IS SV_M94_M95_64; OUTPUT4 (NOT the same as OUT4), M84 Off
M65 IS SV_M94_M95_65; OUTPUT5 (NOT the same as OUT5), M85 Off
M66 IS SV_M94_M95_66; OUTPUT6 (NOT the same as OUT6), M86 Off
M67 IS SV_M94_M95_67; OUTPUT7 (NOT the same as OUT7), M87 Off
M68 IS SV_M94_M95_68; OUTPUT8 (NOT the same as OUT8), M88 Off


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

This document - https://www.centroidcnc.com/centroid_di ... _guide.pdf states M63 can be used as Output3 on Eth1616.


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

M63 command issued in the MDI, no response.
M63.png


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

Interesting that M65 and M66 turn on the On Board Relay 5 and 6 respectively. That means that M63 does nothing as the On Board Relay 3 is already on. Why is this not mapping to the Eth1616 board? When I try and run M111 or M113 then I get a '503 Invalid M function' error.


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

Oddly when I unmap Relay 3 (it was Lube Pump), it still wont come on with M63 but M65 etc work fine.


Chaz
Posts: 704
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Denford Triac Carousel ATC

Post by Chaz »

Ive opted to delete the custom M6 code and use the Wizard to establish a new start. Interesting now that I get some logic / movement however the macro doesnt seem to have a concept of how to get from Tool 1 to 5. For example, if I ask it for T5 (considering there are 6 in total), it aims to reverse the turret which is probably smart but it doesnt also enable the 'run' for the turret. In this case the turret needs both to reverse as the reverse is just a wire reversal relay.

However If I go from say T1 to T2, it does more and rotates the ATC. So, I need to see where / how this logic is worked out.

I'm also not sure where / how it sees the proximity to count the rotations.


Post Reply