Mitsubishi NZ2GFCF-D62PD2 User Manual page 142

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

Advertisement

(3) Operation example of the periodic pulse counter function
The following figure shows an operation example of storing each calculated value in CH Periodic pulse count,
difference value (RWr12 to RWr13, RWr2A to RWr2B), CH Periodic pulse count, present value (RWr14 to
RWr15, RWr2C to RWr2D), and CH Periodic pulse count value update check (RWr16 to RWr17, RWr2E to
RWr2F) based on the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) counted within the preset
cycle time (1ms).
Controlled by the high-speed counter module
Controlled by the program
CH
(RWr10 to RWr11, RWr28 to RWr29)
CH
Selected counter function start command
CH
CH
Periodic pulse count, difference value
(RWr12 to RWr13, RWr2A to RWr2B)
CH
Periodic pulse count, present value
(RWr14 to RWr15, RWr2C to RWr2D)
CH
Periodic pulse count value update check
(RWr16 to RWr17, RWr2E to RWr2F)
Periodic pulse counter operation flag
CH
Update flag (Periodic pulse count value)
CH
CH
Update flag reset completed
140
Count enable command
(RY24, RY3C)
CH
Present value
*2
(RY25, RY3D)
Counter function detection
(RX25, RX3D)
CH
Sampling counter/
(RWr20.b3, RWr38.b3)
(RX29, RX41)
Update flag reset command
(Periodic pulse count value)
(RY28, RY40)
(Periodic pulse count value)
(RX28, RX40)
ON
OFF
200
200
100
1)
0
0
ON
OFF
ON
OFF
*1
*1
T
T
3)
200
200
100
0
-100
-200
2)
200
200
100
0
3)
200
200
100
0
-100
-200
ON
4)
OFF
ON
5)
OFF
OFF
OFF
7)
100
80
20
8)
*1
*1
*1
T
T
T
80
-20
-180
100
80
20
80
-20
-180
6)
*1 T = Cycle time

Advertisement

Table of Contents
loading

Table of Contents