Mach can't remember what way to go. I will get everything moving in the right direction, then run a simulation program and ref all to home but my machine moves away from home instead of coming back. I will go in and change the direction in the homing and limits page to get it to move the right way and run another simulation and rehome and it does the same thing. It switches the movement direction anytime a limit switch is tripped. Any thoughts?