MKS-Power-Control icon indicating copy to clipboard operation
MKS-Power-Control copied to clipboard

MKS PWC v3.0 not working on MKS Sbase V1.3 with Marlin Bugfix2.0

Open rouhit110 opened this issue 3 years ago • 3 comments

Hi, Unfortunately, by pressing the button, the device turns on and turns off when released. Wiring was done according to the instructions available on the Internet I connected the pw-off socket signal pin to p 1_22 and -, + to -, + 5 volts I connected the pw-det socket signal pin to p1_29 related to the endstop Z + pin I made these settings in Marlin

Configuration.h

#define PSU_CONTROL // # define PSU_NAME "MeanWell" #if ENABLED (PSU_CONTROL) #define PSU_ACTIVE_HIGH true // Set 'false' for ATX, 'true' for X-Box // # define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80 #define PSU_POWERUP_DELAY 100 // (ms) Delay for the PSU to warm up to full power

And I added these settings to the tab below

pins_MKS_SBASE.h // Power Supply Control // #ifndef PS_ON_PIN #define PS_ON_PIN P1_22 #endif #ifndef KILL_PIN #define KILL_PIN P1_29 #endif #define KILL_PIN_INVERTING true // //

Please advise where my work is wrong

rouhit110 avatar Jan 31 '22 14:01 rouhit110

I changed the ps_on PIN and put it on p1_23 which has pwm. Now by holding for 5 seconds and releasing the button, the device stays on, but when I press the button to turn off the device, the device turns off and turns on again automatically After several different tests, I realized that by cutting the output wire mks_ups_24v, pwc works very well and the device shuts down completely. What solution do you suggest to solve this problem, friends?

rouhit110 avatar Jan 31 '22 15:01 rouhit110

Which pin should I connect the yellow wire of the bltouch sensor to now? Should this wire also be connected to a pwm pin?

rouhit110 avatar Jan 31 '22 15:01 rouhit110

Nobody to guide me?

rouhit110 avatar Feb 01 '22 07:02 rouhit110