1) the gcode you need is the following (sort of)
G91 ; set relative coords
G1 Z1 F200 ; detach extruder(s) 1mm from part
G90 ; set absolute coords
G28 X0
G1 X<NEXTX> Y<NEXTY> F6000 ; go to next printing position
G91 ; set relative coords
G1 Z-1 F200; kiss the part

G90 ; set absolute coords
2) place above gcode into N[*] layers gcode area
3) Set the [*] layer value to the resolution needed (is you set this field to 1, will home the X axis at each layer)
Best Regards
Davide Ardizzoia