05-27-2011 03:07 AM
I am controlling a dome for a telescope. I have a home position switch and motion control using one of NI's motion controllers. Everything works fine except for one bug. The dome just goes around and around. I can run a Home type reference search and it works fine. But if I command a position that runs through the home switch zone the dome stops moving. If I hit the command a second time it runs right to the correct position.
So why does the home switch stop the motion if I am not doing a reference search. Should I be using some other form of referencing?
Thanks,
Dave
05-27-2011 07:18 AM
Do you have the home switch also configured as a limit switch?
What motion hardware are you using. In addition to home limits, the ni cards often have a + limit and - limit and also a software limit, these can be configured via the api or in max.