Siemens SIMATIC S7-200 System Manual page 580

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

Advertisement

S7-200 Quick Reference Information
Move, Shift, Rotate, and Fill Instructions
MOVB IN, OUT
MOVW IN, OUT
Move Byte, Word, DWord, Real
MOVD IN, OUT
Move Byte Immediate Read
Move Byte Immediate Write
MOVR IN, OUT
BIR
IN, OUT
BIW
IN, OUT
BMB
IN, OUT, N
BMW
IN, OUT, N
Block Move Byte, Word, DWord
BMD
IN, OUT, N
SWAP IN
Swap Bytes
SHRB
DATA, S_BIT,
Shift Register Bit
N
SRB
OUT, N
SRW
OUT, N
Shift Right Byte, Word, DWord
SRD
OUT, N
SLB
OUT, N
SLW
OUT, N
Shift Left Byte, Word, DWord
SLD
OUT, N
RRB
OUT, N
RRW
OUT, N
Rotate Right Byte, Word, DWord
RRD
OUT, N
RLB
OUT, N
RLW
OUT, N
Rotate Left Byte, Word, DWord
RLD
OUT, N
FILL
IN, OUT, N
Fill memory space with pattern
Logic Operations
ALD
And for combinations
OLD
Or for combinations
LPS
Logic Push (stack control)
LRD
Logic Read (stack control)
LPP
Logic Pop (stack control)
LDS
Load Stack (stack control)
AENO
And ENO
ANDB
IN1, OUT
Logical And of Byte, Word, and
ANDW IN1, OUT
DWord
ANDD IN1, OUT
ORB
IN1, OUT
Logical Or of Byte, Word, and
ORW
IN1, OUT
DWord
ORD
IN1, OUT
XORB IN1, OUT
Logical XOr of Byte, Word, and
XORW IN1, OUT
DWord
XORD IN1, OUT
INVW
OUT
Invert Byte, Word and DWord
INVD
OUT
(1's complement)
G-6
Table, Find, and Conversion Instructions
ATT
TABLE,DATA
Add data to table
LIFO
TABLE,DATA
Get data from table
FIFO
TABLE,DATA
FND=
SRC,PATRN,
INDX
FND<>SRC,PATRN,
INDX
Find data value in table that
matches comparison
FND< SRC,PATRN,
INDX
FND> SRC,PATRN,
INDX
BCDI
OUT
Convert BCD to Integer
IBCD
OUT
Convert Integer to BCD
BTI
IN, OUT
Convert Byte to Integer
ITB
IN, OUT
Convert Integer to Byte
ITD
IN, OUT
Convert Integer to Double
Integer
DTI
IN, OUT
Convert Double Integer to Integer
DTR
IN, OUT
Convert DWord to Real
TRUNC IN, OUT
Convert Real to DWord
ROUND IN, OUT
Convert Real to Double Integer
ATH
IN, OUT, LEN
Convert ASCII to Hex
HTA
IN, OUT, LEN
Convert Hex to ASCII
ITA
IN, OUT, FMT
Convert Integer to ASCII
DTA
IN, OUT, FM
Convert Double Integer to ASCII
Convert Real to ASCII
RTA
IN, OUT, FM
DECO IN, OUT
Decode
ENCO IN, OUT
Encode
SEG
IN, OUT
Generate 7-segment pattern
Interrupt
CRETI
Conditional Return from Int.
ENI
Enable Interrupts
DISI
Disable Interrupts
ATCH
INT, EVENT
Attach Interrupt routine to event
Detach event
DTCH
EVENT
Communication
XMT
TABLE,PORT
Freeport transmission
RCV
TABLE,PORT
Freeport receive message
NETR
TABLE,PORT
Network Read
NETW TABLE,PORT
Network Write
GPA
ADDR,PORT
Get Port Address
SPA
ADDR,PORT
Set Port Address
High-Speed Instructions
HDEF
HSC, Mode
Define High-Speed Counter mode
HSC
N
Activate High-Speed Counter
PLS
X
Pulse Output
S7-200 Programmable Controller System Manual
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents