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

    "Z probe already triggered at the start of the homing move."????

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    45
    4.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.
    • Phaedruxundefined
      Phaedrux Moderator @crchisholm
      last edited by

      @crchisholm you really only need one or the other to home to, afterwards the firmware will enforce travel limits.

      You can use one of the other endstops like e0 or e1 and use it as a general trigger endstop to do whatever you want if triggered. They can all be wired together if you use a switch on each axis for max.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • crchisholmundefined
        crchisholm @Phaedrux
        last edited by

        @phaedrux question: the code you show above... can it be entered and exicuted directly in the DWC? I have my printer built and all functionality tested except the BlTouch, so I don’t want to do something now that creates a problem (like a crash into the bed). I think I understand the M557 and M558 commands, and a lessor understanding of the G29, G30 and G31 commands but not real confident yet. Ruining this sfuff like console commands would allow me to dip my toes in the process ( I think)

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

          Yes every command can be run from the console. The config.g is just a list of commands that gets run in order at startup. There's nothing special about it other than that. Any time a new command is run it takes effect.

          So you could enter each line one at a time in the console. Or to make for less typing you could enter the commands into a new macro file called BLTouch test and then run that macro. That way if you want to revert just reboot the duet. If it all tests ok you can put the commands into config.g.

          The gcode wiki is a good reference to keep on hand for figuring out how the gcodes work.

          G29 is for mesh bed leveling.
          G30 runs the macro bed.g. and can be used for a number of things like lead screw leveling. It's not required.
          G31 defines the XYZ position of the probe in relation to the nozzle tip. So when the probe triggers the system know where the nozzle is.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • crchisholmundefined
            crchisholm
            last edited by

            This post is deleted!
            crchisholmundefined 1 Reply Last reply Reply Quote 0
            • crchisholmundefined
              crchisholm @crchisholm
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • crchisholmundefined
                crchisholm
                last edited by

                This post is deleted!
                Scachiundefined 1 Reply Last reply Reply Quote 0
                • Scachiundefined
                  Scachi @crchisholm
                  last edited by

                  @crchisholm You have your bltouch connected now ?
                  Check your sensor signal wiring and the value of your probe-z shown in the web frontend.
                  If it reads 1000 all the time you may have a wiring problem like bad crimp or using the wrong polarity of your probe signal cable or something like that.

                  Check the documentation and all the test and probe release reset command mentioned there:
                  https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch

                  crchisholmundefined 1 Reply Last reply Reply Quote 0
                  • crchisholmundefined
                    crchisholm
                    last edited by

                    I don't know why I am having trouble typing here, but what I actually entered in DWC was...
                    M557 X0:200 Y0:200 S50
                    M558 P9 H5 F100 T6000
                    G32
                    and I get the Z Probe already triggered before probing move started.

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

                      @crchisholm what do you have in bed.g? That's what gets run when you send g32

                      Z-Bot CoreXY Build | Thingiverse Profile

                      crchisholmundefined 1 Reply Last reply Reply Quote 0
                      • crchisholmundefined
                        crchisholm @Scachi
                        last edited by

                        @scachi Well, you called that one correctly! I have continuity on four or the five wires all the way from the termination point back to the jack on the BLTouch connector. The white wire does not. I am not sure what I can do about this as my eyes are just not up to working on a connector that small. I may have to return the device back to Amazon and order another. This is frustrating, but then, no body forced me to build this printer. Crap

                        1 Reply Last reply Reply Quote 0
                        • crchisholmundefined
                          crchisholm @Phaedrux
                          last edited by

                          @phaedrux As you will see from my last, I now have another issue I have to get resolved before I move ahead with this.

                          To answer your question.....

                          ; bed.g
                          ; called to perform automatic bed compensation via G32
                          ;
                          ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:23 GMT-0500 (Eastern Standard Time)
                          M561 ; clear any bed transform
                          G29 ; probe the bed and enable compensation

                          BTW, how do you mark code as you did in your message. I tried <code></code> and that didn't seem to work.

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

                            All the forum markup can be found here: http://commonmark.org/help/

                            For the Bltouch wire that's unfortunate. Dupont connectors and crimps are quite fiddly. If you aren't able to recrimp the wire yourself perhaps a local electronics shop could give you a hand?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • crchisholmundefined
                              crchisholm
                              last edited by

                              Crap! the return window is closed, so I will have to try and fix this tomorrow, or order another. Sheesh

                              1 Reply Last reply Reply Quote 0
                              • crchisholmundefined
                                crchisholm
                                last edited by

                                Ok, so I ordered another BLTouch. It will be here Monday.

                                @Phaedrux: In the meantime, I know there no since trying to figure out what was going on now that I know there was a problem with the wires, but does the bed.g look ok?

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

                                  The bed.g looks like it wouldn't have any problems, but there's only two commands in it. And G29 will automatically cancel any active bed compensation before running, so it's really only calling G32 to run G29. Might as well just call G29.

                                  Z-Bot CoreXY Build | Thingiverse Profile

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

                                    Maybe I should elaborate on how G29 can be used.

                                    G32 used to be used to do a 5 point compensation routine that would generate a plane through 5 points you specified in bed.g. G29 has now taken over that roll, but it can do more than just 5 points. It's far more flexible. With G29 you specify a grid (with M557) and then a detailed network of points gets probed to allow for more fine grained adjustments.

                                    You can still use G29 with a sparse grid of points to get the same effect as the old way if you know your bed is really flat already and want to probe it quickly before every print this is not a bad way to go.

                                    However, if your bed isn't very flat but the platform itself is pretty stable, you can do a high detail G29 with lots of points and save that resulting heightmap and reload it before a print without needing to reprobe. Usually it would be loaded at startup in config.g or after homing, or right before printing.

                                    Does that kind of make sense on your options for using G29?

                                    Now that G29 is the recommended way of doing compensation, G32 and bed.g are usually used for printers with 2 or more independently Z axis lead screws so you can do automatic leveling.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • crchisholmundefined
                                      crchisholm
                                      last edited by crchisholm

                                      Ok, I think I’ve got it. I am pretty confident that my bed is level: 0.25” tool and jig grade extruded aluminum. There will be a bed leveling need though. The rails that the x gantry ride on are out of parallel by a about 0.4 mm in 305mm and have not been able to get that fixed.

                                      I will give this all a fresh start on Monday when the replacement probe arrives.

                                      Thank again for all your help. Everyone!

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

                                        If your printer has a Z endstop switch, you can home Z using that. See https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z.

                                        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
                                        • crchisholmundefined
                                          crchisholm
                                          last edited by

                                          @dc42 : yes it does have a z e/s. And I am using the same code as is in the link. That part is working fine. It’s just the bed leveling that I need to get ironed out. Thanks.

                                          1 Reply Last reply Reply Quote 0
                                          • crchisholmundefined
                                            crchisholm
                                            last edited by

                                            Ok, got the new BLT and tested all the wiring and all good. (the Z probe now shows 0 instead of 1000) I decided to try and do all the commands first from the DWC to see what happens, so I did the following....

                                            homed all three axis
                                            dropped the bed 50mm
                                            entered these commands in the DWC...

                                            M557 X0:200 Y0:200 S50
                                            M558 P9 X0 Y0 Z1 F500 T5000 H3
                                            G30

                                            The bed immediately started rising, but the probe was not deployed. I was not sure if it would deploy once it got to the Z home, but decided I was not feeling real safe about what would happen next, so I stopped it.

                                            Should G30 have automatically deployed the probe, waited until it returned to z home, or some other behaviour.

                                            What should have happened with the commands above?
                                            If these are not correct, can you offer any suggested changes?

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