6 - 7 6 - 7
MELSEC-Q
6 CONVENIENT USAGE
6.5 Using the Periodic Pulse Counter Function
The periodic pulse counter function stores the present and previous counter values for
each specified periodic time (T) as the present and previous values.
The relationships between the signals, buffer memory, etc. in the periodic pulse
counter function are illustrated below.
0
100
200
ON
OFF
ON
OFF
0
100
200
Count enable command
Y04 (Y0C)}
Present value storage buffer memory
{Addresses 2
H
to 3
H
(22
H
to 23
H
)}
Counter function selection start command
Y06 (Y0E), Function start input}
Present periodic pulse count value storage
buffer memory
{Addresses 12
H
to 13
H
(32
H
to 33
H
)}
1)
0
2)
200
3)
20
4)
100
5)
80
6)
TTTTT
1)
0
2)
200
3)
20
4)
100
5)
80
0
100
200
Previous periodic pulse count value storage
buffer memory
{Addresses 10
H
to 11
H
(30
H
to 31
H
)}
2)
0
3)
200
4)
20
5)
100
1
0
Sampling/periodic counter flag storage
buffer memory
{Address B
H
(2B
H
)}
7)