Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Recipe Management

Branch Control

  • Last UpdatedJan 27, 2023
  • 3 minute read

You can insert a branch object into the procedure container to update the sequence. The number of branch controls that you can use in a procedure is unlimited.

AVEVA Recipe Management Control Library supports the following two types of branches:

  • Execute One

  • Execute All

Inserting a Branch Control

You can insert either of the branch controls (Execute One of Execute All) into the procedure sequence by moving it from the Flow Controls library to the Procedure container.

To insert a Branch Control

  1. Open the Recipe Template editor and navigate to the Procedure tab.

  2. In the Procedure container, drag the branch control from the Flow Controls library to the sequence where you want to add the branch. The branch control is added to the procedure.

    When a branch control is inserted, it is automatically assigned a unique alias name.

  3. For an Execute One branch, click a transition in the branch control. The Transition Details slide-in window appears. You can specify the expression in this window.

  4. In the Transition Details slide-in window, do the following:

    1. In the Alias box, type a unique alias name for the transition (31 characters maximum).

    2. In the Description box, optionally type a description of the transition (120 characters maximum).

  5. In the Variable section, a list of valid variables is displayed. These variables are listed for the current selected Capabilities as per the selected Equipment in the Recipe Template.

  6. In the Expression section, you can define the expression using the transition logic and variables. The expression is a single logic statement that is built using operands and operators and evaluates to a true/false condition at runtime. The operands can consist of Equipment Variables (defined in Equipment configuration and linked to I/O) or static values (ex. 35.8, true, “allocated”). The operators can be one of the following (AND, OR, NOT, ==, <>, >, <, *, /, +, -). For more information regarding the operators, see the Expression Operator topic.

    NOTE: When you drag a variable on to the expression control, the variable is inserted at the cursor position and the cursor position is maintained. A space may be added before and/or after the variable to maintain separation between it and anything adjacent to the cursor.

  7. Click Apply and then click Close.

    NOTE: If you click the Close button without clicking the Apply button, a confirmation message "Do you want to disregard the changes and continue?" appears. Click Yes to continue or click No to save the changes.

Deleting a Branch Control

You can remove branch controls from the respective procedure sequence. When a branch control is dragged to the garbage can, the garbage can is highlighted and the dragged branch control is removed from the procedure container.

To delete a Branch Control

  1. Open the Recipe Template editor and navigate to the Procedure tab.

  2. In the Procedure container, drag the branch control (the bottom left corner of the branch) that you want to delete from the sequence to the Garbage/Delete can. A confirmation message appears.

  3. Click Yes.

    Moving a Branch Control

    You can also reorder branch controls in the procedure by moving them to some other location within the procedure container just by dragging (at the bottom left corner) and dropping the branch controls from one place to another.

    In This Topic
    TitleResults for “How to create a CRG?”Also Available in