Siemens SIMATIC S5-95F Manual page 215

Table of Contents

Advertisement

S5-95F
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.
EWA 4NEB 812 6210-02
STL
The constant fixed-point number
L
KF + 128
+127 is loaded into ACCU 1. At
G
DB
5
the same time, the old contents
of ACCU 1 are shifted to ACCU 2.
Data block 5 is generated with a
length of 128 data words (0000)
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
ACCU 1 are not 0.
STL
The constant fixed-point number
L
KF + 0
+0 is loaded into ACCU 1. At the
G
DB
5
same time, the old contents of
ACCU 1 are shifted to ACCU 2.
Data block 5, which must be in
the RAM of the PLC, is declared
invalid and removed from the
block address list.
STEP 5 Operations
Explanation
Explanation
8-35

Advertisement

Table of Contents
loading

Table of Contents