Ok I see you are using the ESS, so possibly that may have a bearing on your problems. Unfortunately I dont have a ESS here at home so I cant test out until tomorrow to see if it is a problem with it.
In the mean time maybe go to Ports and Pins, Inputs and set Y Home to port 0 pin 0 and restart Mach and see if it makes a difference. The
Hood