9. SELECTING AND EXECUTING THE COUNTER FUNCTION
9.5 Periodic Pulse Counter Function
Count enable command
{RY(n+1)4(RY(n+1)B)}
Current value storage area
{Addresses RWrn+0 to 1
(RWrn+8 to 9)}
Counter function selection
start command
{RY(n+1)6(RY(n+1)D)}
Counter function deteciton
{RX(n+1)1(RX(n+1)3)}
Sampling/interval time
setting area
{Address RWwm+5
(RWwm+D)}
Periodic pulse count present
value storage area
{Addresses RWrn+4 to 5
(RWrn+C to D)}
Periodic pulse count previous
value storage area
{Addresses RWrn+2 to 3
(RWrn+A to B)}
Sampling/periodic counter flag
storage area
{Address RWrn+6}
This function stores the present and previous counter values in the corresponding
periodic pulse count present and previous value storage areas at preset intervals (T).
The unit of frequency is 10 ms and the precision is less than 1 count.
The following chart shows the relationships between the signals, remote registers and
others.
ON
OFF
200
100
1)
0
0
ON
OFF
ON
OFF
T
300
200
100
1)
0
0
300
200
100
0
0
2)
200
3)
20
T
T
2)
200
3)
20
3)
200
2)
0
7)
9 - 10
MELSEC-A
6)
4)
100
5)
50
T
T
5)
4)
50
100
5)
100
4)
20