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

    First homing attempts failing.

    Scheduled Pinned Locked Moved
    General Discussion
    7
    98
    12.7k
    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.
    • sjason1377undefined
      sjason1377 Banned
      last edited by

      The machine does not stop. The endstop state does indicate the switch stuck during a manual command. From not stopped to stopped. Machine fails to actually stop with S1 command clearly written in all homing files

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

        @sjason1377:

        The endstop state does indicate the switch stuck during a manual command. From not stopped to stopped.

        I'm sorry, I don't understand - what do you mean by "stuck" ?

        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
        • sjason1377undefined
          sjason1377 Banned
          last edited by

          The fact that the measured readout changes before travel takes places indicates a bug of sort to me. I can't see how the measured value can reflex a travel the firmware has not yet performed. This is contrary to the idea the steps per or any movement setting could be the cause. The printer moves exactly the correct distance and speed, also dry print runs files correctly, with a plotter pen used to sample motion. This on works with G28 removed from the print code. With G28 it's a non starter. G0 y-100 S1 F3000 and it stopped at switch. G1 or G28 it doesn't. G0 also does not change measured reading until moves happen. G1 and G28 displays changes than move happens. Sometime the wrong way, but not always

          1 Reply Last reply Reply Quote 0
          • sjason1377undefined
            sjason1377 Banned
            last edited by

            Struck or hit, meaning switch has be activated in software and physically hit

            1 Reply Last reply Reply Quote 0
            • sjason1377undefined
              sjason1377 Banned
              last edited by

              I mean struck not stuck

              1 Reply Last reply Reply Quote 0
              • sjason1377undefined
                sjason1377 Banned
                last edited by

                I monitor the switch states at axes endstop location and see the leds change from lit to unlit. Web interface machine property tab show not stopped before switch is hit, than stop when bed hits the switch. machine does not stop. The fact that there are series wired switches at both ends and both work tells me it doesn't matter if the motor direction is wired wrong. switch still works, and files still contain S1 command. It is just ignoring it's commands

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

                  OK, let's start with X homing.

                  First I want you to test X motion at various speeds, including low speeds. Send G91 to select relative movement. Then send G1 S2 commands such as:

                  G1 S2 X50 F1000

                  That should move the head 50mm in the +X direction at 1000mm/min. If you change the X50 to X-50, it should move in the reverse direction.

                  If that works, send the same commands but with F100 instead of F1000. Is the movement still correct, and still smooth?

                  Also, please confirm which firmware version you are running. To find out, look on the Settings->General page of DWC, or send M115.

                  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
                  • sjason1377undefined
                    sjason1377 Banned
                    last edited by

                    Is there any diagnostic info to record when homing fails that provides more information to help me. Or is there a better version of firmware that doesn't do this that works with bltouch smart still?

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

                      Your post crossed with mine.

                      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
                      • sjason1377undefined
                        sjason1377 Banned
                        last edited by

                        Yes

                        1 Reply Last reply Reply Quote 0
                        • sjason1377undefined
                          sjason1377 Banned
                          last edited by

                          sorry It does both 1000 and 100

                          1 Reply Last reply Reply Quote 0
                          • sjason1377undefined
                            sjason1377 Banned
                            last edited by

                            smooth and correct distance

                            1 Reply Last reply Reply Quote 0
                            • sjason1377undefined
                              sjason1377 Banned
                              last edited by

                              it even handles F10 as a feed rate. Extremely slow but made the correct dir and distance

                              1 Reply Last reply Reply Quote 0
                              • sjason1377undefined
                                sjason1377 Banned
                                last edited by

                                Firmware Name: RepRapFirmware for Duet Ethernet
                                Firmware Electronics: Duet Ethernet 1.0
                                Firmware Version: 1.19.2 (2017-09-01)
                                Web Interface Version: 1.19

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

                                  OK, so X motion is working correctly. What do you have in your homex.g file? If you send the commands in homex.g manually, one at a time, does it home X correctly?

                                  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
                                  • sjason1377undefined
                                    sjason1377 Banned
                                    last edited by

                                    ; homex.g
                                    ; called to home the X axis
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool on Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

                                    G91 ;relative moves
                                    G1 z5 F3000 ; move head up
                                    G1 X-295 F1500 S1 ;move -310 mm stop at switch
                                    G1 X5 F1000 : move back slowly
                                    G1 X-295 F360 S1 ;Move -310 stop at switch
                                    G92 X0 ;tell firmware where we are
                                    G90 ;absolute move
                                    G0 X0 Z2.5 F1500 ; move to X to center z up

                                    no it performs g91 g1 z5 f3000 fails at g1 x-295 f1500 s1. i tried moving the s1 to the front, no change. with s2 it moves not with s1

                                    1 Reply Last reply Reply Quote 0
                                    • sjason1377undefined
                                      sjason1377 Banned
                                      last edited by

                                      s1 command limit checking not working. however switches are in good standing. insulated, tested responding in web interface and from m119 call, all check correct. something internal with this s1 checking is bad

                                      1 Reply Last reply Reply Quote 0
                                      • sjason1377undefined
                                        sjason1377 Banned
                                        last edited by

                                        yeah i'm gonna exchange the board through filastruder. The circuit between endstop input and mcu path is bad I guess. Or there is a bad chip somehow. It's nothing I've done nor anything firmware can help.

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

                                          1. What EXACTLY does it do when you send G1 X-295 F1500 S1 ?

                                          2. If you send M119 before that command, what does it report?

                                          3. What type of endstop switches are you using?

                                          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
                                          • deckingmanundefined
                                            deckingman
                                            last edited by

                                            Hoping that I don't get flamed for trying to help but here goes…........

                                            Config.g has this M574 X2 Y1 Z1 E0:1 S1 ; meaning that the end stop switch for the X axis is at the high end. So doing this "G1 X-295 F1500 S1 ;move -310 mm stop at switch" - is going to send the X axis away from the switch, not towards it. It looks like it was correct in the earlier homex files where the X moves were positive. If the switch has in fact been moved to the low end, then the M574 line needs to be changed too.

                                            Also, this line "G1 X5 F1000 : move back slowly" has a colon before the comment, not a semi colon.

                                            Ian
                                            https://somei3deas.wordpress.com/
                                            https://www.youtube.com/@deckingman

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