LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Homing with inverted gearing locks second axis

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.

0 Kudos
Message 1 of 5
(3,258 Views)

Well, show us some code.... there probably is a bug.

0 Kudos
Message 2 of 5
(3,251 Views)

Attached is the VI being used. The problem occurs during the 'home' case, and usually when the 'calibration' case has been run immediately before. 

0 Kudos
Message 3 of 5
(3,236 Views)

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.

 

 

0 Kudos
Message 4 of 5
(3,233 Views)

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.

Cameron T
Applications Engineer
National Instruments
Message 5 of 5
(3,211 Views)