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

    First homing attempts failing.

    Scheduled Pinned Locked Moved
    General Discussion
    7
    98
    12.5k
    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

      Ok new information. Machine won't move x and y in relative cooridants at f1500 and below both directions. It will easily make the moves with G90 Than G0 y50 F1000. It moves slow like it should smooth and near silent. However The same thing in G91 Than G1 y50 F1000 and it smoothly shudders back and forth like it doesn't no the direction. I think it's not homing because it's having trouble moving slowly under relative moves for some reason. Is this handled like a macro and not like a jogging moves or other manual input for moves? That's the only difference and 100 percent repeatable. I read somewhere that the firmware uses different ways of handling moves based on the code. Maybe I have something I'm not seeing configured wrong. At This point I'm back with all external drives tested and conformed by the Gcode U had me exercise before. Same outcome with both internal and external. I switch back to my desired setup, because external drives and there setup are not causing this issue. Now I'm left with 2 challenges. 1st. solve this homing issue. Second Get the bltouch-smart to work. A note on that. On board power up it deploys and retracts and has solid red light lit that stays on. When I try to deploy using test codes it does nothing on deploy and retract. Putting it in test modes, it blinks blue 1 second. no value one probe screen changes value is 0

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

        Ok working on your home work and thank you for your patients more!

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

          No the code you had me use doesn't work. Machine didn't move. I did change the g91 to g90 and the g1 to go and it did it. However it didn't change the measurement to reflex a homing completetion. It won't take relative gcode at all. Shudders back and fourth then stops. Absolute moves, and there no problem. That means the total hardware package is in good standing. It's in the code that way on this one. This is the message I got after running what you provided in my homey.g

          m120
          g91
          g1 y-1 f6000
          m121

          now I have no idea why this came up, but instead of homing failed thats what came back. And no it didn't make the moves.

          When I hit the yellow homing buttons on the interface, that is the use of my homing files right?

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

            Which firmware version are you using? Send M115 to check.

            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

              Duetethernetfirmware 1.19.2

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

                Still can't home machine. Now it's back to changing dir during homing. I goes different ways with no change in files. 2 attempts the correct direction than 1 the wrong way. This is not a hard ware related problem. All the issues external to the firmware or files have been address. Every time I work on the homing I check switches and movement first. I really need some guidance as to how I can't cure this issue. It stops when I manually enter gcode with s1 and travel the correct way every time via that method. However with g28 command it just doesn't work. Is there some bug I don't no about?

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

                  @sjason1377:

                  No the code you had me use doesn't work. Machine didn't move. I did change the g91 to g90 and the g1 to go and it did it. However it didn't change the measurement to reflex a homing completetion. It won't take relative gcode at all. Shudders back and fourth then stops. Absolute moves, and there no problem. That means the total hardware package is in good standing. It's in the code that way on this one. This is the message I got after running what you provided in my homey.g

                  m120
                  g91
                  g1 y-1 f6000
                  m121

                  now I have no idea why this came up, but instead of homing failed thats what came back. And no it didn't make the moves.

                  When I hit the yellow homing buttons on the interface, that is the use of my homing files right?

                  I'm sorry for the delayed response, it's very busy here at the moment with lots of new developments in progress.

                  It looks like debugging has become enabled. That could be the cause of the problem, because of the volume of debug output that is produced by the Duet if you use full debugging. How are you sending the commands? Are you using Repetier Host? If so, Repetier has a habit of enabling debug because they appropriated the M111 P parameter for their own use; so you need to either turn off all the echo and debug features in Repetier, or use a different program to send commands. The recommended way of sending commands to the Duet is through the web interface. Pronterface is also mostly OK.

                  If you are already sending the commands through the web interface, check that you don't have a M111 S1 command in config.g. You can use M111 S0 to turn debugging off.

                  HTH David

                  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

                    I'm only using the web interface at the moment. M111 S0 written in file. I am having an issue with step per unit. This problem has happened using both internal and external drives. The steppers are in series. 2 per axis on either end. If you want call them high end and low end motors. They are handed, or faces the same direction. They are belted pulley to pulley with equal tooth/ diameter each. So mechanically they are perfectly balanced.

                    The steps per mm are correct no matter how I calculate. 1/16 with interpolate or 1/128 without. I mean the measure of the travel from a manual gcode command like G1 X150 will be exactly that distance configured each way. This is with both drive systems. However if I home the machine the controller does something different when it makes the movement happen and produces error. It responds with much slower lower power movement that isn't high or stable enough to move the head or table to the switch. It will however move the wrong way with ease.

                    Another issue is after it fails at homing, how is it able to assess an distance reading and clear the requirement for homing for the when it never stuck a switch?

                    Now a little info from my stapple program for milling. My mill uses uccnc from cnc drive, palgardi designs. This system uses machine coordinates and work offset coordinates. G54-G59 and has to home to work. Homing and actually sticking a switch for all axis is like God to that mill. Nothing ever happens without that process happening. If a switch isn't hit it refuses to jog or run a file. If a switch is disabled it will try to back off thinking it's at a switch traveling a short distance and stops if it doesn't reset. A detailed list of reports will flash on the screen instructing me to check the switch state. When I move that machine via command I can simple type in the MDI window x10 and it goes. Y-123 and it goes. This is because there are 2 coordinates systems. Why are printers not handled like the proven systems that came before it? Also if a switch is ever struck outside of the homing command run that machine slams to a stop with run shaking power. It will not proceed in the face of uncertainty. And to respond to some of the comments other have made on the forum before. You should not have to build machines that can tolerate endstop collison. This is impossible on a mill. I use nema 42 4200 oz steppers with 5mm lead ball screws. Thats over 2300 lbs of force required to mill heated stainless and inconel. End stop will be instantly destroy this way. Switches most work. And software soft limits are used where switches are only use single per axis.

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

                      I've sent you a PM.

                      If you send the commands in the homey.g file manually (the ones that I gave you earlier), one by one, does the Y axis home properly?

                      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

                        Hello again. I noticed sending command manually to home y that the machine does not move intailly. However after a few seconds the head position indicators on web interface changes around 300 or mm to the neg direction. Than the machine move the wrong way

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

                          I have placed bare n/c switches wired in series at both ends of x and y to eliminate improper dir of homing from preventing the travel to stop.

                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA