Distinguish short/long button press
Contents

1.Description

The module evaluates an input value dependent on a freely-definable time.

This module can be used for distinguishing a short or long button press. For this purpose, the push button sensor is to be parameterised to the press: on/release: off function.

2.Inputs

No.NameInitialisationDescription
1Input0
Input
2Time for long button press0
Time for distinguishing short / long button press (time must be longer than 0!)

3.Outputs

No.NameInitialisationSBCDescription
1Output Short button press0s
Output sends a 1 when a 0 is received at Input 1 before the time expires.
2Output Long button press0s
Output sends a 1 when a 0 is received at Input 1 after the time expires.
s = send, sbc = send by change

4.Other

Recalculation during start:Yes
Module is retentive:Yes
Internal designation:19025
Category:Time functions

5.Similar functions

Current time (text)
Time difference
Time stamp
Time format
Alarm (with output of remaining time)