Siemens SIMATIC S7-200 System Manual page 524

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

Advertisement

S7-200 Programmable Controller System Manual
Move, Shift, and Rotate Instructions
MOVB
IN, OUT
MOVW IN, OUT
Move Byte, Word, DWord, Real
MOVD
IN, OUT
MOVR
IN, OUT
BIR
IN, OUT
Move Byte Immediate Read
BIW
IN, OUT
Move Byte Immediate Write
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, N
Shift Register Bit
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
Logical Instructions
ANDB
IN1, OUT
ANDW
IN1, OUT
Logical AND of Byte, Word, and DWord
ANDD
IN1, OUT
ORB
IN1, OUT
ORW
IN1, OUT
Logical OR of Byte, Word, and DWord
ORD
IN1, OUT
XORB
IN1, OUT
XORW
IN1, OUT
Logical XOR of Byte, Word, and DWord
XORD
IN1, OUT
INVB
OUT
Invert Byte, Word and DWord
INVW
OUT
(1's complement)
INVD
OUT
String Instructions
SLEN
IN, OUT
String Length
SCAT
IN, OUT
Concatenate String
SCPY
IN, OUT
Copy String
SSCPY IN, INDX, N, OUT
Copy Substring from String
CFND
IN1, IN2, OUT
Find First Character within String
SFND
IN1, IN2, OUT
Find String within String
510
Table, Find, and Conversion Instructions
ATT
DATA, TBL
Add data to table
LIFO
TBL, DATA
Get data from table
FIFO
TBL, DATA
FND=
TBL, PTN, INDX
FND<> TBL, PTN, INDX
Find data value in table that matches
comparison
FND<
TBL, PTN, INDX
FND>
TBL, PTN, INDX
FILL
IN, OUT, N
Fill memory space with pattern
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 Double Integer
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
RTA
IN, OUT, FM
Convert Real to ASCII
DECO
IN, OUT
Decode
ENCO
IN, OUT
Encode
SEG
IN, OUT
Generate 7- -segment pattern
ITS
IN, FMT, OUT
Convert Integer to String
DTS
IN, FMT, OUT
Convert Double Integer to String
RTS
IN, FMT, OUT
Convert Real to String
STI
STR, INDX, OUT
Convert Substring to Integer
STD
STR, INDX, OUT
Convert Substring to Double Integer
STR
STR, INDX, OUT
Convert Substring to Real
Interrupt Instructions
CRETI
Conditional Return from Interrupt
ENI
Enable Interrupts
DISI
Disable Interrupts
ATCH
INT, EVNT
Attach Interrupt routine to event
DTCH
EVNT
Detach event
Communications Instructions
XMT
TBL, PORT
Freeport transmission
RCV
TBL, PORT
Freeport receive message
NETR
TBL, PORT
Network Read
NETW
TBL, 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
Q
Pulse Output

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents