140
(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).
OFF
ON
OFF
ON
OFF
ON
200
100
0
4)
5)
6)
1)
7)
2)
3)
8)
3)
200
100
-100
-200
200
200
-200
100
-100
100
0
0
0
200
100
20
80
0
200
200
200
80
80
100
-180
-20
-20
20
80
-180
CH Count enable command
(RY24, RY3C)
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
CH Selected counter function start command
(RY25, RY3D)
*2
CH Counter function detection
(RX25, RX3D)
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)
CH Sampling counter/
Periodic pulse counter operation flag
(RWr20.b3, RWr38.b3)
CH Update flag (Periodic pulse count value)
(RX29, RX41)
CH Update flag reset command
(Periodic pulse count value)
(RY28, RY40)
CH Update flag reset completed
(Periodic pulse count value)
(RX28, RX40)
T
*1
T
*1
T
*1
T
*1
T
*1
*1 T = Cycle time
Controlled by the high-speed counter module
Controlled by the program
OFF
ON
OFF
ON
OFF
OFF
Summary of Contents for NZ2GFCF-D62PD2
Page 1: ......
Page 2: ......
Page 54: ...52 Memo ...
Page 206: ...204 Memo ...
Page 303: ......
Page 304: ......