co2 Laser fire duet 0.85
-
What is the syntax of your M571 command?
https://docs.duet3d.com/User_manual/Reference/Gcodes#m571-set-output-on-extrude
-
@phaedrux said in co2 Laser fire duet 0.85:
What is the syntax of your M571 command?
https://docs.duet3d.com/User_manual/Reference/Gcodes#m571-set-output-on-extrude
It is "M571 P0 S1". but i ve read that since there is an M452 in mt config an M3 is the proper command for getting the laser on. I am very confused...
-
M452 would be more desirable if your firmware version supports it. Which I'm not certain.
What happens if you send M452?
https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode
-
@phaedrux said in co2 Laser fire duet 0.85:
M452 would be more desirable if your firmware version supports it. Which I'm not certain.
What happens if you send M452?
https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode
i am sending M452 and didn't got any responce. I have a m452 in my config file .
-
Looking at the release notes it looks like M452 should be supported farther back than 1.26.1
So what is the syntax of your M452 command?
With access to laser mode, you wouldn't need to use M571 anymore as long as your laser gcode generation software can output G1 S commands to set laser power.
-
@phaedrux said in co2 Laser fire duet 0.85:
Looking at the release notes it looks like M452 should be supported farther back than 1.26.1
So what is the syntax of your M452 command?
With access to laser mode, you wouldn't need to use M571 anymore as long as your laser gcode generation software can output G1 S commands to set laser power.
M452 P"FAN0" S1 . i also tried P0 instead P"FAN0"
please keep in mind that if i send M106 P0 S255 the laser fires.
-
I believe with your firmware You'll need to use P# where # is the logical pin number being used. "fan0" would be for RRF3.
Now we just need to find the logical pin number of Fan0. And then G1 S1 moves should enable the laser while moving.
I think it should be P20 if I'm reading this table correctly.
M452 P20 S1
-
if i send M452 p20 s1 the firmware says "bad p parameter"
-
@gaou
I've played with diode laser on older RRF versions, but never use M571 or M452. There was a plugin raster2gcode and others in inkscape, that allowed me to use M106 P0 Snnn to switch power on and M107 (or M106 P0 S0) to power off.
What concernes me are the high currents you run your 40W? laser tube with. I'd never go above 12mA, better stay around 10mA for cutting. -
@o_lampe said in co2 Laser fire duet 0.85:
@gaou
I've played with diode laser on older RRF versions, but never use M571 or M452. There was a plugin raster2gcode and others in inkscape, that allowed me to use M106 P0 Snnn to switch power on and M107 (or M106 P0 S0) to power off.
What concernes me are the high currents you run your 40W? laser tube with. I'd never go above 12mA, better stay around 10mA for cutting.I keep that in mind but i would prefer to do this by the lightburn way....! I was thinking of writhing a macro and change the gcode on notepad++ .
I knew that inkscape can write gcode for the lasers but because of my job i am very addicted to lightburn that comes with the big lasers. I am so addicted to duet also....! ANyway this is probably the way to go and thanks that bringing this up...I cant remember what exactly was the power range of this tube and it is the second i own ( sold the first) but during the tests i am using a test resistor that is intended for that job. it can stand up to 100w power ..
Thanks a lot for replying.
-
@gaou said in co2 Laser fire duet 0.85:
if i send M452 p20 s1 the firmware says "bad p parameter"
Sorry, I think I may have been looking at the wrong logical pin number section.
Here's the one for the 0.85 board. Which of those listed pins are you using? Keep in mine, I have zero familiarity with the older pre-Duet2 boards.
https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Duet_0_6_and_0_8_Num_5 -
@phaedrux said in co2 Laser fire duet 0.85:
@gaou said in co2 Laser fire duet 0.85:
if i send M452 p20 s1 the firmware says "bad p parameter"
Sorry, I think I may have been looking at the wrong logical pin number section.
Here's the one for the 0.85 board. Which of those listed pins are you using? Keep in mine, I have zero familiarity with the older pre-Duet2 boards.
https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Duet_0_6_and_0_8_Num_5i cant understand how are these connected to fan0 . all of these seems to be at the expansion header.
-
Yes I'm not sure either. I'll check.
-
@gaou said in co2 Laser fire duet 0.85:
"bad p parameter"
So P20 is correct I think, but we may have missed the important step of freeing up the pin first by disabling the fan with
M106 P0 I-1
. So give that a try. -
@phaedrux said in co2 Laser fire duet 0.85:
@gaou said in co2 Laser fire duet 0.85:
"bad p parameter"
So P20 is correct I think, but we may have missed the important step of freeing up the pin first by disabling the fan with
M106 P0 I-1
. So give that a try.Look at my first post. I have already tried it and didn't get anything.
-
@gaou said in co2 Laser fire duet 0.85:
Look at my first post. I have already tried it and didn't get anything.
Sorry I missed that. I'll see if DC42 can take another look. From what I gather, it should be working.
If you send M452 by itself what does it respond with?
-
first of all thanks for ur insistense on my request.
there is no need for DC to step in the post. i think he has already too many things to care. I will qo on with the m106 command. It would do the job alright, it just would be safer for that kind of cnc ( laser beam) to act only on G1'sx.
if i send m450 i am getting a laser mode....
-
i ve managed to get some results working a bit with lightburn. i also noticed ( i have read it already) that both lightburn and laserweb can connect to the duet3d . I didn't try to control the the machine through them . i am using the web interface at the moment.
the upper right one is the clearest one but it still needs some more tweaking.
i am using both of the pwm fans output to control the laser ( FAN0) and the exhaust fan (FAN1) and the workaround for the second fan is to replace the M8 M9 from Lightburn to M106 P1 S1 or S0