Siemens SIMATIC S5 Manual page 132

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Operations
Generating a data block
Example
Generate a data block with 128 data
words without the aid of a pro-
grammer.
Deleting a data block
Example
Delete a data block that is no longer
needed.
3-36
STL
L
KF + 127
The constant fixed-point number
G
DB 5
+127 is loaded into ACCUM 1.
At the same time, the old con-
tents of ACCUM 1 are shifted to
ACCUM 2.
Data block 5 is generated with a
length of 128 data words in the
RAM of the PLC and entered in
the block address list.
The next time the "G DB5"
operation is processed, it has no
effect if the contents of
ACCUM 1 are not 0.
STL
L
KF + 0
The constant fixed-point number
G
DB 5
+0 is loaded into ACCUM 1. At
the same time, the old contents
of ACCUM 1 are shifted to
ACCUM 2.
Data block 5, which is in the RAM
of the PLC, is declared invalid and
removed from the block address
list.
Manual S5-115F
Explanation
Explanation
EWA 4NEB 811 6149-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents