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

    co2 Laser fire duet 0.85

    Scheduled Pinned Locked Moved
    Laser Cutters
    4
    24
    1.2k
    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.
    • Gaouundefined
      Gaou @Phaedrux
      last edited by Gaou

      @phaedrux said in co2 Laser fire duet 0.85:

      What firmware version are you currently on? The latest firmware for that board is 1.26.1 I believe.

      yeap this is what i am using....

      edit: i still cant get the M571 to work, although i send a M106 P0 I-1.

      Delta Printer || Duet 0.85 || firmware 1.23

      Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        What is the syntax of your M571 command?

        https://docs.duet3d.com/User_manual/Reference/Gcodes#m571-set-output-on-extrude

        Z-Bot CoreXY Build | Thingiverse Profile

        Gaouundefined 1 Reply Last reply Reply Quote 0
        • Gaouundefined
          Gaou @Phaedrux
          last edited by

          @phaedrux said in co2 Laser fire duet 0.85:

          What is the syntax of your M571 command?

          https://docs.duet3d.com/User_manual/Reference/Gcodes#m571-set-output-on-extrude

          It is "M571 P0 S1". but i ve read that since there is an M452 in mt config an M3 is the proper command for getting the laser on. I am very confused...

          Delta Printer || Duet 0.85 || firmware 1.23

          Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            M452 would be more desirable if your firmware version supports it. Which I'm not certain.

            What happens if you send M452?

            https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode

            Z-Bot CoreXY Build | Thingiverse Profile

            Gaouundefined 1 Reply Last reply Reply Quote 0
            • Gaouundefined
              Gaou @Phaedrux
              last edited by

              @phaedrux said in co2 Laser fire duet 0.85:

              M452 would be more desirable if your firmware version supports it. Which I'm not certain.

              What happens if you send M452?

              https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode

              i am sending M452 and didn't got any responce. I have a m452 in my config file .

              Delta Printer || Duet 0.85 || firmware 1.23

              Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Looking at the release notes it looks like M452 should be supported farther back than 1.26.1

                So what is the syntax of your M452 command?

                With access to laser mode, you wouldn't need to use M571 anymore as long as your laser gcode generation software can output G1 S commands to set laser power.

                Z-Bot CoreXY Build | Thingiverse Profile

                Gaouundefined 1 Reply Last reply Reply Quote 0
                • Gaouundefined
                  Gaou @Phaedrux
                  last edited by

                  @phaedrux said in co2 Laser fire duet 0.85:

                  Looking at the release notes it looks like M452 should be supported farther back than 1.26.1

                  So what is the syntax of your M452 command?

                  With access to laser mode, you wouldn't need to use M571 anymore as long as your laser gcode generation software can output G1 S commands to set laser power.

                  M452 P"FAN0" S1 . i also tried P0 instead P"FAN0"

                  please keep in mind that if i send M106 P0 S255 the laser fires.

                  Delta Printer || Duet 0.85 || firmware 1.23

                  Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by Phaedrux

                    I believe with your firmware You'll need to use P# where # is the logical pin number being used. "fan0" would be for RRF3.

                    Now we just need to find the logical pin number of Fan0. And then G1 S1 moves should enable the laser while moving.

                    I think it should be P20 if I'm reading this table correctly.

                    https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Logical_pin_numbers

                    M452 P20 S1

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Gaouundefined 1 Reply Last reply Reply Quote 0
                    • Gaouundefined
                      Gaou @Phaedrux
                      last edited by

                      @phaedrux

                      if i send M452 p20 s1 the firmware says "bad p parameter"

                      Delta Printer || Duet 0.85 || firmware 1.23

                      Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • o_lampeundefined
                        o_lampe @Gaou
                        last edited by

                        @gaou
                        I've played with diode laser on older RRF versions, but never use M571 or M452. There was a plugin raster2gcode and others in inkscape, that allowed me to use M106 P0 Snnn to switch power on and M107 (or M106 P0 S0) to power off.
                        What concernes me are the high currents you run your 40W? laser tube with. I'd never go above 12mA, better stay around 10mA for cutting.

                        Gaouundefined 1 Reply Last reply Reply Quote 0
                        • Gaouundefined
                          Gaou @o_lampe
                          last edited by

                          @o_lampe said in co2 Laser fire duet 0.85:

                          @gaou
                          I've played with diode laser on older RRF versions, but never use M571 or M452. There was a plugin raster2gcode and others in inkscape, that allowed me to use M106 P0 Snnn to switch power on and M107 (or M106 P0 S0) to power off.
                          What concernes me are the high currents you run your 40W? laser tube with. I'd never go above 12mA, better stay around 10mA for cutting.

                          I keep that in mind but i would prefer to do this by the lightburn way....! I was thinking of writhing a macro and change the gcode on notepad++ .
                          I knew that inkscape can write gcode for the lasers but because of my job i am very addicted to lightburn that comes with the big lasers. I am so addicted to duet also....! ANyway this is probably the way to go and thanks that bringing this up...

                          I cant remember what exactly was the power range of this tube and it is the second i own ( sold the first) but during the tests i am using a test resistor that is intended for that job. it can stand up to 100w power ..

                          Thanks a lot for replying.

                          Delta Printer || Duet 0.85 || firmware 1.23

                          Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator @Gaou
                            last edited by

                            @gaou said in co2 Laser fire duet 0.85:

                            @phaedrux

                            if i send M452 p20 s1 the firmware says "bad p parameter"

                            Sorry, I think I may have been looking at the wrong logical pin number section.

                            Here's the one for the 0.85 board. Which of those listed pins are you using? Keep in mine, I have zero familiarity with the older pre-Duet2 boards.
                            https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Duet_0_6_and_0_8_Num_5

                            Z-Bot CoreXY Build | Thingiverse Profile

                            Gaouundefined 1 Reply Last reply Reply Quote 0
                            • Gaouundefined
                              Gaou @Phaedrux
                              last edited by

                              @phaedrux said in co2 Laser fire duet 0.85:

                              @gaou said in co2 Laser fire duet 0.85:

                              @phaedrux

                              if i send M452 p20 s1 the firmware says "bad p parameter"

                              Sorry, I think I may have been looking at the wrong logical pin number section.

                              Here's the one for the 0.85 board. Which of those listed pins are you using? Keep in mine, I have zero familiarity with the older pre-Duet2 boards.
                              https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Duet_0_6_and_0_8_Num_5

                              i cant understand how are these connected to fan0 . all of these seems to be at the expansion header.

                              Delta Printer || Duet 0.85 || firmware 1.23

                              Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                Yes I'm not sure either. I'll check.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  @gaou said in co2 Laser fire duet 0.85:

                                  "bad p parameter"

                                  So P20 is correct I think, but we may have missed the important step of freeing up the pin first by disabling the fan with M106 P0 I-1. So give that a try.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Gaouundefined 1 Reply Last reply Reply Quote 0
                                  • Gaouundefined
                                    Gaou @Phaedrux
                                    last edited by

                                    @phaedrux said in co2 Laser fire duet 0.85:

                                    @gaou said in co2 Laser fire duet 0.85:

                                    "bad p parameter"

                                    So P20 is correct I think, but we may have missed the important step of freeing up the pin first by disabling the fan with M106 P0 I-1. So give that a try.

                                    Look at my first post. I have already tried it and didn't get anything.

                                    Delta Printer || Duet 0.85 || firmware 1.23

                                    Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator @Gaou
                                      last edited by

                                      @gaou said in co2 Laser fire duet 0.85:

                                      Look at my first post. I have already tried it and didn't get anything.

                                      Sorry I missed that. I'll see if DC42 can take another look. From what I gather, it should be working.

                                      If you send M452 by itself what does it respond with?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      Gaouundefined 1 Reply Last reply Reply Quote 0
                                      • Gaouundefined
                                        Gaou @Phaedrux
                                        last edited by

                                        @phaedrux

                                        first of all thanks for ur insistense on my request.

                                        there is no need for DC to step in the post. i think he has already too many things to care. I will qo on with the m106 command. It would do the job alright, it just would be safer for that kind of cnc ( laser beam) to act only on G1'sx.

                                        if i send m450 i am getting a laser mode....

                                        Delta Printer || Duet 0.85 || firmware 1.23

                                        Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

                                        Gaouundefined 1 Reply Last reply Reply Quote 0
                                        • Gaouundefined
                                          Gaou @Gaou
                                          last edited by

                                          i ve managed to get some results working a bit with lightburn. i also noticed ( i have read it already) that both lightburn and laserweb can connect to the duet3d . I didn't try to control the the machine through them . i am using the web interface at the moment.

                                          a short video

                                          IMG_20220305_104819024.jpg

                                          the upper right one is the clearest one but it still needs some more tweaking.

                                          i am using both of the pwm fans output to control the laser ( FAN0) and the exhaust fan (FAN1) and the workaround for the second fan is to replace the M8 M9 from Lightburn to M106 P1 S1 or S0

                                          Delta Printer || Duet 0.85 || firmware 1.23

                                          Laser K40 || Duet 0.85 || Firmware 1.26.1 || Web 1.22

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