Memory Fill; Example Of Fill Instructions For Simatic Lad, Stl, And Fbd - Siemens SIMATIC S7-200 System Manual

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

Advertisement

Memory Fill

L
A
EN
D
F
IN
B
D
N
S
T
FILL IN, OUT, N
L
221
222 224
Inputs/Outputs
IN
VW, IW, QW, MW, SW, SMW, LW, AIW, T, C, AC, Constant, *VD,
*AC, *LD
N
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *AC, *LD
OUT
VW, IW, QW, MW, SW, SMW, LW, T, C, AQW, *VD, *AC, *LD
Fill Example
I2.1
0
10
I2.1
+0
10
Figure 9-36
S7-200 Programmable Controller System Manual
A5E00066097-02
The Memory Fill instruction fills N number of words at
address IN to the address OUT. N has a range of 1 to
FILL_N
ENO
255.
OUT
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address), 0091 (operand out of range)
226
Operands
LAD
Clear VW200 to VW218
FILL_N
EN
ENO
IN
N
OUT
VW200
FBD
FILL_N
EN
ENO
IN
OUT
VW200
N

Example of Fill Instructions for SIMATIC LAD, STL, and FBD

SIMATIC Instructions
Data Types
WORD
BYTE
WORD
STL
LD
I2.1
FILL
0, VW200, 10
Application
0
fill
VW200
VW202
VW218
. . .
0
0
0
9-113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents