Siemens S5-100U User Manual page 191

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
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.
8-36
STL
The constant fixed-point number
L
KF + 127
+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.
S5-100U
Explanation
Explanation
EWA 4NEB 812 6120-02

Advertisement

Table of Contents
loading

Table of Contents