Compare Point with Value Example

Parameters

This function block has the following parameters:

Parameter

Value

Combine with

 

Point ID

COMPARE_1

Comparison Operator

Equals

Value

11

Comparison Type

Numeric

  1. The above function block uses Compare Point with Value, with the specified parameters.

  2. Point COMPARE_1 is an integer point and has a value of 10.

  3. Since the point is numeric, a numeric comparison is performed between the user value of 11 and the point value of 10. Since they don't match, the if expression evaluates to false and decision "SRC1_to_DST1" is not selected.

More information

If (Expression).

Compare Point with Value.