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

    Problem Homing X and Y on coreXY

    Scheduled Pinned Locked Moved
    General Discussion
    4
    5
    146
    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.
    • namenmalkavundefined
      namenmalkav
      last edited by

      im working on a corexy printer and i need to home first the Y axis and then the X

      for doing the home of Y i need to move the X a little bit to clear some space for the X switch
      my homey.g looks like this:

      ; homey.g
      ; called to home the Y axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.5.0-rc.2+6 on Thu Jan 25 2024 16:52:19 GMT-0300 (Argentina Standard Time)
      
      ; lift Z
      G91 ; relative positioning
      G1 H2 Z5 ; move Z relative to current position to avoid dragging nozzle over the bed
      G90 ;absolute positioning
      
      ; home Y
      G1 H2 X15 F2500
      G1 H1 Y-450 F2500 ; coarse home in the -Y direction
      G1 Y10 F3000 ; move back 5mm
      G1 H1 Y-15 F300 ; fine home in the -Y direction
      G1 H2 Z-5 F6000 ; lower Z again
      

      the first issue i have is when i do the G1 H2 X15 F2500 the gantry moves in a diagonal instead of only X, the rest of the process is ok and the homing works fine

      and when the big problems start is the homex.g that looks like this:

      ; homex.g
      ; called to home the X axis
      ;
      
      ; lift Z
      G91 ; relative positioning
      G1 H2 Z5 ; move Z relative to current position to avoid dragging nozzle over the bed
      G90 ; absolute positioning
      
      ; home X
      G1 H2 X15 F6000
      G1 H1 X-450 F2600 ; coarse home in the -X direction
      G1 X10 F6000 ; move back 5mm
      G1 H1 X-15 F500 ; fine home in the -X direction
      G1 H2 Z-5 F6000 ; lower Z again
      

      the first move when run homex.g moves the y axis away so the rest of the process fails

      both of the endstop switches are static and the gantry moves to them in both axis

      where is my gcode failing?

      jay_s_ukundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
      • Chrissundefined
        Chriss
        last edited by

        Are you sure that the wireing and the configuration is correct? The axis should not move diagonal when you move one axis only.
        https://docs.duet3d.com/User_manual/Machine_configuration/Configuration_coreXY

        1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @namenmalkav
          last edited by

          @namenmalkav do you have M669 K1 in your config?

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 0
          • namenmalkavundefined
            namenmalkav
            last edited by namenmalkav

            @Chriss thank you that is helping i messed up with the M569 im working on that now.

            @jay_s_uk yes i have i pre generated the config from the configuration tool

            1 Reply Last reply Reply Quote 0
            • deckingmanundefined
              deckingman @namenmalkav
              last edited by

              @namenmalkav H2 is also individual motor moves for Delta and CoreXY machines. So on a CoreXY, using H2 with a G1 move for X or Y will cause only one motor to move, hence giving you 45 degree moves that you are seeing. Using H0 instead of H2 for the X and Y moves should do the trick.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

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