Block Move Instructions - Siemens SIMATIC S7-200 System Manual

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

Advertisement

S7-200 Programmable Controller System Manual

Block Move Instructions

Block Move Byte, Word, or Double Word
The Block Move Byte (BMB), Block Move Word (BMW), and
Block Move Double Word (BMD) instructions move a
specified amount of data to a new memory location by
moving the number of bytes, words, or double words N
starting at the input address IN to a new block starting at the
output address OUT.
N has a range of 1 to 255.
Error conditions that set ENO = 0
H 0006 (indirect address)
H 0091 (operand out of range)
Table 6-56
Valid Operands for the Block Move Instructions
Inputs/Outputs
IN
OUT
N
Example: Block Move Instruction
166
Data Types
Operands
BYTE
IB, QB, VB, MB, SMB, SB, LB, *VD, *LD, *AC
WORD, INT
IW, QW, VW, MW, SMW, SW, T, C, LW, AIW, *VD, *LD, *AC
DWORD, DINT
ID, QD, VD, MD, SMD, SD, LD, *VD, *LD, *AC
BYTE
IB, QB, VB, MB, SMB, SB, LB, *VD, *LD, *AC
WORD, INT
IW, QW, VW, MW, SMW, SW, T, C, LW, AQW, *VD, *LD, *AC
DWORD, DINT
ID, QD, VD, MD, SMD, SD, LD, *VD, *LD, *AC
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, Constant, *VD, *LD, *AC
Network 1
LD
BMB
//Move array 1 (VB20 to VB23)
//to array 2 (VB100 to VB103)
I2.1
VB20, VB100, 4
VB20
VB21
30
31
Array 1
VB100
VB101
Array 2
30
31
VB22
VB23
32
33
VB102
VB103
32
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents