Siemens CPU 948 Programming Manual page 117

Simatic s5 s5-155u
Table of Contents

Advertisement

Programming Examples in the STL, LAD and CSF Methods of Representation
Counter operations
(continued)
Count up
Logical/circuit diagram
R S
CI
I 4.1
+
binary
CQ
16 bits
The value of the addressed counter is incremented
by "1" to a maximum value of 999. The function CU
is only executed on a positive edge (from "0" to "1")
of the logic operation programmed before CU. The
flags necessary for edge evaluation of the counter
inputs are incorporated in the counter word.
Owing to the two separate edge flags for CU and CD,
a counter with two different inputs can be used as an
up/down counter.
CPU 948 Programming Guide
C79000-G8576-C848-04
STEP 5 representation
Statement
Ladder
list
diagram
I 4.1
I
A
4.1
CU
CU C
1
CD
S
CV
R
Control system
flowchart
C1
I 4.1
DU
DE
Q
C1
CU
CD
S
BI
CV
DE
R
Q
3 - 45

Advertisement

Table of Contents
loading

Table of Contents