References
E.4 STL instructions
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
835
Boolean instructions
STL
Description
AWx IN1, IN2
AND result of Word Compare
IN1 (x:<, <=,=, >=, >, <>)I N2
OWxIN1, IN2
OR result of Word Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
LDDx IN1, IN2
Load result of DWord Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
ADx IN1, IN2
AND result of DWord Compare
IN1 (x:<, <=,=, >=, >, <>)IN2
ODx IN1, IN2
OR result of DWord Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
LDRx IN1, IN2
Load result of Real Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
ARx IN1, IN2
AND result of Real Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
ORx IN1, IN2
OR result of Real Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
NOT
Stack Negation
EU
ED
Detection of Rising Edge
Detection of Falling Edge
= bit
=I bit
Assign Value
Assign Value Immediate
S bit, N
R bit, N
SI bit, N
RI bit, N
Set bit Range
Reset bit Range
Set bit Range Immediate
Reset bit Range Immediate
Not available in STL
SR (Set dominate bistable)
RS (Reset dominate bistable)
LDSx IN1, IN2
ASx IN1, IN2
OSx IN1, IN2
Load result of String Compare
IN1 (x: =, <>) IN2
AND result of String Compare
IN1 (x: =, <>) IN2
OR result of String Compare
IN1 (x: =, <>) IN2
ALD
OLD
AND Load
OR Load
LPS
LRD
LPP
LDS n
Logic Push (stack control)
Logic Read (stack control)
Logic Pop (stack control)
Load Stack (stack control), n= 0 to 8
AENO
AND ENO