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

    Z-axis up without homing macro

    Scheduled Pinned Locked Moved
    General Discussion
    4
    21
    2.2k
    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.
    • mrehorstdmdundefined
      mrehorstdmd
      last edited by

      @phaedrux Doh! I went back and edited the previous post.
      That's what happens when you get old...

      https://drmrehorst.blogspot.com/

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

        Don't feel bad, I have to open the wiki almost every time just to double check. I've started to remember by thinking that absolute starts with A, so it comes before relative, so it's G90. 😀

        Z-Bot CoreXY Build | Thingiverse Profile

        mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
        • mrehorstdmdundefined
          mrehorstdmd @Phaedrux
          last edited by

          @phaedrux I do feel bad- I was looking at the wiki when I wrote it. The error just didn't register...

          https://drmrehorst.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • silver1882undefined
            silver1882 @Phaedrux
            last edited by

            Ok thanks I will give it a try as soon as my printer is done printing.

            fcwiltundefined silver1882undefined 2 Replies Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @silver1882
              last edited by

              @silver1882 said in Z-axis up without homing macro:

              Ok thanks I will give it a try as soon as my printer is done printing.

              Why do you have the M564 commands?

              If you are doing this during a print the printer must already be homed.

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

              silver1882undefined 1 Reply Last reply Reply Quote 0
              • silver1882undefined
                silver1882 @silver1882
                last edited by

                I tested it and that works great thanks.

                1 Reply Last reply Reply Quote 0
                • silver1882undefined
                  silver1882 @fcwilt
                  last edited by

                  If I am away from my house and I have to cancel the print because of a problem my printer is no longer homed. I just wanted to be able to raise the head so it doesn't cool down setting on the part.

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

                    @silver1882 said in Z-axis up without homing macro:

                    If I am away from my house and I have to cancel the print because of a problem my printer is no longer homed. I just wanted to be able to raise the head so it doesn't cool down setting on the part.

                    Why do you think canceling a print un-homes the printer?

                    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
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      It would depend on what you have in cancel.g I think.

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @phaedrux said in Z-axis up without homing macro:

                        It would depend on what you have in cancel.g I think.

                        Well yes that certainly could happen.

                        Though why there would be something in the file to do that escapes me at the moment. I haven't found any reason to date to do something that would un-home the printer.

                        Curious.

                        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
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          For instance in my cancel.g I home XY and then turn the motors off.

                          Z-Bot CoreXY Build | Thingiverse Profile

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

                            @phaedrux said in Z-axis up without homing macro:

                            For instance in my cancel.g I home XY and then turn the motors off.

                            Why do you turn the motors off?

                            For me most times a canceled print is quickly followed by another attempt after an appropriate change or two.

                            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
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              I suppose just for noise. To start another print it would be re-homing anyway, and depending on why and when it was canceled it might be awhile before another attempt is made.

                              Z-Bot CoreXY Build | Thingiverse Profile

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

                                @phaedrux said in Z-axis up without homing macro:

                                I suppose just for noise. To start another print it would be re-homing anyway, and depending on why and when it was canceled it might be awhile before another attempt is made.

                                Noise?

                                Do your steppers make noise when not moving?

                                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
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by Phaedrux

                                  Yeah there's a slight hum/whine when energized. Nothing too offensive. When I was setting up the macros I figured why not power them off?

                                  Z-Bot CoreXY Build | Thingiverse Profile

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

                                    @phaedrux said in Z-axis up without homing macro:

                                    Yeah there's a slight hum/whine when energized. Nothing too offensive. When I was setting up the macros I figured why not power them off?

                                    Evidence that great minds don't always think alike.

                                    😉

                                    Frederick

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

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

                                      @fcwilt

                                      ; cancel.g
                                      ;
                                      ; Run when the print is paused, and then canceled.
                                      ;
                                      
                                      G10 P0 R0 S0		; Set hotend temp to 0
                                      M140 S0			; Set bed temp to 0
                                      M106 S255 		; Fan at 100 to cool nozzle and bed
                                      M220 S100		; Set speed factor back to 100% in case it was changed
                                      M221 S100		; Set extrusion factor back to 100% in case it was changed
                                      M290 R0 S0 ; clear babystepping
                                      M204 P1000 T4000	; Set printing and travel accelerations
                                      M566 X900 Y900 Z30 	; Set maximum instantaneous speed changes (mm/min) (Jerk)
                                      G28 XY			; home XY
                                      M98 P"0:/sys/CurrentsNormal.g" ; return motor currents to normal
                                      M98 P"0:/sys/ZSpeedsNormal.g" ; return Z axis speeds to normal
                                      M84			; turn off steppers
                                      G4 S60			; wait 1 minute for nozzle to cool
                                      M107			; turn off the fan
                                      M98 P"0:/macros/Musical Tunes/TwoBits.g" ; play a tune
                                      

                                      I suppose now with conditional gcode the homing at the start of a print could easily be made optional, so the logic of turning off the motors since I need to re-home anyway isn't as valid.

                                      Z-Bot CoreXY Build | Thingiverse Profile

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