Welcome! Log In Create A New Profile

Advanced

How to fix Marlin code to stop extruder's fan when I Pause the print

Posted by Mr. Crazy 
How to fix Marlin code to stop extruder's fan when I Pause the print
October 25, 2018 01:09AM
Dear all,
I have very very serious problem here.
My 3d printer needs to stop extruder's fan when I press stop or pause printing.
Anyone have any idea to fix code of Marlin to solve problem.
Or you may introduce to me someone who can help me solve the problem.
Thanks you very much.
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 25, 2018 04:06AM
how about reading the reply already posted vs starting a duplicate thread?

[reprap.org]
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 25, 2018 05:52AM
I dont know, what about duplicate thread? Did someone ask the question before?
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 25, 2018 06:16AM
hi, this code my help

M107: Fan Off

you can pu it on your display menu and activate this by hand, first pause or stop and then use this for stop the fun

and M106: Set Fan Speed to reactivate

I think so but they my have a better solution
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 25, 2018 10:23PM
Sorry, I want it automatic, not use by hand.

Edited 1 time(s). Last edit at 10/25/2018 10:27PM by Mr. Crazy.
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 26, 2018 04:35AM
This request is crazy anyway !


"A comical prototype doesn't mean a dumb idea is possible" (Thunderf00t)
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 26, 2018 10:48AM
Quote
MKSA
This request is crazy anyway !

Why is it crazy to turn the fan off when the print is paused? Users of RepRapFirmware sometimes do this, by adding M106 S0 to the pause.g file on the SD card, and M106 R1 to the resume.g file.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 26, 2018 01:56PM
[reprap.org]


"A comical prototype doesn't mean a dumb idea is possible" (Thunderf00t)
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 29, 2018 11:30AM
Dear DC42,
Can you explain it more clear? I don't understand: "adding M106 S0 to the pause.g file on the SD card, and M106 R1 to the resume.g file."
Thanks
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 29, 2018 12:52PM
DC42 is once again trying to subvert a thread for his own evil ends

He is referring to his own firmware which only runs on 32 bit controller boards (which he also sells)

This is despite the fact that you clearly posted that you want to do this on marlin and not his "reprapfirmware"
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 29, 2018 04:16PM
Quote
dc42
Quote
MKSA
This request is crazy anyway !

Why is it crazy to turn the fan off when the print is paused? Users of RepRapFirmware sometimes do this, by adding M106 S0 to the pause.g file on the SD card, and M106 R1 to the resume.g file.

What is the gain ? Nothing. What is the potential problem ? Clogged filament due to heat creep when the fan is stopped while the hotend is still hot.

I respect your knowledge and think your board and firmware to be certainly the best and the most convenient on the market but to solve this, it is overkill. Pretty sure Mr Crazy would have a lot of difficulties with the migration.

Edited 1 time(s). Last edit at 10/29/2018 04:19PM by MKSA.


"A comical prototype doesn't mean a dumb idea is possible" (Thunderf00t)
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 29, 2018 04:23PM
Quote
Dust
DC42 is once again trying to subvert a thread for his own evil ends

He is referring to his own firmware which only runs on 32 bit controller boards (which he also sells)

This is despite the fact that you clearly posted that you want to do this on marlin and not his "reprapfirmware"

Nothing wrong in promoting a good product and nothing wrong to collect money from it. This is good capitalism. smiling smiley

Edited 1 time(s). Last edit at 10/29/2018 04:25PM by MKSA.


"A comical prototype doesn't mean a dumb idea is possible" (Thunderf00t)
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 30, 2018 10:58PM
Acctually, I have big problem with this because I use Mksgen 1.4 for control another machine not 3d printer so I only need it stop fan when I pause or stop printing.
Thanks
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
October 31, 2018 07:36AM
You are a programmer just add code to Stop the Fan under "#define ADVANCED_PAUSE_FEATURE" in Configuration_adv.h

Similar to
//#define PARK_HEAD_ON_PAUSE
or
//#define HOME_BEFORE_FILAMENT_CHANGE

Create a subroutine to turn the fan off on pause
//#define TURN_FAN_OFF_ON_PAUSE

Don't forget to Turn off the Hot-end and or retract the filament to keep it from burning the filament and clogging the nozzle.
Then on restart you will need to restore all features you stopped before continuing the Print.


Computer Programmer / Electronics Technician
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
November 02, 2018 03:04AM
Sorry Roberts_Clif,
I am not very good at programming, so could you show me more?
Thanks alot.
Re: How to fix Marlin code to stop extruder's fan when I Pause the print
November 02, 2018 03:09AM
I dont know how to create a subroutine to turn the fan off on pause
Sorry, only registered users may post in this forum.

Click here to login