LogBoolChange (FB)

FUNCTION_BLOCK LogBoolChange

This function block does log changes of the BOOL input variable with a given message.

InOut:

Scope

Name

Type

Initial

Comment

Input

xInput

BOOL

Input to watch for changes

sMsg

STRING

Message to log at change

itfDateTimeProvider

Util.IDateTimeProvider

Globals.g_dtpDateTimeProvider

Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000