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 v3.0 not working on MKS Sbase V1.3 with Marlin Bugfix2.0 #12

Open rouhit110 opened 2 years ago

rouhit110 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Nobody to guide me?