Recipe Validation#
Overview#
MES shall block, at interlocking, any Panel whose Product is different than the one the Equipment is configured to produce.
Relevant Artifacts#
The table below describes the objects for this feature:
| Name | Type | Is Mandatory | Data Type | Description |
|---|---|---|---|---|
| IoTMetadataDefinition | SmartTable | Yes | Table to define setup parameters | |
| RecipeContext | SmartTable | Yes | Table to define the Recipe to be used at a given Resource context and Product |
How it works#
- Set
UseRecipeNameValidationkey in theIoTMetadataDefinitiontable toTrueto activate the Feature.UseUpdateRecipeByLaneif set with value true we will validate for the Conveyor Lane received in the event.UseRecipeFullPathAsRecipeNameif set the Recipe Full Path will be used as MES Recipe name, as received from eventRecipeDownloador the response fromGetRecipeForStationcommand.
Recipe Name example
- Configure the Recipes for each possible product in the
RecipeContexttable. When receiving a BoardRequest message, the panel product is used to queryRecipeContexttable and get the Recipe defined for that product. This recipe is then compared with the actual Equipment recipe.
If it is not possible to resolve the Product panel in the RecipeContext table (e.g. missing entry for that Product):

If the RecipeContext table references a different Recipe for the panel product:

Dual-Lane Equipments
For dual-lane equipments using different recipes per lane, set useUpdateRecipeByLane key to True. This way, both the Panel lane and the Recipe lane will be considered during comparison.
Otherwise, the last RecipeDownload recipe context will be used or, if not available, the recipe sent by the Equipment (at GetRecipeForStation request) will be used for the comparison.
Example Conditions#
RecipeContext table:
Siplace Console:
Persistency Handling#
After the first successful validation of the Recipe, a key named RecipeValidated_<Resource Name>_Lane_<Lane number> will be stored in persistency with the value true.
This allows subsequent requests to bypass validation until a new recipe is downloaded to the equipment.


