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

    laser engrave

    Scheduled Pinned Locked Moved
    Laser Cutters
    3
    14
    508
    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.
    • yuvalundefined
      yuval
      last edited by

      hello everyone, im trying to setup laser module
      this is my setup:
      ; Laser module settings
      M563 P2 S"V" X3
      G10 P2 Y0 V0 Z0 S0 R0 ; set tool 2 axis offsets
      G10 P2 V0 Y0 R0 S0 ; set initial tool 2 active and standby temperatures to 0C
      M106 P2 S0
      M452 C"out9" R255 F500

      im using diy idex printer which "U" corresponding to the laser tool head

      the laser is not connected yet. im using voltmeter to measure the out9 pins

      followed by the instructions manual, im sending the gcode:
      g1 s255
      or
      t2 g1 s255

      both of the gcodes doesnt change the PWM voltage at the out9 pin(out9 and ground)

      any ideas?

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @yuval
        last edited by

        @yuval what firmware version are you running?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        yuvalundefined 1 Reply Last reply Reply Quote 0
        • yuvalundefined
          yuval @jay_s_uk
          last edited by

          @jay_s_uk im using firmware version 3.3

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @yuval
            last edited by

            @yuval in which case to use laser mode you will have to switch RRF into that mode using M452 whenever you need to use the laser https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            yuvalundefined 1 Reply Last reply Reply Quote 0
            • yuvalundefined
              yuval @jay_s_uk
              last edited by yuval

              @jay_s_uk im not sure i understand what you said

              As ive wrote above, i am using m452 ("M452 C"out9" R255 F500")

              so, in order to activate the laser, i should send the gcode :
              M452 C"out9" R255 F500
              t2 g1 s255

              and yet, i measure 0v from out9 to ground

              jay_s_ukundefined dc42undefined 2 Replies Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @yuval
                last edited by

                @yuval sorry, i misread.
                you can't measure PWM with a voltmeter (not quick enough). you'd need an oscilloscope or the like

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                yuvalundefined 1 Reply Last reply Reply Quote 0
                • yuvalundefined
                  yuval @jay_s_uk
                  last edited by

                  @jay_s_uk but wait, if ill try to enable the laser full power, s255, i should read 5v with any voltmeter, shouldnt I?

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @yuval
                    last edited by

                    @yuval you should ready 5v at any power level. The only time you shouldn't read anything is when its off

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    yuvalundefined 1 Reply Last reply Reply Quote 0
                    • yuvalundefined
                      yuval @jay_s_uk
                      last edited by

                      @jay_s_uk i understand.
                      i ask you this:
                      if i set the pwm to 100%, any volmeter should be able to read the voltage.

                      therefore, i think somthing is wrong in my setup, because i read 0v even at 100% power

                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @yuval
                        last edited by

                        @yuval you can test the output using M42 if you're concerned it doesn't work.
                        (until recently) I ran my laser cutter on RRF so I know it works.
                        Are you using the Out9 connector or the VFD/Laser connector?

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        yuvalundefined 1 Reply Last reply Reply Quote 0
                        • yuvalundefined
                          yuval @jay_s_uk
                          last edited by

                          @jay_s_uk doesnt m42 work only on GPIO?

                          ive tried
                          M42 P"OUT0" S255/S1
                          M42"LASER" S255/S1

                          nothing changed..

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @yuval
                            last edited by

                            @yuval you have to set the pins up with M950 first as described in the docs to use M42

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            yuvalundefined 1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined Phaedrux moved this topic from Duet Hardware and wiring
                            • yuvalundefined
                              yuval @jay_s_uk
                              last edited by

                              @jay_s_uk i dont think the laser pin is bad.
                              i think somthing is wrong in my setup.
                              do you have any ideas on what could i do?

                              let's say ill test it with m42 and i see it works, what next? why doesnt it works normally?

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

                                @yuval said in laser engrave:

                                t2 g1 s255
                                and yet, i measure 0v from out9 to ground

                                The S parameter is intended to be used on G1 commands that also command movement, so you won't get any PWM output unless you command movement in that G1 command; then the laser will be on during that movement.

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