makerbase-mks / MKS-Power-Control

MKS PWC Power Monitoring auto power off Continued to Play Module automatically put off power detect 3D printer parts; MKS UPS12V/24V provide Z-AXIS move, the hight 20mm-200mm between
https://makerbase.aliexpress.com/store/group/Power-Control/1047297_516890609.html?spm=a2g0o.store_home.pcShopHead_8325768.1_2_2
GNU General Public License v3.0
24 stars 3 forks source link

MKS-PWC 3.0 (mks gen L v2.1 & H43 display) not working please help #14

Open FreeZuu69 opened 2 years ago

FreeZuu69 commented 2 years ago

MKS-PWC 3.0 (mks gen L v2.1 & H43 display) not working please help

Although I tried all the settings related to pvc installation and coding of mks on the internet, I can't get any results. While everything is working normally. It doesn't turn off when I press the button to turn it off. "Printer Halted Killed. Please Reset" message appears on the screen when I press it to turn it off, but it does not turn off.

Marlin-V2.X-MKS-H43-main

the pins i use are y max and z max examples of the codes I tried.

pins/ramps.h

ifndef PS_ON_PIN

define PS_ON_PIN 12

endif

define SUICIDE_PIN 15 // Used by CR2020 Industrial series

define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series

ifndef SUICIDE_PIN_INVERTING

define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series

endif

define KILL_PIN 19

define KILL_PIN_STATE HIGH


// RAMPS 1.4 DIO 4 on the servos connector

ifndef FIL_RUNOUT_PIN

define FIL_RUNOUT_PIN 4

endif

//#ifndef PS_ON_PIN //#define PS_ON_PIN 12 //#endif

define PS_ON_PIN 15

define SUICIDE_PIN 15

define SUICIDE_PIN_INVERTING LOW

define KILL_PIN 19

define KILL_PIN_STATE HIGH


// RAMPS 1.4 DIO 4 on the servos connector

ifndef FIL_RUNOUT_PIN

define FIL_RUNOUT_PIN 4

endif

ifndef PS_ON_PIN

define PS_ON_PIN 12

endif

define SUICIDE_PIN 15

define SUICIDE_PIN_INVERTING false

define KILL_PIN 19

define KILL_PIN_STATE true