Program instructions
7.1 Bit logic
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
155
As shown in the following figure, the CPU uses a logic stack to resolve the control logic. In
these examples, "iv0" to "iv31" identify the initial values of the logic stack, "nv" identifies a
new value provided by the instruction, and "S0" identifies the calculated value that is stored
in the logic stack.
1
The value is unknown (it could be either a 0 or a 1).
2
After the execution of a Logic push or a Load stack instruction, value iv31 is lost.