02-16-2018 06:53 AM
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!
02-19-2018 04:27 PM
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/.