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

    end gcode causes bed to raise

    Scheduled Pinned Locked Moved
    General Discussion
    4
    6
    360
    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.
    • nick9one1undefined
      nick9one1
      last edited by

      Can anyone help here?

      At the end of the print the part got squashed by the nozzle because the bed raised.

      8208d35b-3339-4cc4-b24f-3f2689ff6733-image.png

      gcode file
      https://1drv.ms/u/s!AgN3RlWvEHCokb93H1XKK0XF1TT50w?e=eELETA

      moth4017undefined alankilianundefined 2 Replies Last reply Reply Quote 0
      • moth4017undefined
        moth4017 @nick9one1
        last edited by

        @nick9one1

        you have a G28 in you end code, and in your start code you can do G32 for your beg.g file

        <

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

          @nick9one1 I see several strange things:

          • G1 Z5 when exercised in absolute-mode moves the head to the Z=5 position. It does not move the bed down 5mm
          • G28 X10 Y250 homes the X and Y axis (The 10 and 250 have no effect if I'm reading things right)
          • G1 X0 Y0 F1000 moves the head to X=0 and Y=0 which might be in the middle of your part if you're running a delta for example

          Maybe Change to:

          • G91 ; Switch to relative mode for the rest of end.g
          • G1 Z5 E-1 F300 ; move the bed 5 mm away from the last Z position

          Then get rid of the G0 X0 Y0 line.

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

          moth4017undefined 1 Reply Last reply Reply Quote 2
          • moth4017undefined
            moth4017 @alankilian
            last edited by

            @alankilian what type of printer do you have ,?

            <

            nick9one1undefined 1 Reply Last reply Reply Quote 0
            • nick9one1undefined
              nick9one1 @moth4017
              last edited by nick9one1

              Thank you for the suggestions.

              I've had this printer working well for a couple of years, but I lost all my slicer settings after a reinstall.
              Image shows print head in the home position (which is the best place for it to be after a print as it's out of the way).

              @alankilian I think youre correct about G1 Z5, this would bring the bed back up to 5mm from the nozzle.

              I've added your suggestion. Hopefully this works

              G91 ; Switch to relative mode for the rest of end.g
              G1 F2000 Z5 ; move bed down
              G28 XY ; move head to home on XY
              
              M104 S0 ; turn off extruder,
              M140 S0 ; turn off bed,
              M84 ; disable motors
              M107 ; turn off part cooling fan
              M81 S1 ; shutdown after all thermostatic fans have turned off
              

              I should probably look at the start gcode too as I seem to be performing too many G28's.
              does it matter which way round a G29 and G30 happen?

              ; bed.g
              ; called to perform automatic bed compensation via G32
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu Jul 01 2021 15:51:11 GMT+0100 (British Summer Time)
              M561 ; clear any bed transform
              
              G28 ; home
              ;G29  ; probe the bed and enable compensation
              
              G30 P0 X5 Y155 Z-99999 ; probe near a leadscrew
              G30 P1 X300 Y45 Z-99999 ; probe near a leadscrew ; probe near a leadscrew
              G30 P2 X300 Y239 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
              

              20230213_091306.jpg

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @nick9one1
                last edited by

                @nick9one1 said in end gcode causes bed to raise:

                does it matter which way round a G29 and G30 happen?

                You'd want to do G29 after the leveling.

                Z-Bot CoreXY Build | Thingiverse Profile

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