Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Can You Home A Motion Axis From MAX?

The interactive panel in MAX allows for motion for each axis.
 
However, I cannot find a way using MAX to tell an axis to "home".
 
Does anyone know of a way, is there a demo app, or do I need to create my own?
 
Thanks
 
0 Kudos
Message 1 of 3
(3,228 Views)
In MAX you can configure the Find Reference settings but there is no function in there to start it. If you are using LabVIEW you can use the examples from the Find Reference.llb (e. g. C:\Program Files\National Instruments\LabVIEW 7.1\examples\Motion\FlexMotion). For any other programming environment you can use this pseudo-code :

flex_find_reference();
While (<Reference not found>)
   {
    flex_check_reference();
   }

 I hope that helps,

Jochen Klier
National Instruments Germany

0 Kudos
Message 2 of 3
(3,222 Views)
When Home switches are enabled in the Axis Configuration MAX will always stop motion as soon as the drive passes the Home switch. But you have to select the direction manually, I.e. if the Home switch is in forward direction from current position you have to make a drive forward - as far as I know MAX cannot detect in which direction relative to current position the Home switch is, and cannot perform a true Search Home routine.

You should set the axis to Velocity mode so that it runs continuously until it reaches the Home position.

Due to hysteris of real world home switches you should always approach the home position from the same direction, and keep the same 'initial search direction' in your final application.
0 Kudos
Message 3 of 3
(3,221 Views)