... from the boot camp ...
Greetings goatom ...
sometimes the terminology fights us ... I’d STRONGLY suggest that you avoid using the terms “True” and “False” and/or “Open” and “Close” to refer to the status of the bit/boxes on your processor’s data tables ... let’s just say that each of those bits/boxes can contain either a “1” or a “0” ...
with that in mind, here’s a better way to phrase exactly what’s going on as a rung gets executed ... consider the following sample rung ...
step-by-step ...
the XIC instruction tells the processor to: “go look for a 1 in the bit/box with the address B3/15” ... does the processor find a “1” in that bit/box? ... yes ... therefore the processor evaluates the XIC as “True” ... (note: if the processor does NOT find a “1” in the bit/box, then the processor will evaluate the XIC as “False”) ...
the XIO instruction tells the processor to: “go look for a 0 in the bit/box with the address B3/11” ... does the processor find a “0” in that bit/box? ... yes ... therefore the processor evaluates the XIO as “True” ... (note: if the processor does NOT find a “0” in the bit/box, then the processor will evaluate the XIO as “False”) ...
since “True” comes into the OTE instruction, the OTE instruction tells the processor to: “go write a 1 in the bit/box with the address B3/3” ... (note: if “False” came into the OTE instruction, then the OTE instruction would tell the processor to: “go write a 0 in the bit/box with the address B3/3” ...
(note: to any of my more-experienced colleagues who are completely comfortable with some other terminology (such as “true” and “false” for the status of bit/boxes in the data tables), I say: “if it works for you, then party on” ... but personally I’ve found over the years that MANY beginning students have been needlessly confused by anything other than the easy-to-explain status of “the bit/box contains a 1” or “the bit/box contains a 0” ... it’s hard to get any simpler than that - and then the “True/False” analysis of the XIC/XIO instructions works out correctly every time ...