Custom stop location

Hi everyone, I’ve printed a custom nozzle wiper and I have noticed that just before and after the first layer inspection the print head is going to a location that is actually hitting the new wiper. Not really hurting anything but it would be nice if I could make it stop about half an inch to the left. Any idea where that position GCode is located so I could modify? I’m afraid it may actually be in the first layer scan code which I don’t think I have access to…?

Should also mention this is the new wiper mod I have been using… hands down the best one I have tried and I have tried many. It’s working wonders for removing the PETG-CF build up when used with custom code to wipe every layer (I actually wipe more than once).

Thank you Kungpaoshizi!!!

Here’s the code I use in the “Layer change G-code” section found in the machine settings under “Machine G-code”: It will work with a traditional or smooth timelapse.

; layer num/total_layer_count: {layer_num+1}/[total_layer_count]
M622.1 S1 ; for prev firware, default turned on
M1002 judge_flag timelapse_record_flag
M622 J1
{if timelapse_type == 0} ; timelapse without wipe tower
G92 E0
G1 E-[retraction_length] F1800
G17
G2 Z{layer_z + 0.4} I0.86 J0.86 P1 F20000 ; spiral lift a little
G1 X65 Y245 F20000 ; move to safe pos
G17
G2 Z{layer_z} I0.86 J0.86 P1 F20000
G1 Y265 F3000
M400 P300
M971 S11 C10 O0
G92 E0
G1 E[retraction_length] F300
G1 X100 F5000
G1 X70 F15000
G1 X100 F5000
G1 X70 F15000
G1 X100 F5000
G1 Y255 F20000
{elsif timelapse_type == 1} ; timelapse with wipe tower
G92 E0
G1 E-[retraction_length] F1800
G17
G2 Z{layer_z + 0.4} I0.86 J0.86 P1 F20000 ; spiral lift a little
G1 X65 Y245 F20000 ; move to safe pos
G17
G2 Z{layer_z} I0.86 J0.86 P1 F20000
G1 Y265 F3000
M400 P300
M971 S11 C10 O0
G92 E0
G1 E[retraction_length] F300
G1 X100 F5000
G1 X70 F15000
G1 X100 F5000
G1 X70 F15000
G1 X100 F5000
G1 Y255 F20000
{endif}
M623
; update layer progress
M73 L{layer_num+1}
M991 S0 P{layer_num} ;notify layer change