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

    I could use some help

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    11
    682
    63.6k
    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.
    • A Former User?
      A Former User @A Former User
      last edited by

      @fcwilt right now the y's at 0.0. My ruler's telling me the bed's at 9 and 5/8th inches forwards of HOME. What would G1 H1 Y-244 F3600 do? (Currently, in homey.g) the command is G1 H1 Y-360 F3600.

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @fcwilt
        last edited by

        @fcwilt please read my most recent message. It comes right after yours.

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @A Former User
          last edited by

          @mac

          ; homey.g
          ; called to home the Y axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time)
          G91
          G1 H1 Y-360 F3600
          G1 Y15
          G1 H1 Y-10 F360
           
          G90
          G1 Y110 F3600 ; this just moves Y to the centerline of the bed - doesn't matter where - it can be any place at all that suits you.
          
          
          
          

          This is the entire homey.g

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @fcwilt
            last edited by

            @fcwilt In the Status Display, Y is at 0.0. It's already "Home." It can't go into negative territory.

            fcwiltundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @A Former User
              last edited by

              @mac said in I could use some help:

              @fcwilt right now the y's at 0.0. My ruler's telling me the bed's at 9 and 5/8th inches forwards of HOME. What would G1 H1 Y-244 F3600 do? (Currently, in homey.g) the command is G1 H1 Y-360 F3600.

              In relative mode (G91) a G1 H1 Y-244 command would move until the endstop triggered OR until the move has covered the distance specified, in this case by the Y parameter of 244mm.

              If you did G91 then G1 H1 Y-10 it would only move 10mm "looking" for the endstop to trigger.

              So normally the first G1 H1 move in the homing code specifies a distance to be sure the move covers the entire length of the axis while "looking" for the endstop to trigger.

              The Y-360 is 10mm more than the distance of 350 that you determined to be the max travel on the Y axis.

              Frederick

              1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @A Former User
                last edited by

                @mac said in I could use some help:

                @fcwilt In the Status Display, Y is at 0.0. It's already "Home." It can't go into negative territory.

                Since G1 H1 moves are intended to be used to home and homing is done with the assumption that the actual positions of the axes are unknown, the G1 H1 moves ignore the M208 limits and try to move the specified amount.

                This can mean if the move is away from the endstop or the endstop is not working the move can encounter the end of travel but keep right on trying to complete the move.

                Frederick

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @fcwilt
                  last edited by

                  @fcwilt I homed again, it went forwards again, and smashed into the adjustment cap again.

                  A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
                  • A Former User?
                    A Former User @A Former User
                    last edited by

                    @fcwilt what if I change the Y-360 to Y 360?

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @A Former User
                      last edited by

                      @fcwilt

                      What if I change the code to what's below?

                      G1 H1 Y 360 F3600
                      G1 Y15
                      G1 H1 Y=10 F360
                      
                      G90 
                      G1 Y110 F3600
                      
                      
                      
                      
                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                      • fcwiltundefined
                        fcwilt @A Former User
                        last edited by

                        @mac said in I could use some help:

                        @fcwilt I homed again, it went forwards again, and smashed into the adjustment cap again.

                        This makes no sense at all.

                        OK here is a thought. Perhaps the forwards move is the G1 Y110 at the end of the file.

                        So lets try this:

                        • jog the bed back to somewhere in the middle of it's travel
                        • execute a G91
                        • execute a G1 H1 Y-10 which should be a 10mm move. It's not far enough to smack into anything but it will tell us in what direction the G1 H1 Y-10 command moves the bed.

                        Thanks.

                        Frederick

                        A Former User? 1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt @A Former User
                          last edited by

                          @mac said in I could use some help:

                          @fcwilt

                          What if I change the code to what's below?

                          G1 H1 Y 360 F3600
                          G1 Y15
                          G1 H1 Y=10 F360
                          
                          G90 
                          G1 Y110 F3600
                          
                          
                          
                          

                          You are faster than me. I just posted a little test to verify if the G1 H1 move is actually going in the correct direction.

                          Frederick

                          1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @fcwilt
                            last edited by

                            @fcwilt G1 H1 Y-10 moved the bed 10mm towards the END STOP!

                            A Former User? 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @A Former User
                              last edited by

                              @fcwilt Interestingly, Y is saying 0.0

                              A Former User? 1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @A Former User
                                last edited by

                                @fcwilt I did it again, now Y's saying -10

                                A Former User? 1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User @A Former User
                                  last edited by

                                  @fcwilt I changed the end to Y-20. The bed went towards the rear 20mm. Y is reporting -30mm.

                                  A Former User? 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @A Former User
                                    last edited by

                                    @fcwilt according to my measurements, and my inches to millimeter calculator, if I change the number to Y-92.075mm, the foot of the bed will touch the end-stop.

                                    A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User @A Former User
                                      last edited by

                                      @fcwilt hmmmm, the bed's being weird. I'm sending G1 H1 Y-92 , but the bed is inching towards the end stop instead of going straight for it.

                                      And Y is now 0.0 again, whereas it was -30.

                                      A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @A Former User
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @A Former User
                                          last edited by

                                          @fcwilt okay, I've gone back to telling the board to move the bed back 10mm at a time (Y-10). It's working again. Y is at -10.0. It's also (I jogged it twice more), about 5mm from the end stop now.

                                          A Former User? 1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @A Former User
                                            last edited by

                                            @fcwilt I've moved the bed back to the center of the 452mm's. That's 9 inches (of 18). Y is reporting 100.00 now.

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