While (Expression)

Description

Similar to an If (Expression), except the function blocks between the While (Expression) and the End While block are executed until the condition evaluates to False.

Routing Control has special types of function blocks call "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.

Example

 Important: We do not recommend adding more then 3 Conditional Expressions to a While Block.

More information

If…Then…Else (Statement).

Conditional function block list.