I have replaced an eleksmana SE with a DLC32 V2.1.003. Everything works fine but the laser. I tried a lot of things from other subjects in the forum and posts on internet but nothing worked for me.
When connected , the DLC returns
[ORIGIN:China]
[PRODUCER:MKS_DLC32]
[DATE:20220905]
[VER:1.1h.2023052701:]
[OPT:VPHSW,15,256]
Target buffer size found
[MSG:Machine Name:MKS DLC32]
[MSG:Mode=AP:SSDI=MKS_DLC:IP=192.168.4.1:MAC=24-DC-C3-0A-11-AD]
On the DLC32 H35 screen :
Board:MKS DLC32 CNC V2.1
V2.3(8M.H35.20230527)
CPU:Freq:240MHz/ T:50.0C/ ID:44049
When i try to start a stream, i get the following message :
[MSG:M4 requires laser mode or a reversable spindle]
error:20
Unsupported or invalid g-code command found in block.
Thank’s but, laser mode is enabled (mentionned in many posts)
I’ve also verified the steps in Lightburn standard GRBL setup just in case.
But still error 20 when i send M4 command.
No luck
If that resolves the issue, you can continue working with “Constant Power Mode” enabled at all times, which could lead to over-burning in some areas, or you will need to try re-flashing your controller’s firmware in order to use M4 / Variable Power commands. The issue is likely with the version of GRBL it’s running.
Thank’s
I’ve tried M3 successfully but my last controller was working with M4 so M4 must work with the DLC32.
The GRBL looks like V1.1h dated 27 may 2023. I’ll try to burn an older version this weekend and advise.
Regards
i use my 2 cents… i knew, cause i tried on my skin, that DLC32 can work with LB via USB WITHOUT attached screen, or with screen but doesn’t work with LB connected via USB.
Try dataching screen from controller and connect only the PC via USB.
That’s because both screen and USB are connected via serial port to the controller.
It was in fact a firmware issue.
The V2.3(8M.H35.20230527) provided with the board had issue with m4 command event the laser mode ($32=1) is enabled.
I have flashed the board with an older one (V2.30_H35_2022_1223_N_ZX_001.bin) downloaded here on github :https://github.com/makerbase-mks/MKS-DLC32/tree/main/firmware/TS35/Laser/Normal/Board_V2.0
Now it works perfectly with lightburn and M4 command even via USB and TS35 Screen connected !
I have one more step to do. Two possibilities to adapt the pwm signal to drive the eleksmaker 2.5W laser.
boost the 5V pwm signal power on J18 with a FET. If not, the signal drops to 0.8V
limit the 12V pwm signal on J7 to 5V. Because the previous controller (eleksmana se) deliver a 5V TTL to the laser
Thank’s to all of you
Regards
A couple of thoughts: first - you might want to consider obscuring you MAC/IP address’ in your first post like you did with your password. Second - the current (if that’s what you mean by power) requirements for the pwm signal at the laser module should be fairly low, standard TTL can source 16mA, so if it’s being sucked down to essentially 0V then I think something else is going on. Third - I’ve used these small voltage regulators https://www.amazon.com/gp/product/B01MQGMOKI for adding 12V fans to 24V circuits. I have no idea what they would do with a 12V pwm signal. I have a handful of them, if you’re in the States, I can throw a couple in an envelope for you to play with.
Sorry for being late but i had a lot of activities.
Thank’s bionicback321 for your suggestions but now all is fine.
The problem was not the pwm signal from the dlc32 board.
The pwm connector pinout was different on the original motherboard and the dlc32 so i burned a buffer chip of the laser module. That’s why the pwm signal delivered by the dlc32 was forced low.
I replaced the original laser module pcb by another one found on AliExpress and the laser module is functioning well. https://fr.aliexpress.com/item/1005004651401617.html?spm=a2g0o.order_list.order_list_main.24.21ef5e5bnvSzAg&gatewayAdapt=glo2fra
Finally, i just changed the value $23 from 5 to 3 to have the same origin position than lightburn.
So my old eleksmaker A3 is more silent, capable of working standalone or via wifi, able to drive a rotary module and can do homing via limit switches.
Thank’s to all of you