Using The Sampling Counter Function - Mitsubishi MELSEC Q Series User Manual

High-speed counter module
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6 CONVENIENT USAGE

6.4 Using the Sampling Counter Function

Count enable command
{Y04 (Y0C)}
Present value storage buffer memory
{Addresses 2
to 3
H
H
Counter function selection start command
{Y06 (Y0E), function start}
Sampling count value storage buffer memory
{Addresses E
to F
H
H
Sampling/periodic counter flag storage
buffer memory
{Address B
(2B
)}
H
H
6 - 6
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.
ON
OFF
200
100
(22
to 23
)}
H
H
0
ON
OFF
200
100
(2E
to 2F
)}
H
H
0
– 100
1
0
Number
The pulses entered are counted from 0 at the rise of the counter function
1)
selection start command {Y06 (Y0E), function start input}.
2)
When the specified sampling time period elapses, the count stops.
While the sampling counter function is being executed, 1 is stored in the
3)
sampling/periodic counter flag storage buffer memory {address B
Even if the execution of the sampling counter function ends, the value in the
4)
sampling count value storage buffer memory is saved.
The sampling counter function is executed regardless of whether the count
5)
enable command {Y04 (Y0C)} turns ON/OFF.
1)
T
T
2)
4)
3)
Description
MELSEC-Q
5)
T
(2B
)}.
H
H
6 - 6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qd62Melsec qd62eMelsec qd62d

Table of Contents