Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

flex motion finding home does not set HomeFound

I use the flex_find_reference to find home. I then use flex_check_reference to determine when home is found, but the found parameter does not go true, even though the flex_read_input_status and the flex_read_home_input_status calls show the home switch on.
0 Kudos
Message 1 of 2
(3,164 Views)
Hello,

Have you enabled the forward, reverse, and home limits for your motion controller? The find reference settings for your system may need to be modified. A tutorial on how to do this can be found at:

Find Reference Settings for Motion Controllers
http://zone.ni.com/devzone/conceptd.nsf/webmain/3F42374A9CF5C8BA86256B9D0081A37B?opendocument

Have you tried using any of the shipping examples for NI-Motion? For LabVIEW, they can be found by navigating to:

C:\Program Files\National Instruments\LabVIEW 7.1\examples\Motion\FlexMotion

Examples for Visual C++ or Visual Basic can be found by navigating to:

C:\Program Files\National Instruments\NI-Motion\FlexMotion\Examples

Try looking at the find reference shipping examples found in those folders.


Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,164 Views)