CapinWinky
Member
I have some logic that is way easier to understand if I put in when I don't want an output to turn on, but I can't seem to find a boolean NOT or even a normally closed output to use with this inverse logic. The NOT instruction that does exist takes an input and output variable, it isn't an inline NOT.
It currently looks like the only way to do this is to make two rungs. One way is to set a flag with the logic in one rung and in the second use that flag with an XIO. I could also have a rung that latches the output and a second that unlatches it according to my logic. That can't be the only way to do this, but I looked through the available instructions and nothing jumped out as being able to do this cleanly in one rung.
It currently looks like the only way to do this is to make two rungs. One way is to set a flag with the logic in one rung and in the second use that flag with an XIO. I could also have a rung that latches the output and a second that unlatches it according to my logic. That can't be the only way to do this, but I looked through the available instructions and nothing jumped out as being able to do this cleanly in one rung.