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

    [3.5.0-rc.1] Premature execution of G54/G55

    Scheduled Pinned Locked Moved
    Beta Firmware
    2
    3
    159
    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.
    • tristanryerparkeundefined
      tristanryerparke
      last edited by

      In some of my files I use G54 and G55 to move between two different working areas during the job (CNC). When using 3.5.0-rc.1 I noticed that I randomly get target position outside machine limits errors where previously these errors did not occur.
      Upon inspection of the files I can see that the G1 commands that are sent are supposed to be in the G55 working space, so this error seems strange considering the commands are preceded by a G55 in the file. When copying this command into the console and running (after the job is cancelled by the error), I get the same machine limits error. If I send a G55 command, and then the "bad" line, it executes without any error.
      My guess about the bug here is that there is a G54 command farther down in the file that is getting executed early, so I tried putting M400 and G4 S0.1 commands in front of these, but the issue persists.

      Attached here are my config.g, override and a sample file which makes the error happen:
      config.g.txt
      config-override.g.txt
      error_maker.nc.txt
      The important thing to note in this sample file is that my machine has Y soft limits from -600 to 0, so a command like G0 Y20 will fail unless it is given in the G55 system.

      I'm guessing this has something to do with motion planning and queueing, which I know there have been some changes to in 3.5.

      Cheers,
      T

      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @tristanryerparke
        last edited by

        @tristanryerparke What version were you using before when this worked ok? What board are you using?

        tristanryerparkeundefined 1 Reply Last reply Reply Quote 0
        • tristanryerparkeundefined
          tristanryerparke @gloomyandy
          last edited by

          @gloomyandy MB6HC with 4x 1HCL and 1x 1LC, was on 3.4.6 before.

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