Counters and time measurement

Operating hour counter

The operating hours counter of the EL6090 starts as soon as the terminal becomes live. This counter is not resettable. The operating hours counter can be read in CoE object 0xF600:11 ("Operating time") in seconds. In addition, it is possible to show the time in hours on the display. To this end the formatting parameter "%o" has to be integrated in the display text. The formatting parameter "%o" is replaced with the current number of operating hours in the display text. The counter has a value range of 32 bits. With a resolution of 1 second it can cover a period of 139 years.

Timer

The terminal has four further timers. In contrast to the operating hours counter, these can be started, stopped and reset manually. The timer values can be read in CoE object 0x60x0:11 [x=1..4] in seconds. The timers can be started via the corresponding output process data bit (CoE object 0x70x0:01 [x=1..4]). The timer runs as long as the bit set to TRUE. It can be reset via the process data, i.e. 0x70x0:02 [x=1..4] (timer reset) and via the commands.
The timer is stopped as soon as the EL6090 terminal exits OP mode.

Counter

The four terminal counters are implemented as 32-bit values. The counter can be incremented by 1 via a rising edge in the corresponding process data output bit (CoE object 0x70x0:08 [x=1..4]). The counter values can be read in CoE object 0x60x0:12 [x=1..4]. They can be reset via the process data, i.e. 0x70x0:09 [x=1..4] (counter reset) and via the commands.

Technology

All timers and counters are automatically saved in the terminal's internal non-volatile memory. This means that they are also available after switching the terminal on again or after a power failure. Since the storage medium used internally has a limited number of write cycles, the data are saved automatically every 15 minutes. This means the maximum data loss when the machine is switched off are the values of the last 15 minutes. To avoid data loss, the values can be saved manually before the system is switched off, saving the values is triggered manually (see commands). This command must not be executed cyclically, since this would impair the durability of the internal memory. With an automatic saving interval of 15 minutes the service life of the memory is typically more than 100 years.

Commands (command object 0xFB00)

Object 0xFB00 is used to issue commands to the terminal. An instruction can be transferred to the terminal in subindex 0x01.

Currently the following commands are supported:

Request (0xFB00:01)

Description

0x0001

Save all timer and counter values

0x0002

Save setting (0x8008 object) in EEPROM

0x0801

Reset timer 1

0x0802

Reset timer 2

0x0803

Reset timer 3

0x0804

Reset timer 4

0x0811

Reset counter 1

0x0812

Reset counter 2

0x0813

Reset counter 3

0x0814

Reset counter 4

Application notes

The EL6090 must not for be used for accounting purposes.
The EL6090 was not developed with the aim of maximum tamper-proofness.