
Program instructions
7.12 Move
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
341
Example: Swap instructions
LAD
STL
Network 1
LD I2.1
SWAP VW50
Hexadecimal data values
D6
C3
Data addresses
VB50
VB51
If I2.1 = 1, then execute SWAP to exchange the byte data in a data word
Hexadecimal data values
C3
D6
Data addresses
VB50
VB51
7.12.4
Move byte immediate (read and write)
LAD / FBD
STL
Description
BIR IN, OUT
The Move Byte Immediate Read instruction reads the state of physical input IN
and writes the result to the memory address OUT, but the process image register
is not updated.
BIW IN, OUT
The Move Byte Immediate Write instruction reads the data from the memory
address IN and writes to physical output OUT, and the corresponding process
image location.
Non-fatal errors with ENO = 0
SM bits affected
•
0006H Indirect address
•
Unable to access expansion mod-
ule
None
Input / output
Data type
Operand
IN (BIR)
BYTE
IB, *VD, *LD, *AC
IN (BIW)
BYTE
B, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC, Constant
OUT (BIR)
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC
OUT (BIW)
BYTE
QB, *VD, *LD, *AC
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...