M106 / M107 on skr pro v1.2

I have the default v1 engineering firmware installed for dual endstops.
When using M106 P0, light on skr lights up.
M107 P0, light on skr turns off.

It works for P2 as well, but P1 doesn’t work at all.
What could be the issue?

I have the same problem. I think it have something to do with the firmware.

I believe this issue came up in a previous post and was a firmware issue. Looking at the PINS file (stm23f4/pins_BTT_SKR_PRO_common.h) for the SKR Pro 1.2, I find this section:

#ifndef E0_AUTO_FAN_PIN
  #define E0_AUTO_FAN_PIN               FAN1_PIN
#endif

This implies that the FAN1 pin is used in some special way.

If you need that pin for some reason, a couple of things you can try:

  • You can directly address that pin (PE5) using an M42 rather than M106/M107 g-codes.
  • You could assign E0_AUTO_FAN_PIN to some unused pin rather than FAN1_PIN.