Block Move; Move Examples - Siemens SIMATIC S7-200 System Manual

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

Advertisement

IEC 1131-3 Instructions

Block Move

L
BLKMOVE
A
EN
D
F
IN
B
D
N
221
222 224
Inputs/Outputs
IN
VB, IB, QB, MB, SB, SMB, LB, VW, IW, QW, MW, SM, SMW, LW, T,
C, AIW, VD, ID, QD, MD, SMD, SD, LD, *VD, *AC, *LD
OUT
VB, IB, QB, MB, SB, SMB, LB, VW, IW, QW, MW, SW, SMW, LW, T,
C, AQW, VD, ID, QD, MD, SMD, SD, LD, AC, *VD, *AC, *LD
N
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD

Move Examples

%I2.1
%VB50
%VD100
Figure 10-9
10-24
The Block Move function moves the N number of words
specified by the address IN to the address OUT. N has a
ENO
range of 1 to 255.
The input and output data types can vary, but must be of
OUT
the same type.
Block Move is a non-standard IEC-only function.
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address), 0091 (operand out of range)
226
Operands
LAD
MOVE
EN
ENO
%I2.1
IN
OUT
%AC0
SQRT
%VD50
%VB50
EN
ENO
IN
OUT
%AC1
Move
VB50
C3
move
C3
AC0
Example of Move Function for LAD and FBD
FBD
MOVE
EN
ENO
IN
OUT %AC0
%VD104 IN
Application
Square Root
VD100
150.00
square root
AC1
12.247
S7-200 Programmable Controller System Manual
Data Types
BYTE, WORD,
DWORD, INT,
DINT
BYTE, WORD,
DWORD, INT,
DINT
BYTE
SQRT
EN
ENO
OUT
%AC1
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents