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

PI Interface for Rockwell Factory Talk Batch

Define Recipe templates

  • Last UpdatedFeb 02, 2025
  • 3 minute read

TRANSLATE

(Optional) To enable translation, set to TRUE. Default: FALSE

MERGE

(Optional) To merge identically-named objects under the same parent, set to TRUE. Default: FALSE

  1. For event frames, you can configure the following additional settings.

    Template Name

    Description

    Descriptor

    (Optional) Specifies the Event frame descriptor property for the particular source Recipe object.

    DefaultProperty[x].Name

    (Optional) Name of the event frame template attribute. Valid values are Recipe, BatchID, Product and Procedure. Interface defined defaults place Recipe and BatchID at x=1, Product at x=2, and Procedure at x=3.

    DefaultProperty[x].Value

    (Optional) Defines the event attribute expression that evaluates to a valid value.

    DefaultProperty[x].Trigger

    (Optional) Defines the expression that specifies which event(s) to use to get the value.

    [Event,value="Recipe Header"][descript,value="Product Code"]

    DefaultProperty[x].UseFirstValue

    (Optional) Use the first matching event for the event frame to get the value if set to T or True. The default behavior is to use the last matching event.

    Category

    (Optional) For each recipe level, defines the event frame category. If the event that creates an event frame contains insufficient information, no category is assigned. To assign a category to an event frame after its creation, use Category[x].

    Category[x].Name

    (Optional) For each recipe level, define the event frame category based on an event that is related to the particular recipe item. This setting can create as many categories as desired. The index is a positive integer that associate the Name and Trigger subproperties for the specific Category[x] property. If the AF category does not exist, the interface creates it. To use this setting, you must also specify the triggering event using the Recipe[#].Category[x].Trigger setting.

    Example: When the specified trigger event arrives, create an event frame, assigning it the SCR category.

    Category[10].Name = SCRCategory[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051"]

    Category[x].Trigger

    (Optional) Defines the expression that triggers assignment of a category by the Recipe[#].Category[x] setting. There can be multiple triggers for a single Recipe[#].Category[x].Name. To use this setting, you must also specify the category to be assigned, using the Recipe[#].Category[x].Name setting.

    Example: When any of the specified trigger event arrives, create an event frame, assigning it the SCR category.

    Category[10].Name = SCR

    Category[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051"]

    Category[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051_01"]

    Category[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051_02"]

    Template

    (Optional) For each recipe level, specify the event frame template. If the interface cannot find a matching event frame template, the template is left blank. To assign a template to an event frame after its creation, use the Template[x] property.

    Recipe[#].Template[x].Name

    (Optional) For each recipe level, this dynamic property enables you to define the event frame template. Based on any event that is related to particular recipe item. This property can assign only one AF template to a particular event frame. The interface uses the first matching Recipe[#].Template[x] property to be assigned to an event frame. The index is a positive integer that associates the Name and Trigger subproperties for the Template[x] property. If you specify this property, you must specify the Trigger property.

    Example:

    Template[10].Name = BATCH_A

    Template[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051"]

    Recipe[#].Template[x].Trigger

    (Optional) This property defines the triggering expression for the event frame template. There can be multiple triggers for a single recipe template. If you specify this property, you must specify the Name property.

    Example:

    Template[10].Name = BATCH_A

    Template[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051"]

    Template[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051_01"]

    Template[10].Trigger = [Descript, value="Formula Name"] [Pval, value="SCR 20051_02"]

  2. To save your changes, select Save Settings in the left pane.

Related Links
TitleResults for “How to create a CRG?”Also Available in