I have a 10ms periodic task (in ladder logic) set up in my Logix controller (v28.)
One of my routines is to MOV the decimal number "2" into a DINT tag when a motor isn't being told to run. When a start button is pressed and the motors aren't running, I need to MOV a "0" and then an "11" into the same DINT tag.
I have the logic set up to achieve the MOV's, but unfortunately the "2" is always being written and seems to always take precedence unless I AFI out the MOV "2" rungs entirely.
I am wondering what I can do or what features Studio 5000 might have to help me accomplish getting the 0 and 11 to take precedence when true. My routine to MOV the 0 and 11 comes first in the program schedule.
Thanks for the help!
One of my routines is to MOV the decimal number "2" into a DINT tag when a motor isn't being told to run. When a start button is pressed and the motors aren't running, I need to MOV a "0" and then an "11" into the same DINT tag.
I have the logic set up to achieve the MOV's, but unfortunately the "2" is always being written and seems to always take precedence unless I AFI out the MOV "2" rungs entirely.
I am wondering what I can do or what features Studio 5000 might have to help me accomplish getting the 0 and 11 to take precedence when true. My routine to MOV the 0 and 11 comes first in the program schedule.
Thanks for the help!