Z-axis up without homing macro
-
Ok thanks I will give it a try as soon as my printer is done printing.
-
@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.
-
I tested it and that works great thanks.
-
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.
-
@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?
-
It would depend on what you have in cancel.g I think.
-
@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.
-
For instance in my cancel.g I home XY and then turn the motors off.
-
@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
-
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.
-
@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
-
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?
-
@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
-
; 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.