Skip to content

Material Interlocking Request#

The features in this integration are based on the PanaCIM v8831 specification.

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.

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.
  • 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), 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.

Request and Response
Request:
<message>
<header messageClass="501" transactionID="5fdcc0e0-1171-46f9-9cac-ce5d68dbc6ee" reply="0">
    <location routeID="1018" routeName="Line1" equipmentID="1116" equipmentName="Station1" zoneID="1072" zonePos="6" zoneName="L3-MC6" laneNo="0" controllerGuid="" />
</header>
<body>
    <pcb barcode="SMT_P251111000023" modelCode="" serialNo="0011" pcbSide="1" scannerMountSide="T" />
</body>
</message>

Response:
<message>
<header messageClass="501" transactionID="5fdcc0e0-1171-46f9-9cac-ce5d68dbc6ee" reply="0">
    <location routeID="1018" routeName="Line1" equipmentID="1116" equipmentName="Station1" zoneID="1072" zonePos="6" zoneName="L3-MC6" laneNo="0" controllerGuid=""></location>
</header>
<body>
    <result errorCode="0" errorText="" actionCode="0"></result>
    <pcb barcode="SMT_P251111000023" modelCode="" serialNo="0011" pcbSide="1" scannerMountSide="T"></pcb>
    <product name="SMT Single-Sided Board" side="1"></product>
    <workItems>
    <workItem pos="1" place="0"></workItem>
    <workItem pos="2" place="1"></workItem>
    <workItem pos="3" place="0"></workItem>
    <workItem pos="4" place="0"></workItem>
    </workItems>
</body>
</message>