I have a similar problem which I have not been able to resolve.
When I put a switch on the HOME1 screw terminal, I am able to toggle the value of Gate3[0].Chan[0].Homeflag from 1 to 0. Now, when I run the "#1hm" command, the stepper goes forward until I toggle the Homeflag value from 1 to zero, and then instead of stopping, it goes back to the previously set home position.
I am new to Delta Tau, and this behavior was completely unexpected.
What I am hoping to do is cause the stepper to stop when the Homeflag goes from 1 to zero, then set the home position to zero.