M94 M95 Names to number?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Ryan Patterson
Posts: 63
Joined: Wed Oct 16, 2024 3:30 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

M94 M95 Names to number?

Post by Ryan Patterson »

When setting the outputs using the wizard is there a complete list of what the name are to the number. I found a snippet of a list in the macro document but it is not complete.

Also will be looking for the same for the input names. along with the system variables to check if a switch is on or off.


SV_M94_M95_1 ;M94/M95 Turn on/off Spindle On Clockwise
SV_M94_M95_2 ;M94/M95 Turn on/off Spindle On Counter Clockwise
SV_M94_M95_3 ;M94/M95 Turn on/off Flood or RouterDustCollection
SV_M94_M95_4 ;M94/M95 Turn on/off OpenChuck, Turn off CloseChuck
SV_M94_M95_5 ;M94/M95 Turn on/off Mist or RouterVacuumHoldDown
SV_M94_M95_6 ;M94/M95 Turn on/off CloseChuck, Turns off OpenChuck
...


Ken Rychlik
Posts: 562
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: M94 M95 Names to number?

Post by Ken Rychlik »

If you leave the wizard at output1 for instance, M61 will turn it on and M81 will turn it off. M62-M82 for output 2 ect... Oddly when you let the wizard do it I didn't use 1-6 but would go 3-5-and strange numbers like that. I still let the wizard do them on spindle, vac hold, DC but if you look in the M3, M7, and M8 you will see what number it is assigning. Then for extra outputs I just use the output5 ect.... My way, may not be the best or suggested, but it works. Take care
Ken


Ryan Patterson
Posts: 63
Joined: Wed Oct 16, 2024 3:30 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: M94 M95 Names to number?

Post by Ryan Patterson »

Ken, Based on not knowing the reference numbers to the names in the wizard looks like your method is the way it has to be. I have determined some of them by looking through existing macros and from the shortlist found in the macros document. It would be nice to have a complete list of what they are all equal to.


Ken Rychlik
Posts: 562
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: M94 M95 Names to number?

Post by Ken Rychlik »

After the wizard defines m94-95 as using 3 for input 1, you can use the m94,95 in your macro's or just use M3 in them. The 61 and 81 only work if it's listed as output1. I've learned to work around it with a mixture.

I have another board for the next project, but so far have not used the latest version, so I know there will be more learning curve ahead for me. Keep in mind that there is no update with acorn. If you change versions, it's a clean fresh install. I wish someone would make an app for that. Some guys that do it a lot say it's quick and easy, but it's a half day and a pain in the butt for me after about 20 systems installed.
Ken


Ryan Patterson
Posts: 63
Joined: Wed Oct 16, 2024 3:30 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: M94 M95 Names to number?

Post by Ryan Patterson »

I think we’re on the same page, but just to confirm and clarify:

Here’s what I understand so far: when setting Outputs 1–8 as general-purpose outputs, I can control them with M94 and M95 commands as follows:

* M94 /61 to M94 /68 — Activates Outputs 1 through 8.
* M95 /61 to M95 /68 — Deactivates Outputs 1 through 8.

For functions defined in the Wizard, if I assign OUT8 to “SpinFWD,” I can use M94 /1 to turn it on and M95 /1 to turn it off. Likewise, if OUT1 is set to “UnclampTool,” I’d use M94 /15 to activate it and M95 /15 to deactivate.

What I’m trying to find now are the specific output numbers for some additional ATC functions, such as “ATC_CarouselIn” and a few others that aren’t covered in the documentation. If anyone knows the correct output numbers for these ATC-specific functions or can point me to a source, I’d appreciate the help!


suntravel
Community Expert
Posts: 3659
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: M94 M95 Names to number?

Post by suntravel »

Ryan Patterson wrote: Sun Nov 03, 2024 9:38 am

What I’m trying to find now are the specific output numbers for some additional ATC functions, such as “ATC_CarouselIn” and a few others that aren’t covered in the documentation. If anyone knows the correct output numbers for these ATC-specific functions or can point me to a source, I’d appreciate the help!
That depends on which output this function is assigned in the Wizard..

Uwe


Ryan Patterson
Posts: 63
Joined: Wed Oct 16, 2024 3:30 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: M94 M95 Names to number?

Post by Ryan Patterson »

Yes that is what I am looking to know.

If the wizard sets (2 - OUT to "ATC_CarouselIn") then what number do you use with a M94/M95?


Ken Rychlik
Posts: 562
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: M94 M95 Names to number?

Post by Ken Rychlik »

Doing it my way, it's either or. You don't use m94 if you are doing it with the M62, M82. If you want to use m62, m82 you call output two output2 in the wizard. If you call it atc carou in the wizard, I would not know the answer to that unless I saw it called out in a macro.

You might be able to go in the mdi and keep trying m94 numbers until you find the correct one that turns 2 relay on, or if you can find a wizard generated macro using it.

There are always several ways to accomplish the same thing.
Ken


suntravel
Community Expert
Posts: 3659
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: M94 M95 Names to number?

Post by suntravel »

Related reading is the Mill manual, PLC and Macro manual...

Uwe


Ryan Patterson
Posts: 63
Joined: Wed Oct 16, 2024 3:30 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: M94 M95 Names to number?

Post by Ryan Patterson »

Tuntravel, I have read through your recommended reading, and there are some snippets to show the values but not a complete list.

This really is not needed but thought it would be nice to have the Wizard define the outputs by name.


Post Reply