Elegoo Orangestrome fan3 is not valid for PIN

Basic Information:

Printer Model:
MCU / Printerboard:
Host / SBC
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Hi everyone,

I am experiencing a recurring crash on my Elegoo OrangeStorm Giga when starting a print. The Klipper console throws the following error:** **!! 'fan3' is not valid for PIN

Looking at my printer.cfg (inside the attached klippy.log), I see that Elegoo has a default [gcode_macro M106] that uses SET_PIN PIN=fan{params.P|int}. Since my printer only has fan1 defined, any call to P2 or P3 from the slicer causes a hard crash.

I tried to override the M106 macro to ignore P2 and P3, but it seems I cannot easily override the factory macro. What is the best way to modify the printer.cfg to make it ignore undefined fan indices without breaking the factory fan control?

Attached is my klippy.log. Thanks for your help!

klippy.log (58.8 KB)

Hi @Shabby ,

Your fan is setup as an output_pin, which makes things more complicated. I would delete the factory M106 macro and rename [output_pin fan1] to [fan], and also remove the value and scale parameters. Then you can control your fan like a normal setup (Klipper M106 command)

Why does your slicer call P2 and P3 if there are only two cooling fans which are P1?

1 Like