





Need advice regarding how to implement/write an AOI
Hey gang, the majority of my PLC experience has been at a place that pretty much never uses AOI's so as a result I myself have basically no experience with AOI's
So I was trying to familiarize myself with the process of creating one with some pretty basic logic that another engineer wrote.
The logic makes an actuator move to one of four positions. The way they wrote this originally was they took the logic to move to position 1, and copy and pasted the rungs three more times, so I figured this would be a great place to clean it up with an AOI, but I'm stumbling conceptually (I haven't actually tested anything yet IRL)
In the pictures I'll put on this post, the first two are the original logic to move to position 1. The next two are the internal AOI logic, and the last two are an idea of how the AOI could be implemented, but it doesn't seem right to me.
So I guess my questions are:
- Does any of this make sense?
- Should I set it up so that there's one AOI that gets shared for each of the positions, or should I have four AOI's so that each position gets it's own AOI?
Any constructive criticism regarding how this should be set up is welcome. Keep in mind this is mostly just an exercise for me and won't be going into production.
PS. The "target position number" for position 3 is supposed to be 2. The "position numbers" just call velocity information.