2 counting the operation time and operation count, Counting the operation time, Counting the operation count – IDEC High Performance Series User Manual
Page 910: Counting the operation time and operation count -2
![background image](/manuals/350385/910/background.png)
1 Overview
17-2
WindO/I-NV2 User’s Manual
1.2 Counting the Operation Time and Operation Count
The operation time and operation count are counted up to the set maximum value. The counted operation time and
operation count are saved in HG keep registers (LKR) and the values are retained until they are reset. To reset a
counted value, set the value of the configured HG keep register (LKR) to 0.
The maximum value that can be configured varies based on the data type of the destination device for the operation
time and operation count.
●
Counting the Operation Time
While the value of the monitored device is 1, 1 is added to the value of the device (operation time device) configured
in Measure Operation Time for each second that elapses. The operation time is not counted when it is less than
one second.
The counted operation time is written to the device configured in Measure Operation Time.
Example: When the value of monitored device M 0 is 1, 1 is added to the value of operation time device LKR 0.
●
Counting the Operation Count
When the value of the monitored device changes from 0 to 1, 1 is added to the value of the device (operation count
device) configured in Measure Operation Count.
The counted operation count is written to the device configured in Measure Operation Count.
Example: When the value of monitored device M 0 changes from 0 to 1, 1 is added to the value of operation count
device LKR 0.
3 sec.
1 sec.
1 sec.
1 sec.
3.4 sec.
1 sec.
1 sec.
1 sec.
0.5 sec.
0.5 sec.
Monitored device
M 0 value
OperaƟon Ɵme device
LKR value
1
0
OperaƟon Ɵme
0.4 sec.
0
1
2
3
3
3
3
3
3
3
3
4
5
6
6
Not counted
Not counted
If the monitored device value changes from 0 to 1 in an interval shorter than the MICRO/I scan time and
the communication cycle with hosts, the operation time and operation count is not counted normally. You
can check the maximum MICRO/I scan time (x 1 ms) with the value of HG special internal register LSD 4.
You can check the communication cycle with hosts (x 1 ms) with the value of HG special internal register
LSD 6. For details, refer to Chapter 32 “HG Special Registers (LSD)” on page 32-5.
1
0
Monitored device
M 0 value
OperaƟon count device
LKR value
OperaƟon count
0
1
1
1
1
1
2
2
3
3
3
4
4
4
4
1
2
3
4