Store actual edge, seam in memory before machining, compare with detected