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

    Out of the blue --> Home X doesn't work

    Scheduled Pinned Locked Moved Unsolved
    Tuning and tweaking
    2
    4
    58
    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.
    • sbNielsenundefined
      sbNielsen
      last edited by

      Hi there,

      As the title suggests, my Duet 6HC suddenly gives me this error message when i try to home x - or home all.

      The X axis runs fine otherwise, i can move the print head and print just fine.

      When I run the 'Home X' it jogs 2 small moves to the in X+ direction, but nothing else.

      Here is the error i get from the console:

      G28 X
      Error: Bad command: homex.g
      Error: Bad command: called to home the X axis
      Error: Bad command: generated by RepRapFir
      Error: Bad command: mware Confi
      Error: Bad command: guration Tool v3.3.16 on Sat Jul 01 2023 14:29:49
      Error: Bad command: G
      Error: Bad command: MT+0200 (CEST)
      

      Any fixes for this?
      Would also love to know what happened.

      Best,
      Søren

      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • sbNielsenundefined sbNielsen marked this topic as a question
      • gloomyandyundefined
        gloomyandy @sbNielsen
        last edited by

        @sbNielsen Check the homex.g file in your sys directory. It sounds like the comment character ";" has somehow been removed from some of the lines in that file. Post the contents of the file here for folks to check.

        sbNielsenundefined 1 Reply Last reply Reply Quote 0
        • sbNielsenundefined
          sbNielsen @gloomyandy
          last edited by

          @gloomyandy '
          Nothing changed on the homex.g file.
          Looks like this:

          homex.g
          called to home the X axis
          
          generated by RepRapFirmware Configuration Tool v3.3.16 on Sat Jul 01 2023 14:29:49 GMT+0200 (CEST)
          G91                ; relative positioning
          G1 H2 Z5 F6000     ; lift Z relative to current position
          G1 H1 X-2015 F4500 ; move quickly to X axis endstop and stop there (first pass)
          G1 H2 X5 F6000     ; go back a few mm
          G1 H1 X-1015 F360  ; move slowly to X axis endstop once more (second pass)
          G1 H2 X5 F6000     ; go back a few mm
          G1 H2 Z-5 F6000    ; lower Z again
          G90                ; absolute positioning
          
          gloomyandyundefined 1 Reply Last reply Reply Quote 0
          • gloomyandyundefined
            gloomyandy @sbNielsen
            last edited by gloomyandy

            @sbNielsen You're missing semicolons in front of some of the comment lines it should look like this...

            ;homex.g
            ;called to home the X axis
             
            ;generated by RepRapFirmware Configuration Tool v3.3.16 on Sat Jul 01 2023 14:29:49 GMT+0200 (CEST)
            G91                ; relative positioning
            G1 H2 Z5 F6000     ; lift Z relative to current position
            G1 H1 X-2015 F4500 ; move quickly to X axis endstop and stop there (first pass)
            G1 H2 X5 F6000     ; go back a few mm
            G1 H1 X-1015 F360  ; move slowly to X axis endstop once more (second pass)
            G1 H2 X5 F6000     ; go back a few mm
            G1 H2 Z-5 F6000    ; lower Z again
            G90                ; absolute positioning
            

            Note the ";" in front of some of the lines.

            If your homey.g and homez.g files are not generating errors, compare them against your homex.g file and check those comment lines.

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