Swap Bytes Instruction - Siemens SIMATIC S7-200 System Manual

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

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-63
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
SWAP
Swap
D6 C3
VW50
S7-200 Instruction Set
I2.1
VW50
VW50 C3 D6
Chapter 6
183

Hide quick links:

Table of Contents
loading

Table of Contents