# Material Interlocking Request !!! info "The features in this integration are based on the PanaCIM v8831 specification." !!! info "From SMT Template version 3.1.0 onwards, the GetVirtualInkspotHandlingData service relies on the _SMTUnitsExcluded_ attribute" ## Overview This feature will handle message **501 PCB-ID Request** from PanaCIM. !!! info "Message 500 is not fully supported yet" ## How To Configure ### Relevant Artifacts | Name | Type | Is Mandatory | Data Type | Description | | :---------------------------- | :--------- | :----------: | :-------- | :------------------------------------------------------------------ | | IoTMetadataDefinition | SmartTable | Yes | | Metadata configuration for equipment integration | | GetVirtualInkspotHandlingData | Service | | | Service that retrieves the VIH data | | GetMaterialRecipe | Service | Yes | | Service that retrieves the Recipe needed for the current production | ### How It Works When the **501 PCB-ID Request** event is received from PanaCIM, the system retrieves the material information (barcode, model code, side, etc.), which is then used to: * Validate if Material exists in MES. * Validate if the correct recipe is set at the PanaCIM station, dependent on [Recipe Management](recipemanagement.md). * Retrieve **Virtual Inkspot** (VIH) data from MES and return a list of placements in the response. After MES operations are concluded a Response will be generated. * If no error during the process error code 0 will be sent with the added `workItems` list with VIH information. * If any error occurs error code 1 will be sent with respective error message. !!! warning With errorCode != 0 PanaCIM will lock the machine with an error message including the errorCode, and the user has to manually release the lock in PanaCIM. ### Assumptions SmartTable `IoTMetadataDefinition` is configured, other than the general setup keys [(check Setup for more information)](setup.md), with the following entries for each station: | Resource | ResourceType | Area | Name | Value | Description | | ------------------------------ | ------------ | ---- | ------------------------ | --------------- | ---------------------------------------------------------------------------------- | | MES PanaCIM Station X Resource | | | usePanaCIMToPCBIDRequest | 50XPCBIDRequest | Activate material validation interlocking | | MES PanaCIM Station X Resource | | | usePanaCIMToVIH | 50XPCBIDRequest | Activate Virtual Inkspot, if not active will respond with default 0 for placements | | MES PanaCIM Station X Resource | | | userecipenamevalidation | 50XPCBIDRequest | Validate Resource recipe against Equipment's | To understand what you need to configure to use VIH service to best suit your needs check [this document](../../features/vih.md). ??? Example "Request and Response" ```xml Request:
Response:
```