EasyManua.ls Logo

Siemens SIMATIC S7-200 - Block Move; Move Examples

Siemens SIMATIC S7-200
606 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IEC 1131-3 Instructions
10-24
S7-200 Programmable Controller System Manual
A5E00066097-02
Block Move
The Block Move function moves the N number of words
specified by the address IN to the address OUT. N has a
range of 1 to 255.
The input and output data types can vary, but must be of
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)
Inputs/Outputs Operands Data Types
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
BYTE, WORD,
DWORD, INT,
DINT
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
BYTE, WORD,
DWORD, INT,
DINT
N VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD BYTE
Move Examples
LAD FBD
%I2.1
MOVE
EN
OUT %AC0%VB50 IN
SQRT
EN
%VD100 IN
Application
VD100
AC1
square root
12.247
C3VB50
AC0
move
C3
150.00
Move Square Root
ENO
ENO
MOVE
EN
OUT %AC0IN
SQRT
EN
%VD104 IN
ENO ENO
%I2.1
%VB50
%AC1OUT
%AC1OUT
%VD50
Figure 10-9 Example of Move Function for LAD and FBD
L
A
D
BLKMOVE
EN
IN
N
OUT
F
B
D
ENO
222 224
✓✓
221 226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals