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

    Enable laser without moving

    Scheduled Pinned Locked Moved
    Laser Cutters
    4
    5
    505
    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.
    • Otsoundefined
      Otso
      last edited by Otso

      I have an Ooznest Workbee with an Opt Lasers LED laser. In RepRapFirmware 2, I could turn on the laser with the M3 command. In RepRapFirmware 3, the laser can apparently only be enabled in conjunction with a G1 command. Is this correct?

      I can somewhat understand this from a security perspective, but I still feel that I should have the option to enable the laser while the router is not moving if I want to. My use case is to align the zero position (or some other alignment) by enabling the laser at lower power and adjusting. This is now not possible, or is it?

      Edit: Related topics:

      • https://forum.duet3d.com/topic/19842/weird-laser-mode
      • https://forum.duet3d.com/topic/22195/m3-control-for-laser-focus

      So it can't (easily) be enabled. It would really be great if we could get M3/M5 back. If the commands have been removed for security reasons, then I think it's overprotective. I can light a fire with G1 as well. 😉

      1 Reply Last reply Reply Quote 0
      • chimaeraghundefined
        chimaeragh
        last edited by

        I believe this problem has already been addressed in some post.
        Create two macros, one for switching laser on and another for switching off

        Turn laser On

        M950 P0 C"!exp.heater3" Q500  ; allocate GPIO port 0 to heater3 on expansion connector, 500Hz
        M42 P0 S0.1                   ; set 10% PWM duty on GPIO port 0
        

        Turn laser Off

        M950 P0 C"!exp.heater3" Q500  ; allocate GPIO port 0 to heater3 on expansion connector, 500Hz
        M42 P0 S0                     ; set 0% PWM duty on GPIO port 0
        

        Duet 2 Wifi, Ooznest Workbee CNC 1510

        oliofundefined Rustamundefined 2 Replies Last reply Reply Quote 1
        • oliofundefined
          oliof @chimaeragh
          last edited by oliof

          @chimaeragh you could even put macros called M3.g / M5.g into /sys ... add a parameter to M3 and you can control the PWM when calling M3. That said I see no reference to M3/M5 being disabled in RRF. Did you enable laser mode?

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

          Otsoundefined 1 Reply Last reply Reply Quote 0
          • Otsoundefined
            Otso @oliof
            last edited by

            @oliof said in Enable laser without moving:

            @chimaeragh you could even put macros called M3.g / M5.g into /sys ... add a parameter to M3 and you can control the PWM when calling M3. That said I see no reference to M3/M5 being disabled in RRF. Did you enable laser mode?

            https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode:
            "M3 and M5 no longer turn the laser on and off; use G1 Snn moves to control laser power."

            1 Reply Last reply Reply Quote 1
            • Rustamundefined
              Rustam @chimaeragh
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Otsoundefined Otso referenced this topic
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA