# Unload Feeder from Position ## Overview Unload the Consumable Feeders from Station Position. ### Relevant Artifacts The table below describes the properties for this entity type: | Name | Type | Is Mandatory | Data Type | Description | | :----------------------------------------------------------------------------------- | :--------- | :----------: | :-------- | :----------------------------------------------- | | IoTMetadataDefinition | SmartTable | Yes | | Metadata configuration for equipment integration | | [IoTFujiNeximUnloadComponents](../../artifacts/dees.md#iotfujineximunloadcomponents) | DEE | Yes | | Detach feeders from a specified MES resource | ## How It Works When a `UNLOADCOMP` event is received from a Fuji NXT III machine, the following process is executed: ### Area Feature Checks - Resolves the MES Resource Name using `FUJI_LineNameMachineNameModuleNo_`. ### Resource Feature Checks - It checks whether the `UseFujiToUnloadComp` feature is enabled for the MES Resource in `ST_IoTMetadataDefinition`. ### MES Operations - If the feature is enabled, the Automation Controller calls the DEE [IoTFujiNeximUnloadComponents](../../artifacts/dees.md#iotfujineximunloadcomponents), passing: - The MES Resource Name - A list of components to be unloaded - The DEE performs the following actions: - Detaches the **Consumable Feed** - Updates the **quantity of the Consumables** Sends a `UNLOADCOMP_ACK` message back to the equipment, which includes: - A list of components - A result (`0 (Ok)` or `1 (NOk)`) for each component **Error Handling** If any component fails during the DEE operation, the entire set operation is considered failed. **Bypass Condition** If `UseFujiToLoadComp` is set to `False` or not defined, the DEE call is bypassed entirely. ### Assumptions SmartTable IoTMetadataDefinition is configured with the following entry for each station: | Resource | ResourceType | Area | Name | Value | | --------------------------- | ------------ | ---- | ------------------- | ----- | | MES Fuji Station X Resource | | | UseFujiToUnloadComp | True |