Mitsubishi NZ2GFCF-D62PD2 User Manual page 139

Cc-link ie field network high-speed counter module
Table of Contents

Advertisement

(3) Operation example of the sampling counter function
The following figure shows an operation example of acquiring the number of the pulses input in the set sampling
period (1ms) as CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B).
Controlled by the high-speed counter module
Controlled by the program
CH
Count enable command
CH
(RWr10 to RWr11, RWr28 to RWr29)
CH
function start command
CH
Counter function detection
CH
Function input terminal
CH
Sampling count value
(RWr12 to RWr13, RWr2A to RWr2B)
CH
Periodic pulse counter operation flag
(RWr20.b3, RWr38.b3)
CH
Update flag (Sampling count value)
CH
Update flag reset command
(Sampling count value)
CH
Update flag reset completed
(Sampling count value)
ON
OFF
(RY24, RY3C)
150
100
Present value
50
0
Selected counter
1)
OFF
(RY25, RY3D)
OFF
(RX25, RX3D)
OFF
(FUNC1, FUNC2)
150
100
50
0
-50
Sampling counter/
OFF
OFF
(RX29, RX41)
OFF
(RY28, RY40)
OFF
(RX28, RX40)
ON
1)
ON
ON
1)
*1
*1
T
T
5)
2)
ON
3)
ON
4)
ON
6)
*1 T = Sampling period
CHAPTER 8 FUNCTIONS
7)
*1
T
137
8

Advertisement

Table of Contents
loading

Table of Contents