Sign in to follow this  
Followers 0
dcalderonv

Motion Instruction inside AOIs

5 posts in this topic

Hi, We are working with some motion control instructions that we have bundled inside an AOI. Basically what we have is MSO, MAPC, MAS and MSF instructions, in such way that we control them through input and output parameters. So far, it is working but sometimes, apparently random, when we deliver a stop command, the axis stops but we can see the .EN bit of the MSO instruction remains Set, no matter its rung condition is already false. When this happens, the Axis won't turn on again and we have to manually Reset '.EN' in the MSO, trigger an MSF and then try again. We don't understand why the MSO '.EN' bit is still Set regardless of the servo state and its rung condition. This only happens sometimes and when it happens, we have the problem to start again. When we do not use the AOI bundled Motion Inst, there is not such issue. Does anyone have a clue? Thank you in advance.

Share this post


Link to post
Share on other sites
Not a lot to go off of, can you post your program?

Share this post


Link to post
Share on other sites
Warning - pure guess. Are the conditions which enable the motion instruction the same as those which enable the AOI? For an .EN to turn off there would have to be at least one scan where the enable in to the motion command is false. In other words are you ending the invocation of the AOI as soon as the motion instruction is done?

Share this post


Link to post
Share on other sites
I strongly think carlton has the answer. Ran into a similiar problem with MSG instructions inside and AOI until I figured out I need to call the AOI for 1 scan after the msg was not enabled.

Share this post


Link to post
Share on other sites
Thanks, I can´t post the program and I know it makes it more complicated. The AOIs rung conditions are always true, i.e. we don't have rung conditions for the AOIs. BTW I found this tech note in AB's KB: http://rockwellautomation.custhelp.com/cgi...p?p_faqid=42520 With that info we could make them work better. Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0