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

Turn laser only on?

Scheduled Pinned Locked Moved
Laser Cutters
3
8
492
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.
  • undefined
    pauledd
    last edited by 2 Oct 2019, 08:44

    Hi

    I made great progress in wiring and connecting my test-laser to the duet
    board as described in this tutorial and now I want to calibrate the laser focus.
    As the laser is normaly controlled via G1 X.. Y.. S.... commands, how can I simply turn on the laser at a specific pwm value to adjust the focus point without movement in the X/Y axis?

    ----- human being without Windows™ ------

    1 Reply Last reply Reply Quote 0
    • undefined
      dragonn
      last edited by 2 Oct 2019, 10:41

      Try M4 S255 or M4 S1

      undefined 1 Reply Last reply 2 Oct 2019, 11:12 Reply Quote 0
      • undefined
        pauledd @dragonn
        last edited by 2 Oct 2019, 11:12

        @dragonn said in Turn laser only on?:

        Try M4 S255 or M4 S1

        Error: M4 command is not supported in machine mode Laser

        ----- human being without Windows™ ------

        1 Reply Last reply Reply Quote 0
        • undefined
          EasyTarget
          last edited by 2 Oct 2019, 12:33

          I think; until some upcoming changes hit release, you need to disable laser mode while finding focus since any movement will kill the laser. This is by design, a good safety feature, but irritating when focusing or size checking.

          I would create a macro for this that disables laser mode and sets the laser power to your focusing setting in one go. Dont forget a 'end' macro (Or M291/292 to confirm ending) to make things safe again afterwards.

          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.

          undefined 1 Reply Last reply 2 Oct 2019, 13:14 Reply Quote 1
          • undefined
            pauledd @EasyTarget
            last edited by 2 Oct 2019, 13:14

            @EasyTarget said in Turn laser only on?:

            you need to disable laser mode while ...

            Ok so I disable Laser mode by enabling another mode, I assume CNC because thats the only mode that works with M4 command...

            So I do a "M453 P3 R255" to enable CNC mode on Heater3 with PWM max to 255. If I then issue a "M4 S10" nothing happens. The laser stays off...

            ----- human being without Windows™ ------

            undefined 1 Reply Last reply 2 Oct 2019, 13:48 Reply Quote 0
            • undefined
              EasyTarget @pauledd
              last edited by EasyTarget 10 Feb 2019, 13:50 2 Oct 2019, 13:48

              @pauledd said in Turn laser only on?:
              Using the default CNC mode is what I intended, yes.

              If I then issue a "M4 S10" nothing happens

              Sounds like an improvement over getting an error.
              What happens if you do the same with M3?

              • M4 (reverse) has little application in for lasers.
              • It is used by some other firmwares to enable specific power modulation modes etc.

              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.

              undefined 1 Reply Last reply 2 Oct 2019, 14:43 Reply Quote 1
              • undefined
                pauledd @EasyTarget
                last edited by 2 Oct 2019, 14:43

                @EasyTarget said in Turn laser only on?:

                What happens if you do the same with M3?

                Works! ☺
                Can now turn ON/OFF the Laser with M3 S255, M3 S0
                Thanks.

                ----- human being without Windows™ ------

                undefined 1 Reply Last reply 2 Oct 2019, 14:58 Reply Quote 1
                • undefined
                  EasyTarget @pauledd
                  last edited by 2 Oct 2019, 14:58

                  @pauledd said in Turn laser only on?:

                  Works!

                  Great!,
                  I just realised that M453 P3 R255:255 would also solve this by enabling M4; it's the 2nd option on the R parameter that does that.
                  But.. I've also found with CNC's that the important thing is to come up with a workflow that works, and not get too fussy about the details, that way lies madness.

                  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 0
                  2 out of 8
                  • First post
                    2/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA