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.
Содержание QD62
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 A 11 MEMO ...
Страница 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Страница 91: ...7 17 7 17 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT Counter selection 1 Coincidence output Ring counter ...
Страница 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Страница 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Страница 127: ......
Страница 128: ......