Hi there! Anyone running successfully MKS PWC with Klipper? Especially with Ender 3 furnished with MKS Robin E3?
Essentially what the MKS PWC does is automatically shutting down the printer after the print is finished. It works as expected with Marlin, but when I try it Klipper the printer just shuts down after a second or two after being switched on.
The PWC is connected to the board via 2 sets of cables. The PWC’s PW_DET connects to Robin E3’s MT_DET (PB10) (also used for filament runout sensor) and the PWC’s PW_OFF connects to Robin E3’s PA14
The piece of code in Marlin to allow all that is:
Enable #define PSU_CONTROL
Set #define PSU_ACTIVE_STATE HIGH
and the pins are configured as:
#if ENABLED(PSU_CONTROL)
#ifndef PS_ON_PIN
#define PS_ON_PIN PA14 //PW_OFF, you can change it to other pin
#endif
#ifndef KILL_PIN
#define KILL_PIN PB10 //PW_DET, you can change it to other pin
#endif
#define KILL_PIN_STATE true //true : HIGH level trigger
#endif
And the MKS PWC:
[https://www.aliexpress.com/item/32853300039.html](https://www.aliexpress.com/item/32853300039.html)
Anyone can suggest how to translate that into Klipper?