Else If ( Expression )

Description

Conditional function block used in conjunction with If (Expression) block. If the first If (Expression) evaluated to false, this block then executes and allows a second condition to be evaluated. The user must provide the conditional expression used in this block. All function blocks between the If (Expression) and the Else or End if Blocks are executed if the expression evaluates to True.

Routing Control has special types of function blocks called "Expression Blocks". Expression Blocks do not show up in Routing Configuration's function block list, but are available to any Conditional Function Block.

Parameters

This function block has the following parameter:

Parameter

Description

Expression

One or more user specified Conditional Function Blocks.

 Important: We do not recommend adding more then 3 Conditional Expressions to an If Block.

More information

If…Then…Else (Statement).

While Block.

If (Expression) Block.

End If Block.

Conditional function block list.