spindlecoolingfan on m37

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
cryptonym
Posts: 26
Joined: Sun Feb 20, 2022 2:22 am
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

spindlecoolingfan on m37

Post by cryptonym »

The SpindleCoolingFan comes on when the M37 is entered to turn on the laser. I know this was not happening in 4.82, not sure about after that. How can this be prevented?

I use SpindleCoolingFan to run my water pump on the spindle. Makes no sense to do that while lasering. I use this output since it automatically turns on and off with the m3/4/5.


grossmsj
Posts: 182
Joined: Fri Jan 13, 2023 8:50 am
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: Hopewell NJ
Contact:

Re: spindlecoolingfan on m37

Post by grossmsj »

M37 is the M-code for laser enable. That hasn't changed.
It's hard to know what's changed without a report file. The assignment of a couple of AUX keys has changed from 4.82 to current version, so it's possible that may be a cause. I use spin_brake to trigger the cooling pump on my machine since I also have a laser and don't need it when the laser is enabled.
-Scott


cnckeith
Site Admin
Posts: 8879
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: spindlecoolingfan on m37

Post by cnckeith »

cryptonym wrote: Fri Sep 29, 2023 8:35 pm The SpindleCoolingFan comes on when the M37 is entered to turn on the laser. I know this was not happening in 4.82, not sure about after that. How can this be prevented?

I use SpindleCoolingFan to run my water pump on the spindle. Makes no sense to do that while lasering. I use this output since it automatically turns on and off with the m3/4/5.
post a fresh report.zip please. thanks,
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


cryptonym
Posts: 26
Joined: Sun Feb 20, 2022 2:22 am
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

Re: spindlecoolingfan on m37

Post by cryptonym »

I've gone through all I can think of and something changed with the logic on the spindlefan. M37 should not turn it on. Behind the scenes I know a M37 is basically enabling the PWM, similar the M3/M4. The fan logic needs to detect m37 is active and not come on I believe. I've attached a report in case someone sees something.

I sorted out a bad pin issue on my laser assembly, but it was affecting the crosshair, not the laser itself. The module functions fine, but the spindlefan output comes on while the laser is in use.
Attachments
report_30E283D7B993-0126225583_2023-10-06_18-30-05.zip
(854.28 KiB) Downloaded 4 times


Allin1Chris
PLC Expert
Posts: 233
Joined: Wed Jul 31, 2019 12:53 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: spindlecoolingfan on m37

Post by Allin1Chris »

Hello cryptonym,

It does make sense to not turn on the spindle fan when the laser is active. I have taken your plc from your report and modified it to prevent the spindle cooling fan output when M37 is active. To install simply extract the contents of the .zip into your C:\cncm directory and overwrite files, ensure to power cycle the system after installing the files.

These changes should also show up in the next revisions of software as well.
Attachments
Prevent SpindleFan with M37.zip
(198.72 KiB) Downloaded 5 times
When requesting support READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)

Centroid PLC Tutorial Videos


cryptonym
Posts: 26
Joined: Sun Feb 20, 2022 2:22 am
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

Re: spindlecoolingfan on m37

Post by cryptonym »

Thanks, I will try it this weekend.


Post Reply