Clock/Clock-Pulse Generator - Siemens S5-100U User Manual

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
8.5.3

Clock/Clock-Pulse Generator

This subsection 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 1.0. 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
010.1
SD
T
7
NOP
0
NOP
0
NOP
0
A
T
7
=
F
2.0
***
A
F
2.0
AN
F
3.0
S
Q
1.0
A
F
2.0
A
F
3.0
R
Q
1.0
NOP
0
***
AN
F
2.0
A
Q
1.0
S
F
3.0
AN
F
2.0
AN
Q
1.0
R
F
3.0
NOP
0
EWA 4NEB 812 6120-02
F 2.0
Q 1.0
Time
T
CSF
T 7
T
F 2.0
KT 10.1
TV
R
Q 1.0
&
F 2.0
S
F 3.0
F 2.0
&
R Q
F 3.0
F 3.0
&
F 2.0
S
Q 1.0
F 2.0
&
R Q
Q 1.0
F 2.0
0
BI
DE
F 2.0
Q
F 2.0
F 2.0
F 2.0
F 2.0
STEP 5 Operations
Circuit Diagram
G
F 2.0
F 3.0
Q 1.0
LAD
T 7
T
0
TV
BI
KT 10.1
DE
R
Q
Q 1.0
F 3.0
S
F 3.0
R Q
Q 1.0
F 3.0
S
Q 1.0
R Q
F 2.0
( )
8-73

Advertisement

Table of Contents
loading

Table of Contents