Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Homing CoreXY with Makerbot Mechanical Endstop v1.2

    Duet Hardware and wiring
    2
    3
    596
    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.
    • equanimity8
      equanimity8 last edited by equanimity8

      Hello, I'm trying to move away from sensorless homing to Makerbot mechanical endstops on low end X and Y and Piezo on Z.

      The issue is that when I home X and Y, as per the CoreXY setup guide, the endstops are ignored.

      M574 yields "Endstop configuration: X: low end active low switch, Y: low end active low switch, Z: none," which matches what I'm after. M119 correctly reports when each respective homing device is triggered.

      This are the relevant config and homeall:
      config
      ; Endstops
      M574 X1 Y1 Z0 S0
      ; Z-Probe
      M558 P8 H10 I1 R1 F420 X0 Y0 Z1
      G31 X0 Y0 Z-0.3 P600

      homeall
      ;Home X and Y
      G91 ; relative positioning
      G1 Z5 F420 S2 ; lift Z relative to current position
      G1 X-355 Y-355 F420 S2 ; move quickly to X or Y endstop and stop there (first pass)
      G1 X-355 S2 ; home X axis
      G1 Y-355 S2 ; home Y axis
      G1 X5 Y5 F420 S2 ; go back a few mm
      G1 X-355 F360 S2 ; move slowly to X axis endstop once more (second pass)
      G1 Y-355 S2 ; then move slowly to Y axis endstop
      ;Home Z
      G91 ; relative positioning
      G1 Z5 F420 S2 ; lift Z relative to current position
      G90 ; absolute positioning
      G1 X30 Y30 F420 ; go to first probe point
      G30 ; home Z by probing the bed
      G91 ; relative positioning
      G1 Z5 F420 ; lift Z relative to current position
      G90 ; absolute positioning
      G1 X0 Y0 F420 ; go to origin

      Best

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

        I think you have too many S2s in your home files.

        Here's mine.

        ; Home XY for Z homing
        ;
        G91                     	; relative positioning
        G1 Z5 F200 S2        		; Lower bed 5mm to ensure it is below the switch trigger height
        M913 X50 Y50	 		; set X Y motors to 50% of their normal current for homing
        G1 S1 X-375 Y305 F4000   	; course home X or Y
        G1 S1 X-375 F4000              	; course home X
        G1 S1 Y305 F4000              	; course home Y
        G1 X2 Y-2 F1000             	; move away from the endstops
        G1 S1 X-10 F200           	; fine home X
        G1 S1 Y10 F200               	; fine home Y
        M913 X100 Y100	 		; set X Y motors to 100% of their normal current
        

        G1 S1 checks endstop status.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • equanimity8
          equanimity8 last edited by

          Works a treat, thanks a lot!

          Your comment is so true, S2 is needed for the first G1 move command and after that S1 is needed in order to look for endstops being triggered.

          May many beers and hours of sublime printing come your way!

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