You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently it is not possible using MKS PWC power module and UPS module together.
For me this combo goes always together because otherwise you can't raise Z axis in case of
power failure and your print would be in any case ruined.
So without UPS you can only control switching on and off the printer.
Are you looking for hardware support?
In my case I have succesfully tried with this set up:
Robin Nano v1.2
MKS PWC v3.0
MKS UPS
Describe the feature you want
This is an improvement to this PR #22528 which is currently working with my setup (Robin Nano 1.2 + PWC 3.0 + UPS).
UPS is controlled by the definition BACKUP_POWER_SUPPLY. The signal cable from UPS remains not connected, because the PWC is already controlling this pin. PWC is connected as shown in the manual.
So now it is possible to raise Z axis in case of power failure.
I have tried it only on LVGL_UI and all features are working:
Push button switches on and off
Power failure saves in SD card and raises Z axis.
Print continues after power failure
Switch on/off works also with the UI.
Just change in pins_MKS_ROBIN_NANO.h (I suppose it would be similar for any MKS board):
#if ENABLED(PSU_CONTROL) // MKSPWC
#if HAS_TFT_LVGL_UI
#error "PSU_CONTROL cannot be used with TFT_LVGL_UI. Disable PSU_CONTROL to continue."
#endif
#ifndef PS_ON_PIN
#definePS_ON_PIN PB2 // PW_OFF
#endif
#ifndef KILL_PIN
#defineKILL_PIN PA2 // PW_DET
#defineKILL_PIN_STATE HIGH
#endif
#if ENABLED(BACKUP_POWER_SUPPLY)
#definePOWER_LOSS_PIN KILL_PIN // PW_DET allows use of MKS PWC & UPS together - DO NOT plug UPS signal cable to main board
#endif
#else
#ifndef SUICIDE_PIN
#defineSUICIDE_PIN PB2 // LVGL UI MKSPWC SUICIDE PIN PB2 - PW_OFF
#defineSUICIDE_PIN_INVERTINGfalse// LVGL UI MKSPWC pin state
#endif
#ifndef KILL_PIN
#defineKILL_PIN PA2 // LVGL UI MKSPWC PW_DET pin
#defineKILL_PIN_STATE HIGH // LVGL UI MKSPWC pin state
#endif
#if ENABLED(BACKUP_POWER_SUPPLY)
#ifndef POWER_LOSS_PIN
#definePOWER_LOSS_PIN KILL_PIN // Allows use of MKS PWC & UPS together - DO NOT plug UPS signal cable to main board
#endif
#endif
#endif
I would delete from misc. functions, as are already controlled in previous code.
Is your feature request related to a problem? Please describe.
Currently it is not possible using MKS PWC power module and UPS module together.
For me this combo goes always together because otherwise you can't raise Z axis in case of
power failure and your print would be in any case ruined.
So without UPS you can only control switching on and off the printer.
Are you looking for hardware support?
In my case I have succesfully tried with this set up:
Describe the feature you want
This is an improvement to this PR #22528 which is currently working with my setup (Robin Nano 1.2 + PWC 3.0 + UPS).
UPS is controlled by the definition BACKUP_POWER_SUPPLY. The signal cable from UPS remains not connected, because the PWC is already controlling this pin. PWC is connected as shown in the manual.
So now it is possible to raise Z axis in case of power failure.
I have tried it only on LVGL_UI and all features are working:
Just change in
pins_MKS_ROBIN_NANO.h
(I suppose it would be similar for any MKS board):I would delete from misc. functions, as are already controlled in previous code.
The text was updated successfully, but these errors were encountered: