Siemens SIMATIC S7-200 System Manual page 579

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

Advertisement

Boolean Instructions
LD
N
Load
LDI
N
Load Immediate
LDN
N
Load Not
LDNI
N
Load Not Immediate
A
N
AND
AI
N
AND Immediate
AN
N
AND Not
ANI
N
AND Not Immediate
O
N
OR
OI
N
OR Immediate
ON
N
OR Not
ONI
N
OR Not Immediate
LDBx
N1, N2
Load result of Byte Compare
N1 (x:<, <=,=, >=, >, <>) N2
ABx
N1, N2
AND result of Byte Compare
N1 (x:<, <=,=, >=, >, <>)
OBx
N1, N2
OR result of Byte Compare
N1 (x:<, <=,=, >=, >, <>) N2
LDWx
N1, N2
Load result of Word Compare
N1 (x:<, <=,=, >=, >, <>) N2
AWx
N1, N2
AND result of Word Compare
N1 (x:<, <=,=, >=, >, <>) N2
OWx
N1, N2
OR result of Word Compare
N1 (x:<, <=,=, >=, >, <>) N2
LDDx
N1, N2
Load result of DWord Compare
N1 (x:<, <=,=, >=, >, <>) N2
ADx
N1, N2
AND result of DWord Compare
N1 (x:<, <=,=, >=, >, <>) N2
ODx
N1, N2
OR result of DWord Compare
N1 (x:<, <=,=, >=, >, <>) N2
LDRx
N1, N2
Load result of Real Compare
N1 (x:<, <=,=, >=, >, <>) N2
ARx
N1, N2
AND result of Real Compare
N1 (x:<, <=,=, >=, >, <>) N2
ORx
N1, N2
OR result of Real Compare
N1 (x:<, <=,=, >=, >, <>) N2
NOT
Stack Negation
EU
Detection of Rising Edge
ED
Detection of Falling Edge
=
N
Assign Value
=I
N
Assign Value Immediate
R
S_BIT, N
Set bit Range
SI
S_BIT, N
Reset bit Range
RI
S_BIT, N
Set bit Range Immediate
Reset bit Range Immediate
S7-200 Programmable Controller System Manual
A5E00066097-02
S7-200 Quick Reference Information
Math, Increment, and Decrement instructions
+I
IN1, OUT
+D
IN1, OUT
+R
IN1, OUT
-I
IN1, OUT
-D
IN1, OUT
-R
IN1, OUT
MUL
IN1, OUT
*R
IN1, OUT
*D, *I
IN1, OUT
DIV
IN1, OUT
/R
IN1, OUT
/D, /I
IN1, OUT
SQRT
IN, OUT
LN
IN, OUT
EXP
IN, OUT
N2
SIN
IN, OUT
COS
IN, OUT
TAN
IN, OUT
INCB
OUT
INCW
OUT
INCD
OUT
DECB
OUT
DECW OUT
DECD OUT
PID
Table, Loop
Timer and Counter Instructions
TON
Txxx, PT
TOF
Txxx, PT
TONR
Txxx, PT
CTU
Cxxx, PV
CTD
Cxxx, PV
CTUD
Cxxx, PV
Real Time Clock Instructions
TODR
T
TODW T
Program Control Instructions
END
STOP
WDR
JMP
N
LBL
N
CALL
N [N1,...]
CRET
FOR
INDX,INIT,
FINAL
NEXT
LSCR
N
SCRT
N
SCRE
Add Integer, DWord or Real
IN1+OUT=OUT
Subtract Integer, DWord, or Real
OUT-IN1=OUT
Multiply Integer (16*16->32) or Real
Multiply Integer or Double Integer
IN1 * OUT = OUT
Divide Integer (16/16->32) or Real
Divide Integer or Double Integer
IN1 / OUT = OUT
Square Root
Natural Logarithm
Natural Exponential
Sine
Cosine
Tangent
Increment Byte, Word or DWord
Decrement Byte, Word, or DWord
PID Loop
On-Delay Timer
Off-Delay Timer
Retentive On-Delay Timer
Count Up
Count Down
Count Up/Down
Read Time of Day clock
Write Time of Day clock
Conditional End of Program
Transition to STOP Mode
WatchDog Reset (300 ms)
Jump to defined Label
Define a Label to Jump to
Call a Subroutine [N1, ... up to 16
optional parameters]
Conditional Return from SBR
For/Next Loop
Load, Transition, and End
Sequence Control Relay
Segment
G-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents