DUEX 0.11 FAN 5
-
@DC42 I
can you please help me
would like to enable fan F5 when PIN 17 is enabled and disable fan when PIN 17 is disabled -
@paolozampini1973 as I wrote in chat, define triggers using M581 and put the fan control commands in the corresponding trigger macros.
-
If you just want a fan active when a print is in progress you can configure a fan on a PWM fan port as thermostatically controlled. The simplest way is to tie it to the hotend heater, such that when the hotend heater is at print temp such as during a print, the fan is enabled, which may work for you as I understand you are trying to cool a stepper motor.
Please share your config.g if you want a more specific example gcode.
-
@phaedrux said in DUEX 0.11 FAN 5:
If you just want a fan active when a print is in progress you can configure a fan on a PWM fan port as thermostatically controlled. The simplest way is to tie it to the hotend heater, such that when the hotend heater is at print temp such as during a print, the fan is enabled, which may work for you as I understand you are trying to cool a stepper motor.
Please share your config.g if you want a more specific example gcode.
-
@paolozampini1973 Yes I know so it's much simpler but I don't want this because I can keep an extruder at temperature because I have to do something a test anything the modules can be in stand-by I want to create this rule which is very important to me
-
@phaedrux oliof he was very kind, he explained it to me but I didn't understand how to do it
-
Perhaps you can share the solution that Oliof was so kind to provide and perhaps we can explain it.
-
-
@phaedrux said in DUEX 0.11 FAN 5:
Perhaps you can share the solution that Oliof was so kind to provide and perhaps we can explain it.
oliof
M581 T1 P17 S0 defines trigger 1
then you need a macro called trigger1.g
In that Macro you do M106 P5 S0
M581 T0 P17 S1 defines trigger 0
then you need a macro called trigger0.g
In that Macro you do M106 P5 S255 -
That seems pretty straightforward.
M581 T1 P17 S0
M581 T0 P17 S1would need to go in config.g
Then create two macro files in the sys folder: trigger1.g and trigger0.g
Those are just text files and you can create them in the web interface or on your computer and upload them. Put the M106 commands into those trigger macros respectively. -
@phaedrux said in DUEX 0.11 FAN 5:
That seems pretty straightforward.
M581 T1 P17 S0
M581 T0 P17 S1would need to go in config.g
Then create two macro files in the sys folder: trigger1.g and trigger0.g
Those are just text files and you can create them in the web interface or on your computer and upload them. Put the M106 commands into those trigger macros respectively.I did but it doesn't work I don't understand why
-
@oliof said in DUEX 0.11 FAN 5:
@paolozampini1973 as I wrote in chat, define triggers using M581 and put the fan control commands in the corresponding trigger macros.
Could you please tell me the explanation I don't know where to get the macros are created How to do it I don't understand I hope not to bother you too much
-
The M581 commands need to go into config.g
trigger0.g needs to have
M106 P5 S255
as its content
trigger1.g needs to have
M106 P5 S0
as its content
-
@oliof said in DUEX 0.11 FAN 5:
The M581 commands need to go into config.g
trigger0.g needs to have
M106 P5 S255
as its content
trigger1.g needs to have
M106 P5 S0
as its content
trigger0.g trigger1.g config (31).g
You can see if that's as good as I did -
Your trigger files do not have the M106 commands as their content.
-
@oliof said in DUEX 0.11 FAN 5:
Your trigger files do not have the M106 commands as their content.
Please can you correct me the files I posted I don't want you to spend a lot of time
-
@paolozampini1973 Add the following two lines at the end of config.g:
M581 T1 P17 S0 M581 T0 P17 S1
put the following into the file
/sys/trigger0.g
and nothing elseM106 P5 S255
put the following into the file
/sys/trigger1.g
and nothing elseM106 P5 S0
-
Also, I am assuming you are using a toggle switch like this:
-
@oliof said in DUEX 0.11 FAN 5:
Also, I am assuming you are using a toggle switch like this:
No I'm not using this SWITCH But what does it have to do with it
-
@paolozampini1973 what kind of switch do you use? show me a photo. A toggle switch with two positions will work with my example. If you use a momentary / push button switch it will not work like that, another solution is required.
-
@oliof said in DUEX 0.11 FAN 5:
@paolozampini1973 what kind of switch do you use? show me a photo. A toggle switch with two positions will work with my example. If you use a momentary / push button switch it will not work like that, another solution is required.
AC 17