Swap Bytes Instruction
The Swap Bytes instruction exchanges the most significant byte with
the least significant byte of the word IN.
Error conditions that set ENO = 0
H 0006 (indirect address)
Table 6-60
Valid Operands for the Swap Bytes Instruction
Inputs/Outputs Data Types
IN
WORD
Example: Swap Instructions
Operands
IW, QW, VW, MW, SMW, SW, T, C, LW,AC, *VD, *LD, *AC
Network 1
LD
I2.1
SWAP
VW50
Swap
D6 C3
VW50
S7-200 Instruction Set
VW50 C3 D6
Chapter 6
6
183