Spindle Fan M Code
Moderator: cnckeith
-
- Posts: 181
- Joined: Thu May 17, 2018 8:19 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Spindle Fan M Code
As the title say's, is there a standard spindle cooling fan M Code.
I have assigned the fan to an Output (output 1 currently, also assigned in the wizard) & would like to turn the fan on or off with a command.
Also is there a way to have the fan run time controlled by Acorn PLC is is it best done
with a separate run on timer relay.
Thanks,
Michael
I have assigned the fan to an Output (output 1 currently, also assigned in the wizard) & would like to turn the fan on or off with a command.
Also is there a way to have the fan run time controlled by Acorn PLC is is it best done
with a separate run on timer relay.
Thanks,
Michael
-
- Posts: 2190
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: Spindle Fan M Code
Try configuring that output as "SpindleBrake" and see how it works for you
-
- Posts: 793
- Joined: Thu Apr 12, 2018 11:16 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: Spindle Fan M Code
I use an interposing relay triggered from SPINFWD and SPINREV. These then switch the spindle vfd FWD and REV signal as well as power up an RS Pro 8966822 off delay timer. It's set at a 5 minute time delay. So, when spindle is started in either direction, fan is started and stays running until after the last time it's stopped. Works well and is automatic.
Re: Spindle Fan M Code
There is not a "standard" one. There is example code in the sample M55 and M56 codes showing how to make them control the SpindleCooling output (by setting and resetting request #31).
-
- Posts: 9914
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: Spindle Fan M Code
If you can put a temp sensor on the motor you can use it to directly control the relay that the fan motor controls. You would probably not want to control it, rather have it come on at a certain temp and off when the motor cools to that temp. Wouldn't you want the fan to cool the motor after the motor is shut down? Just a thought....mick41zxr wrote: ↑Mon Apr 06, 2020 8:34 am As the title say's, is there a standard spindle cooling fan M Code.
I have assigned the fan to an Output (output 1 currently, also assigned in the wizard) & would like to turn the fan on or off with a command.
Also is there a way to have the fan run time controlled by Acorn PLC is is it best done
with a separate run on timer relay.
Thanks,
Michael
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 9914
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: Spindle Fan M Code
martyscncgarage wrote: ↑Mon Apr 06, 2020 3:18 pmIf you can put a temp sensor on the motor you can use it to directly control the relay that the fan motor controls. You would probably not want to control it, rather have it come on at a certain temp and off when the motor cools to that temp. Wouldn't you want the fan to cool the motor after the motor is shut down? Just a thought....mick41zxr wrote: ↑Mon Apr 06, 2020 8:34 am As the title say's, is there a standard spindle cooling fan M Code.
I have assigned the fan to an Output (output 1 currently, also assigned in the wizard) & would like to turn the fan on or off with a command.
Also is there a way to have the fan run time controlled by Acorn PLC is is it best done
with a separate run on timer relay.
Thanks,
Michael
You can assign it to anyone of the Aux buttons on the VCP. Press one not used and you'll get a message....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 181
- Joined: Thu May 17, 2018 8:19 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: Spindle Fan M Code
Thanks CNCNW,
Found that the m94 /31, m95 /31 will turn cooling fan on & off when assigned in wizard.
Possibly include a run on timer and/or a thermo switch as Marty suggests.
Regards,
Michael
Found that the m94 /31, m95 /31 will turn cooling fan on & off when assigned in wizard.
Possibly include a run on timer and/or a thermo switch as Marty suggests.
Regards,
Michael
-
- Posts: 42
- Joined: Wed May 09, 2018 7:54 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 0479B7ADF2F3-1127192707
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Greensboro, NC
Spindle Fan Delay Off Relay
I'm trying to get my spindle fan to come on when the spindle starts, and stay on. When the spindle stops, I want the fan to stay off for a set period of time. I tried this delay off relay. https://www.amazon.com/gp/product/B07CG ... UTF8&psc=1
I was connecting output 7 to it that was triggered by the spindle brake release function. This relay only stays on for the set period of time, then turns off.
Do they make a relay that will stay on as long as the output is high, then stay on for the set period of time, and then turn off?
Thanks!
Mike
I was connecting output 7 to it that was triggered by the spindle brake release function. This relay only stays on for the set period of time, then turns off.
Do they make a relay that will stay on as long as the output is high, then stay on for the set period of time, and then turn off?
Thanks!
Mike
-
- Posts: 793
- Joined: Thu Apr 12, 2018 11:16 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: Spindle Fan M Code
I posted a link to the one I used above.
Re: Spindle Fan M Code
Remove the old "SpindleCooling" block from somewhere around line 4100.
Add the following timer definition and code:
Set the spindle off-delay time, in seconds, in Parameter 175.
Add the following timer definition and code:
Code: Select all
SpindleStopped_T IS T33
; ...
IF SpindleEnableOut_O THEN SET SpindleCooling, RST SpindleStopped_T
IF !SpindleEnableOut_O THEN SpindleStopped_T = SV_MACHINE_PARAMETER_175 * 1000, SET SpindleStopped_T
IF SpindleStopped_T THEN RST SpindleCooling