Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. mikeisamonk
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by mikeisamonk

    • RE: Laser Gcode S Sticky after G0 question

      @mrsolis93
      This is what I use. This is slightly different to the above code the max output is set to 1.00 as lightburn outputs from 0-1 when smoothie hardware is selected.

      What laser are you using?
      I had to invert and convert the ppm signal from 3.3 to 5v for my diode laser.

      G00 G17 G21 G54
      G90
      
      M307 H3 A-1 C-1 D-1       ; Disable Heater output on H3
      M452 P3 S1 R1.00 F2000         ; Enable Laser mode, on output 3 (heater 3), with max intensity being 1.00, and a PWM frequency of 2000
      M571 P3 F200 S0
      
      M3
      

      Mike

      posted in Laser Cutters
      mikeisamonkundefined
      mikeisamonk
    • RE: Laser Gcode S Sticky after G0 question

      @dc42 thanks for the update.
      Going to save me a lot of post processing. 👍

      posted in Laser Cutters
      mikeisamonkundefined
      mikeisamonk
    • RE: Laser Gcode S Sticky after G0 question

      At the moment I am loading gcode In notepad++

      notepadG1.png

      It should add an S value on all lines starting with G1
      This is only good if your using 1 level of power.

      Mike

      posted in Laser Cutters
      mikeisamonkundefined
      mikeisamonk
    • RE: Laser Gcode S Sticky after G0 question

      I do really like lightburn it also has good support well worth the money imo, I also have a k40 with C3D (smoothie) controller which is brilliant the problem is the space inside the k40 is limited.
      With the laser attached on the 1m² CNC mill I can engrave any ply I cut.

      I did try all of the different firmware outputs but the smoothie option seems the closest. (Might be biased as I'm more familiar with it).

      If the S2 option can't be implemented I will try writing a script to post process the gcode automatically.

      Mike

      posted in Laser Cutters
      mikeisamonkundefined
      mikeisamonk
    • RE: Laser Gcode S Sticky after G0 question

      Thanks for both your replies.

      An S2 option would help me out would only mean changing the first 5lines or so lines of the gcode.

      As for lightburn it can output many controllers.
      Grbl
      Ruida
      Marlin
      Trocen AWC 608 and 708c
      Smoothie
      Maybe more than this.

      I use smoothie config as it seems to be the closest to what is needed.
      Greyscale Images work well as there is S on every G1 line.

      posted in Laser Cutters
      mikeisamonkundefined
      mikeisamonk
    • Laser Gcode S Sticky after G0 question

      Hello, found this forum a great help hadn't had to ask a question up till now as the same questions had been asked and answered.

      I have added a laser to my duet cnc.
      I use lightburn to produce the gcode and edit the code to turn put duet in laser mode etc.

      This works well, the issue I'm having is every time there is a G0 move it turns laser off as it should but the next G1 has to have a S value to trigger the laser again. Lightburn appears to presume to preserve the S value for the next G1 move.

      My question is, is this how the duet works or is my code the issue.

      Here is my G code.

      code_text
      ; LightBurn 0.9.06
      ; absolute coords
      G00 G17 G21 G54
      G90
      
      M307 H3 A-1 C-1 D-1       ; Disable Heater output on H3
      M452 P3 S1 R255 F60         ; Enable Laser mode, on output 3 (heater 3), with max intensity being 255, and a PWM frequency of 200
      M571 P3 F200 S0
      
      M3
      
      G0X406.4Y585.8
      G1Y708.2S255F4200
      G1X553.2
      G1Y585.8
      G1X406.4
      G0X577.6Y702
      G1Y760 <<<<<I need to add S255 here to get laser to fire again
      G1X703
      G1Y702
      G1X577.6
      M107
      G1S0
      M5
      G90
      ; End
      
      
      

      Regards Mike

      posted in Laser Cutters
      mikeisamonkundefined
      mikeisamonk