Release Notes | MES 4.83.4 RC1
4.83.4 RC 1
Previous Release Notes | MES 4.0 Release Note Archive
Below:
- Highlights
- Upgrade impact
- Added
- Golden Batch configurations and process-value profiles
- Golden Batch scripting
- Golden Batch Comparison Viewer | Perspective Component
- Phase Manager and Recipe Editor
- Golden Batch Configuration Manager
- Changed
- Fixed
Highlights
Golden Batch adds tools for comparing a target batch with a reference batch. In Perspective, use the Golden Batch Configuration Manager to choose the reference batch and set parameter tolerances. Use the Golden Batch Comparison Viewer to review mismatches, deviations, and recorded process values. Both batches must use the same Master Recipe in the viewer.
This release also fixes electronic batch record (EBR) value ordering and recipe validation for built-in phases.
Upgrade impact
-
EBR schema and script datasets. On startup, the Gateway
adds
RecordSequencetoMESBatchParamValue. The new column also appears after the existing columns in Batch_Param tag collector datasets returned to scripts. The order of values recorded for the same parameter before the upgrade can still differ. (MES-8092) -
Golden Batch database tables. On startup, the Gateway
creates
MESGoldenBatchConfigRoot,MESGoldenBatchConfigClass,MESGoldenBatchConfig, andMESBatchPVProfile. (MES-6860) - Process-value recording. Record Process Values is off by default. Existing phases and recipes begin recording process values when the setting is enabled. (MES-6860)
- Batch Recipes need their phases synced and saved.
Added
Golden Batch configurations and process-value profiles
MES-6860
- New MES object types include Golden Batch Configuration, Golden Batch Configuration Class, and a root object. A configuration references the batch used as the Golden Batch and stores each parameter’s inclusion and tolerance settings. Classes can be nested. Configurations and classes synchronize through Enterprise Sync.
-
Parameters in phases, recipes, and batches can have separate lower and upper
process-value tolerances, each expressed as a fixed amount or a percentage.
Recording and tolerances are available for
Byte,Short,Integer,Long,Float, andDoubleparameters.
-
When recording is enabled, each value is captured from the start to the end
of the associated logic or step. Profiles are stored separately from the EBR
and tag history. The Gateway writes them to its
mes-process-valuesdata folder every 60 seconds so they survive a restart. It writes them to the database every 300 seconds and when the batch ends.
-
The system properties
com.sepasoft.batch.processValues.diskFlushIntervalSeconds,com.sepasoft.batch.processValues.dbFlushIntervalSeconds, andcom.sepasoft.batch.processValues.maxProfileKBcontrol the write intervals and maximum profile size. The default maximum is 5,120 KB, with an allowed range of 10 to 32,768 KB. Profiles that exceed the maximum are reduced by time-weighted averaging and markedTIME_WEIGHTED.
- Data retention deletes process-value profiles with their batch and preserves batches referenced as the Golden Batch by an enabled configuration.
Golden Batch scripting
MES-6863
The comparison and process-value profile functions are in the
system.mes.batch.queue namespace. The configuration functions are in
the system.mes.batch.goldenbatch namespace.
| Scripting Function | Release Note |
|---|---|
getGoldenBatchComparison
|
Compares a target batch with a Golden Batch specified by batch ID, configuration, or both. Returns a Python dictionary with Golden and target values, units, mismatch flags, actual and percentage deviations, tolerances, and optional value history. Includes steps whose run or skip counts differ. |
createGoldenBatchComparisonFilter
|
Creates a reusable filter that includes or excludes parameters and
steps using * and ? wildcards.
|
getProcessValueProfiles
getProcessValueProfile
|
List a batch’s recorded process-value profiles and retrieve values in bounded pages using a time range and cursor. |
| Configuration and class management functions | Create, copy, load, save, remove, link, search, and list configurations and classes with pagination. Configurations can be exported and imported as XML. |
getConfigParameters
createConfigParameterDictionary
setConfigParameterFields
resetConfigParameter
|
Read and manage configuration parameter settings, including which parameters are compared and their fixed or percentage tolerances. |
Golden Batch Comparison Viewer | Perspective Component
MES-6865
- Compare two batches that use the same Master Recipe. Specify the Golden Batch by batch ID or by configuration.
- View parameters in a tree or a flat list. Show all compared parameters or only mismatches. The viewer displays Golden and target values, units, actual and percentage deviations, and tolerances. It highlights differences, marks mismatches, counts them in the Target Batch column header, and shows steps whose run or skip counts differ.
- Use Track Value to open a parameter’s value history. For parameters that record process values, the dialog shows a chart and a table of recorded values. The chart shows the Golden and target profiles and the tolerance band. Choose overlay, side-by-side, or stacked views and align profiles by time since step start, time since batch start, or occurrence. The chart supports zooming, panning, and focusing on a reading.
-
Configure parameter and step filters with
includeParameterFilter,excludeParameterFilter,includeStepFilter, andexcludeStepFilter. Properties also control date-time format, time zone, locale, table and chart colors, and request timeouts for comparisons and process values.
- Export the comparison as JSON or print it. The browser retains the selected view options.
-
Use the new
includeGoldenBatchConfigObjectsproperty on the MES Object Selector to select a configuration for the viewer’sgoldenBatchConfigproperty.
Phase Manager and Recipe Editor
MES-6867, MES-6868
- The Batch Phase Manager and Batch Recipe Editor parameter dialogs now offer Record Process Values for numeric parameters. Selecting it displays Lower Tolerance and Upper Tolerance. Use # for a fixed amount or % for a percentage of the Golden Batch value. Leave either field blank to omit that tolerance.
- The Phase Manager saves the settings with the phase parameter. The Recipe Editor supports them for Procedure, Unit Procedure, Operation, and step parameters and saves them with the recipe. Golden Batch Configurations can override recipe tolerances.
Golden Batch Configuration Manager
User guide Golden Batch topics
MES-7719
- This Perspective component in the Batch module creates, edits, copies, pastes, and deletes Golden Batch Configurations and Configuration Classes. Each configuration references a running or completed batch and specifies which parameters to compare. For numeric parameters that record process values, it can also set fixed or percentage tolerances. The reference batch is fixed once the configuration is saved.
-
The component displays configurations and classes in a searchable tree
with a Column Edit button and page sizes of 10, 25, 50, 100,
or 200 rows. Configuration names must be unique across configurations, and class
names must be unique across classes, ignoring case. Names exclude characters
such as
.,,,/,\,%,#,?, and quotation marks.
-
Pasting a copied configuration retains its reference batch and parameter
settings and assigns the next available numbered name, such as
Mixing - 1. Pasting a class copies the class itself.
-
The Gateway enforces
enableCreateGoldenBatchConfig,enableEditGoldenBatchConfig,enableDeleteGoldenBatchConfig, andenableCopyPaste. The component also exposesenablePagination,showColumnEdit, andshowDescription. TheincludeParameterFilterandexcludeParameterFilterproperties limit which parameters the create and edit screens list and support*and?wildcards. Toolbar, input, button, and tooltip styles are configurable.
Changed
EBR Recording Type label. In the Phase Manager and Recipe Editor parameter dialogs, Recording Type is now EBR Recording Type to distinguish it from Record Process Values. The Phase Manager’s parameter table retains the Recording Type column label. (MES-6867, MES-6868)
Fixed
| Ticket | Release Note |
|---|---|
| MES-8092 |
MES-8092 EBR values come out of the order they were recorded in (same-millisecond rows in database order, and values recorded after a step ended listed first) When values are recorded in the same
millisecond, different parameters appear in recipe parameter order.
Values for the same parameter appear in the order they were recorded.
This fixes cases where an instantly completed step displayed
Values recorded after a step ends, such as a subsequent switch to
Manual or Auto, now follow values recorded while the step ran. This
order applies to |
| MES-8093 |
Start, Terminator, Transition, And End and Or End phases gain Execute_Step and Skip_Count on the second Gateway start, so recipes saved before it fail validation Fixed - Recipes saved on a new Gateway before its first restart no longer fail validation with "missing phase parameters" after a restart or upgrade. The Start, Terminator, Transition, And End and Or End phases no longer gain the Execute_Step and Skip_Count parameters on later Gateway starts; phases that already have them keep them. Recipe validation no longer reports Execute_Step or Skip_Count as missing or extra on steps of these phases, so recipes imported with system.mes.importConfiguration, moved between Gateways, or validated after system.mes.batch.phase.rebuildBuiltInPhases stay valid. Recipes using built-in phases remain valid after Gateway
restarts and upgrades. The Start, Terminator, Transition,
And End, and Or End phases no longer gain
Recipe validation accepts either case, including for recipes moved
between Gateways, imported with
|