Binary Scaler - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual
3.5.2

Binary Scaler

This subsection 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
11.0
=
F
11.1
***
A
F
11.1
S
F
11.0
AN
I
1.0
R
F
11.0
NOP 0
***
A
F
11.1
A
Q
3.0
=
F
12.0
***
A
F
11.1
AN
Q
3.0
AN
F
12.0
S
Q
3.0
A
F
12.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 6149-02
CSF
I 1.0
&
F 11.0
F 11.1
F 11.0
F 11.1
S
R Q
I 1.0
F 11.1
&
Q 3.0
F 2.0
F 11.1
&
Q 3.0
Q 3.0
F 12.0
F 12.0
I 1.0
Q 3.0
Time
I 1.0
F 11.1 F11.0
I 1.0
F 11.1
F 11.1
F 12.0
S
R Q
STEP 5 Operations
Circuit Diagram
I 1.0
Q 3.0
LAD
F 11.0
F 11.1
( )
S
R Q
Q 3.0
F 12.0
( )
Q 3.0
F 12.0
Q 3.0
S
R Q
3-73

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents