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

    I could use some help

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

      @fcwilt Let's talk later. If I make a video of it, I'll send you a link.

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

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

          @fcwilt

          G91                      ; relative positioning
          G1 H2 Z5 F3600           ; lift Z relative to current position
          G1 H1 X225 Y225 F1800    ; move quickly to X and Y axis endstops and stop there (first pass)
          G1 H2 X-5 Y-5 F3600      ; go back a few mm
          G1 H1 X225 Y225 F360     ; move slowly to X and Y axis endstops once more (second pass)
          G90                      ; absolute positioning
          G1 X-10.875 Y4.375 F3600 ; go to first bed probe point and home Z
          G30                      ; home Z by probing the bed
          

          This is the code that's in the system. It doesn't look like your suggestion? So I'm not sure how to proceed.

          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

            G91                      ; relative positioning
            G1 H2 Z5 F3600           ; lift Z relative to current position
            G1 H1 X225 Y225 F1800    ; move quickly to X and Y axis endstops and stop there (first pass)
            G1 H2 X-5 Y-5 F3600      ; go back a few mm
            G1 H1 X225 Y225 F360     ; move slowly to X and Y axis endstops once more (second pass)
            G90                      ; absolute positioning
            G1 X-10.875 Y4.375 F3600 ; go to first bed probe point and home Z
            G30                      ; home Z by probing the bed
            

            This is the code that's in the system. It doesn't look like your suggestion? So I'm not sure how to proceed.

            As I mentioned that is the code for homing with a Z probe.

            You have a Z endstop switch as well so you can use that, instead of the Z probe, and get quicker and simpler homing.

            We discussed getting rid of that code and replacing it with my code.

            What happened to doing that?

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

              @fcwilt

              ; homeall.g
              ; called to home all axes
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 06:45:01 GMT-0700 (Pacific Daylight Time)
              M98 P"homeZ.g"
              M98 P"homeX.g"
              Mpo P"homeY.g"
              
              ; Uncomment the following lines to lift Z after probing
              ;G91                     ; relative positioning
              ;G1 Z5 F60               ; lift Z relative to current position
              ;G90                     ; absolute positioning
              
              
              
              

              This is what I put in homeall.g's place.

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

                @fcwilt link text

                The is Z homing again.

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

                  @mac said in I could use some help:

                  @fcwilt

                  ; homeall.g
                  ; called to home all axes
                  ;
                  ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 06:45:01 GMT-0700 (Pacific Daylight Time)
                  M98 P"homeZ.g"
                  M98 P"homeX.g"
                  Mpo P"homeY.g"
                  
                  ; Uncomment the following lines to lift Z after probing
                  ;G91                     ; relative positioning
                  ;G1 Z5 F60               ; lift Z relative to current position
                  ;G90                     ; absolute positioning
                  
                  
                  
                  

                  This is what I put in homeall.g's place.

                  So you where showing me the code from homeall.g - I misunderstood.

                  That code you now have will work fine IF the individual homing files work.

                  You can strip it down to this:

                  ; homeall.g
                  ; called to home all axes
                  
                  M98 P"homeZ.g"
                  M98 P"homeX.g"
                  M98 P"homeY.g"
                  

                  But don't test it until you have verified that homing each axis by itself is working.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                    @fcwilt that's what I'm working on right now.

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

                      @fcwilt

                      link text

                      This the first effort to home X and Y.

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

                        @mac said in I could use some help:

                        @fcwilt

                        link text

                        This the first effort to home X and Y.

                        OK X is behaving very strangely.

                        But as to Y:

                        Is the Y endstop at the front of the machine or the back?

                        Frederick

                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                          @mac I see that the Duet Mini 5+ does not have on-PCB pullups on the IO pins.

                          You need to go to the RRF configurator and select "Active low with pullup" if you are using normally-open switches connected to ground as endstops.

                          Without a pullup, every time a stepper motor starts moving, your machine will start to get signals indicating the endstop switch is being pressed.

                          Capture.PNG

                          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

                            @fcwilt it’s at the back.

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

                              @alankilian sorry to disappear, texting on this iPhone 8’s a bitch. I’ll make that change and post a video of the results do you can see the results.

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

                                @mac said in I could use some help:

                                @fcwilt it’s at the back.

                                So you have a moving bed.

                                To get to the max end of Y the bed moves toward the front?

                                To get to the min end of Y the bed moves toward the back?

                                But stepping Y by minus 10 caused it to move toward the front?

                                Frederick

                                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                                  273 posts! 😮

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

                                    @elmoret said in I could use some help:

                                    273 posts! 😮

                                    A lot I know. We will get mac sorted.

                                    Frederick

                                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                                      @fcwilt yes, that is what’s happening. The bed did touch the endstop and then back off; that’s an improvement.

                                      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 yes, that is what’s happening. The bed did touch the endstop and then back off; that’s an improvement.

                                        Here's the problem.

                                        When you tried jogging Y by -10 it went toward the front? Correct?

                                        But the homing moves were supposed to be:

                                        • a minus move
                                        • a plus move
                                        • a minus move

                                        Based on the jogging test it should have moved:

                                        • toward the front
                                        • toward the back
                                        • toward the front

                                        I think there are two problems:

                                        • the normal/reverse setting for the Y stepper is wrong (see M569 P0...)
                                        • the steps per mm are wrong - too few (see M92)

                                        I would like you to:

                                        • change the M569 setting from whatever it is to the other setting
                                        • try the home Y test and observe the movements
                                        • try the jogging test and verify the correct directions
                                        • if the directions are correct find some means to measure a move of, say, 100mm and see if a 100mm jog moves that distance.

                                        Thanks.

                                        Frederick

                                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                        alankilianundefined 1 Reply Last reply Reply Quote 0
                                        • alankilianundefined
                                          alankilian @fcwilt
                                          last edited by

                                          @fcwilt said in I could use some help:

                                          But the homing moves were supposed to be:

                                          a minus move
                                          a plus move
                                          a minus move

                                          Based on the jogging test it should have moved:

                                          toward the front
                                          toward the back
                                          toward the front

                                          Since it's a bed-slinger in Y, isn't a PLUS move going to move the bed towards the FRONT? (Move the head towards the +y part of the bed.)

                                          I may be confused.

                                          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

                                            @alankilian said in I could use some help:

                                            @fcwilt said in I could use some help:

                                            But the homing moves were supposed to be:

                                            a minus move
                                            a plus move
                                            a minus move

                                            Based on the jogging test it should have moved:

                                            toward the front
                                            toward the back
                                            toward the front

                                            Since it's a bed-slinger in Y, isn't a PLUS move going to move the bed towards the FRONT? (Move the head towards the +y part of the bed.)

                                            I may be confused.

                                            Correct (about the move, not about being confused). 😉

                                            But according to mac a minus jogging move was moving the beds towards the front. I can only go by what he posts.

                                            Frederick

                                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                            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