Cross invocation string configuration
Use
FactoryTalk Batch Equipment Editor
to define up to five cross invocation strings for each resource defined within the area
model. Each time a procedural element is selected from the HMI Controls, the cross
invocation strings associated with the equipment resource corresponding to the selected
element are retrieved from the FactoryTalk Batch
Server and evaluated. The contents of these strings become the caption(s) for the cross
invocation menu item(s) and optional submenu items as well as the context data that is
passed to the automation server. The context data is encapsulated in escape sequences.Cross invocation strings are defined according to the following syntax:
- A cross invocation string must be enclosed entirely in square brackets [ ]. Anything outside of the square brackets is ignored by the Server.
- Within the square brackets, the initial text (to the first semicolon) indicates the menu item(s) caption(s).
- All text within the square brackets after the first semicolon defines the context data passed to the automation server when the menu item is selected.
- A single string can specify one cross invocation item with any number of subitems. The first comma-delimited portion of the cross invocation string identifies the menu item for the shortcut menu, and each subsequent substring identifies a subitem.
- The data passed in response to all subitems is identical. Subitems are optional.Example:[Menu Item, Subitem 1, Subitem 2; %P, %S, %R]
The cross invocation string portion that specifies the data to pass to the automation server when selecting a menu item is defined by escape sequences. The escape sequences are replaced by the context data they represent before the string is passed. The valid escape sequences are identified in this table along with their meaning.
Escape sequence | Replace by |
---|---|
%P | The path to the selected step. In some instances, this value can be empty. (See Context Data Responses for more information.) Examples: CreateID CreateID \t Procedure \t Unit Procedure \t Operation \t Phase |
%N | Equipment resource name to which the selected control recipe corresponds. |
%C | Class name from which the equipment resource corresponding to the step was created. |
%T | Equipment resource type to which the selected control recipe corresponds. |
%S | Computer on which the FactoryTalk Batch Server is executing. |
%B | Batch ID of the selected control recipe. |
%M | Menu item caption that was selected. If submenu items exist, they appear in the following order: the caption of the menu item appended with a colon, then the index number of the submenu item appended with a colon, and then the caption of the submenu item selected. |
%R | Resource ID of the equipment resource to which the selected control recipe corresponds. |
Provide Feedback