bernie_carlton
Lifetime Supporting Member + Moderator
Gerry - your examples may work on a Modicon with its 'by column scan' but for most others the "Toggle" will end up being unlatched alll the time. After it is latched (possibly) the test on the next rung, or the next branch of your second example, will see "Toggle" as latched then unlatch it again. Terry was proposing a processor independent format.