trying to hook a laser up to my duet 3
-
so i bought this laser and I am trying to get it to work with my duet 3
I added this to my config.gM452 C"out9" R255 F200 ; Enable Laser mode, on out9, with max intensity being 255, and a PWM frequency of 200
i thought i read that m3 or m4 turns the laser on and off what am I doing wrong because? here is the the error i am getting when i try enter in m3
10/19/2021, 10:44:45 PM m3
Error: M3: Command is not supported in machine mode Laserhere is the laser that i bought.
-
@thechainring I think you must give the S parameter by your M3 Command
Snnn Spindle RPM (CNC mode) or laser power (laser mode). In laser mode, the relationship between the S parameter and laser power depends on the R parameter that was specified in the M452 command.
M4 you can forget to switch off the laser you need m5
-
@thechainring see https://duet3d.dozuki.com/Wiki/Laser_PWM_control#Section_Controlling_the_laser. Modern programs for producing GCode for laser cutters/engravers support controlling the laser using the S parameter of the G1 command.
-
okay thanks i will mess around with it a little more tomorrow i havent tried any programs for generating the gcode for using the laser all i was attempting to do so far was to turn the laser on and that was probably where i am going wrong. usually any problems i have ran into with the duet 3 has been on my end. I had almost given up on anything to do with 3d printers because i did not like Marlin at all but thought i would buy the duet 3 after you helped me get the first one going a while back i have bought 2 more boards and they completely changed my outlook on 3d printers. so truly thank you for such an easy and in my opinion superior product.