I am working on a project where we have to print a lot of piece and would like to leave the printer (Ultimker S5) to print over the whole weekend (so I don't loose the 20h of possible print time).
So I have changed the G-code to make it "automatized", where it print the model, pushes it out and goes off to print the same thing again.
I have defined the travel and it works, but I have encountered a problem with the heating bed temperature.
So, the printer should cool the glass plate to about 20-25 °C before pushing the model out to be sure it will be removed easier.
Here is the G-code I have added/changed (# are just the comments I added here😞
M140 S25 #cool the bed to 25 °C
G0 X160 Y125 #move "behind" the model
G0 Z10 #move down
G0 Y0 F2000 #push the model out
#The rest is c/p from the beggining of the print
M140 S85 #heat the bed to 85 °C
M205 X18 Y18
G0 F6180 X158.075 Y28.465 Z0.42
M205 X7.5 Y7.5
G1 F1500 E51.96984
However, the printer does not wait for the bed to cool down, but only continues to push the model out right away and start a new print.
I have also tried with M190 (Wait for bed temperature to reach target temp) after the M140, but Im not sure it is supported by UM as I receive an error on the S5 that the bed temperature is not defined properly.
Any ideas how can I make the UM S5 wait to reach defined temperature and then proceed to push the model out, wait to heat the bed again and start printing again ?