Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

reset to multiple axis to zero using axis control as the resource?

Will this code reset both Axis 1 and Axis 2 encoder counter channels to zero, or do I have to have multiple instances of the Wait For Move Complete.flx and Reset Position.flx to handle each axis individually?
 
The coersion dots concern me.
 
Thanks.
Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 1 of 2
(2,996 Views)
As you have probably already found out your code doesn't wait for both axes and it doesn't reset them. However Wait for Move Complete.flx does wait for multiple axes to complete their moves when you use the Axes/VS Map input paramater accordingly. Reset Position.flx resets the position for only one axis. Thus you will have to use it either multiple times or in a FOR loop.

I hope this helps,

Jochen Klier
National Instruments Germany

Message Edited by Jochen on 11-30-2005 05:13 PM

0 Kudos
Message 2 of 2
(2,994 Views)