EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program instructions
7.12 Move
S7-200 SMART
298 System Manual, 09/2015, A5E03822230-AC
Example: Block Move instruction
LAD
STL
Move (copy) data in source four byte
address sequence (VB20 to VB23) to
destination four byte address se-
quence (VB100 to VB103).
Network 1
LD I2.1
BMB VB20, VB100, 4
Source data values 30 31 32 33
Source data addresses
VB20
VB21
VB22
VB23
If I2.1 = 1, then execute BLKMOV_B to move source data values to destination addresses
Destination data values
30
31
32
33
Destination data addresses
VB100
VB101
VB102
VB103
7.12.3
Swap bytes
LAD / FBD
STL
Description
SWAP IN
The Swap Bytes instruction exchanges the most significant byte with the least signifi-
cant byte of the word IN.
Non-fatal errors with ENO = 0
SM bits affected
0006H Indirect address
None
Input / output
Data type
Operand
IN
WORD
IW, QW, VW, MW, SMW, SW, T, C, LW, AC, *VD, *LD, *AC

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals