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

    Will not home to X now

    Scheduled Pinned Locked Moved
    General Discussion
    4
    7
    203
    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.
    • Rattlemycageundefined
      Rattlemycage
      last edited by

      Hi, Machine has been running fine no problems. Finished a print and found the head was at the far right of the X axis, the limit switch is on the left.
      When trying to home the X, I get an error message "Error bad command"

      Manual move via the Paneldue will move the X away from the endstop but not more than a single movement towards it.

      I replaced the micro sd card with 3 different working backups that were all previously checked and confirmed working ,but the problem still persists.
      Any help would be appreciated.
      Thank you.

      JoergS5undefined 1 Reply Last reply Reply Quote 0
      • JoergS5undefined
        JoergS5 @Rattlemycage
        last edited by JoergS5

        @Rattlemycage when do you get "Error bad command"? When you home X with G28 X? Then please post the homex.g file, there should be a syntax error.

        You can call
        M98 P"homex.g"
        to check whether there is an error.

        1 Reply Last reply Reply Quote 0
        • Rattlemycageundefined
          Rattlemycage
          last edited by

          G1 H1 X-305
          G1 H2 X5
          G1 H1 X-305 F360
          G1 H1 X-305
          G90

          1 Reply Last reply Reply Quote 0
          • Rattlemycageundefined
            Rattlemycage
            last edited by

            Additionally. when trying to home from the paneldue the head is moving about 10mm each time i press it AWAY from the home position.

            droftartsundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @Rattlemycage
              last edited by

              @Rattlemycage Check the wiring and function of the X endstop. Usually moves away from the endstop indicate that the firmware thinks it has already been triggered. Send M119 to get endstop status.

              Did you try @JoergS5 suggestion of sending M98 P"homex.g"? This would report if there were any errors with the file, but I suspect this is a wiring issue.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @Rattlemycage
                last edited by Phaedrux

                @Rattlemycage said in Will not home to X now:

                the head is moving about 10mm each time i press it AWAY from the home position.

                Are you sure it's not 5mm? Your homing file has a 5mm move away from the endstop to back off that ignores the endstop status. If your endstop is falsely triggered at all times, then only the 5mm backoff move will work. The other moves do nothing because they think the endstop is already triggered.

                If nothing has changed recently then either your endstop is failing or it's picking up interference.

                It may help if you post your full config and the results of M122 to give us a clearer picture of your setup.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • Rattlemycageundefined
                  Rattlemycage
                  last edited by

                  Found it guys, Thank you for all your assistance. The connector had come away from the endstop. All working great again now.

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