Compare Attribute with Point Example

Parameters

This function block has the following parameters:

Parameter

Value

Combine with

 

Region ID

SRC1

Location

1

Item Class

VEHICLE

Attribute ID

COLOR

Start Character

0

Attribute Length

0

Comparison Operator

Equals

Point ID

COMPARE_POINT

Comparison Type

Alphanumeric

The above function block uses Compare Attribute to Point, with the specified parameters.

Since the head location of region SRC1 is YEL and the point value is GRN and the configured comparison operator is Equals, the if statement will evaluate to False and decision SRC1_to_DST1 is not selected.

More information

 If (Expression).

Compare Attribute with Point.