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

New to the duet COMPLETE NEWBIE

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
101
5.4k
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.
  • undefined
    gabrealek @Phaedrux
    last edited by 21 Jan 2021, 21:52

    @Phaedrux

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 19 2021 17:33:25 GMT-0500 (Eastern Standard Time)
    G91 ; relative positioning
    G1 H2 Z18 F480000 ; lift Z relative to current position
    G1 H1 X-305 Y-305 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 H2 X5 Y5 F480000 ; go back a few mm
    G1 H1 X-305 Y-305 F3600 ; move slowly to X and Y axis endstops once more (second pass)
    G1 H1 Z-405 F3600 ; move Z down stopping at the endstop
    G90 ; absolute positioning
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z18 F8000 ; lift Z relative to current position
    ;G90 ; absolute positioning

    So just the first H2 right?

    undefined 1 Reply Last reply 21 Jan 2021, 22:46 Reply Quote 0
    • undefined
      gabrealek @Phaedrux
      last edited by 21 Jan 2021, 21:56

      @Phaedrux
      1/21/2021, 4:54:38 PM m119
      Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop

      1 Reply Last reply Reply Quote 0
      • undefined
        gabrealek @Phaedrux
        last edited by 21 Jan 2021, 21:59

        @Phaedrux
        yes. Z is still triggered .
        😞

        undefined 1 Reply Last reply 21 Jan 2021, 22:00 Reply Quote 0
        • undefined
          gabrealek @gabrealek
          last edited by 21 Jan 2021, 22:00

          @gabrealek

          Endstops - X: not stopped, Y: at min stop, Z: at min stop, Z probe: at min stop

          Y is triggered but Z is not at the moment and it still reads as "triggered". .

          1 Reply Last reply Reply Quote 0
          • undefined
            gabrealek @Phaedrux
            last edited by 21 Jan 2021, 22:03

            @Phaedrux They are all moving correctly . im about to move it to the center to see if its still triggered. .

            m119
            Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop

            YAYYYYYY

            1 Reply Last reply Reply Quote 0
            • undefined
              gabrealek @Phaedrux
              last edited by gabrealek 21 Jan 2021, 22:04

              @Phaedrux
              1/21/2021, 5:04:08 PM G28
              Error: G0/G1: insufficient axes homed

              Does this mean i have to home them all individually at this point?

              G1 (H1) Z18 F480000 ; lift Z relative to current position
              would this work?

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator @gabrealek
                last edited by 21 Jan 2021, 22:46

                @gabrealek said in New to the duet COMPLETE NEWBIE:

                So just the first H2 right?

                Nope, just the one for the XY axis move. G1 H2 X5 Y5 F480000 ; go back a few mm

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 21 Jan 2021, 23:20 Reply Quote 0
                • undefined
                  gabrealek @Phaedrux
                  last edited by gabrealek 21 Jan 2021, 23:20

                  @Phaedrux So do i change the value for F480000?
                  As in go back a few MM i took it down to

                  G91 ; relative positioning
                  G1 Z18 F480000 ; lift Z relative to current position
                  G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                  G1 H2 X5 Y5 F480000 ; go back a few mm
                  G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                  G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                  G90 ; absolute positioning
                  G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                  So now when i try to homeall i cannot, it gives me

                  G28
                  Error: G0/G1: insufficient axes homed

                  So now its

                  G91 ; relative positioning
                  G1 Z18 F480000 ; lift Z relative to current position
                  G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                  G1 X5 Y5 F480000 ; go back a few mm
                  G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                  G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                  G90 ; absolute positioning
                  G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                  undefined undefined 2 Replies Last reply 22 Jan 2021, 00:49 Reply Quote 0
                  • undefined
                    fcwilt @gabrealek
                    last edited by fcwilt 22 Jan 2021, 00:49

                    @gabrealek said in New to the duet COMPLETE NEWBIE:

                    I think this should work. Since you have a Z end stop you can start by homing Z.

                    My printers don't allow for homing X and Y at the same time - so I don't even know if it is possible. If not just do them one axis at a time.

                    Add/Adjust F params as desired.

                    JOOC where did the 480,000 value come from? That is rather fast.

                    G91
                    G1 H1 Z-400 F3000
                    G92 Z0 ; change Z0 to match the actual Z co-ordinate at which the Z end stop triggers
                    G1 Z10
                    G1 H1 X-300 Y-300
                    G1 X5 Y5
                    G1 H1 X-6 Y-6 F300
                    G90

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 1 Reply Last reply 22 Jan 2021, 02:59 Reply Quote 0
                    • undefined
                      gabrealek @fcwilt
                      last edited by 22 Jan 2021, 02:59

                      @fcwilt they were generated with the config tool . . what should it be set to?

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Phaedrux Moderator @gabrealek
                        last edited by 22 Jan 2021, 03:09

                        @gabrealek said in New to the duet COMPLETE NEWBIE:

                        G91 ; relative positioning
                        G1 Z18 F480000 ; lift Z relative to current position
                        G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                        G1 H2 X5 Y5 F480000 ; go back a few mm
                        G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                        G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                        G90 ; absolute positioning

                        The reason for the error is because you've taken the H2 off of the Z move at the start and end. Those were ok. I just wanted you to remove it from the XY move in the middle.

                        This would work, but @fcwilt provided a better option anyway that homes the Z axis first.

                        G91 ; relative positioning
                        G1 H2 Z18 F6000 ; lift Z relative to current position
                        G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                        G1 X5 Y5 F6000 ; go back a few mm
                        G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                        G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                        G1 Z5 ; back off
                        G1 H1 Z-400 F600 ; home z again slowly
                        G90 ; absolute positioning

                        F480000 is 8000mm/s which is really fast. But it wouldn't actually be able to use that speed because the max speed limit set in config.g is 6000mm/min which is a good cruising around speed (100mm/s)

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 22 Jan 2021, 03:18 Reply Quote 0
                        • undefined
                          gabrealek @Phaedrux
                          last edited by 22 Jan 2021, 03:18

                          @Phaedrux Okay.
                          With both of them my z wont go any lower than the middle. i cant get close to the bed at all . .

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Phaedrux Moderator
                            last edited by 22 Jan 2021, 03:20

                            If you send just G1 H1 Z-400 F600 in the console does it move the z axis down to the endstop or does it just sit there and change the z axis position to 0?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            undefined 2 Replies Last reply 22 Jan 2021, 03:22 Reply Quote 0
                            • undefined
                              gabrealek @Phaedrux
                              last edited by 22 Jan 2021, 03:22

                              @Phaedrux said in New to the duet COMPLETE NEWBIE:

                              G1 H1 Z-400 F600

                              It just sits there. when i press home z it goes higher. when i try to bring it back down it does nothing.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                gabrealek @Phaedrux
                                last edited by 22 Jan 2021, 03:24

                                @Phaedrux
                                ; homeall.g
                                ; called to home all axes
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 19 2021 17:33:25 GMT-0500 (Eastern Standard Time)

                                G91 ; relative positioning
                                G1 H2 Z18 F6000 ; lift Z relative to current position
                                G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                G1 X5 Y5 F6000 ; go back a few mm
                                G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                                G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                                G1 Z5 ; back off
                                G1 H1 Z-400 F600 ; home z again slowly
                                G90 ; absolute positioning

                                ; homez.g
                                ; called to home the Z axis
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 19 2021 17:33:25 GMT-0500 (Eastern Standard Time)
                                G91 ; relative positioning
                                G1 H2 Z18 F6000 ; lift Z relative to current position
                                G1 H1 Z-405 F6000 ; move Z down until the endstop is triggered
                                G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
                                ; set Z position to axis minimum (you may want to adjust this)

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Phaedrux Moderator
                                  last edited by 22 Jan 2021, 03:25

                                  And does it set the current position to Z0?

                                  Check M119 again please. It sounds like the endstop is already triggered at the start, so it won't move any further.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  undefined 1 Reply Last reply 22 Jan 2021, 03:28 Reply Quote 0
                                  • undefined
                                    gabrealek @Phaedrux
                                    last edited by 22 Jan 2021, 03:28

                                    @Phaedrux said in New to the duet COMPLETE NEWBIE:

                                    M119

                                    M119
                                    Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Phaedrux Moderator
                                      last edited by Phaedrux 22 Jan 2021, 03:29

                                      And just to be clear, when you sent M119 the z endstop wasn't actually pressed, right?
                                      Quick photo of the z endstop?

                                      Maybe you DO need the ! to invert the Z endstop?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      undefined 2 Replies Last reply 22 Jan 2021, 03:36 Reply Quote 0
                                      • undefined
                                        gabrealek @Phaedrux
                                        last edited by 22 Jan 2021, 03:36

                                        @Phaedrux

                                        Okay

                                        BA311D16-06A2-4A55-836D-F9B9534A05A1.jpeg

                                        9913126D-EE2D-490E-82EA-46464BD4B5BB.jpeg

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          gabrealek @Phaedrux
                                          last edited by 22 Jan 2021, 03:48

                                          @Phaedrux I inverted it and it went down so far it cracked the glass . 😞

                                          undefined undefined 2 Replies Last reply 22 Jan 2021, 03:57 Reply Quote 0
                                          62 out of 101
                                          • First post
                                            62/101
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA