Golden Batch Configuration Manager

Golden Batch Configuration Manager Reference

See: Using Golden Batch

The Golden Batch Configuration Manager names a completed Batch as the comparison standard and stores which parameters are included and which tolerances override the recipe.

Find this component under the Ignition Designer Perspective Component Palette in the Batch category, named Golden Batch Configuration Manager.

Component type: mes.batch.goldenBatchConfigManager

A Configuration stores one completed Golden Batch ID. That ID cannot be changed after the Configuration is saved. Paste keeps the same Golden Batch ID. To point the same include and tolerance choices at a newer completed Batch, copy the Configuration with copyConfig and a new goldenBatchID, then saveConfig. See the Golden Batch Reference.

Create Golden Batch Configuration Class. Name is required. Description is optional. Back and Save are in the title bar.

Create Golden Batch Configuration Class. Name is required. Description is optional. Back and Save are in the title bar.

Capabilities

CapabilityDescription
ClassesFolders for Configurations. Classes can nest. A class has a name and an optional description. It has no Golden Batch ID and no parameter table.
ConfigurationsA named policy: one completed Golden Batch ID, plus include and exclude choices and tolerance overrides.
Parameter policyParameters are included by default. Only explicit include, exclude, and tolerance overrides are stored. A parameter left at the recipe default is still compared.
Tolerance overridesAllowed only when the parameter is numeric and Record Process Values is enabled. A number is a fixed amount. A number with % is a percent of the Golden value. The lower and upper sides are independent.
Copy and pasteCopies the selected class or Configuration under the selected class, or at the root when nothing is selected. Copying a class does not copy its children.
DeleteDisables the selected item after confirmation. Disabled items leave the list. The name stays reserved.

How to use

Create a class

  • Click Add.
  • Click Create Golden Batch Configuration Class.
  • Enter a Name. Description is optional.
  • Click Save.

The class is created under the selected class. When nothing is selected, it is created at the root. Select the parent class first to nest a class.

Create a Configuration

Optionally select the class that should own the Configuration.

  • Click Add, then Create Golden Batch Configuration.
  • Enter a Name. Description is optional.
  • In Golden Batch ID, type a completed Batch ID and pick a suggestion, or type the full ID and click Load Golden Batch.
  • Wait until Recipe Name, Recipe Version, Formula Name, and Formula Version fill in. Those fields are read-only. They identify the loaded Batch. The comparison matches on the Master Recipe, not on the formula.
  • Click Save.

The Golden Batch ID is required. Saving before a completed Batch is loaded shows: A Golden Batch ID is required. Enter a Batch ID and click the search button to load it.

After save, Golden Batch ID is locked. Edit can change the name, the description, and the parameter policy.

Choose parameters and tolerances

Select the Configuration and click Edit. The drawer title is Edit Golden Batch Configuration: followed by the name. An asterisk (*) at the start of the title means there are unsaved changes.

  • Use Search parameters... to find a name, path, or value type.
  • Leave Show all parameters, including non-numeric off to work with parameters that can take a tolerance override.
  • Turn that toggle on to include or exclude comments, strings, states, and other parameters. Those parameters do not get Lower Tolerance or Upper Tolerance.
  • Show flattened view lists every parameter in one table. Leave it off to keep the indented recipe tree. indentedParameterList chooses the starting layout. The edit screen can still change it.
  • Clear Include in Golden Batch comparison for parameters that should not affect the comparison. The header checkbox includes or excludes every visible row. A dash means the visible rows are mixed.
  • For an eligible parameter, enter Lower Tolerance and Upper Tolerance, then choose # (fixed) or % (percentage). Revert on a changed side restores the recipe default.
  • Click Save.

Back closes the drawer. Unsaved changes ask Discard Changes?

Edit Golden Batch Configuration. The parameters table shows value type, lower and upper tolerance with fixed (#) or percent (%), and Include in Golden Batch.

Edit Golden Batch Configuration. The parameters table shows value type, lower and upper tolerance with fixed (#) or percent (%), and Include in Golden Batch.

When the recipe has no parameter that is both numeric and recorded, the list says:

No tolerance overridable parameters available. Parameters must be numeric and have Record Process Values enabled to be eligible for tolerance overrides. Toggle Show all parameters to include or exclude parameters from Golden Batch comparisons.

Edit screen when no parameter can take a tolerance override. Show all parameters is still available.

Edit screen when no parameter can take a tolerance override. Show all parameters is still available.

includeParameterFilter and excludeParameterFilter hide rows from this screen before the user searches. * matches any characters. ? matches one character. Excludes apply after includes.

Find, edit, or remove

The list title is Golden Batch Configuration Manager.

ColumnMeaning
NameConfiguration or class name.
DescriptionOptional notes. Hidden when showDescription is false.
Golden Batch IDCompleted Batch used as the baseline. Empty for classes.
Recipe NameRecipe taken from that Golden Batch.
Recipe VersionRecipe version taken from that Golden Batch.

 

ButtonWhat it does
AddCreate Golden Batch Configuration or Create Golden Batch Configuration Class.
EditOpens the selected class or Configuration. Disabled until a row is selected.
DeleteDisables the selected item after confirmation. Disabled items leave the list. The name stays reserved.
CopyRemembers the selected item. Disabled until a row is selected.
PastePastes a copy under the selected class, or at the root when nothing is selected. Disabled until something has been copied. Paste saves immediately.

Search ... filters the list by name. * and ? are wildcards. When paging is on, page sizes are 10, 25, 50, 100, and 200. The page size is remembered in this browser.

Set enableCreateGoldenBatchConfig, enableEditGoldenBatchConfig, enableDeleteGoldenBatchConfig, or enableCopyPaste to false to hide the matching buttons.

Names

A blank name is rejected on the form with Name is required.

On save, a class name must be unique among all Golden Batch Configuration Classes, and a Configuration name must be unique among all Golden Batch Configurations. A class and a Configuration may use the same name. Uniqueness is across that object type, not only under the same parent.

These characters are rejected:

\ / % ^ * ~ [ ] { } ` ? " = + ! # $ | , .

Angle brackets, spaces, hyphens, underscores, and parentheses are allowed. An illegal character fails because the name contains invalid characters. A duplicate fails because the name is already used for another similar MES object.

Component Properties

Properties can be set in the Perspective Property Editor or through scripting. The section prefix is included before the property name (props, position, custom, or meta).

Example

manager = self.getSibling("GoldenBatchConfigManager")

manager.props.enableDeleteGoldenBatchConfig = False

manager.props.enableCopyPaste = False

manager.props.includeParameterFilter = ['*Temp*']

manager.props.excludeParameterFilter = ['*Comment*']

NameScriptingProperty TypeDescription
Enable Create Golden Batch ConfigenableCreateGoldenBatchConfigBooleanShows Add. Defaults to true. Set false on a read-only view.
Enable Edit Golden Batch ConfigenableEditGoldenBatchConfigBooleanShows Edit. Defaults to true.
Enable Delete Golden Batch ConfigenableDeleteGoldenBatchConfigBooleanShows Delete. Defaults to true.
Enable Copy PasteenableCopyPasteBooleanShows Copy and Paste. Defaults to true.
Enable PaginationenablePaginationBooleanWhen true (default), the list is paged. When false, all rows are on one page.
Indented Parameter ListindentedParameterListBooleanWhen true (default), create and edit start with the indented parameter tree. When false, that list starts flattened. The edit screen can still toggle Show flattened view.
Show Column EditshowColumnEditBooleanShows the control that shows or hides list columns. Defaults to true.
Show DescriptionshowDescriptionBooleanShows the description column and the description field. Defaults to true.
Include Parameter FilterincludeParameterFilterString ArrayParameter names to show on create and edit. Defaults to ['*']. * matches any characters. ? matches one character. Example: ['*Temp*'].
Exclude Parameter FilterexcludeParameterFilterString ArrayParameter names to hide on create and edit. Defaults to an empty array. Same wildcards. Excludes apply after includes.
ToolbartoolbarObjectStyles for the list toolbar. See Toolbar below.
StylestyleStyle ObjectPerspective style applied to the component. Refer to the Ignition Style Reference for classes, colors, fonts, and related settings.
Tooltip StyletooltipStyleStyle ObjectPerspective style for tooltips. Defaults to backgroundColor rgba(97, 97, 97, 0.9), color #FFFFFF, fontSize 12px, and an empty classes string.

Toolbar

NameScriptingProperty TypeDescription
Styletoolbar.styleStyle ObjectStyle applied to the list toolbar.
Button Styletoolbar.button.styleStyle ObjectStyle applied to toolbar buttons.
Input Styletoolbar.input.styleStyle ObjectStyle applied to the toolbar search field.

 This component does not define custom Perspective events. Create, edit, copy, and delete from the screen, or from system.mes.batch.goldenbatch as described in the Golden Batch Reference.