Button with mutliple action?

If I have a single button, can I make it perform a function such as ‘Next Page’ with a simple press but also then function as an ‘Alarm cancellation’ button if I press and hold it?

Another example, a 2nd button that functions as ‘Previous page’ on a simple click but functions as ‘Trip reset’ on a press and hold?

Hope somebody can advise.

Thanks in advance :+1:

yes, use a switch input with the type “press/hold”

This will do the next page function when cancelling the alarm and there’s logic you can apply to fix that, but let’s start simple first

1 Like

Thanks Flooritgarage,

Can you please point me in the right direction as to how to then apply logic to the button action?

switch example.adu (5.9 KB)
take a look at this example i threw together.

With the ADU online you can mess with all the different settings to get it working the way you want to.
Note the functions are assigned in the config panel under ‘page up channel’ and ‘acknowledge alarm’

1 Like

That’s excellent! Many thanks for taking the time to do this. :+1: