Specifications
SIMATIC Instructions
9-192
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
9.17 SIMATIC Logic Stack Instructions
And Load
The And Load instruction combines the values in the
first and second levels of the stack using a logical And
operation. The result is loaded in the top of stack. After
the ALD is executed, the stack depth is decreased by
one.
Operands: none
Or Load
The Or Load instruction combines the values in the first
and second levels of the stack, using a logical Or
operation. The result is loaded in the top of stack. After
the OLD is executed, the stack depth is decreased by
one.
Operands: none
Logic Push
The Logic Push instruction duplicates the top value on
the stack and pushes this value onto the stack. The
bottom of the stack is pushed off and lost.
Operands: none
Logic Read
The Logic Read instruction copies the second stack
value to the top of stack. The stack is not pushed or
popped, but the old top of stack value is destroyed by the
copy.
Operands: none
S
T
L
ALD
222 224
333
221
S
T
L
OLD
222 224
333
221
S
T
L
LPS
222 224
333
221
S
T
L
LRD
222 224
333
221