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

    G30 Z Crashing issue

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    7
    25
    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.
    • ProjectKundefined
      ProjectK
      last edited by

      @Sniffle

      Inverting the Z axis via M574 Z1 S1 is wrong, it triggers when it should and is not triggered when it's not, so Z1 S1 should be right 🙂 but thanks Anyway

      @DC42, thanks for joining to help,!

      I tried H5, it seems to do nothing, I also tried H50 to make it more visible, but it still don't change anything

      Also it says still "Probe already triggered at start of Probe" although if it's not triggered, I moved the bed down 10mm to show

      Video is uploading and should be visible here:
      https://youtu.be/gap8o6vxVqU

      Thanks for the support guys!

      Creativity knows no borders!

      1 Reply Last reply Reply Quote 0
      • whosrdaddyundefined
        whosrdaddy
        last edited by

        It seems that your probe is not working, it should show value 0. if you put a metal object under the probe, does the probe value change? What type of probe are you using, NPN or PNP?

        1 Reply Last reply Reply Quote 0
        • ProjectKundefined
          ProjectK
          last edited by

          It's not Analog, it is connected like a switch

          LJC18A3-8-Z/BX, NPN

          It switches when it detects something, I can see it in the user interface

          Creativity knows no borders!

          1 Reply Last reply Reply Quote 0
          • whosrdaddyundefined
            whosrdaddy
            last edited by

            I have the same kind of setup and I noticed some issues in your config.g:

            M574 X1 Y1 S1 ; Define active high microswitches
            mark Z so that it has no endstop since you are using a probe, change it to
            M574 X1 Y1 Z0 S1

            M558 P0 X0 Y0 Z0 H0 F120 T6000
            P0 is wrong, you must use P4 for NPN probe (as outlined in the documentation), also I1 for inverted logic, so change it to
            M558 P4 X0 Y0 Z1 H5 I1 F300 T6000 ; NPN inverted logic probe used for homing Z axis, dive height 5mm, probe speed 300mm/min, travel speed 6000mm/min

            I assume you are using a small-signal Schottky diode as outlined in the docs (https://duet3d.com/wiki/Connecting_a_Z_probe)?
            The probe must read value 0 in the main screen when it is not detecting the bed and will show 1000 when it detects the bed (do not look at the endstop screen)

            also your G31 trigger heigth seems too high (is the nozzle 10 cm from the bed when the probe triggers??)

            G31 P600 X0 Y0 Z100

            to get the correct value, do the calibration as outlined here: https://duet3d.com/wiki/Using_mesh_bed_compensation
            Since you have a cartesian type of printer, you don't need G32/bed.g, this is for delta style printers, M557 is all you need to setup the grid.

            1 Reply Last reply Reply Quote 0
            • ProjectKundefined
              ProjectK
              last edited by

              Ouh, I didn't use any shottky or other diode :x

              But I guess I'm pretty lucky, i found BAT43 which I buyed years ago and never needed.

              I will solder it in the circuit and switch the connector to E0, and then do your suggested changes, I will give you feedback! Thanks! 🙂

              Creativity knows no borders!

              1 Reply Last reply Reply Quote 0
              • ProjectKundefined
                ProjectK
                last edited by

                Ok, She BAT43 diode is connected, The codes are applied

                this is the actual config.h:

                https://pastebin.com/MAWMXcEA

                only thing now is, the Z Triggers reversed, so it shows 1000 on detecting and 0 when its in distance

                Changing to L0 is not the solution :x

                Creativity knows no borders!

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

                  You need to add parameter I1 (that's letter I followed by figure 1) in your M558 command as mentioned at https://duet3d.com/wiki/Connecting_a_Z_probe#NPN_output_normally-open_inductive_or_capacitive_sensor.

                  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
                  • ProjectKundefined
                    ProjectK
                    last edited by

                    M574 X1 Y1 Z0 S1 ; Define active high microswitches
                    M558 P5 X0 Y0 Z1 H5 I1 F300 T6000 ;

                    (it's an i for invert i guess, seems legit, sorry ^^)

                    but it's still not working. The LED on the Duet glows when it triggers, but the Z-Probe value is constant 1000 and does not change, the Endstop-status is always triggered in the Machine Properties.

                    i feel kind of bad using that much of your Times, please be patient guys :x

                    Thanks for the Support

                    Creativity knows no borders!

                    1 Reply Last reply Reply Quote 0
                    • whosrdaddyundefined
                      whosrdaddy
                      last edited by

                      you state you have an NPN probe, so why are you using P5 in M558 command instead of the documented P4?
                      That said, the config you posted seems correct except for the L that needs to be I in M558

                      1 Reply Last reply Reply Quote 0
                      • ProjectKundefined
                        ProjectK
                        last edited by

                        Whenever I get a new suggestion, I try to mix all the past settings, so I tried again everything with P0 to P5, with every combination of inverting the logic or enabling/disabling Z endstops options

                        It maybe seem like I only change one thing and ask here again, but that's not true, I'm non-stop experimenting with various settings ^^

                        P4 does not work, it maybe because of some other setting wich is set wrong, but I don't know which line conflicts with another

                        Creativity knows no borders!

                        1 Reply Last reply Reply Quote 0
                        • whosrdaddyundefined
                          whosrdaddy
                          last edited by

                          it looks like you are running around like a headless chicken trying to solve this problem, though the documentation explains it quite nicely, so you must be doing something wrong.

                          Here are some questions for you,

                          • Are you 100% sure the probe you have is a NPN probe, what type do you have exactly, maybe specify the part number?
                          • I checked the config you pasted here https://pastebin.com/MAWMXcEA and it is correct except for L that needs to be I in M558
                            and the mesh grid (M557 X15:235 Y15:400 S20 ; Define mesh grid) has a too large value on Y, should be (M557 X15:235 Y15:235 S20 ; Define mesh grid according to your axis maxima settings
                            did you try that setup?
                          • can you post a pic that shows how the probe is currently wired?

                          Cheers!

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

                            You can either connect the probe output through the diode to the E0 endstop and use P4 in the M558 command, or connect it to the Z probe input through the diode and use P5.

                            The purpose of the diode is to protect the Duet if the ground connection to the Z probe breaks.

                            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
                            • ProjectKundefined
                              ProjectK
                              last edited by

                              Okey, here is what i tried today.

                              I made a list of every possible combination and connection and tried every single one.

                              Best result i get is:

                              Connected on E0, using
                              M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              M558 P4 X0 Y0 Z1 H5 I1 F300 T6000

                              in both Cases the Reading is Reversed, so i get 1000 when its not triggered, and 0 when its triggered

                              Connected on Probe Connection using
                              M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              M558 P5 X0 Y0 Z1 H5 I1 F300 T6000

                              again its in both cases Reading Reversed, getting 1000 when it should be 0 and reverse.

                              in every other scenario i get constant 1000.

                              Here is a picture of the Wiring. i cut open the Shrink-tubes to be sure.

                              The Anode of the BAT43 is Connected in DuetBoard Direction

                              • is constantly on 24+ directly on the PowerSupply

                              The Sensor i'm using is described as LJC18A3-8-Z/BX, NPN

                              Here's a List of every Combination i tried and documented in Notepad.

                              1000 means, the reading was constantly HIGH
                              Reverse means, the readings switched when i trigger the Sensor, but Inverted

                              i also tried to Switch GND and SIG to get rid of the Reverse issue.

                              Z Endstop Try


                              Probe Connection BEGIN

                              1000 M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Probe Connection
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Probe Connection
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P5 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Probe Connection
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P4 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Probe Connection
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              (Swtich GND and SIG)
                              1000 M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Probe Connection
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              Reverse M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              Reverse Probe Connection
                              Reverse Board GND + Sensor GND
                              Reverse Board SIG + Sensor Sig

                              Reverse M558 P5 X0 Y0 Z1 H5 I1 F300 T6000
                              Reverse Probe Connection
                              Reverse Board GND + Sensor GND
                              Reverse Board SIG + Sensor Sig

                              1000 M558 P4 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Probe Connection
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              Probe Connection END


                              E0 Connection BEGIN

                              1000 M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 E0
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 E0
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P5 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 E0
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P4 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 E0
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              (Swtich GND and SIG)
                              Reverse M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              Reverse E0
                              Reverse Board GND + Sensor GND
                              Reverse Board SIG + Sensor Sig

                              1000 M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 E0
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              1000 M558 P5 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 E0
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              Reverse M558 P4 X0 Y0 Z1 H5 I1 F300 T6000
                              Reverse E0
                              Reverse Board GND + Sensor GND
                              Reverse Board SIG + Sensor Sig

                              E0 Connection END


                              Zendstop Connection BEGIN

                              1000 M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P5 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              1000 M558 P4 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor Sig
                              1000 Board SIG + Sensor GND

                              (Swtich GND and SIG)
                              1000 M558 P4 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              1000 M558 P5 X0 Y0 Z1 H5 I0 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              1000 M558 P5 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              1000 M558 P4 X0 Y0 Z1 H5 I1 F300 T6000
                              1000 Zendstop
                              1000 Board GND + Sensor GND
                              1000 Board SIG + Sensor Sig

                              Zendstop Connection END


                              Result:
                              1. Z Endstop Connection Reads ALWAYS 1000, no Matter whats in the Config.h or how its connected.
                              2. E0 Conection works only with P4, but Reversed
                              3. Z-Probe Conneciton works with P5, but Reversed

                              any ideas how to Invert the Reversed readings?

                              Creativity knows no borders!

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

                                Which version firmware are you using? It must be quite old if it doesn't support the I1 parameter.

                                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
                                • ProjectKundefined
                                  ProjectK
                                  last edited by

                                  Updating the firmware from 1.15b to 1.18.1 solved the problem!

                                  Here is a video! Thank you guys, love you all 😄

                                  Is there any way to Donate for Duet or the forums? ?
                                  https://youtu.be/nVCJJLAbHAA

                                  Creativity knows no borders!

                                  1 Reply Last reply Reply Quote 0
                                  • whosrdaddyundefined
                                    whosrdaddy
                                    last edited by

                                    Aaah missed that you were running an older firmware, I am glad you sorted it out!
                                    Seeing from the video, it seems that you probe is not aligned straight with the bed?

                                    1 Reply Last reply Reply Quote 0
                                    • ProjectKundefined
                                      ProjectK
                                      last edited by

                                      Yeah, for safety I installed the probe higher so it would trigger before the nozzle could crash in the bed and I can react

                                      Now it's calibrated better and I think tomorrow I'll start the first print 🙂

                                      Again, thanks guys!

                                      Creativity knows no borders!

                                      1 Reply Last reply Reply Quote 0
                                      • DjDemonDundefined
                                        DjDemonD
                                        last edited by

                                        Its great you got the problem solved. However that looks like a very solid machine, you might find if you manually level that bed (use the probe to help) you might not need any bed compensation, that's tooling plate too, so I'd be surprised if you have anything but a flat height map.

                                        Don't get me wrong I am quite into z-probe tech (www.precisionpiezo.co.uk), but for solid cartesian machines a probe might not actually offer much. I stopped using bed compensation on my corexy as the z-axis barely ever moved so the bed was flat and level. For deltas and less solid cartesians then probing saves a lot of time.

                                        Simon. Precision Piezo Z-Probe Technology
                                        www.precisionpiezo.co.uk
                                        PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                        1 Reply Last reply Reply Quote 0
                                        • ProjectKundefined
                                          ProjectK
                                          last edited by

                                          At that time I started the post, i did not have any adjusting possibilities for the bed

                                          Now I installed a 3Point system for Pre-Adjusting the printbed

                                          Actually I'm fighting with the first print, somehow it shuts down the heaters when I start a print, but that's another Story 🙂

                                          The problem in this thread is [Solved]

                                          Creativity knows no borders!

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