01-03-2014 04:25 AM
Hi,
I am using CVI and the flex_find_reference and flex_wait_reference function. I have a home sensor attached and it works fine when I use the MAX, ie. the motor stops when it the home sensor is triggered even though the motor has not reached the intended target position.
Based on the Help explanation, it says one "must set unused limit and home inputs to their inactive state using MAX or with the Enable Limits and Enable Home Inputs functions."
However, when I check out flex_enable_home_inputs function, it says one "can operate all motion control functions without enabling or using the home inputs except the Find Reference function, which requires enabled limit and home inputs for operation when the find reference type is 'home.'"
This seems to be contradicting to me. I believe I may be misunderstanding "set unused limit and home inputs to their inactive state".
I tried enabling and not enabling the limits and home inputs but to no avail.
I got error code 119, but cannot find any information.
Appreciate any help on how to use these 2 function with a hardware home sensor.
Thanks in advance!
01-03-2014 05:45 PM
It seems to me that this question is more related on specific concepts on Motion than strictly on CVI. For this reason I suppose that posting it in NI-Motion forum board will be more useful fot you.