05-03-2010 05:47 PM
I have a cRIO system with two 9512s, forward and reverse limit switches for both motors, no Home limit switch. I am using the enable/disable line.
I am able to move both motors using the axis "Interactive Test Panel"
I can then run simple VIs that use SoftMotion blocks to do the following things:
* Testing Reference Move to find FWD Limit and to find REV Limit
* Testing Straight line Move both relative and absolute
However, when I try to test Reference Move - Home (center option), I get the following error:
"error -70219
occurred at Find Reference Move when Executing start on pitch: 10
Possible Reasons:
The move stopped because an axis exceeded the programmed position error limit. Verify the feedback resource connection and/or tune your motor."
What might be causing this? Why is it that I can move the motor using the Interactive test panel and the straight line move or the find limit switches, but I can not find center?
Thanks in advance for your time,
Fabiola
05-04-2010 09:37 AM
05-04-2010 09:54 AM
Hello Fabiola,
Are you working with a shipping example to find center or is it your own code?
I would suggest looking into NI Example Finder > Toolkits and Modules > Motion Control > NI SoftMotion > Basic > Reference Move - Center.lvproj to see if you are still seeing the same error using the example.
05-04-2010 09:59 AM
Hi Andy,
I added a reply to my first message with more information about the axis configuration. I tried with the Shipping Example "Reference-Move-Center.vi"
I wanted to remove my code out of the equation.
Please let me know if I can provide any additional information besides what I added in my reply to my original post.
Thanks and best regards,
Fab
05-04-2010 03:18 PM
Fabiola -
Can you verify which version of LabVIEW and SoftMotion you are using? There was an issue with this error in SoftMotion 2009 that was fixed with Service Pack 1. If you are not using SoftMotion SP1, please update and this should resolve your issue. You can run SM 2009 SP1 without having to update LabVIEW to SP1.
Marc
05-04-2010 03:27 PM
Marc,
I just verified in the NI License Manager, and we have "NI SoftMotion Module Standard 2009 SP1"
so, that is not the problem 😞
Thanks,
Fab
05-06-2010 10:09 AM
05-10-2010 04:15 PM
Fabiola -
Did you ever get the situation solved?
I did find that with the Property / Invoke node beta API, there's an issue of having a straight line move reference open when trying to do a find reference move. Gives error -70216. Closing the line reference while doing the find reference move is the work-around. Often it's not a problem because homing is performed before doing any moves.
Do you perform any homing and line move in the same sequence? Are you using the Function Blocks or Property / Invoke node API?
Marc
05-10-2010 05:13 PM
Marc,
Like I said before, it is solved for now, but I am not 100% confident, because I no longer know what solved it. I haven't been able to reproduce it.
In my own application I was performing a straight line move to get the vehicle closer to center and within the valid limit switches region. But when we started posting on the forum we were only working with the shipping example. So the only movement being performed was the reference move to center.
We are using the Function Blocks for now. I use the Property/invoke API to understand what is happening "behind the scenes", but I haven't moved my code to use the API, because I don't want to break what is already working 😉
After not seeing error 70219, I simplified the homing section of the code to only perform a reference move to center. If the user sees that the vehicle is not obviously at center, then he/she can use a joystick to bring the vehicle closer to center. This happens if the vehicle is beyond the limit switches. Then the reference move to center is attempted again and so far this has worked with no errors.
Thanks for looking into this and I will try to keep my homing and line move in different sequences 🙂
Fab
09-04-2013 08:37 PM
how do you solve the 70229 error???