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

      On a coreXY printer:
      I have X and Y homing working as I would expect....home X and the bed drops about 10mm, X homes and the bed comes back up. When home X and Y, everything is fine. When I try to home Z, I get the message (above) saying that "Z probe already triggered" and the homing failes. I can't figure out what I have setup wrong. Below is my current config.g

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 01 2019 16:04:24 GMT-0500 (Eastern Standard Time)

      ; General preferences
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      M667 S1 ; Select CoreXY mode

      ; Network
      M550 P"Core XY" ; Set machine name
      M552 S1 ; Enable network
      M587 S"BHNDVW3201B4B28" P"3c5d116a" ; Configure access point. You can delete this line once connected
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Drives
      M569 P0 S0 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes backwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S0 ; Drive 3 goes backwards
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      M92 X80.00 Y99.3639 Z402.6845 E98.00 ; Set steps per mm
      M566 X900.00 Y900.00 Z150.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y6000.00 Z380.00 E1500.00 ; Set maximum speeds (mm/min)
      M201 X3000.00 Y500.00 Z100.00 E10000.00 ; Set accelerations (mm/s^2)
      M906 X950.00 Y950.00 Z950.00 E950.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X300 Y270 Z300 S0 ; Set axis maxima

      ; 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

      ; Heaters
      M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; Set temperature limit for heater 1 to 280C

      ; Fans
      M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

      ; Tools
      M563 P0 D0 H1 ; Define tool 0
      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

      ; Automatic power saving
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

      ; Custom settings are not configured

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

        Can you post your homing files as well?

        What type of probe is it?

        Z-Bot CoreXY Build | Thingiverse Profile

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

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

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

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

                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???

                SupraGuyundefined 1 Reply Last reply Reply Quote 0
                • SupraGuyundefined
                  SupraGuy @crchisholm
                  last edited by

                  @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
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    @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

                    crchisholmundefined 1 Reply Last reply Reply Quote 0
                    • SupraGuyundefined
                      SupraGuy
                      last edited by

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

                        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?

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