Disable Fan-Pin at Restart at Duex5
-
Hello,
I use an electromagnetic switch wich is powered form an Fan-Pin at the Duex5. Configuerd like this "M106 P3 S0". I ran a Macro to control this pin.
The Problem is that when i restart the Duet2Ethethernet or at an Emergency Stop, the Fan-Pins get powered for a short Time and my switch loses connection at this point.
I also tried to set this Pin normaly closed in the config.g file but it doesnt help.
Do i need to use another pin to avoid the problem (GPIO) or am i able to set the Fan-Pin normaly closed also at Restart procedures.
-
I think because of the way that MOSFETs work, the fan pins will always switch on momentarily when the board restarts and the firmware takes control of them. It sounds like using a GPIO pin would be the best solution.
Ian
-
I would think using M42 instead of M106, effectively not using the pin as a fan should sort you out?
https://duet3d.dozuki.com/Wiki/Gcode#Section_M42_Switch_I_O_pin
https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins