Memory Fill - Siemens Simatic S7 Series System Manual

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

Program instructions
7.16 Table
7.16.3

Memory fill

LAD / FBD
STL
FILL IN, OUT,
N
Non-fatal errors with ENO = 0
0006H Indirect address
0091H Operand out of range
Input / output
Data type
IN
INT
N
BYTE
OUT
INT
Example: Memory fill instruction
LAD
330
Description
The memory fill instruction writes N consecutive words, beginning at address OUT,
with the word value contained in address IN.
N has a range of 1 to 255.
SM bits affected
None
Operand
IW, QW, VW, MW, SMW, SW, T, C, LW, AC, AIW, *VD, *LD, *AC, Constant
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC, Constant
IW, QW, VW, MW, SMW, SW, T, C, LW, AQW, *VD, *LD, *AC
STL
Network 1
LD I2.1
FILL +0, VW200, 10
System Manual, 09/2015, A5E03822230-AC
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents