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

    Can't seem to set where the bed should be when print starts

    Scheduled Pinned Locked Moved
    General Discussion
    3
    28
    1.3k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Can you share a small sliced gcode file so we can see what your slicer is doing at the start of a print? Please also post your config.g and homing files if they have changed.

      Z-Bot CoreXY Build | Thingiverse Profile

      TimV 0undefined 1 Reply Last reply Reply Quote 0
      • TimV 0undefined
        TimV 0 @Phaedrux
        last edited by

        @Phaedrux
        config.g

        homeall.g

        bed.g

        cube.gcode

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

          What does your heightmap look like?

          When are you running bed.g?

          When do you load the heightmap?

          Maybe you aren't using mesh compensation at all.

          After doing a homeall, can you jog the nozzle to touch the bed? Does the Z axis position show 0 when it's touching the bed?

          If you tell the Z axis to move 10mm, does it actually move 10mm if you measure it? In otherwords, are you sure your Z axis steps per mm are correct? Or is the Z axis moving smoothly without missed steps or binding?

          I don't see anything obvious from your gcode files. Perhaps you could record a video showing from power on, to starting a print.

          Z-Bot CoreXY Build | Thingiverse Profile

          TimV 0undefined 1 Reply Last reply Reply Quote 0
          • TimV 0undefined
            TimV 0 @Phaedrux
            last edited by

            @Phaedrux
            Once more for good luck.
            From the Test and Calibrate Document
            HomeX Ok
            HomeY Ok
            HomeZ Ok After G30 is run, bed raises until bltouch triggers. Bed stops raising at 2.73mm from nozzle

            Calibrate the Z probe trigger height
            Issue M561 - done
            Center nozzle at center of bed - done
            Z is still reporting height = 2.73mm
            Raise the bed to remove the 2.73mm
            Bed not trapping paper
            Issue M564 S0
            Nozzle contacts paper at -0.4mm
            Nozzle stops paper at -0.45mm
            Issue G92 S0 - Confirm bed height indicates 0.00
            Lowered Bed by 5mm
            Measured distance to confirm 5mm
            G30 S-1 stopped at 2.73
            G31 P500 X-45 Y0 Z2.73 set in config.g
            edited G31 in config.g.bak

            Reset the duet 2 board.

            Position indicator says Z 0.00

            That is not true. after the board reset, the nozzle is 10mm above the bed

            HomeX -- ok
            HomeY -- ok
            HomeZ -- ok

            Tool position reports Z at 2.73mm

            I don't want to do anything else on my own until I understand for sure what is happening.
            Is this not the result of what I set in the G31 command in config.g?

            Ok, I am really confused now. I started a print job and it is printing perfectly. I have a good, even first layer.

            TimV 0undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
            • TimV 0undefined
              TimV 0 @TimV 0
              last edited by

              @TimV-0 Sorry, it is not perfect. I think I need to run the autobed levelling to set up the heightmap properly. I just hope it doesn't undo what I have done

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

                @TimV-0 That all sounds accurate. After a power cycle the position is lost, so having to rehome is normal.

                The position seems to be reporting correctly after homing.

                You are using G31 and the procedure to find the trigger height value correctly.

                Home the printer and then send G29 to create a mesh. (or G32, since your bed.g just contains G29)

                Seeing what the heightmap looks like would be a good next step.

                Z-Bot CoreXY Build | Thingiverse Profile

                TimV 0undefined 1 Reply Last reply Reply Quote 0
                • TimV 0undefined
                  TimV 0 @Phaedrux
                  last edited by

                  @Phaedrux Thanks for all of your help and for sticking with me.

                  I will do the auto bed levelling next. I did look at the height map that I had and it looks terrible. I am currently printing a case for the duet 2 board to make it a little safer and hopefully protect the actual wiring. I know I should have done the auto bed levelling first. |I had some quality issues and some print lifting. I should have really cleaned the print surface first. Just because it's brand new doesn't mean it is ready to go. I will also need to go over the extruder setup as I can see from the print that it is no set properly.

                  I did add a dual gear extruder, but I am thinking that maybe I should stack it on the carriage and get rid of the long bowden tube. Any thoughts or cautions I should know about?

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

                    @TimV-0 said in Can't seem to set where the bed should be when print starts:

                    Any thoughts or cautions I should know about?

                    Just follow the principle of one thing at a time.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    TimV 0undefined 1 Reply Last reply Reply Quote 1
                    • TimV 0undefined
                      TimV 0 @Phaedrux
                      last edited by

                      @Phaedrux
                      Always good solid advice. Most of my issues with why I wrote in for help are related to no knowing which problem was creating which challenge.

                      TimV 0undefined 1 Reply Last reply Reply Quote 1
                      • TimV 0undefined
                        TimV 0 @TimV 0
                        last edited by

                        @TimV-0 Hi: I sent out the G29 last night to generate a heightmap.
                        It sampled lots of spots on the bed and I got no feedback.

                        I tried printing today and I have a small forest of PLA that I wasn't expecting.

                        I clicked on the heightmap and it is empty. I'm sure the bed is not perfectly flat.

                        Is there somewhere I should have saved it when it finished? I think I sent an M500 because I thought I should.

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

                          It kind of sounds like you might have your DWC version out of date.

                          Upload this zip file to the system tab in DWC. That should get everything up to date.

                          https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.4/Duet2and3Firmware-3.4.4.zip

                          Also check that the heightmap plugin is enabled and maybe clear your browser cache.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          TimV 0undefined 1 Reply Last reply Reply Quote 0
                          • TimV 0undefined
                            TimV 0 @Phaedrux
                            last edited by

                            @Phaedrux
                            Thanks for the file. I can't be certain for all of the files, but the .zip file is the one that I have loaded.

                            The heightmap tab was a big orange icon that said stop in the plugins. All the other plugins said start. Is this backwards or was it the only plug in running and I just shut it off? I clicked it again and it still shows the big green icon that says start?

                            I have lost the heightmap icon on the main DWC which is what I clicked to see it in the first place. Not there any more.

                            I'll just pretend I know what I am doing for now as I don't really want to restart the print

                            The screens don\t seem to display what I would expect...

                            TimV 0undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                            • TimV 0undefined
                              TimV 0 @TimV 0
                              last edited by

                              @TimV-0
                              All my plug ins say they are 3.4.4

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

                                @TimV-0 said in Can't seem to set where the bed should be when print starts:

                                The heightmap tab was a big orange icon that said stop in the plugins. All the other plugins said start. Is this backwards or was it the only plug in running and I just shut it off? I clicked it again and it still shows the big green icon that says start?

                                If the plugin says stop, that means it's running. Clicking stop, stopped it. So no heightmap.

                                Start it again. This time go to the system tab in DWC and find the heightmap.csv file and delete it and then send G29 S0 to create a new mesh.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                TimV 0undefined 1 Reply Last reply Reply Quote 0
                                • TimV 0undefined
                                  TimV 0 @Phaedrux
                                  last edited by

                                  @Phaedrux
                                  I am very happy with the print quality that I am getting. I'm trying to deal with a couple of small things that remain.

                                  It happens from time to time between prints that I will get a message that I do not have an extruder selected or online or whatever. I can click on the tool and it will resolve. I would appreciate knowing how to make sure that it is always on when I either turn on the printer or send a job.

                                  It would also be nice if it would automatically heat the nozzle to the temperature that I want up front. I suspect that I am missing a key line somewhere. Should I put it in config.g, or in the start code from the slicer?

                                  Along the same lines, when the print finishes, I would like to shut off both the nozzle heater and the bed heater.

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

                                    @TimV-0 said in Can't seem to set where the bed should be when print starts:

                                    It happens from time to time between prints that I will get a message that I do not have an extruder selected or online or whatever. I can click on the tool and it will resolve. I would appreciate knowing how to make sure that it is always on when I either turn on the printer or send a job.

                                    You should add T0 to the end of your config.g so that a tool is selected at startup, and you should do the same in either your slicer start gcode, or create a macro file called start.g in the system folder, and have any commands there that you want to happen before the print starts. Such as select a tool, preheat the bed or extruder, move to a certain position, home the printer, whatever you want.

                                    @TimV-0 said in Can't seem to set where the bed should be when print starts:

                                    It would also be nice if it would automatically heat the nozzle to the temperature that I want up front. I suspect that I am missing a key line somewhere. Should I put it in config.g, or in the start code from the slicer?

                                    That would usually be done in the slicer. What exactly do you want to happen? What happens now?

                                    @TimV-0 said in Can't seem to set where the bed should be when print starts:

                                    I would like to shut off both the nozzle heater and the bed heater.

                                    I find the easiest way to do this is to create another macro file in the system folder called stop.g and in it place any commands you want to happen after a print is finished. Then in the slicer end gcode, add M0 which will call your stop.g macro.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    TimV 0undefined 1 Reply Last reply Reply Quote 0
                                    • TimV 0undefined
                                      TimV 0 @Phaedrux
                                      last edited by

                                      @Phaedrux
                                      Sorry for the delay. It turns out that I made some slicer changes to try to center the print on the bed, and then homed the printer, and wire tied the extruder tube...

                                      The point is that I "fixed" multiple things at the same time, and my X limit switch became loose and that caused a huge set of issues until I figured out that it was not actually working / connected.

                                      This is an ender 5 pro that I converted to the Duet 2 Wifi board. I kept the ender5 limit switches but replaced the wiring with generic 3 pin wires to the board. I am having problems keeping the wires connected at the end stops. I applied heat shrink tubing at the limit switch end, so they now all look perfect but seem to vibrate loose.

                                      Would you be willing to offer an opinion on a more reliable end stop setup that I could connect directly to the duet 2 endstop to stop having endstop switch connection issues?

                                      infiniteloopundefined 1 Reply Last reply Reply Quote 0
                                      • infiniteloopundefined
                                        infiniteloop @TimV 0
                                        last edited by

                                        @TimV-0

                                        I kept the ender5 limit switches but replaced the wiring with generic 3 pin wires to the board. I am having problems keeping the wires connected at the end stops.

                                        With proper connectors, this should not happen. Maybe the wires are too "generic"?

                                        I applied heat shrink tubing at the limit switch end, so they now all look perfect but seem to vibrate loose.

                                        Cosmetics cannot hide the face below for long 👺. Use proper connectors or a good soldering iron - the switches are just fine.

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