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
      last edited by

      Guys i need some guidance for my small laser to get fire when it moves.

      I ve put in my gcode an M106 with a I-1 to get the fan0 able to use M571 but i am getting an error saying "Logical pin 0 is already in use or not available for use by M571".

      I am able to fire the laser when M106 P0 S1(0-1) which is give me around 17mA or S255 (0-255) where i am getting more than 20mA, but i dont know what to do to make it fire when it is moving.

      This is my config.g

      Any help would be very much appreciated.

      Delta Printer || Duet 0.85 || firmware 1.23

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

      alankilianundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
      • alankilianundefined
        alankilian @Gaou
        last edited by

        @gaou I haven't ever use a LASER, but maybe THIS page can help you figure it out.

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

          @alankilian said in co2 Laser fire duet 0.85:

          @gaou I haven't ever use a LASER, but maybe THIS page can help you figure it out.

          thanks for replying . this page is for the newer versions of duet so i dont think it is suitable for my duet.

          for now i need only to fire it up and no control over the power.

          Delta Printer || Duet 0.85 || firmware 1.23

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

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

            @gaou

            OK, Since I don't know anything about your system, I'll make another blind suggestion: Do you want to update the firmware on your board to get closer to the latest features?

            UPDATE process for a 0.8.5.

            Someone else will probably come on who knows more than I do so maybe you want to wait for that advice.

            SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

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

              Z-Bot CoreXY Build | Thingiverse Profile

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