BACnetInitMidnightTimer (FUN)

FUNCTION BACnetInitMidnightTimer : DINT

Internal function needed outside when someone changes the time of the system without using the BACnet service. In this case call this function to update all time dependent processes.

InOut:

Scope

Name

Type

Comment

Return

BACnetInitMidnightTimer

DINT

0 if ok and -1 if not.

Input

nForceAfterSeconds

DINT

Offset/dead time to do this operation. 0 will do it immediately.