S7-200 Programmable Controller System Manual
Move Instructions
Move Byte, Word, Double Word, or Real
The Move Byte (MOVB), Move Word (MOVW), Move
Double Word (MOVD), and Move Real (MOVR) instructions
move a value from a memory location IN to a new memory
location OUT without changing the original value.
Use the Move Double Word instruction to create a pointer.
For more information, refer to the section on pointers and
indirect addressing in Chapter 4.
For the IEC Move instruction, the input and output data
types can vary, but must be of the same size.
Error conditions that set ENO = 0
H 0006 (indirect address)
Table 6-53
Valid Operands for the Move Instructions
Inputs/Outputs
IN
OUT
164
Data Types
Operands
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC, Constant
WORD, INT
IW, QW, VW, MW, SMW, SW, T, C, LW, AC, AIW, *VD, *AC, *LD,
Constant
DWORD, DINT
ID, QD, VD, MD, SMD, SD, LD, HC, &VB, &IB, &QB, &MB, &SB,
&T, &C, &SMB, &AIW, &AQW, AC, *VD, *LD, *AC, Constant,
REAL
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC, Constant
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC
WORD, INT
IW, QW, VW, MW, SMW, SW, T, C, LW, AC, AQW, *VD, *LD, *AC
DWORD, DINT, REAL
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC