11-22-2012 11:56 AM
Hello,
I am running research apparatus that requires homing with two motors geared together (with a gear ratio of -1). After loading the appropriate find reference parameters, the homing sequence is started on axis 1, with axis 2 successfully geared to it.
Both axes move together correctly during the homing sequence up until the Axis 1 home switch is triggered, at which point Axis 1 starts backing off the limit but Axis 2 fails to follow this movement (it stops). Axis 1 then offsets, whch Axis 2 also does not follow. After this the motors can run properly, but it is essential that they are geared at all times, including during the homing function. I need to know how to get the motors to run together for the entire homing sequence, or at least know how to work around the issue and still have the motors run together.
NI MAX does not display a following or position error on either axis.
Thanks in advance for any help.
11-22-2012 12:49 PM
Well, show us some code.... there probably is a bug.
11-23-2012 12:53 PM
Attached is the VI being used. The problem occurs during the 'home' case, and usually when the 'calibration' case has been run immediately before.
11-23-2012 01:30 PM
You did not attach any of the subVIs or type definitions. Sorry, I am not familiar with *.flx files (flexmotion controller?).
btw: yout three buttons should be latch action and the terminal placed in the actual location where they are needed. This way you can elimiate all their local variables. A latch action boolean returns to the default value as soon as the non-default value is read once.
11-26-2012 09:55 AM - edited 11-26-2012 09:58 AM
This issue would get better attention if you posted on the Motion Forum. The .flx are NI-Motion VI's and there are Discussion Boards dedicated solely to motion questions; whereas, this board is for general LabVIEW questions.