Recover on power fail shifted on X axis
-
Hi guys . I ma having problem tuning my resume on power fail .
All the print are shifted on X axis of about 1mmthis is my resurrect prologue
M109 S200
G91
G0 Z5
G28 X Y
M280 P3 S160 I1
M280 P3 S10 I1
G0 X35 Y-35
G30
this is my autopause
M911 S23 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"Any idea about what's happening?
Thank yuo
Andrea -
What type of X endstop switch do you use, and how reproducible is the homing position?
Please share your homeall.g and homex.g files.
-
thank you for your answer.
I away from home till the next of the week I'll upload my config fiiles asap.
My x and y enstop are simple contact switch. Should I change it with optical endstop? -
This is my homex.g
;homing using a x-MIN endstop
G91 ; relative mode
G1 Z4 F200 ; lowers bed 4mm to avoid dragging nozzle over the bed
G1 X-340 F5000 S1 ; move up to 340mm in the -X direction, stopping if the homing switch is triggered
G1 X4 F600 ; move slowly 4mm in the +X direction
G1 X-10 S1 ; move slowly 10mm in the -X direction, stopping at the homing switch
G1 Z-4 F200 ; rises the bed 4mm back upG90 ; back to absolute mode
and homeall.g
;homing using a x-MIN, Y-MAX and z-MIN endstops
M280 P3 S160 I1 ;reset error bltouch
G91 ; relative mode
G1 Z4 F200 ; lowers bed 4mm to avoid dragging nozzle over the bed
G1 S1 X-340 Y340 F3000 ; course home X or Y
G1 S1 X-340 ; course home X
G1 S1 Y340 ; course home Y
G1 X4 Y4 F600 ; move away from the endstops
G1 S1 X-10 ; fine home X
G1 S1 Y10 ; fine home Y;Home X
;G91 ; relative mode;G1 Z4 F200 ; lowers bed 4mm to avoid dragging nozzle over the bed
;G1 X-340 Y240 F3000 S1 ; move up to 340/240mm in the -X (x endstop is MIN) and +Y(y endstop is MAX) directions until the homing switches are triggered
;G1 X4 Y-4 F600 ; move slowly 4mm in +X and +Y directions
;G1 X-10 Y10 S1 ; move up to 10mm in the -X and -Y directions until the homing switches are triggered;Home Y
;G91 ; relative mode
;G1 Y340 F5000 S1 ; move up to 340mm in the +Y direction, stopping if the homing switch is triggered
;G1 Y-4 F600 ; move slowly 4mm in the -Y direction
;G1 Y10 S1 ; move slowly 10mm in the +Y direction, stopping at the homing switch
;G90 ; back to absolute mode------------------------------------------------------------------------;M280 P3 S160 I1 ; Clear probe
G91 ; Relative positioning
G1 Z10 F3600 ;Lift z
G4 S1 ;wait 1 second
M98 P/sys/deployprobe.g ; call deployprobe.g
G1 Z5 F200
G90
; Adjust the coordinates in the following line to place the head at a suitable position for Z homing
G1 X193 Y151 F3600 ; Go to first bed probe point
G30
G1 Z10 F500
M98 P/sys/retractprobe.g ; call retractprobe.gthe end stop is like this
thank you
-
Any idea how to solve this?
Optical endstop? -
Meanwhile I bought an optical endstop
-
@claustro does this happen if you pause, rehome, and then resume the print? just trying to confirm its endstop accuracy thats causing the issue.
-
Try removing the little arm of the endstop. You can get much better repeatability without it. The purpose it serves it to increase the target trigger area, but it's flexible nature means it's not as accurate as just the bare switch button. Just make sure it lines up with your strike point.
-
I made the tests.
The problem happen only after resuming after power fail and NOT after pausing and resuming the printer the printer.
Removed the endstop 's metal arm without improvements.
I am waiting for the optical endstop arrival hope it will fix my issue.
thank you
Andrea -
@claustro does it occur when you pause, home and then resume?
-
@T3P3Tony
Pause - home - and resume works ok without shift -
@claustro ok that blows my theory out the water looks to not be due to your endstop accuracy.
Is the shift repeatable?
-
The shift occur in the same direction and of the same amount after every power fail test.
I don't know if this is the answer you question correctly -
@claustro yes thats what i was asking.
Clutching at straws now things to look at:
- what does the resurrect look like - anything there that looks odd?
- try removing "G0 X35 Y-35" from the resurrect pro-log and see if that changes the amount. (you probably have to remove the G30 as well!)