1 Overview
17-2 SmartAXIS Touch 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 HMI Keep Registers (LKR) and the values are retained until they are reset. To reset a
counted value, set the value of the configured HMI 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 Monitor Device is 1, 1 is added to the value of 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 Monitor Device M0 is 1, 1 is added to the value of Operation Time Device LKR0.
●
Counting the Operation Count
When the value of Monitor Device changes from 0 to 1, 1 is added to the value of 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 Monitor Device M0 changes from 0 to 1, 1 is added to the value of Operation Count
Device LKR0.
3 sec.
1 sec. 1 sec. 1 sec.
3.4 sec.
1 sec. 1 sec. 1 sec.
0.5 sec. 0.5 sec.
Value of
Monitor Device M0
Value of
Operation Time Device LKR0
1
0
Operation time
0.4 sec.
012333333334566
Not counted Not counted
If the value of Monitor Device changes from 0 to 1 in an interval shorter than the Touch scan time and the
communication cycle with external devices, the operation time and operation count is not counted
normally. You can check the maximum Touch scan time (x 1 millisecond) with the value of HMI Special
Data Register LSD4. You can check the communication cycle with external devices (x 1 millisecond) with
the value of HMI Special Data Register LSD6. For details, refer to Chapter 27 “HMI Special Data Register
(LSD)” on page 27-9.
1
0
Operation count
011111223334444
1 2 3 4
Value of
Monitor Device M0
Value of
Operation Count Device LKR0