BoardGateKeeper BoardRequest#
Overview#
This Feature enables material interlocking with MES.
How To configure#
To enable BoardRequest material validation functionality we need to configure the extension and any other relevant key as described below:
IoTMetadataDefinition Area Level Configuration#
Set the following keys at the Area level:
| Name | Type | Possible Values | Default Value | Description |
|---|---|---|---|---|
| oib_BoardGateKeeper_disabled | String | truefalse | true | This will enable or disable the extension. |
| oib_BoardGateKeeper_enablemode | String | NoneOnePerEnterpriseOnePerSiteOnePerLine | None | How should activate BoardGateKeeper instance:None - No instance will be usedOnePerEnterprise - One Instance for all Lines (Enterprise level)OnePerSite - One Instance for all Lines (Site level) OnePerLine - One Instance per Line |
| oib_BoardGateKeeper_subscriptionnamesuffix | String | "" | Will be added to the subscription name. | |
| OIB_LineNameStationName_<Line name>_<Station name> | String | Link from OIB Line and Station names to MES Resource name. |
Example
| Resource | ResourceType | Area | Name | Value |
|---|---|---|---|---|
| SMT_Production Line | oib_BoardGateKeeper_disabled | false | ||
| SMT_Production Line | oib_BoardGateKeeper_enablemode | OnePerEnterprise | ||
| SMT_Production Line | OIB_LineNameStationName_Line - TQ & TX2 & SX2_TX2 | SMT_Pick_Place_1 |
Replace with the appropriate values depending on your setup.
IoTMetadataDefinition Resource Level Configuration#
At the Resource level, there are several keys that can be configured.
Recipe Validation#
useRecipeNameValidationwith value true.useUpdateRecipeByLaneif set with value true we will verify the recipe for the Conveyor Lane received in the event.
If you need a custom name for your Lanes you can define them through the following keys:
RightLaneCustomNameLeftLaneCustomName
Example
| Resource | ResourceType | Area | Name | Value |
|---|---|---|---|---|
| SMT_Pick_Place_1 | useRecipeNameValidation | true | ||
| SMT_Pick_Place_1 | useUpdateRecipeByLane | true | ||
| SMT_Pick_Place_1 | RightLaneCustomName | CustomRight | ||
| SMT_Pick_Place_1 | LeftLaneCustomName | CustomLeft |
BOM Pre-Check Validation#
usebomvalidationwith value true.useBOMValidationServiceMES service to be called to get the VIH results, <Input object>, <Namespace> | <url>. (default value: Cmf.SMT.IoT.Utilities.Orchestration.InputObjects.ValidatePlacementListInput, Cmf.SMT.IoT.Utilities.Orchestration | api/IoTUtilities/ValidatePlacementList).
Example
| Resource | ResourceType | Area | Name | Value |
|---|---|---|---|---|
| SMT_Pick_Place_1 | usebomvalidation | true | ||
| SMT_Pick_Place_1 | useBOMValidationService | Cmf.Custom.ProjectName.Orchestration.InputObjects.CustomValidatePlacementListInput, Cmf.Custom.ProjectName.Orchestration|api/ProjectName/ValidatePlacementList |
To understand how to configure the service to best suit your needs check this document.
A flag, will be stored BomValidated_<Resource Name>, with value true once we have a successful validation. This will allow the bypass of this validation until the equipment sends a Recipe Download Event.
Virtual InkSpot Handling#
useVIHOnBoardRequestif set with value true we will get the Virtual InkSpot Handling results from a MES Service and send it in the BoardRequest Response.useVIHToCallServiceMES service to be called to get the VIH results, <Input object>, <Namespace> | <url>, by default it will call SMT service GetVirtualInkspotHandlingData.
Example
| Resource | ResourceType | Area | Name | Value |
|---|---|---|---|---|
| SMT_Pick_Place_1 | useVIHOnBoardRequest | true | ||
| SMT_Pick_Place_1 | useVIHToCallService | Cmf.Custom.ProjectName.Orchestration.InputObjects.CustomVIHResultInput, Cmf.Custom.ProjectName.Orchestration|api/ProjectName/CustomVIHResult |
Material Track In#
useOIBToTrackInif set with BoardRequest we will use this event to automatically track in the Material at the MES Resource.UseTrackInOperation: Sets the Track In MES operation. Can be defined asComplexDispatchAndTrackInorComplexTrackIn. Defaults toComplexTrackInif not defined.useWaitForPreviousTrackout: Sets a wait time for the previous Track Out event to finish.useWaitIfRecipeIsBeingChanged: Sets a wait time for the recipe change to finish on the current Resource.DoPreviousTrackOut: If defined with any value, the controller logic will attempt to Track Out the previous Material tracked in the Resource before proceeding with the Track In operation for the current Material.
Example
| Resource | ResourceType | Area | Name | Value |
|---|---|---|---|---|
| SMT_Pick_Place_1 | useOIBToTrackIn | BoardRequest |
How To Use#
BoardGateKeeper requests the MES System to validate a Material which has been detected and stopped in the conveyor unit.
Our Connect IoT controller logic will:
- Validate if recipe is correctly defined for the Resource or Resource Lane;
- Validate if the recipe matches the expected components present in the BOM.
- Produce Virtual InkSpot Handling data to loop back into BoardGatekeeper Service;
- Confirm, if BoardRequest Event is configured for it, Track In operation success.
A response will be sent with the Result of the validations and, if enabled, the VIH data.
The Resource and it's Lanes must be correctly configured for recipe validation if enabled.
Note:
Only two Lanes are currently supported.
Implementation Details#
During Equipment Setup, a new endpoint will be registered at the Line Station. This registration becomes the connection to MES where the Events will be sent by the various Stations.
Station BoardRequest Received:
- Resolves IoTMetadataDefinition for what validations are configured.
- Recipe Validation enabled:
- Get MES Recipe for current Material.
- Get Equipment Active Recipe.
- If Material Recipe mismatch Equipment Recipe send Failed result.
- Set MES Resource recipe if different from the one currently set.
- If Lane Recipe Management is active we will check the received Lane recipe and set it to the corresponding MES Resource Lane.
- BOM Validation enabled:
- Get Equipment Active Recipe.
- If start of new recipe or previous failed result:
- Get equipment Recipe Details.
- Validate if the components expected to be placed match the BOM.
- If Designators or Product mismatch Equipment send Failed result.
- If BOM already validated with a valid result:
- Bypass validation until equipment new recipe download.
- VIH enabled:
- Retrieve Service to be used for data processing and build VIH response Data.
- Track In enabled:
- Try to Track in Material received into the MES Resource and send back the result of this operation.
Send Board Request Response.