Hi all,
So I made a resume.g file that looks like this:
M104 T1 S190.00
M190 S70.00
M140 T1 S190.00
G28 XY
T1
M106 S0
G92 E0
G1 E13.5 F F150
G92 E24.81
G1 X319.449 Y176.961 F4000
G92 Z0.400
M23 Tube-Flanged-PLA-R-0,8-ITOMEC.gcode
M26 S32396
M24
When I execute all these commands manually by using the Arduino serial monitor it works fine and it does actually resume the correct way. When I let the printer execute the resume.g file by itself, it fails miserably. I think it has something to do with starting a file while already running a file. I'm not with the printer now but the next thing I'm going to change the M24 command to:
case 24: //M24 - Start SD print
sd.stopPrint();
sd.startPrint();
break;
Maybe the sd.stopPrint will help. If not, then I'm open for suggestions :)