The Reset-Timer logical device forces an arbitrary parameter to return to a default value after a given time.
The Reset-Timer device watches the parameter to control. If the actual value of the parameter differs from the given default value, the timer starts running. When the delay time has elapsed, the parameter gets commanded back its default value by the Reset-Timer device.
You can use the Reset-Timer device to ensure that a certain parameter automatically returns to a given default value after some time.
Device window pages
The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .
--- The timer parameters and its state.
--- The device info page.
--- The maintenance page. The configuration parameters from this page are described below.Configuration parameters
At the maintenance page of the device window there are a couple of configuration parameters which must be set to interconnect the Reset-Timer device with the parameter to control.
| parameter | description |
|---|---|
| parameterId | The ID of the parameter to control |
| defaultValue | The default value of the parameter. The timer will start if the actual parameter value differs from the default value, after the timer has finished, this value will be set at 'parameterId' |
Remarks
The Reset-Timer takes care, that it does not start operating until it has received all necessary parameters at startup. However, if you change the configuration parameter of the timer on the fly, the default value and the actual parameter value may differ while you are changing the configuration settings. To prevent the timer from being started in this case, it is recommended to disable the timer while modifying its configuration settings.
Variables defined by this device driver
| name | type | flags | range |
|---|---|---|---|
| info.driver | TEXT | R/O | StringRange R/O |
| info.type | TEXT | R/O | StringRange R/O |
| info.frame | TEXT | R/O | StringRange R/O |
| config.parameterId | TEXT | SAVE SETUP | StringRange |
| config.defaultValue | TEXT | SAVE SETUP | StringRange |
| delayTime | INTEGER | SAVE | IntegerRange (0 .. 0) |
| remainingTime | INTEGER | R/O | IntegerRange R/O (0 .. 0) |
| timerState | TEXT | R/O | StringRange R/O |
| timerEnable | CHOICE | SAVE | EnumRange (ENABLED DISABLED) |