Open aroef opened 2 years ago
@aroef Did you use the "SPINDLE" interface to connect to the laser? And what is the voltage/current of your laser need?
Perhaps you should ask quite differently....Power supply? Limit switch and various other things? A laser and its laser tube or the power supply unit which is to switch...what is connected there and how? Has everything not really to do with a spindle but would be for me $32=1 The question depending on whether it is 255 or 1000 and also quickly asked what the GRBL looks like? Here alone the spirits divide: ) I was just wondering if anyone here is of the opinion so a DLC and a few cables make a CO2 laser and that works? Sorry but if there is a power supply dangling and on this power supply to switch power I ask myself seriously if this is all meant seriously.
There is electricity hanging on which can cause quite nasty injuries! You really have a clue about what you're doing?
No, I do not think so but I do not care whose hair is sizzling!
Hi, maybe you need update the new firmware, I've had the same issue, a new firmware was released 3 days ago https://raw.githubusercontent.com/makerbase-mks/MKS-DLC32/main/firmware/TS35/CNC/Normal/DLC32_CNC_V1.2.001_Normal_8M_H35_1009.bin
you will see on the bord the "Laser" led will turn on if you "fire".
But if you measure the voltage of +LASER- will be ca. 24V and idk if it will kill the MYJG-40 transformer TTL goes to 5V. but I think you still need original regulator because the transformer works with <5V not 24V But this guy connected it directly to a MKS SBASE. I don't own the sbase and idk what is the output or operation range.
Isn't it the DLC32 for a 24V LED Laser?
A friend told me I should buy the new bord, it was new released. So I've also a new bord, destroyed the LIHUIYU M2 (original) controller and can't use it now...
@PunkRa1n Hello, I don't know whether I can get your information correctly. The DLC32 can drive 24v laser of cause, in this situation, you should use the DC24V for power supply. TTL is 5v pwm output.
I still don't know which point you mentioned has problem. Hope you can feedback.
The co2 Laser needs a GND signal to switch on the Laser and 0-5V to regulate the Power (5v = 100%). This means we need a Pin which switches to gnd at M3 Command and a 0-5v linear output for laserpower (S=1 to S=100 with $30=100 and $31=1) Or a 5v / 12v / 24v PWM output from 100HZ to 5KHZ to connect something like this to convert the PWM signal to analog voltage: https://www.amazon.de/dp/B0787VZM9B (10KHZ means 10v output, so pwn should be limited to 5KHZ to get max 5v output from the module)
@aroef Did you use the "SPINDLE" interface to connect to the laser? And what is the voltage/current of your laser need?
The voltage works between 0.3V (1%) ...5V (100%). The MYJG-40 transformer can't handle more as @tschensie mentioned.
@makerbase-mks Will we receive a custom binary for the CO2 laser ?
I'm using the board with a k40, I just used a small NPN transistor connected to the TTL output with a 1k base resistor. In theory you could use the spindle output which already has a mosfet but for some reason it outputs close to 24v when it is floating (I'm using the 24v from the k40 PSU to power the board) so I just did it this way to be safe. I guess you could use an optocoupler to be extra safe.
The enable pin on the power supply is active low (turns on when grounded) and doesn't need an analog voltage to regulate the power, PWM works just fine.
sorry for the late reply my dlc32 runs fine after updating the firmware with dlc32 v1.1 firmware
dlc32 board power source must be from 24v co2 power supply, connect G to L power supply, and S to in power supply And in co2 power suply connect P to G
@aroef It works fine with TTL G to L and S to IN and how did you fixed it with homing? You didn't use the homing function, right? Bc I receive every time ALARM 9 and i see in the console the Z axis goes in one direction and fails. Im also not able to disable the Z axis somewhere.
I've added 2 endstops for better homing. The optic entstop didn't work fine. But without Z axis and Z endstop is worthless. Actually I didn't spent much time to build a Z Bed.
I did replace my k40's photo interrupters with micro switches as well. I just connected the common (COM) of the micro switches to GND and the normally open (NO) to S and it works fine (I don't remember if I had to change any setting apart from $21). I did not build the Z axis yet, it homes fine without it.
@aroef It works fine with TTL G to L and S to IN and how did you fixed it with homing? You didn't use the homing function, right? Bc I receive every time ALARM 9 and i see in the console the Z axis goes in one direction and fails. Im also not able to disable the Z axis somewhere.
I've added 2 endstops for better homing. The optic entstop didn't work fine. But without Z axis and Z endstop is worthless. Actually I didn't spent much time to build a Z Bed.
hello there would you be able to post some closeup pictures that shows your connection to the Power supply? did you disconnect the digital panel's cable from the In? and which SW are you using? assuming you are using LB, how the power setting is on your unit? since now you can control PWM via the TTL "S" to In. Thank you for your feedback
Hi @3Dangel
A better view of my wiring It works great $h don't work if you don't have a Z axis. But you can bypass it with $hy and $hx
Actually I do not use the original panel. You can adjust the power with LightBrurn pretty well
Here also my config Needs also some fine tuning
$1 is 255 because the motor should lock and don't move around.
$0=10 (Step pulse time)
$1=255 (Step idle delay)
$2=1 (Step pulse invert)
$3=1 (Step direction invert)
$4=0 (Invert step enable pin)
$5=1 (Invert limit pins)
$6=0 (Invert probe pin)
$10=3 (Status report options)
$11=0.010 (Junction deviation)
$12=0.002 (Arc tolerance)
$13=0 (Report in inches)
$20=1 (Soft limits enable)
$21=0 (Hard limits enable)
$22=1 (Homing cycle enable)
$23=3 (Homing direction invert)
$24=300.000 (Homing locate feed rate)
$25=1000.000 (Homing search seek rate)
$26=5.000 (Homing switch debounce delay)
$27=5.000 (Homing switch pull-off distance)
$28=8000.000 ()
$30=10000.000 (Maximum spindle speed)
$31=0.000 (Minimum spindle speed)
$32=0 (Laser-mode enable)
$38=0 ()
$40=0 ()
$100=160.000 (X-axis travel resolution)
$101=160.000 (Y-axis travel resolution)
$102=160.000 (Z-axis travel resolution)
$103=100.000 ()
$104=100.000 ()
$105=100.000 ()
$110=6000.000 (X-axis maximum rate)
$111=6000.000 (Y-axis maximum rate)
$112=6000.000 (Z-axis maximum rate)
$113=1000.000 ()
$114=1000.000 ()
$115=1000.000 ()
$120=1000.000 (X-axis acceleration)
$121=1000.000 (Y-axis acceleration)
$122=1000.000 (Z-axis acceleration)
$123=200.000 ()
$124=200.000 ()
$125=200.000 ()
$130=285.000 (X-axis maximum travel)
$131=272.000 (Y-axis maximum travel)
$132=80.000 (Z-axis maximum travel)
$133=300.000 ()
$134=300.000 ()
$135=300.000 ()
Hi @aroef
A better view of my wiring It works great $h don't work if you don't have a Z axis. But you can bypass it with $hy and $hx
Actually I do not use the original panel. You can adjust the power with LightBrurn pretty well
Here also my config Needs also some fine tuning
$1 is 255 because the motor should lock and don't move around.
$0=10 (Step pulse time) $1=255 (Step idle delay) $2=1 (Step pulse invert) $3=1 (Step direction invert) $4=0 (Invert step enable pin) $5=1 (Invert limit pins) $6=0 (Invert probe pin) $10=3 (Status report options) $11=0.010 (Junction deviation) $12=0.002 (Arc tolerance) $13=0 (Report in inches) $20=1 (Soft limits enable) $21=0 (Hard limits enable) $22=1 (Homing cycle enable) $23=3 (Homing direction invert) $24=300.000 (Homing locate feed rate) $25=1000.000 (Homing search seek rate) $26=5.000 (Homing switch debounce delay) $27=5.000 (Homing switch pull-off distance) $28=8000.000 () $30=10000.000 (Maximum spindle speed) $31=0.000 (Minimum spindle speed) $32=0 (Laser-mode enable) $38=0 () $40=0 () $100=160.000 (X-axis travel resolution) $101=160.000 (Y-axis travel resolution) $102=160.000 (Z-axis travel resolution) $103=100.000 () $104=100.000 () $105=100.000 () $110=6000.000 (X-axis maximum rate) $111=6000.000 (Y-axis maximum rate) $112=6000.000 (Z-axis maximum rate) $113=1000.000 () $114=1000.000 () $115=1000.000 () $120=1000.000 (X-axis acceleration) $121=1000.000 (Y-axis acceleration) $122=1000.000 (Z-axis acceleration) $123=200.000 () $124=200.000 () $125=200.000 () $130=285.000 (X-axis maximum travel) $131=272.000 (Y-axis maximum travel) $132=80.000 (Z-axis maximum travel) $133=300.000 () $134=300.000 () $135=300.000 ()
@ PunkRa1n
thank you for posting your info and picture. may I ask why didn’t you use $32=1 to enable the laser! This way it will not enable the Z axis As for power adjustment in Lb Did you go through the testing to see what is the Maximun power you can use for your K40? So it will not damage the laser tube?
thanks agsin
Hi @3Dangel
Thanks, that was the missing piece of information what I've needed, the laser mode.
I didn't had much time for testing.
The transformer don't destroy the tube. It can't output more then ~40W if you set the output to 100% like on the 7 segment panel to 99.9. It's the same if you set the TTL to high like 5v The signal looks like this So you can't overpowering it. But it works pretty well in a rage of 20-55%.
But I've found an interesting article about the k40 Lasertube. It isn't a 40W tube.
https://k40.se/k40-laser-troubleshooting/dead-lasertube/
As mentioned in the article, it should be installed additionally a 30mA meter.
Hi PunkRa1n
I'm not aroef. :-) and you are welcome about the $32=1
The consensus is that the laser tube in our K40, should not over powered beyond 15mA. the 7 segment display (the Digital controller panel) is not accurate and by reaching beyond 30, would shorter your Co2 laser tube's life spam. I suggest you to join FB K40 user group and you will find much more of information there. Hope you are not driving your tube beyond 30 (which is the Max power to NOT kill sooner your tube).
Thanks, that was the missing piece of information what I've needed, the laser mode.
I didn't had much time for testing.
The transformer don't destroy the tube. It can't output more then ~40W if you set the output to 100% like on the 7 segment panel to 99.9. It's the same if you set the TTL to high like 5v The signal looks like this So you can't overpowering it. But it works pretty well in a rage of 20-55%.
But I've found an interesting article about the k40 Lasertube. It isn't a 40W tube.
https://k40.se/k40-laser-troubleshooting/dead-lasertube/
As mentioned in the article, it should be installed additionally a 30mA meter.
CAUTION!!!: here is what I have as wiring AND IT DOES NOT WORK on DLC32 V2.X: Due to changes in V2.x that TTLs Gnd has changed and it is a REAL GND, causing the K40 to fire at powering ON. The remedy it to bring the Gnd from the Spindle and it will wok.
I'm using the board with a k40, I just used a small NPN transistor connected to the TTL output with a 1k base resistor. In theory you could use the spindle output which already has a mosfet but for some reason it outputs close to 24v when it is floating (I'm using the 24v from the k40 PSU to power the board) so I just did it this way to be safe. I guess you could use an optocoupler to be extra safe.
The enable pin on the power supply is active low (turns on when grounded) and doesn't need an analog voltage to regulate the power, PWM works just fine.
hi [RandomHacks-Git]
I'm having a bit of issue with my connection... my board is a V2.x it has a dedicated 3 pins TTL as well as the SPINDLE out out of 2 pins it seems my TTL is not the same as the SPINDLE's pins; the does not go 24V when floating. BUT the spindle's does.
If connected the TTL's Gnd to the L, the laser will trigger on and fire at powering up the unit non stop. it connecting the Spindle's Gnd to L, it will act correctly with the digital panel which controls the MAX power limit, but I am loosing the PWM contol ( never got it to work... I'm using an external power supply) would you be able to share couple more picture of your set up and if time permits, how you connected the NPN transistor with the resistor... I see your picture, but cannot make out where you are connecting the connector to (from - to).
really appreciate your feedback!!! Thank you in advance!!
I think the mosfet should be connected like this. I have not tested it yet. (picture from https://forum.makerforums.info/t/grbl-1-1f-config-with-prontoneer-cnc-shield/9155/12 recommended by https://der-frickler.net/technik/k40laser) .
Hi, i have a problem getting my 50w laser to work with the mks dlc32 2.1v basically my co2 power supply only has: TH TL WP G IN 5V the only links I found working were: power supply CO2 / MKS TL / -SPINDLE G / GND
The problem is so set up it delivers at most only 12-13ma against 22 but it delivers with the original m2 nano what am I doing wrong? is there a solution to deliver full power?
can we not just do this like it says???
@3Dangel, hope you or someone can help as I have the same Makerbase MKS DLC32 V2.1 as commented on Feb 21, 2022 but I have the type 2 power supply for the K40 laser engraver.
You mention, due to changes in V2.x that TTLs Gnd has changed and it is a REAL GND, causing the K40 to fire at powering ON. The remedy it to bring the Gnd from the Spindle and it will wok. The diagram does not show going to the negative on the spindle. I'd like clarification whether wiring either way causes any issue?
Also my laser head does not register it is home when the laser head hits the limits and keeps banging against them $32 is enabled. These wires for the limit switches are in the G and S on the motherboard. I get the following error on lightburn when the head hits the limit
This is the details from Lightburn
$0=10 $1=200 $2=0 $3=1 $4=0 $5=0 $6=0 $10=0 $11=0.010 $12=0.002 $13=0 $20=1 $21=1 $22=1 $23=3 $24=75.000 $25=2400.000 $26=50.000 $27=4.000 $28=1000.000 $30=1000.000 $31=0.000 $32=1 $38=1 $37=1 $40=1 $100=160.000 $101=160.000 $102=160.000 $103=100.000 $104=100.000 $105=100.000 $110=500.000 $111=5000.000 $112=1000.000 $113=1000.000 $114=1000.000 $115=1000.000 $120=800.000 $121=300.000 $122=1500.000 $123=200.000 $124=200.000 $125=200.000 $130=300.000 $131=200.000 $132=50.000 $133=300.000 $134=300.000 $135=300.000
Any help would be appreciated
Yup going to G of the spindle Only one line connected from spindle’G to the power supply of the laser. Limit switch You would need to try on error. Multimeter to test first if it is working or not Then connected onto DLC32, does it stops the motor manually triggering it?; I uploaded my config in k40 FB group.. My limit switch x= left end, y=left back
DLC32 needs the ground from the main power supply
Joint FB group: Chinese K40 laser group File & posts are in there Join LB forum more info in there Key word = DLC32
Good luck
On Thu, Jan 26, 2023 at 4:30 AM capt1701a @.***> wrote:
@3Dangel https://github.com/3Dangel, hope you or someone can help as I have the same Makerbase MKS DLC32 V2.1 as commented on Feb 21, 2022 but I have the type 2 power supply for the K40 laser engraver.
[image: 20230125_184250] https://user-images.githubusercontent.com/23742324/214819779-5b451fdf-e823-46ba-9356-80b101e62779.jpg
You mention, due to changes in V2.x that TTLs Gnd has changed and it is a REAL GND, causing the K40 to fire at powering ON. The remedy it to bring the Gnd from the Spindle and it will wok. The diagram does not show going to the negative on the spindle. I'd like clarification whether wiring either way causes any issue?
Also my laser head does not register it is home when the laser head hits the limits and keeps banging against them $32 is enabled. These wires for the limit switches are in the G and S on the motherboard. I get the following error on lightburn when the head hits the limit
[image: 20230123_142614] https://user-images.githubusercontent.com/23742324/214824639-3ed1b70d-3bda-4021-81c5-09cce302134a.jpg
This is the details from Lightburn
$0=10 $1=200 $2=0 $3=1 $4=0 $5=0 $6=0 $10=0 $11=0.010 $12=0.002 $13=0 $20=1 $21=1 $22=1 $23=3 $24=75.000 $25=2400.000 $26=50.000 $27=4.000 $28=1000.000 $30=1000.000 $31=0.000 $32=1 $38=1 $37=1 $40=1 $100=160.000 $101=160.000 $102=160.000 $103=100.000 $104=100.000 $105=100.000 $110=500.000 $111=5000.000 $112=1000.000 $113=1000.000 $114=1000.000 $115=1000.000 $120=800.000 $121=300.000 $122=1500.000 $123=200.000 $124=200.000 $125=200.000 $130=300.000 $131=200.000 $132=50.000 $133=300.000 $134=300.000 $135=300.000
Any help would be appreciated
— Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-DLC32/issues/48#issuecomment-1404876625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYWWXP4B5DHQRWFML6CZZTWUJN47ANCNFSM5IUG45FQ . You are receiving this because you were mentioned.Message ID: @.***>
Здравствуйте. Сталкнулся с аналогичной проблемой. Решилась следующим путем. Подключение: S=>IN TTl=>G Прошивка под лазер: v2.30_H35_2022_1223_N_Z_X_001.bin
solder CO2 laser PSU (N) to the left leg of the mosfet on board
then connect laser PSU (L) to pin SCL on board and you are done you wont need a potentiometer .thus arrangement can work with any laser software or lightburn
Hi friends,First time on Github,not to sure how it works,but i have a few questions.i have the same setup as Llin32 above.i just want to know if his setup and wiring is ok and if it is working.i dont know how to ask him directly.
Hi friends,First time on Github,not to sure how it works,but i have a few questions.i have the same setup as Llin32 above.i just want to know if his setup and wiring is ok and if it is working.i dont know how to ask him directly.
IS YOUR BOARD A V2.1??? They are slightly different. Personally I wouldnt do my wiring anything like that. Its much simpler and ive got thus far about 11 months non stop from mine with amazing imo pwm/grayscale. **3DANGEL has it correct above!!!!!*****
Hi thanx for the reply.Yes my board is a V2.1,,,,,,but 3DAngel is using a laser power suply with a slightly diverent terminal configuration as mine. so i am not following exactly.I am usung a 24VDC power suply to suply the MKS DLC 32. so now i am not sure because as i understand the laser power suply that i have say 0-5V on the IN terminal. this is acording to the board: gpio.32 Spindle or TTL signal GPIO32 that is located at TTL section, will deliver up to 5v of power to trigger the laser, this is how you get PWM control is by the firmware varying the voltage. GPIO32 at the spindle location is a controlable Ground only, this is how IT controls spindle RPM when being used for a mill
so do i use GND by TTL section or - by Spindle section to conect to G terminal on laser power suply?
Solder (N) to left leg of mosfet as in picture then ( L) connect it to SCL pin you are done this should work
On Mon, 16 Oct 2023, 16:38 Flipcnc, @.***> wrote:
[image: Laser-Power-Supply-7_af98b2c5-6eef-4460-a2ba-de7e40e74cbe (1)] https://user-images.githubusercontent.com/147820401/275553754-31858f7a-fe58-4ae0-ae47-8804acf1ae9e.jpg
— Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-DLC32/issues/48#issuecomment-1764624177, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKUIP5V3AWKC4T2733EK73X7VBFNAVCNFSM5IUG45F2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGQ3DENBRG43Q . You are receiving this because you commented.Message ID: @.***>
I tried wiring the co2 laser with the dlc32 board, but the laser doesn't turn on.