Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Support Proportional laser power on M4 commands

    Scheduled Pinned Locked Moved
    Firmware wishlist
    4
    4
    336
    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.
    • EasyTargetundefined
      EasyTarget
      last edited by

      The popular and well-supported GRBL firmware(s) implement an alternative form of 'laser mode' using the otherwise redundant M4 'reverse spindle' gcode.
      With this enabled they scale the laser power during (and only during) cut movements as a factor of the actual movement speed vs desired cut rate.

      This is not really aimed at laser cutting; it's intended for those of us doing engraving activities; it prevents overburning artifacts during acceleration and corners; and protects the workpiece during travel moves.

      So; I'd like to suggest that Duet implements a 2nd 'laser mode' that follows the behaviour of grbl1.1f+ in using M4 and pwm scaling.

      • It's a valuable mode that produces real improvements to work quality, and is totally the sort of thing an advanced motion control system should provide.
      • It brings instant compatibility with gcode produced by all the common free and hobby oriented engraving tools.

      Note:
      I had a search and saw this but cant find anything 'formal' here discussing this, so I thought I'd lob it at the Wishlist. I'm kinda hoping the answer is 'yawn; on the way; just wait for RRF3 to flesh out', but here goes anyway.

      Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
      PrintPy2024 to the rescue!
      MicroPython based; with simple wiring and and no custom PCB.

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

        RRF2 already implements PWM scaling during the steady-speed phase of the movement. RRF3 implements it during the acceleration and deceleration phases too.

        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

        1 Reply Last reply Reply Quote 1
        • infamous_pandaundefined
          infamous_panda
          last edited by

          In laser mode is there a difference between M3 and M4 in RRF?

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @infamous_panda
            last edited by

            @infamous_panda M4 is CNC specific, what sort of software is generating M4 for laser cutting?

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