Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

clear current position

i'm using a pxi-7358 for a single axis stepper move via an encoder.
i move up and down the axis to a series of positions using a modified example vi, single axis with position vi, .
i then intend to use another vi to perform a contoured move, again using a modified example, single axis contoured move.
I'm using Labview 8.20.
My question is: when i come to use the second vi with relative positioning the current position is still as the number of steps as fedback from the last move of the first vi. Where is the current position stored and how do i clear it?
Do i have to turn everything off at the end of the first vi before starting the contour move?
The encoder has no index position and i'd rather not use one of the end of travel limits. 
 
many thanks
Darren
0 Kudos
Message 1 of 2
(3,203 Views)
Darren,

the current position is stored in a register on the board and you can clear it with "Reset position.flx". In fact all positions in a contouring buffer are relative to the current position so it's not necessary to reset the position before starting the contouring move. For more information please read this document from our knowledge base.

Before starting a contouring move the previous move needs to be completed but you don't have to turn anything off.

I hope this helps,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 2
(3,196 Views)