Start G-code
M83 ; use relative distances for extrusion
G28
G92 Z202.7 ; override firmware Z home
M114
G1X5Y98F9000 ; Go to the middle of the front
G1Z0.05 ; close to the bed
M104 S[temperature] ; set extruder temp
M190 S[first_layer_bed_temperature] ; set bed temp & wait
M109 S[first_layer_temperature] ; wait for extruder temp
G1E5F50 ; extrude a blob
G1X40F4000 ;wipe 40mm along the edge of the bed
G1Z0.2 ;lift Z
End G-code
M103
M108 S50.0
M113 S0.0
M104 S0
M140 S0
G1X-100Y100F9000
M106
G1Z200
M84
Layer change G-code
M104 S[temperature]
M140 S[bed_temperature]