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

    First Layer and Extrusion Problems

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    6
    121
    5.8k
    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.
    • Frederikundefined
      Frederik
      last edited by

      i had to test your tips one after the other.... now my z offset is working as it should.

      1 Reply Last reply Reply Quote 0
      • Frederikundefined
        Frederik
        last edited by

        my bed.g File at the Moment:

        ; bed.g
        ; called to perform automatic bed compensation via G32
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)

        M561 ; clear any bed transform

        ;Probe 3-point

        G30 P0 X330 Y240 Z-9999 ; Front Left
        G30 P1 X150 Y0 Z-9999 ; Middle Back
        G30 P2 X0 Y248 Z-9999 S3 ; Front Right and compensate 3mm

        1 Reply Last reply Reply Quote 0
        • Frederikundefined
          Frederik
          last edited by

          and this my actual homez.g File:

          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)

          G91 ; relative positioning
          G1 H2 Z5 F6000 ; lift Z relative to current position
          G90 ; absolute positioning
          G1 X200 Y200 F6000 ; go to first probe point
          G30 ; home Z

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            so run a G32 and then G29 and post the new picture.

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

              @Frederik said in First Layer and Extrusion Problems:

              and this my actual homez.g File:

              ; homez.g
              ; called to home the Z axis
              ;
              ; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)

              G91 ; relative positioning
              G1 H2 Z5 F6000 ; lift Z relative to current position
              G90 ; absolute positioning
              G1 X200 Y200 F6000 ; go to first probe point
              G30 ; home Z

              You can at this point add:

              G32
              G1 X200 Y200 F6000
              G30

              The reason for the last two lines is the bed leveling can change your Z=0 datum it needs to be set again - just to be safe.

              If you wish to probe at the actual center of the bed you will need to adjust the G1 X and Y values to compensate for the probe X and Y offsets.

              To insure that I always move to the same point with I need to do a G30 I have a macro file "centerprobe.g" that contains this:

              G90                                                                          ; absolute
              G1 Z5 F1200                                                                  ; move to probing height
              G1 X{-sensors.probes[0].offsets[0]}, Y{-sensors.probes[0].offsets[1]}, F6000 ; move to bed center for probing
              

              The second G1 command takes advantage of the v3 firmware to access the probe X and Y offset values.

              BUT the way my printer is setup the Z axis is already homed whenever I execute this macro so the G1 Z5 command will work.

              Frederick

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

              Frederikundefined 1 Reply Last reply Reply Quote 0
              • Frederikundefined
                Frederik @fcwilt
                last edited by

                @fcwilt ok, i will add these commands

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

                  @Frederik

                  I was editing while you were posting - please check to see if you saw all of what meant to post.

                  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
                  • Frederikundefined
                    Frederik
                    last edited by

                    i am back,

                    i editet my Files, generatet the macro file centerprobe.g
                    and insert the additonal G32 in my homez.g

                    the x and y position is now with the probe offsets the center of my build area.

                    ; homez.g
                    ; called to home the Z axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)
                    G91 ; relative positioning
                    G1 H2 Z5 F6000 ; lift Z relative to current position
                    G90 ; absolute positioning
                    G32
                    G1 X165 Y187 F6000 ; go to first probe point
                    G30 ; home Z by True bed leveling 3 points in bed.g

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

                      @Frederik said in First Layer and Extrusion Problems:

                      i editet my Files, generatet the macro file centerprobe.g
                      and insert the additonal G32 in my homez.g

                      Given you are new to this I should have mentioned that to use the "centerprobe.g" macro you need to put M98 P"centerprobe.g" into your code whenever you want to move the probe to the center of the bed.

                      So instead of the G1 command preceeding the G30 you would have M98 P"centerprobe.g" BUT you will need to comment out the G1 line in "centerprobe.g" that tries to move on the Z axis since that line assumes Z is already homed.

                      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
                      • Frederikundefined
                        Frederik
                        last edited by

                        ok thank you, i try it and post the results in a moment

                        1 Reply Last reply Reply Quote 0
                        • Vetiundefined
                          Veti
                          last edited by

                          you should really keep your bed.g and homing files as simple as possible.
                          then use a macro to combine the actions.

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

                            Given that it's a core-xy which normally homes one axis after the other (normally x then y) after x homes you can tell x to place the nozzle to the centre of the bed and then home y and again tell y to go to the centre of the bed no extra files or code required then home z can be executed as normal from the centre of the bed

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

                              ; bed.g
                              ;
                              ; called to perform automatic bed compensation via G32
                              ;
                              G28                         ; Home all
                              G30 P0 X2 Y-2 Z-99999       ; Probe near the front left lead-screw
                              G30 P1 X152 Y278 Z-99999    ; Probe near the rear lead screw 
                              G30 P2 X290 Y-2 Z-99999 S3  ; Probe near the front right lead-screw
                              G30 P0 X2 Y-2 Z-99999       ; Probe near the front left lead-screw (Second Pass)
                              G30 P1 X152 Y278 Z-99999    ; Probe near the rear lead screw (Second Pass)
                              G30 P2 X290 Y-2 Z-99999 S3  ; Probe near the front right lead-screw (Second Pass) 
                              G91                         ; Switch to relative positioning moves
                              G1 H2 Z5 F8000              ; Drop the Z axis (the bed) by 5mm relative to its current position
                              G90                         ; Revert back to absolute positioning moves
                              G1 X160 Y155 F8000          ; Position the nozzle at the centre of the bed
                              G30                         ; Probe and set the height as probed
                              G29 S1 P"heightmap.csv"     ; Load the height map
                              
                              

                              This is an operational bed.g file for a core-xy with x3 z axis lead screws

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

                                @CaLviNx THank you 🙂 i will have a look and adjust mine accordingly

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

                                  @CaLviNx said in First Layer and Extrusion Problems:

                                  Given that it's a core-xy which normally homes one axis after the other (normally x then y) after x homes you can tell x to place the nozzle to the centre of the bed and then home y and again tell y to go to the centre of the bed no extra files or code required then home z can be executed as normal from the centre of the bed

                                  That is assuming you don't care if the probe is at the center of the bed.

                                  Because I want to probe the center of the bed I created the macro I mentioned which does the math required.

                                  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 said in First Layer and Extrusion Problems:

                                    That is assuming you don't care if the probe is at the center of the bed.

                                    Because I want to probe the center of the bed I created the macro I mentioned which does the math required.

                                    Frederick

                                    That is assuming that you DO care that the probe IS at the centre of the bed because you have already told x and y to put the nozzle/probe to the centre of the bed ready for z to home using the probe, this way NO extra macro is required, making it nice and simple.

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

                                      @CaLviNx said in First Layer and Extrusion Problems:

                                      That is assuming that you DO care that the probe IS at the centre of the bed because you have already told x and y to put the nozzle/probe to the centre of the bed ready for z to home using the probe, this way NO extra macro is required, making it nice and simple.

                                      Except you are not probing the center of the bed which I consider essential.

                                      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

                                        who said you are not probing the centre of the bed?

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

                                          @CaLviNx said in First Layer and Extrusion Problems:

                                          @fcwilt

                                          who said you are not probing the centre of the bed?

                                          Your example stated that you were positioning the nozzle at the center of the bed, not the probe.

                                          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 A Former User

                                            @fcwilt

                                            With the nozzle you usually have a probe yes? So you place the nozzle/probe at the "centre" ready to probe

                                            I incorrectly assumed that you would manage make that mental connection between nozzle and or probe on your own, apologies for my incorrect assumption

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