Chapter 16 PLC Function ApplicationsMH300
Example
LD X0
Figure 16-52
RST C0
LD X1
CNT C0 K5
LD C0
OUT Y0
1. When X0 = ON
and the RST command is
executed, the current value of C0 reverts to
0, and the output contact reverts to OFF.
2. When X1 switches from OFF to ON
current value of the counter
by one (add one).
3. When the count in
value K5, the contact C0 switches to ON
and the current value of C0 = setting
= K5. Afterwards,
do not affect the count value, and
remains at K5.
X0
X1
0
1
2
3
4
5
0
Cont
acts Y0, C0
C0
present
value
settings
Figure 16-53