This was after 1000 moves left then 1000 moves right and the same on the other axis.

so 4000 moves in total.

The indent was put at G54 0,0 before I ran the code.

Guessing it would be visibly out if I had the rising edge set wrong.Click image for larger version. 

Name:	rising edge test.jpeg 
Views:	1322 
Size:	176.8 KB 
ID:	27698