You can assign a condition to each port. A condition consists of one or more expressions. Multiple expressions are concatenated by operators. When a condition is evaluated, the result is either true (1) or false (0).
Double-click the component. In the component window, right-click the port and select Edit Condition.
Create the conditions you want to apply to the port. You can:
Manually enter the conditions in the text area of the Condition window.
Drag and drop the variables and functions you want to add to your condition from the left pane to the text area. The Variables tab lists all the variables that you can use, and the Functions tab lists all available functions and operators that you can add to the condition.
Right-click the text area, and select the variables you want to add to the condition.
Although the component is configured with two OUT-ports, you can create additional OUT-ports. New ports are identified by the name.
Click the Add new port icon on the port toolbar.
Enter a name for the new OUT-port. Click OK.
Select the port you want to remove.
On the port toolbar, click the Remove selected port icon. Alternatively, right-click the port and select Delete.