PWM spindle is not enabled

I updated the firmware of the MKS DLC32 controller to the latest version of (V2.30_H35_2022_1223_N_ZX_001), after that I pressed the “spindle” option on the touch-screen attached to the controller. Then, when I try to engrave/cut with the laser, there’s no more laser coming out and I got this error ([MSG:M4 requires laser mode or a reversable spindle]
error:20
Unsupported or invalid g-code command found in block.
On or near line 2:).

I tried to figure it out by myself, I set the PWM frequency to 1kHz and I got this message ([MSG:PWM spindle Output:GPIO(32), Enbl:None, Dir:None, Freq:1000Hz, Res:16bits]), where I noticed that Enbl and Dir are not defined.

So how can I fix it up if any one can help please.

please note that the laser is working when I try to frame any shape.

You probably didn’t set $32=1 That might create the first error.

You should only set the PWM frequency yourself if you know that your laser head has a specific one.
I suggest resetting the firmware settings and set $32=1. Then try again.

It’s is already on, check the following settings

$$

$0=10

$1=25

$2=0

$3=1

$4=0

$5=1

$6=1

$46=10.000

$10=1

$11=0.010

$12=0.002

$13=0

$20=0

$21=0

$22=0

$23=1

$24=300.000

$25=1000.000

$26=250.000

$27=1.000

$28=1000.000

$30=10000.000

$31=0.000

$32=1

$38=0

$40=1

$100=80.000

$101=80.000

$102=80.000

$103=100.000

$104=100.000

$105=100.000

$110=6000.000

$111=6000.000

$112=6000.000

$113=1000.000

$114=1000.000

$115=1000.000

$120=500.000

$121=500.000

$122=500.000

$123=200.000

$124=200.000

$125=200.000

$130=450.000

$131=450.000

$132=50.000

$133=300.000

$134=300.000

$135=300.000

ok

One of the reasons you get no beam is because $30 is set to 10,000. Set it to 1,000. Usually, most control software use 1000 as a maximum s-value.

Also, make sure you didn’t enable gcode clustering in the device settings. Though I don’t think that’s the issue here.

Maybe also try to go one firmware version back, I think I read a few reports that the latest version has some bugs. But I don’t recall exactly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.