07-24-2012 11:05 AM - edited 07-24-2012 11:06 AM
07-25-2012 05:44 PM
Hi dluu13,
Judging from when you said the home switch indicator is off on the board and on in MAX, it sounds as though you have a polarity issue in software. What happens if you change the active polarity settings of the home switch in the Motion I/O settings in MAX?
07-25-2012 06:31 PM
The strange thing is that the problem only surfaces during a home move, and not any other time.
07-27-2012 06:00 PM
Would it be possible to post some screenshots of how the Axis Status indicators in MAX when you execute the move? Do the 'Axis is currently moving' and 'Move is complete' indicators show appropriately when executing the home command?
07-27-2012 06:35 PM
I haven't got any screenshots right now.
However, the "Axis is moving" is on for as long as the axis moves (appropriate). As far as I can tell, the only problem is that the software does not seem to detect that the axis has moved off of the limit. The move complete indicator is active after I press the limit switch by hand and the axis stops moving.
07-31-2012 09:26 AM - edited 07-31-2012 09:26 AM
Another thing we can check is the Smart Enable setting in the find Reference setting. It this is not selected we would need to manually enable or disable the limits.
08-01-2012 10:52 AM
I spoke with a colleague of mine and in the past, he has had the exact same problem as I did. He was unable to solve the problem himself, so he wrote his own function. I will try that myself as well, and I will try and report back the results.
The key feature that I will try to incorporate is a sort of delay timer so that the actuator will sit on the switch for a little bit before moving off.
08-02-2012 12:12 PM
You may also want to try enabling/disabling the home switch when you need or don't need the home switch. Check out this KB for some more information.
http://digital.ni.com/public.nsf/allkb/BE713663C048225586256A0A005A6A20