Siemens SIMATIC S7-200 System Manual page 523

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Boolean Instructions
LD
Bit
Load
LDI
Bit
Load Immediate
LDN
Bit
Load Not
LDNI
Bit
Load Not Immediate
A
Bit
AND
AI
Bit
AND Immediate
AN
Bit
AND Not
ANI
Bit
AND Not Immediate
O
Bit
OR
OI
Bit
OR Immediate
ON
Bit
OR Not
ONI
Bit
OR Not Immediate
LDBx
IN1, IN2
Load result of Byte Compare
IN1 (x:<, <=,=, >=, >, <>I) IN2
ABx
IN1, IN2
AND result of Byte Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
OBx
IN1, IN2
OR result of Byte Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
LDWx
IN1, IN2
Load result of Word Compare
IN1 (x:<, <=,=, >=, >, <>) IN2
AWx
IN1, IN2
AND result of Word Compare
IN1 (x:<, <=,=, >=, >, <>)I N2
OWx
IN1, 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
Detection of Rising Edge
ED
Detection of Falling Edge
=
Bit
Assign Value
=I
Bit
Assign Value Immediate
S
Bit, N
Set bit Range
R
Bit, N
Reset bit Range
SI
Bit, N
Set bit Range Immediate
RI
Bit, N
Reset bit Range Immediate
LDSx
IN1, IN2
Load result of String Compare
IN1 (x: =, <>) IN2
ASx
IN1, IN2
AND result of String Compare
IN1 (x: =, <>) IN2
OSx
IN1, IN2
OR result of String Compare
IN1 (x: =, <>) IN2
ALD
And Load
OLD
Or Load
LPS
Logic Push (stack control)
LRD
Logic Read (stack control)
LPP
Logic Pop (stack control)
LDS
N
Load Stack (stack control)
AENO
And ENO
S7-200 Quick Reference Information
Math, Increment, and Decrement instructions
+I
IN1, OUT
Add Integer, Double Integer or Real
+D
IN1, OUT
IN1+OUT=OUT
+R
IN1, OUT
- -I
IN1, OUT
Subtract Integer, Double Integer, or
Real
- -D
IN1, OUT
OUT- -IN1=OUT
- -R
IN1, OUT
MUL
IN1, OUT
Multiply Integer (16*16- ->32)
*I
IN1, OUT
Multiply Integer, Double Integer, or Real
*D
IN1, OUT
IN1 * OUT = OUT
*R
IN1, IN2
DIV
IN1, OUT
Divide Integer (16/16- ->32)
/I
IN1, OUT
Divide Integer, Double Integer, or Real
/D,
IN1, OUT
OUT / IN1 = OUT
/R
IN1, OUT
SQRT
IN, OUT
Square Root
LN
IN, OUT
Natural Logarithm
EXP
IN, OUT
Natural Exponential
SIN
IN, OUT
Sine
COS
IN, OUT
Cosine
TAN
IN, OUT
Tangent
INCB
OUT
INCW
OUT
Increment Byte, Word or DWord
INCD
OUT
DECB
OUT
DECW
OUT
Decrement Byte, Word, or DWord
DECD
OUT
PID
TBL, LOOP
PID Loop
Timer and Counter Instructions
TON
Txxx, PT
On-Delay Timer
TOF
Txxx, PT
Off-Delay Timer
TONR
Txxx, PT
Retentive On-Delay Timer
BITIM
OUT
Beginning Interval Timer
CITIM
IN, OUT
Calculate Interval Timer
CTU
Cxxx, PV
Count Up
CTD
Cxxx, PV
Count Down
CTUD
Cxxx, PV
Count Up/Down
Real Time Clock Instructions
TODR
T
Read Time of Day clock
TODW
T
Write Time of Day clock
TODRX T
Read Real Time Clock Extended
TODWX T
Set Real Time Clock Extended
Program Control Instructions
END
Conditional End of Program
STOP
Transition to STOP Mode
WDR
WatchDog Reset (300 ms)
JMP
N
Jump to defined Label
LBL
N
Define a Label to Jump to
CALL
N [N1,...]
Call a Subroutine [N1, ... up to 16
optional parameters]
CRET
Conditional Return from SBR
FOR
INDX,INIT,FINAL
For/Next Loop
NEXT
LSCR
N
SCRT
N
Load, Transition, Conditional End, and
End Sequence Control Relay
CSCRE
SCRE
DLED
IN
Diagnostic LED
Appendix G
509

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents