CompareTimeOfDay_Precision (FB)ΒΆ

FUNCTION_BLOCK PUBLIC CompareTimeOfDay_Precision EXTENDS CompareTimeOfDay

InOut:

Scope

Name

Type

Initial

Comment

Inherited from

Output

xResult

BOOL

TRUE

BaseCompare

eError

UT_ERROR

If the output xResult is FALSE and == NO_ERROR: Compare failed <> NO_ERROR: Error occured, e.g. check type is not supported

BaseCompare

Input

todCurrentValue

TOD

CompareTimeOfDay

eCheckType

CheckType

CompareTimeOfDay

todExpectedValue

TOD

CompareTimeOfDay

tPrecision

TIME

Methods:

InitCalc, inherited from CompareTimeOfDay

Reset, inherited from BaseCompare