I am starting to bench test my carousel ATC. Two of the outputs that it uses are ATC_CarouselForwrad and ATC_CarouselReverse. I have these configured as output 6 and output 7 respectively. The Centroid wizard input and output document notes that using an M66 will turn on output 6 and M86 will shut it off. I have entered these commands via the MDI command prompt, and it does not activate the output. Is there something else that needs to be done to turn on and off these outputs.
I have also attached my recent report.
Best... Richard
Testing Outputs with MDI commands
Moderator: cnckeith
-
- Posts: 730
- Joined: Tue Oct 20, 2020 8:41 pm
- 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: Arizona
Testing Outputs with MDI commands
- Attachments
-
- report_E415F6F649F8-0121214266_2025-06-28_20-01-01.zip
- (969.93 KiB) Downloaded 2 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3575
- 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: Testing Outputs with MDI commands
Code: Select all
WorkLight IS OUT1
Mist IS OUT2
VFDDirection_O IS OUT3
VFDEnable_O IS OUT4
SpindleCooling_Fan IS OUT5
ATC_CarouselForward IS OUT6
ATC_CarouselReverse IS OUT7
It will only work if Output6 is assigned to OUT6
Code: Select all
;------------------------------------------------------------------------------
; Filename: mfunc66.mac
; Wizard OUTPUT6 M-code Macro: M66
; Description: User Customizable Macro
; Notes: Use Acorn Wizard i/o map to set Acorn Output 6 = to "OUTPUT6" then this macro mcode (M66) will turn on that output
; Requires:
; Please see TB300 for tips on writing custom macros.
;------------------------------------------------------------------------------
IF #50010 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching
N100 ;Insert your code between N100 and N1000
M94 /66 ;Request OUTPUT6
N1000 ;End of Macro
5.30 and the upcoming 5.40 will have a better implementation to set up ATC in the Wizard
I suggest updating to 5.40 after it is released.
You can use ALT+I for the PLC Diagnostic screen and turn ON/OFF Outputs by hand
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 730
- Joined: Tue Oct 20, 2020 8:41 pm
- 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: Arizona
Re: Testing Outputs with MDI commands
Thanks Uwe. I will update to 5.40 as soon as it is released.
Just curious, how is this different than using the custom outputs shown in the attached, other than the the fact that you would map to the custom output instead of "OUTPUT 6"?
Just curious, how is this different than using the custom outputs shown in the attached, other than the the fact that you would map to the custom output instead of "OUTPUT 6"?
Last edited by RJS100 on Sun Jun 29, 2025 2:42 pm, edited 1 time in total.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3575
- 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: Testing Outputs with MDI commands
This is default before there is something other assigned to Output6.
If this selection in the Wizard is not there after selecting all, do it in the PLC, or just use PLC Diagnostic to switch it by hand.
Uwe
If this selection in the Wizard is not there after selecting all, do it in the PLC, or just use PLC Diagnostic to switch it by hand.
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 730
- Joined: Tue Oct 20, 2020 8:41 pm
- 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: Arizona
Re: Testing Outputs with MDI commands
OK get it. Alternatively, I could assign M94M955111 to output 6 in the Wizard, then use the following to turn it off or on. For now, I will use the PLC diagnostic. Thanks for your help!
M94/111 turns on the output that “M94955111” is assigned to.
M95/111 turn off the output that “M94955111” is assigned to.
M94/111 turns on the output that “M94955111” is assigned to.
M95/111 turn off the output that “M94955111” is assigned to.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 730
- Joined: Tue Oct 20, 2020 8:41 pm
- 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: Arizona
Re: Testing Outputs with MDI commands
Hello Uwe,
You suggested upgrading to version 5.40 when it is released. Do you know what additional features were added to support an ATC?
Richard
You suggested upgrading to version 5.40 when it is released. Do you know what additional features were added to support an ATC?
Richard
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3575
- 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: Testing Outputs with MDI commands
Release Notes 5.40
viewtopic.php?t=11654
Have a look also at the release notes from each version after your 5.10 here
https://www.centroidcnc.com/centroid_di ... loads.html
Uwe
viewtopic.php?t=11654
Have a look also at the release notes from each version after your 5.10 here
https://www.centroidcnc.com/centroid_di ... loads.html
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 730
- Joined: Tue Oct 20, 2020 8:41 pm
- 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: Arizona
Re: Testing Outputs with MDI commands
Thanks Uwe. I looked in the download section and beta section and could not find this. Thanks for these links.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)