When I set up for a project. First I use my "ref all" to verify my machine 0. Then upon that command zeroing out. I then set my part 0. Then if an error is made during the running of a file, I hit ref all again, then go to zero, the rerun the file. Does that help? Do you have home or limit switches?