BaseCompare (FB)ΒΆ

FUNCTION_BLOCK PUBLIC BaseCompare

Base FB for comparing a value with a reference value

In the implementations the input eCheckType with the type CHECKTYPE specifies what type of compare is executed. Some compare types are only available on some implementations.

InOut:

Scope

Name

Type

Initial

Comment

Output

xResult

BOOL

TRUE

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

Methods:

Structure: