Set/reset operations
(continued)
On each leading edge of the signal at input I 1.7,
the AND condition (AI 1.7 and AN F 4.0) is satisfied;
the RLO is "1". This sets flags F 4.0 (edge flag) and
F 2.0 (pulse flag).
Flag F 2.0 is reset.
In the next processing cycle, the AND condition
AI 1.7 and AN F 4.0 is not satisfied, since flag F 4.0
has already been set.
Flag F 2.0 therefore only remains "1" for one program
run.
I 1.7
F 4.0
F 2.0
I 1.7
F2.0
F4.0
I 1.7
F2.0
A
AN
=
A
S
AN
R
I 1.7
F 4.0
F 2.0
F 2.0
F 4.0
I 1.7
F 4.0
Logical/circuit diagram
STEP 5 representation
Ladder
Control system
Statement
list
Simulation of a momentary contact relay (one shot)
diagram
flowchart
I 1.7
F 2.0
I 1.7
F 4.0
F 2.0
F 4.0
S
R
Q
&
F 2.0
I 1.7 F 4.0
S
R
Q
F 4.0
F 2.0
I 1.7
I 1.0
I 1.0
A
I 1.0
Q3.0
I 1.0
M1.0
M1.1
F 2.0
Q 3.0
AN
F 1.0
=
F 1.1
F 1.1
A
F 1.0
S
I 1.0
AN
F 1.0
R
A
F 1.1
A
Q3.0
=
F 2.0
A
F 1.1
AN
Q3.0
Q 3.0
S
AN
F 2.0
A
F 2.0
R
Q 3.0
The binary scaler (output Q 3.2) changes its state
to 1 (leading edge). Therefore, only half the input
frequency appears at the output of the memory cell.
each time input I 1.0 changes its signal state from 0
F1.1 Q3.0
F 2.0
S
R
Q
F1.1
I1.0
F1.0
I1.0
F1.0
F1.1
S
R
Q
F1.1
Q3.0 F2.0
Q3.0
F2.0
0
&
I1.0
F1.0
&
F1.1
F1.1
I1.0
S
F1.0
R Q
F1.1
Q3.0
F2.0
F2.0
Q3.0
S
R
Q
F1.1
Q3.0
&
F2.0
Q 3.0
Logical/circuit diagram
STEP 5 representation
Ladder
Control system
Statement
list
Binary scaler (binary divider)
diagram
flowchart
Programming Examples in the STL, LAD and CSF Methods of Representation
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 39
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...