• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Phaedrux Moderator
    last edited by 4 Feb 2019, 16:44

    Can you post your homing files as well?

    What type of probe is it?

    Z-Bot CoreXY Build | Thingiverse Profile

    undefined 1 Reply Last reply 4 Feb 2019, 18:17 Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 4 Feb 2019, 17:44

      Have you tested your Z probe as described at https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

      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
      • undefined
        crchisholm @Phaedrux
        last edited by 4 Feb 2019, 18:17

        @phaedrux I don't have a probe. I have an end-stop. That's part of what is confusing me.

        1 Reply Last reply Reply Quote 0
        • undefined
          crchisholm
          last edited by 4 Feb 2019, 18:24

          Here are the homing files

          ; homex.g
          ; called to home the X axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:24 GMT-0500 (Eastern Standard Time)
          G91 ; relative positioning
          G1 Z5 F6000 S2 ; lift Z relative to current position
          G1 S1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass)
          G1 X5 F6000 ; go back a few mm
          G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
          G1 Z-5 F6000 S2 ; lower Z again
          G90 ; absolute positioning

          ; homey.g
          ; called to home the Y axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:24 GMT-0500 (Eastern Standard Time)
          G91 ; relative positioning
          G1 Z5 F6000 S2 ; lift Z relative to current position
          G1 S1 Y-275 F1800 ; move quickly to Y axis endstop and stop there (first pass)
          G1 Y5 F6000 ; go back a few mm
          G1 S1 Y-275 F360 ; move slowly to Y axis endstop once more (second pass)
          G1 Z-5 F6000 S2 ; lower Z again
          G90 ; absolute positioning

          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:24 GMT-0500 (Eastern Standard Time)
          G91 ; relative positioning
          G1 Z5 F6000 S2 ; lift Z relative to current position
          G90 ; absolute positioning
          G1 X15 Y15 F6000 ; go to first probe point
          G30 ; home Z by probing the bed

          ; Uncomment the following lines to lift Z after probing
          ;G91 ; relative positioning
          ;G1 S2 Z5 F100 ; lift Z relative to current position
          ;G90 ; absolute positioning

          1 Reply Last reply Reply Quote 0
          • undefined
            crchisholm
            last edited by 4 Feb 2019, 18:28

            I say I don't have a probe, but actually I have a BLTouch (still uninstalled and in the original package). I have not printed anything to mount it too yet, so I was hoping to put that off until everything else was setup and working.

            Bad Plan???

            undefined 1 Reply Last reply 4 Feb 2019, 19:02 Reply Quote 0
            • undefined
              SupraGuy @crchisholm
              last edited by 4 Feb 2019, 19:02

              @crchisholm said in "Z probe already triggered at the start of the homing move."????:

              I say I don't have a probe, but actually I have a BLTouch (still uninstalled and in the original package). I have not printed anything to mount it too yet, so I was hoping to put that off until everything else was setup and working.

              Bad Plan???

              I wouldn't say that it's a bad plan, particularly if you have everything that you need to get basic printing started without needing the BLTouch sensor to get started.

              Adding the sensor isn't too big a deal, and you can always revert back to a known working configuration if you decide that you need to print something else without getting it working.

              Lead screw driven printer, powered by Duet 2 Wifi
              MPCNC powered by Duet 2 Wifi
              CoreXY printer driven by Duet 3 6HC
              LowRider CNC powered by Duet 2 Wifi

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 4 Feb 2019, 19:20

                @crchisholm said in "Z probe already triggered at the start of the homing move."????:

                ; Endstops
                M574 X1 Y1 S0 ; Set active low and disabled endstops
                ; Z-Probe
                M574 Z1 S2 ; Set endstops controlled by probe
                M558 P5 H5 F0 T6000 ; Set Z probe type to switch and the dive height + speeds
                G31 P500 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
                M557 X15:13 Y15:195 S20 ; Define mesh grid

                ; homez.g
                ; called to home the Z axis
                ;
                ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:24 GMT-0500 (Eastern Standard Time)
                G91 ; relative positioning
                G1 Z5 F6000 S2 ; lift Z relative to current position
                G90 ; absolute positioning
                G1 X15 Y15 F6000 ; go to first probe point
                G30 ; home Z by probing the bed

                You can change your configuration to use a simple endstop for the Z axis for the time being, and setup the BLTouch later once you have the parts printed.

                First you'll need to change the quoted config section above to match the following:

                ; Endstops
                M574 X1 Y1 Z1 S0 ; Set active low and disabled endstops
                
                ; Z-Probe
                ; M574 Z1 S2 ; Set endstops controlled by probe
                ; M558 P5 H5 F0 T6000 ; Set Z probe type to switch and the dive height + speeds
                ; G31 P500 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
                ; M557 X15:13 Y15:195 S20 ; Define mesh grid
                

                Basically just added the Z min endstop to the first M574 command, and commented out the whole z probe section.

                For the homing files you'll have to change homez and homeall to not use a G30 command and instead use G1 S1 Z move to seek the endstop.

                ; homez.g
                ; called to home the Z axis
                ;
                ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:24 GMT-0500 (Eastern Standard Time)
                G91 ; relative positioning
                G1 Z5 F6000 S2 ; lift Z relative to current position
                G1 S1 Z-300 ; seek end stop
                G1 Z5 ; back up 
                G1 S1 Z-300 F300 ; home Z again slowly
                G90 ; absolute positioning
                G1 Z5 ; part nozzle 5mm above the bed
                

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 23 Feb 2019, 15:22 Reply Quote 0
                • undefined
                  SupraGuy
                  last edited by 4 Feb 2019, 19:38

                  For that matter, you can set upt he printer to use a manual adjustment for the Z probe

                  M558 P0
                  

                  This will allow you to use the Z jog buttons in the DWC as the Z probe, adjusting the Z height to 0 manually until you're ready to print the BLTouch parts.

                  My earlier response was assuming that you had an already complete kit though.

                  Lead screw driven printer, powered by Duet 2 Wifi
                  MPCNC powered by Duet 2 Wifi
                  CoreXY printer driven by Duet 3 6HC
                  LowRider CNC powered by Duet 2 Wifi

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    crchisholm
                    last edited by 5 Feb 2019, 18:34

                    this worked great. Thanks.
                    One more question, though. Am I right to assume that the Duet supports either am min or max end-stop, but not both?

                    undefined 1 Reply Last reply 5 Feb 2019, 18:37 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @crchisholm
                      last edited by 5 Feb 2019, 18:37

                      @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
                      • undefined
                        crchisholm @Phaedrux
                        last edited by 23 Feb 2019, 15:22

                        @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
                        • undefined
                          Phaedrux Moderator
                          last edited by Phaedrux 23 Feb 2019, 17:10

                          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
                          • undefined
                            crchisholm
                            last edited by 23 Feb 2019, 21:26

                            This post is deleted!
                            undefined 1 Reply Last reply 23 Feb 2019, 21:28 Reply Quote 0
                            • undefined
                              crchisholm @crchisholm
                              last edited by 23 Feb 2019, 21:28

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • undefined
                                crchisholm
                                last edited by 23 Feb 2019, 21:31

                                This post is deleted!
                                Scachiundefined 1 Reply Last reply 23 Feb 2019, 21:40 Reply Quote 0
                                • Scachiundefined
                                  Scachi @crchisholm
                                  last edited by 23 Feb 2019, 21:40

                                  @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

                                  undefined 1 Reply Last reply 23 Feb 2019, 22:25 Reply Quote 0
                                  • undefined
                                    crchisholm
                                    last edited by 23 Feb 2019, 21:43

                                    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.

                                    undefined 1 Reply Last reply 23 Feb 2019, 21:58 Reply Quote 0
                                    • undefined
                                      Phaedrux Moderator @crchisholm
                                      last edited by 23 Feb 2019, 21:58

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

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      undefined 1 Reply Last reply 23 Feb 2019, 22:30 Reply Quote 0
                                      • undefined
                                        crchisholm @Scachi
                                        last edited by 23 Feb 2019, 22:25

                                        @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
                                        • undefined
                                          crchisholm @Phaedrux
                                          last edited by 23 Feb 2019, 22:30

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