6 - 6 6 - 6
MELSEC-Q
6 CONVENIENT USAGE
6.4 Using the Sampling Counter Function
The sampling counter function counts the pulses that are entered during the specified
sampling time period.
The relationships between the signals, buffer memory, etc. in the sampling counter
function are illustrated below.
Count enable command
{Y04 (Y0C)}
Counter function selection start command
{Y06 (Y0E), Function start input}
Sampling/periodic counter flag storage
buffer memory
{Address B
H
(2B
H
)}
Sampling count value storage buffer memory
{Addresses E
H
to F
H
(2E
H
to 2F
H
)}
Present value storage buffer memory
{Addresses 2
H
to 3
H
(22
H
to 23
H
)}
ON
OFF
ON
OFF
T
T
T
200
100
0
200
100
0
– 100
1
0
1)
2)
3)
4)
5)
Number Description
1)
The pulses entered are counted from 0 at the rise of the counter function
selection start command {Y06 (Y0E), function start input}.
2)
When the specified sampling time period elapses, the count stops.
3)
While the sampling counter function is being executed, 1 is stored in the
sampling/periodic counter flag storage buffer memory {address B
H
(2B
H
)}.
4)
Even if the execution of the sampling counter function ends, the value in the
sampling count value storage buffer memory is saved.
5)
The sampling counter function is executed regardless of whether the count
enable command {Y04 (Y0C)} turns ON/OFF.
Summary of Contents for QD62
Page 1: ......
Page 2: ......
Page 13: ...A 11 A 11 MEMO ...
Page 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Page 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Page 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Page 127: ......
Page 128: ......