Binary Scaler - Siemens SIMATIC S5-115U User Manual

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

S5-115U Manual
8.5.2

Binary Scaler

This section describes how to program a binary scaler.
Example: The binary scaler (output Q 3.0) changes its state each time I 1.0 changes its signal
state from "0" to "1" (leading edge). Therefore, half the input frequency appears at
the output of the memory cell.
Timing Diagram
Signal states
1
0
1
0
STL
A
I
1.0
AN
F
1.0
=
F
1.1
***
A
F
1.1
S
F
1.0
AN
I
1.0
R
F
1.0
NOP 0
***
A
F
1.1
A
Q
3.0
=
F
2.0
***
A
F
1.1
AN
Q
3.0
AN
F
2.0
S
Q
3.0
A
F
2.0
R
Q
3.0
NOP 0
Note
Output in CSF or LAD is possible only if you enter the segment boundaries "***" when
programming in STL.
EWA 4NEB 811 6130-02b
CSF
&
I 1.0
F 1.0
F 1.1
F 1.0
F 1.1
S
R Q
I 1.0
F 1.1
&
Q 3.0
F 2.0
F 1.1
&
Q 3.0
Q 3.0
F 2.0
S
F 2.0
R Q
Circuit Diagram
I 1.0
Q 3.0
Time
I 1.0
F 1.0
F 1.1
F 1.0
S
I 1.0
R Q
F 1.1
Q 3.0
F 1.1
Q 3.0
F 2.0
STEP 5 Operations
I 1.0
Q 3.0
LAD
F 1.1
( )
F 2.0
( )
F 2.0
Q 3.0
S
R Q
8-77

Advertisement

Table of Contents
loading

Table of Contents