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

    Error: in file macro line 41: G30: Z probe 0 not found

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    8
    253
    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.
    • csoup50undefined
      csoup50
      last edited by

      I have been running this machine for a while and then updated to the new beta 3.5 beta 2 and now I cant seem to get the homing to play nice. I was on 3.30 prior to the update and everything was working fine. Its driving me crazy and I cant seem to find the answers, Ive tried so many things but nothing seems to solve it. Thank you for your help!!!

      Duet2 Wifi
      Piezo Probe connected to zprobe pin, zprobe used as endstop
      CoreXY

      M98 P"config.g"
      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled
      Error: Pin 'zprobe.in' is not free
      Error: Invalid Z probe index

      config.g
      homeall.g

      1 Reply Last reply Reply Quote 0
      • csoup50undefined csoup50 marked this topic as a question
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by Phaedrux

        M574 Z0 S1 P"!zprobe.in"                       ; configure Z-probe endstop for low end on Z
        

        Remove that line from your config.g

        Your homeall is confusing because it uses commands for a Z endstop, but then also calls G30 to use the probe.

        What is your actual intention?

        
        ; Move Z down until the switch triggers
        G1 Z-280 F4000 H1 ;CC Added 1000 to F
        
        ; Absolute positioning
        G90
        
        ; Tell the firmware where we are
        G92 Z-0.1
        
        ; Uncomment the following line to lift the nozzle after probing
        G1 Z5 F900 H2 ;CC added 
        
        ;M558 R1 H5 F2000 T6000 
        
        G30   ; Singe z Probe the bed at the current XY position, when trigged set the z coordinate to the probe trigger height
        

        Your config isn't correct to use a z endstop, so just simplify that section to use only the probe with the G30.

        Z-Bot CoreXY Build | Thingiverse Profile

        csoup50undefined 1 Reply Last reply Reply Quote 0
        • csoup50undefined
          csoup50 @Phaedrux
          last edited by

          @Phaedrux Ok I removed the M574 for the Z. What do you mean its confusing, Im not seeing what you are. Its me not you. 🙂

          My intention is to lower Z, home x y and then home z with the probe.

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

            The error you were getting was because you were trying to use the zprobe input pin in the endstop section, and then use it for the probe input itself.

            Why lower Z the Z first before XY and then home Z again?

            Z-Bot CoreXY Build | Thingiverse Profile

            csoup50undefined 1 Reply Last reply Reply Quote 0
            • csoup50undefined
              csoup50 @Phaedrux
              last edited by

              @Phaedrux Ok, I get what your saying. it seemed to be the only way to alleviate the errors. After removing the M574 I now get these errors. Error: Failed to enable endstops
              4/14/2023, 8:10:11 PM G28
              Error: Pin name needed for switch-type endstop on Z axis

              To your second point, I want the build plate to drop slightly to reduce risk of dragging on the build plate before X and Y home.

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

                You'll need to remove those G1 H1 Z moves to stop those errors.

                To get some clearance for Z first that's much easier. Just add a G91 G1 H2 Z5 move before homing XY to raise the Z by 5mm.

                Z-Bot CoreXY Build | Thingiverse Profile

                csoup50undefined 1 Reply Last reply Reply Quote 0
                • csoup50undefined
                  csoup50 @Phaedrux
                  last edited by

                  @Phaedrux well it looks like you got me on the right track. I commented all those out as you said and added the command. Now im not getting the errors that I couldnt figure out! Thank you so much!!!

                  csoup50undefined 1 Reply Last reply Reply Quote 0
                  • csoup50undefined
                    csoup50 @csoup50
                    last edited by

                    @csoup50 Im printing again, its been two days. Thank you again!

                    1 Reply Last reply Reply Quote 2
                    • csoup50undefined csoup50 has marked this topic as solved
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA