Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset Position SoftMotion Function Block

Hey all,

 

I am trying to reset the position on two axes to zero. I can highlight the block diagram and am able to watch the function blocks execute, but instead of resetting to zero, the encoder and stepper reset to -7166 steps or counts. This line of code has worked in other programs so I am not sure what is going on. When I manually execute a straight-line move to zero, they also move to -7166. I'm assuming there is something in settings or wrong with the encoder that is causing this.

 

Does anyone have a solution or something I can try to resolve this issue?

 

Thank you!

0 Kudos
Message 1 of 2
(2,119 Views)

How are you configuring the Reset Position function block? For more information on that function block, refer to the SoftMotion Help: https://zone.ni.com/reference/en-XX/help/371093G-01/nimclvfb/resetposition_00b10088/.

Brian.D
NI Product Owner
VeriStand
0 Kudos
Message 2 of 2
(2,085 Views)