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

    Do I really need G1 on every line?

    Scheduled Pinned Locked Moved
    Laser Cutters
    3
    3
    222
    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.
    • debgzundefined
      debgz
      last edited by

      Hi, I am totally new to the topic of 3D printing/cutting/laser and just got my first machine this week.

      On my first test run I tried to laser a SVG (converted with LaserGRBL software to GCode) and discovered some stuff in GCode I did not expect.

      The generated file gives me something like this ...

      G1X35.65F2000
      Y47.75
      X34.03Y46.97
      X33.78Y46.94
      X33.48
      X33.21
      

      ... which works perfect in the simulators I tried (LaserGRBL and CaMotics) but did not work on the machine in a way that most of the X commands got executed but none of the Y ones. I expected this code to work fine as it says G1 followed by coordinates (on the following lines).

      What I needed to fix it was a "G1" on every single line:

      G1X35.65F2000
      G1Y47.75
      G1X34.03Y46.97
      G1X33.78Y46.94
      G1X33.48
      G1X33.21
      

      Is there a setting a setting somewhere to switch between (what I call) shortened Code vs strict mode?

      Happy printing/cutting/lasering
      debgz

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined Phaedrux moved this topic from General Discussion
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Have you switched into laser mode?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @debgz you need G1 on every line if the firmware is in FDM mode. You don't if you switch to CNC mode or Laser mode. See the M453 and M452 commands.

          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