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 @A Former User
      last edited by

      @fcwilt on to Y, X?

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

        @fcwilt or should we test Z?

        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 I just concerned that if I delete everything, then paste your code into that blank space, I'll loose the ; homez.g (header)?

          It's not that I don't trust you, I've just never done any coding.

          Just open the file, move down after the header lines, delete everything there to the end and paste what I posted into the blank space after the header.

          Even if you did accidently delete the header lines you could simply type them in again.

          ; homeZ.g
          ; called to home the Z axis
          ;
          

          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 @A Former User
            last edited by

            @fcwilt or are they related such that we have to do all 3 first, then test?

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

              @fcwilt I see, but the header is in the list of files. it makes for a cleaner look, I think.

              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 or are they related such that we have to do all 3 first, then test?

                You can test homing Z and see if it works.

                Then we will do X and Y.

                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
                • fcwiltundefined
                  fcwilt @A Former User
                  last edited by

                  @mac said in I could use some help:

                  @fcwilt I see, but the header is in the list of files. it makes for a cleaner look, I think.

                  Absolutely - I include headers and footers.

                  ; === homeZ.g BOF ===
                  
                  ;  the actual code would go here
                  
                  ; === homeZ.g EOF ===
                  

                  Just FYI, BOF is for "beginning of file", EOF is for "end of file"

                  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 so you write the code, but you don't put the line numbers in; that's what the program you write the code in does?

                    And the === before what you wrote, and the === after what you wrote create the idea of a "Header?"

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

                      @mac said in I could use some help:

                      @fcwilt so you write the code, but you don't put the line numbers in; that's what the program you write the code in does?

                      And the === before what you wrote, and the === after what you wrote create the idea of a "Header?"

                      The part at the top of the file is the "header"

                      The part at the bottom of the file is the "footer"

                      I actually put more than I posted into the header and footer - I was just posting a simple example.

                      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 @A Former User
                        last edited by

                        @fcwilt link text

                        Here’s a link to the video of Z’s first attempt at homing.

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

                          @fcwilt Z's going backwards. When I click on Z+0.5 it goes DOWN.

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

                            @mac @fcwilt you had the z probe working. Using an endstop on the low end is a retrograde step.

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

                              @droftarts hey, Ian, welcome to the show, what is a "retrograde step?"

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

                                @droftarts said in I could use some help:

                                @mac @fcwilt you had the z probe working. Using an endstop on the low end is a retrograde step.

                                Ian

                                In your opinion. I see it as a distinct improvement.

                                X and Y can be homed with no Z movement required.

                                And generally Z homing can be faster.

                                But that is just my opinion.

                                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 @droftarts oh my god! what have I gotten myself between and betwixtd?

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

                                    @mac said in I could use some help:

                                    @fcwilt Z's going backwards. When I click on Z+0.5 it goes DOWN.

                                    Then adjust the M569 for that Z drive and change it from normal to reverse or reverse to normal - the opposite of what it is now.

                                    Re-boot and re-test.

                                    Frederick

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

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

                                      @fcwilt

                                      M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
                                      
                                      A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User @A Former User
                                        last edited by

                                        @fcwilt so I'm thinking I should change the S1 to S0? (I don't know that 0 means reverse, or the opposite of, I'm just surmising that's what I should do).

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

                                          @mac said in I could use some help:

                                          @fcwilt

                                          M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
                                          

                                          So you don't know what to change?

                                          OK here you go:

                                          The P specifies the driver number which you have as 0.3 which sounds fine.

                                          The S specifies the direction with S1 being normal and S0 being reverse.

                                          Don't get hung up on normal and reverse - there really is no standard for what rotation is considered normal and what is considered reverse.

                                          So since you have S1 change it to S0, re-boot and re-test.

                                          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 nice to have that fan stop rattling away. I'm glad I figured that out, and thank you for the additional information. I was thinking of that song, One way, and another, when I read about there being no "normal and reverse."

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