Clock (Clock-Pulse Generator) - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Operations
3.5.3

Clock (Clock-Pulse Generator)

This section describes how to program a clock-pulse generator.
Example: A clock-pulse generator can be implemented using a self-clocking timer that is
followed in the circuit by a binary scaler. Flag F 2.0 restarts timer T 7 each time it runs
down, i.e., flag F 2.0 is "1" for one cycle each time the timer runs down. The pulses of
flag F 2.0 applied to the binary scaler result in a pulse train with pulse duty factor 1:1
at output Q 0.6. The period of this pulse train is twice as long as the time value of the
self-clocking timer.
Timing Diagram
Signal states
1
0
1
0
T
STL
AN
F
2.0
L
KT
10.1
SR
T
7
NOP 0
NOP 0
NOP 0
A
T
7
=
F
2.0
***
A
F
2.0
AN
F
3.0
S
Q
0.6
A
F
2.0
A
F
3.0
R
Q
0.6
NOP 0
***
AN
F
2.0
A
Q
0.6
S
F
3.0
AN
F
2.0
AN
Q
0.6
R
F
3.0
NOP 0
3-74
F 2.0
Q 0.6
Time
T
CSF
T 7
T
F2.0
KT 10.1
TV
R
Q 0.6
&
F 2.0
S
F 3.0
F 2.0
&
R
F 3.0
F 3.0
&
F 2.0
S
Q 0.6
F 2.0
&
R
Q 0.6
F 2.0
0
BI
DE
Q
F 2.0
F 2.0
Q 2.0
Q
Q 2.0
Q
Q 2.0
S5-115F Manual
Circuit Diagram
G
F 2.0
F 3.0
Q 0.6
LAD
T 7
T
0
TV
BI
KT 10.1
DE
R
Q
Q 0.6
F 3.0
S
Q 3.0
R
Q
Q 0.6
Q 3.0
S
Q 0.6
R
Q
EWA 4NEB 811 6149-02
F 2.0
( )

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents