Item.DelayedOn

This XLogic command can be used to realized a delayed on function.

Description

This command implements the following functionality: if a rising edge of a Boolean input is detected, the output shall be set to true after a defined timeout elapsed. If the input is false again, the output is also set to false. In order to work properly this XCommand needs to be called periodically (i.e. Input Type is Timer and Input).

Inputs

  • Input (ItemID): this is the item ID that specifies the input that shall be monitored.

Outputs

  • Output (ItemID): this is the item ID that specifies the output where the result shall be written.

Parameters

  • Delay (number): this parameter specifies the delay in seconds.

Possible trigger types

  • Timer and Input

Applies to

  • XLogic Library 1.0.12+