Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    trying to hook a laser up to my duet 3

    Laser Cutters
    3
    4
    155
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thechainring
      thechainring last edited by

      so i bought this laser and I am trying to get it to work with my duet 3
      I added this to my config.g

      M452 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 Laser

      here is the laser that i bought.

      https://www.aliexpress.com/item/1005001858106008.html?pdp_ext_f={"sku_id":"12000025324785126","ship_from":"CN"}&gps-id=pcStoreLeaderboard&scm=1007.22922.122102.0&scm_id=1007.22922.122102.0&scm-url=1007.22922.122102.0&pvid=4b1468f0-4a66-4109-9a4d-c7c0b92d2de4&spm=a2g0o.store_pc_home.smartLeaderboard_6000614711153.1005001858106008

      SIam 1 Reply Last reply Reply Quote 0
      • SIam
        SIam @thechainring last edited by

        @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

        Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
        Duet WiFi 1.02 or later + DueX5
        RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
        Duet WiFi Server: 1.26
        Duet Web Control 3.4.0beta4 (2021-09-27)

        1 Reply Last reply Reply Quote 0
        • dc42
          dc42 administrators last edited by dc42

          @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.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          thechainring 1 Reply Last reply Reply Quote 0
          • thechainring
            thechainring @dc42 last edited by

            @dc42

            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.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA