FreddyC
Member
I have put together an AOI to pass several REAL data types eventually controlling a motion controller connected Ethernet IP. I added some BOOL outputs I called EN, DN, PC, IP with the intent of it acting like a MAM. The problem is; when the rung is no longer true, the EN an DN bits stay latched because the AIO instruction stops scanning as soon as the rung is false. Rockwell's AOI manual claims you would use the "EnableInFalse" routine to reset these outputs, but when enabling this function, the AOI always passes data regardless of any conditions.
That is probably OK if you only use the AOI once, if you use the AOI more than once in the code; then all of them scan pass data all the time.
Hope this makes sense.
That is probably OK if you only use the AOI once, if you use the AOI more than once in the code; then all of them scan pass data all the time.
Hope this makes sense.