Siemens SIMATIC S5-115U User Manual page 236

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
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
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 (0000)
in the RAM of the PC 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 PC, is declared invalid and
removed from the block address
list.
S5-115U Manual
Explanation
Explanation
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents