HaModTon (FB)

FUNCTION_BLOCK HaModTon

Function block HaModTon is a standard On delay timer with automatic data synchronization in a high availability system Only internal variables and outputs are synchronized. Input variables and parameters are not synchronized. If needed, use HaModDataSync to achieve the same.

InOut:

Scope

Name

Type

Initial

Comment

Input

In

BOOL

FALSE

1:Starts timer with rising edge, resets timer with falling edge

Pt

TIME

TIME#0ms

2:Time to pass, before Q is set

Output

Q

BOOL

1:Is TRUE, Pt seconds after In had a rising edge

Et

TIME

2:Elapsed time