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

    Z endstop stressing me out

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    9
    382
    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.
    • Whitestsandundefined
      Whitestsand
      last edited by

      Could anyone tell me what is wrong with the gcode? Picture of results of M119,2019-09-12.png
      cannot get z endstop to respond.....2019-09-12 (20).png

      1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by

        Hi,

        We need a good deal more information.

        How are you trying to test the endstops? What sort of endstop hardware do you have? Do the LEDs on the Duet respond to activating your endstop hardware?

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

          Are you trying to home Z with stall detection? Have you tuned the stall detection parameters? Homing Z with stall detection is not for the faint of heart.

          Post your whole config.g and homing files along with what you're hoping to achieve.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Whitestsandundefined
            Whitestsand @fcwilt
            last edited by

            @fcwilt said in Z endstop stressing me out:

            Hi,

            We need a good deal more information.

            How are you trying to test the endstops? What sort of endstop hardware do you have? Do the LEDs on the Duet respond to activating your endstop hardware?

            Frederick

            @Phaedrux said in Z endstop stressing me out:

            Are you trying to home Z with stall detection? Have you tuned the stall detection parameters? Homing Z with stall detection is not for the faint of heart.

            Post your whole config.g and homing files along with what you're hoping to achieve.

            Using the m119 gcode I get lights for the x and y endstops. I cannot get Z to respond.
            the stall detection was not my idea but was from the code generator.

            I was attempting to use a BL Touch but gave up on that idea at the moment because the BL Touch was faulty. The endstops are just the normal on off switches.

            2019-09-13.png 2019-09-13 (1).png 2019-09-13 (2).png 2019-09-13 (5).png

            I have a coreXY and my bed moves up to the endstop and my y moves to the back (+)

            1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt
              last edited by

              Hi,

              As far as I know M119 is not going to work for an end stop based on stall detection since that is a dynamic condition that will only occur when the motor is running and stalled.

              Did you read all of this:

              https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing

              On my printers I use both a Z end stop switch attached to the frame AND a BLTouch Z-probe. I first home to the end stop switch as you would normally do and then I set Z=0 using G30.

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              Whitestsandundefined 1 Reply Last reply Reply Quote 0
              • Whitestsandundefined
                Whitestsand @fcwilt
                last edited by

                @fcwilt Thank you. I had tried commenting that out but this time it worked..
                Could you share your gcode for using both an endstop and BLtouch?? Thanks JOhn

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

                  Check this out: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_files

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @Whitestsand
                    last edited by fcwilt

                    @Whitestsand said in Z endstop stressing me out:

                    @fcwilt Thank you. I had tried commenting that out but this time it worked..
                    Could you share your gcode for using both an endstop and BLtouch?? Thanks JOhn

                    This is my homeall.g file. It calls four other files.

                    M98 PhomeZ1.g
                    M98 PhomeY.g
                    M98 PhomeX.g
                    M98 PhomeZ2.g

                    This is the homeZ1.g file which homes the Z axis using the end stop switch.

                    G29 S2 ; cancel mesh bed compensation
                    M290 R0 S0 ; cancel baby stepping
                    G91 ; relative moves
                    G1 Z-399 F600 H1 ; move up until endstop switch is activated
                    G1 Z10 F600 ; move down a bit
                    G1 Z-11 F300 H1 ; move up until endstop switch is activated again
                    G90 ; absolute moves
                    G1 Z10 F600 ; move Z away from bed

                    This is the homeZ2.g file which uses the Z-probe to establish the Z=0 Datum.

                    M98 Pconfigprobe.g ; configure Z-probe
                    G29 S2 ; cancel mesh bed compensation
                    M290 R0 S0 ; cancel baby stepping
                    G90 ; absolute moves
                    G1 Z10 F600 ; move Z away from bed
                    G1 X40.5 Y0 F6000 ; move Z-probe to bed center
                    G30 ; do single probe
                    G90 ; absolute moves
                    G1 Z10 F600 ; move Z away from bed
                    G1 X0 Y0 F6000 ; move nozzle to bed center

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    Whitestsandundefined 1 Reply Last reply Reply Quote 1
                    • Whitestsandundefined
                      Whitestsand @fcwilt
                      last edited by

                      @fcwilt Thanks!!

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