MKS DLC32 V2.1 + VFD YL620-A Openbuilds Unable to control spindle speed

Now that Openbuilds is read-only I cannot post in that site, i’ve followed the instructions from this post YL620-A VFD Settings | OpenBuilds and got the VFD to turn on and off the spindle.

I have a MKS DLC32 v2.1 board and VFD YL620-A + a 110V spindle

One problem I have is the spindle only runs at 100% speed, with my board MKS DLC32 V2.1, If I measure the voltage out at the spindle points it goes straight to 12v because I have a 12v power supply, even if I select 50% it doesn’t reduce the voltage to 6v.
The board can only go on at 100% or Off 0% via openbuilds control.
Do we need to add PMW circuit board / rheostat to setup to get the ability to reduce the speed of the spindle or this only way to control the speed would be to re-enable the VFD panel to control the speed.

Thanks in advance.

I believe I figured out my problem, the 2 pin spindle out on the MKS board is not a variable voltage out, seems to supply whatever voltage you have connected to the power in from your power supply.
Instead, I used the TTL 3 Pin output, connected only to these 2 pins S and TTL here I get a variable output voltage between 2v and 5v, this runs the spindle but only at 50% max because the VFD needs to see 10v to go all the way up to 100% speed of 24000 rpm. So I believe i’m on the right track with this.
Looks like I will need to get an additional component to make this mks dlc32 board work with my spindle in order to have the software control the spindle speed.
Wha is needed is this Voltage to PWM Converter Module 0-5V 0-10V to 0-100% 50KHZ PWM Adjustable Power Module PCB Board


I have a working CNC plasma cutter that I want to dual purpose for woodworking, At this point I’m also looking at a better dual-purpose board like the GRBLHAL2000 that has this voltage 0-10v built in

Make sense as the spindle circuitry just completes the ground for the spindle at J7. From the V2.1 schematic.

PWM comes from the cpu, into a voltage translator (LC), so it’s a 0 to 5V pwm signal at J18.


I’d think you’d want a pwm to voltage converter, not the other way around.

:smiley_cat:

I’m no EE but if your VFD needs voltage between 0-10V then that is what you need for it to run properly. I think that is just a signal input it uses to generate the proper constant voltage the spindle needs, but at the PWM duty cycle required to generate the spindle speeds you want. I think. Maybe I need to reread your post.

I have the same VFD and board on GrblHAL firmware but I only get about 1,2v out these pins, What firmware are you using? is it available on Github? Will appreciate if you or someone here can assist. The PWM module is the correct way to get the 10v out for VFD. I have done in on a different build running Arduino UNO(PWM Max 5V)

These control boards already produce a 5V ttl pwm signal. You want a dc signal that goes from 0 to 10V.

The posted Voltage to PWM Converter Module 0-5V 0-10V to 0-100% 50KHZ PWM Adjustable Power Module PCB Board posted, takes a voltage and makes pwm.

I’d think this would be more in line to what he needs.

About this item

  • 1. Convert 0-100% PWM digital signal into analog signal.

  • 2. The input digital signal can be a 0-100% PWM signal at 3.3V or 5V or 24V

  • 3. Output analog signal can be 0-10V voltage or 0-5V voltage.

  • 4. Widely used in PLC; SCM or other industrial control panel signal interface switch.

  • 5. Power anti-reverse function

:smiley_cat:

1 Like