M Code Simultaneous Flood and Mist Coolant

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
legacytorch
Posts: 42
Joined: Fri Dec 29, 2017 2:39 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DAD489A3F-1215170079
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

M Code Simultaneous Flood and Mist Coolant

Post by legacytorch »

Trying to run a two solenoid cutting system. One for preheat the other for cut. I have them setup on flood coolant and mist coolant respectively. It works fine with both the VCP and keyboard. The problem I am having is, that although I can operate both at the same time manually, when called for by the M code it seems to only operate one or the other. Flood shuts off as soon as mist is called for, not waiting for the M09 command. Les from SheetCAM got me started with the post code. You can see that here.

https://forum.sheetcam.com/viewtopic.ph ... 372#p24372

Is this an error in the coding or a limitation of the Acorn?

Yes I could use the spindle control to run one solenoid, but I like the layout of the coolant controls on the VCP. Just me being picky but if its possible why not. I could also probably use a diode to run the preheat whenever the cut is called for but not the opposite.
cnckeith
Posts: 7327
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: M Code Simultaneous Flood and Mist Coolant

Post by cnckeith »

you can edit the M8 macro to have M8 do what ever you need. or leave M7 and M8 alone and create a new Mcode and write the macro it calls to do what you need. scott can chime in on the details on monday but here is a primer on creating customer macros and Mcodes. http://www.centroidcnc.com/dealersuppor ... ds/300.pdf
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
tblough
Posts: 3101
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: M Code Simultaneous Flood and Mist Coolant

Post by tblough »

You don't need to set up a AUX key to do this. M Functions 0-99 are fully customizable - look at your current mfunc7.mac (mist coolant) file in the CNC? directory. It should have something like the following (the 3 and 4 might be different depending on what outputs mist and flood are connected to):

Code: Select all

M95/3
M94/4
M94 turns the output on, M95 turns it off. Just take out the M95 line.

It's all in the manual under Custom M Functions.
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.
legacytorch
Posts: 42
Joined: Fri Dec 29, 2017 2:39 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DAD489A3F-1215170079
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: M Code Simultaneous Flood and Mist Coolant

Post by legacytorch »

You guys are fast and awesome! I never expected a response on a Sunday morning.

I removed the M95 line and it now works perfectly.

Thanks so much!
Post Reply