Two moves away, one move back. MDI or program with singleblock or option stop, after the first move, set your indicator, move away then back. Result is mechanical lost motion. Check minimum 3 places along axis and kind of "average to your advantage"
Mitsubishi/Mazaks have two parameters, one is for G0 moves and the other is for G01 moves. Check both ways.