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

    CO2 laser firing with G1

    Scheduled Pinned Locked Moved
    Laser Cutters
    2
    4
    301
    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.
    • Coltenundefined
      Colten
      last edited by

      Starting to configure my Duet3 board for use with a 60w CO2 laser which I'm building.. I've got the M7/M8/M9 figured out and a E-Stop. One thing that concerns me is that my homing scripts use G1 for moving the axis's. I've modified them to use G0, but that causes the axis to move at full rate as in rapid. you can not use a F statement in order to control the speed. Leaving me to use G1 which my understanding is that it is used for laser movement with power (S). This could be an issue as the S statement is sticky I thought so any movement of the axis ie homing, will cause the laser to fire due to the use of G1.

      I believe that G0 needs to respect a feedrate sent with the command instead of just ignoring it. I'm using the last release of RRF3 along with DWC-CNC

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

        @colten From the GCODE page on G0/G1:

        Very important! If you use M452 to put your machine into Laser mode,  you must replace all S parameters in G0/G1 commands in homing files etc. by H parameters. This is because S is now used to control laser power, for compatibility with programs that generate GCode files for laser cutters.
        

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

        Coltenundefined 1 Reply Last reply Reply Quote 0
        • Coltenundefined
          Colten @alankilian
          last edited by

          @alankilian Already did that. thanks though.

          G1 H1 X800 F5000 ; move quickly to X axis endstop and stop there (first pass)
          G91
          G1 H0 X-5 F500 ; go back a few mm

          G1 H1 X500 F400 ; move slowly to X axis endstop once more (second pass)
          G90

          ; homey.g
          ; called to home the Y axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Wed Apr 03 2019 13:46:49 GMT-0600 (Central Standard Time)

          G1 H1 Y-1400 F1600 ; move quickly to Y axis endstop and stop there (first pass)
          G91 ; relative mode
          G1 Y5 F6000 ; go back a few mm

          M584 Y1
          M574 Y1 S1 P"io1.in"
          G1 H1 Y-10 F360 ; move slowly to Y axis endstop once more (second pass)
          M584 Y2
          M574 Y1 S1 P"io2.in"
          G1 H1 Y-10 F360

          M584 Y1:2
          M574 Y1 S1 P"io1.in+io2.in"
          G90 ; exact mode

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

            @colten I'm glad everything is working well for you now.

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

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