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

    Homing - Setback after endstop not working (homex.g, homey.g)

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    161
    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.
    • Chuckonelliundefined
      Chuckonelli
      last edited by

      Hello all

      I have a quick question about the step-/setback after hitting/reaching the endstops in X- and Y-direction.

      It seems that my defined setback after hitting a Endstop is not working. First I'm homing the Y-Axis and after the X-Axis. In both .g-files I have implemented a relative move (away from the endstop) but the movement isn't executed. The printer homes the X-Axis without moving away from the Y-Endstop.

      The Endstop-Positions:
      ; Axis
      M208 X-180.2:180.2 Y-148.35:140.05 Z0:280 C0:240 S0

      Y-Axis: +140.05
      X-Axis: +180.2

      My homex.g:
      G91 ; use relative positioning
      G1 H2 X0.5 Y-0.5 F10000
      M400
      M913 X31 Y31
      M915 H200 X Y S3 R0 F0
      G1 H1 X400 F2000
      G1 H1 X-4 F2000 ; move away from endstop
      G90 ; back to absolute positioning
      M400
      M913 X100 Y100

      My homey.g:
      G91 ; use relative positioning
      G1 H2 X0.5 Y-0.5 F10000
      M400
      M913 X31 Y31
      M915 H200 X Y S3 R0 F0
      G1 H2 Z10 F5000
      G1 H1 Y400 F2000
      G1 H1 Y-4 F2000 ; move away from end
      G90 ; back to absolute positioning
      M400
      M913 X100 Y100

      Am I missing something? I'm pretty sure that the values have to be negative (G1 H1 Y-4 F2000) because how my printer is set up

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

        @chuckonelli

        You have this:

        G1 H1 X400 F2000
        G1 H1 X-4
        

        Change it to this:

        G1 H1 X400 F2000
        G1 X-4
        

        Does that work?

        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

        Chuckonelliundefined 1 Reply Last reply Reply Quote 2
        • Chuckonelliundefined
          Chuckonelli @fcwilt
          last edited by

          @fcwilt
          Hello Frederick

          Yes it worked. Thank you.

          Maybe it didn't work because it's still at the endstop-triggering position and prevents any movement. I just misread ''terminate'' -> it seems it means both directions

          "H1 terminate the move when the endstop switch is triggered and set the axis position to the axis limit defined by M208. On delta printers, H1 also selects individual motor mode as for H2. Normally used with relative motor coordinates (see G91)."

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