EasyManua.ls Logo

Siemens SIMATIC S7-200 - Simatic Logic Stack Instructions; And & or Load; Logic Push; Logic Read

Siemens SIMATIC S7-200
606 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SIMATIC Instructions
9-197
S7-200 Programmable Controller System Manual
A5E00066097-02
9.16 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
✓✓
221 226
S
T
L
OLD
222 224
✓✓
221 226
S
T
L
LPS
222 224
✓✓
221 226
S
T
L
LRD
222 224
✓✓
221 226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals