jdbrandt
Lifetime Supporting Member
I still do things this way, only because, if you DO, and then somebody else comes in with some flashy work-around, at least your old stuff will always work, without regard to the extra new junk.
I've seen and used this method, and also have seen others use it, and add one additional step...a massive AND instruction, with output masking, switched with a stop or other mass permissive, whereby if the permissive is clear, you MOV a -1 (all 1's) into the mask, and if its not clear, your MOV a 0 into the mask. This saves ladder programming,,,again, a throwback to the 1k and 4k days of the PLC-2
I've seen and used this method, and also have seen others use it, and add one additional step...a massive AND instruction, with output masking, switched with a stop or other mass permissive, whereby if the permissive is clear, you MOV a -1 (all 1's) into the mask, and if its not clear, your MOV a 0 into the mask. This saves ladder programming,,,again, a throwback to the 1k and 4k days of the PLC-2