Pause.g Resume.g problems
-
@dc42 The holding current now is "M906 X1650 Y1650 Z1650 E700 I1" so thats 1% right? I think it doesnt go lower than that.
-
@Phaedrux It is stable enough so even after power off it doesnt move. But my problem is that after i pause it and turn off the steppers it doesnt watn to home and also i found out yesterday that in the pause.g i switch off the hoend heater, but after resuming it doesnt go back in temperature. Any ideas?
-
Have you read this about the noise? I managed to reduce the whining on my Duet3 with this.
-
@Deluxe-600 You can put the tool in standby when pausing and then in active mode when resuming.
For example if you only have one tool in pause:G10 P0 R20 ; Set standby temp of tool 0 to 20* T-1 ; put tools in standby
And in resume:
T0 ; activate tool agin M116 ; wait for all temperatures.
-
@Deluxe-600 With G92 to set the position you don't need to home.
-
@TypQxQ said in Pause.g Resume.g problems:
@Deluxe-600 You can put the tool in standby when pausing and then in active mode when resuming.
For example if you only have one tool in pause:G10 P0 R20 ; Set standby temp of tool 0 to 20* T-1 ; put tools in standby
And in resume:
T0 ; activate tool agin M116 ; wait for all temperatures.
For pause, isn´t
T-1 P0 ; deselect all tools but don't run any tool change macro files
& For Resume, isn´t
T R1 ; select the tool that was active last time the print was paused
even better?
Just asking... -
Nice it works!....well kind of strange thing thats happening to me is that when i use the pause button, it works as it should. But when i press the resume button i still get the error "G0/G1: insufficient axes homed". Now the strange part is that when i use M98 P"resume.g" and THEN the resume button it works. Can someone please explain this?
-
Is your Z axis unhommed when you try and resume?
-
@Phaedrux
Yes, im still trying to do it with turning the motors off and then rehoming on resume. And it works just not by pressing the "resume" button. I have to use macro M98 P"resume.g" for it to work. After i apply the macro i pres resume button and it works as it should. -
@Deluxe-600 said in Pause.g Resume.g problems:
; resume.g
; called before a print from SD card is resumed
G28 X Y ; home X and Y
G1 R1 X0 Y0 Z5 F4000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 ; go back to the last print move
M83 ; relative extruder moves
G1 E10 F3600 ; extrude 10mm of filamentAssuming this is still your resume.g you should add something there to home z as well as XY
-
Now my resume.g looks like this
T0 ; activate tool again
M116 ; wait for all temperatures.
M98 P"homex.g" ;
M98 P"homey.g" ;
G1 R1 X0 Y0 Z5 F4000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 ; go back to the last print move
M83 ; relative extruder moves
G1 E10 F3600 ; extrude 10mm of filament -
@Phaedrux it works as it is. Now i am trying to figure out why is it not working trough the "resume" button but trough macro (M98 P"resume.g") it does. I thought that the button calls the macro just liek the command?
-
Firmware version?
-
@Phaedrux RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2)
-
The resume button uses M98 P"resume.g" right?
-
I believe so, yes. The only difference that comes to mind is maybe which gcode stream the commands is coming through.
-
@Phaedrux What can i do to make it work properly? I would like to use the normal web control buttons. If possible
-
@Deluxe-600, what happens when you press the Resume button?
-
@dc42 The printing head goes back to the saved position lowers to the print and then "G0/G1: insufficient axes homed" error and cancels the print. I can change whatever i want in the "resume.g" file but nothing changes.
-
This is just weird. If i create a macro for resume in which i have :
T0 ; activate tool again
M116 ; wait for all temperatures.
M98 P"homex.g" ;
M98 P"homey.g" ;
M106 P0 T1 ; restores the previous fan speed
G1 E10 F3600 ; extrude 10mm of filament
G1 R1 X0 Y0 Z5 F4000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 ; go back to the last print move
M83 ; relative extruder movesIt does all it should but then it just moves above the print and pauses.
Then i have to push the "Resume" button in the interface. It homes again and then starts printing....but if i dont run the macro first it doesnt home or wait for the tool to heat up. It just moves above the print and then throws an error messeage. I realy dont know what to do . Im fighting it for the last 4 days.