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