Skip to main content
Version: Next

LMES Product Info Distribution Guide

1. Functional Overview​

The Product Information Distribution process is a core function in the LMES system used to automatically distribute product-related information to equipment. When a product enters a station, the system automatically transmits data such as product model, work order information, and process parameters to the equipment (e.g., PLC), ensuring that the equipment can produce according to the correct parameters.

1.1 Main Uses​

  • Automatically distribute product model and work order information when the product goes online
  • Distribute corresponding process parameters (temperature, pressure, time, etc.) based on the product model
  • Transmit product formula information to the equipment control system
  • Distribute quality standard parameters to testing equipment

2. Workflow​

2.1 Process Steps​

The entire distribution process includes the following steps:

1. Start Process
↓
2. Wait for Trigger Signal (Equipment sends trigger request)
↓
3. Read Product Code
↓
4. Query and Distribute Product Info
↓
5. Return Distribution Result
↓
6. Wait for Equipment Confirmation
↓
7. Reset State, Ready for Next Distribution

2.2 Flowchart​

3. Usage Configuration​

3.1 Enable Process​

In the Process Segment Configuration, find the "Product Information Distribution" function:

  • Enable: Select "Enable" to activate this function
  • Disable: Select "Disable" to turn off this function

3.2 Variable Configuration​

You need to configure the following 4 variables to communicate with the equipment:

Variable NameVariable IDDescriptionRequired
Trigger SignalProductInfoDistribute_TriggerSignalEquipment notifies LMES to start distributionYes
Product CodeProductInfoDistribute_SerialNumberUnique identification code of the productYes
Distribution ResultProductInfoDistribute_ResultExecution result returned by LMESYes
Result DescriptionProductInfoDistribute_DescriptionDetailed description of the resultNo

3.3 Distribution Parameter Configuration​

Configure the parameters that need to be distributed in "Process Settings":

  1. Enter the Process Settings interface
  2. Select the corresponding product model and process
  3. Click the "Product Info Distribution Settings" button
  4. Configure the parameter items to be distributed
  5. Save the configuration

3.3.1 Configuration Interface Description​

The Product Info Distribution Configuration interface is used to set which parameters need to be distributed to the equipment and where to distribute them.

Interface Structure:

The configuration interface is divided into two parts:

  1. Top Information Area: Displays the context of the current configuration

    • Product Model: Displays the currently selected product (e.g., XH1)
    • Current Process: Displays the process currently being configured (e.g., Process 2)
  2. Configuration List Area: Displays and edits distribution parameter configurations

Configuration List Field Description:

Field NameDescriptionRemarks
Data SourceSelect where the parameter comes from (Collection Parameter, Formula Parameter, Material Parameter, Product Parameter)Also known as "Parameter Source" or "Type"
Data Source NameWhich specific parameter to selectLists available parameters based on the data source type
Process NameDisplays the process associated with this parameter configurationCan be the current process or another process
Distribution TypeWhere the parameter is distributed to (Variable or Formula Process Value)Also known as "Distribution Target"
Distribution DataSpecifically which variable or formula process value to distribute toAlso known as "Target Location"

Relationship between "Current Process" and "Process Name":

  • Current Process (Displayed at the top): The process that triggers the product information distribution flow

    • For example: Current Process shows "Process 2", meaning when the product is executed at Process 2, the product info distribution flow will be triggered.
    • This is the trigger point configured, i.e., at which process to start the distribution.
  • Process Name (Column in the list): The process where the parameter source is located

    • Indicates which process the parameter to be distributed comes from.
    • For example: Process Name shows "Process 1", meaning the parameter distributed is a parameter defined in Process 1.
    • If you see multiple identical process names, it means distributing multiple parameters from Process 1.

Usage Scenario Description:

Suppose the interface shows:

  • Top: Product Model XH1, Current Process: Process 2
  • In the list:
    • Row 1: Data Source = Product Parameter, Data Source Name = Product ID, Process Name = Process 1
    • Row 2: Data Source = Product Parameter, Data Source Name = Product Name, Process Name = Process 1

This means:

  • When the product is executed at Process 2, the product info distribution flow will be triggered.
  • The parameters distributed come from Process 1 (Product ID, Product Name).
  • The system will distribute these parameters from Process 1 to the equipment.

Typical Application Scenarios:

  • When the product is at Process 2 (e.g., SMT process), it is necessary to distribute the parameters collected in Process 1 (e.g., Loading process).
  • Or at Process 2, it is necessary to distribute the basic information of the product and the process parameters of Process 1.

3.3.2 Parameter Source Types​

The system supports 4 parameter sources:

Source TypeDescriptionExample
Collection ParameterCollection parameters defined in the processProcess parameters such as temperature, pressure, speed, etc.
Formula ParameterParameters defined in the product formulaFormula version, formula number, etc.
Material ParameterParameters related to materialsMaterial number, material batch, etc.
Product ParameterAttribute parameters of the product itselfProduct model, product name, work order number, etc.

3.3.3 Distribution Target Types​

The system supports 2 distribution targets:

Target TypeDescriptionUsage Scenario
VariableDistribute to equipment variableDirectly distribute to PLC variables for equipment use
Formula Process ValueDistribute to formula process valueDistribute to formula parameters for formula execution

3.3.4 Configuration Examples​

Example 1: Distribute product model to variable

  • Parameter Source: Product Parameter
  • Source Parameter: Product Model
  • Distribution Target: Variable
  • Target Location: Product_Model

Example 2: Distribute process temperature to variable

  • Parameter Source: Collection Parameter
  • Source Parameter: SMT Temperature
  • Distribution Target: Variable
  • Target Location: Process_Temperature

Example 3: Distribute formula parameter to formula process value

  • Parameter Source: Formula Parameter
  • Source Parameter: Formula Version
  • Distribution Target: Formula Process Value
  • Target Location: Formula_Version

4. Product Info Distribution Configuration Details​

4.1 Configuration Entry​

In the "Process Settings" interface, after selecting the product and process, click the "Product Info Distribution Settings" button to enter the configuration interface.

4.2 Configuration Process​

Step 1: Enter Configuration Interface

  • In the "Process Settings" interface, first select the Product Model (e.g., XH1)
  • Then select the Process to be configured (e.g., Process 2)
    • This process is the "Current Process", i.e., the process triggering the distribution flow
  • Click the "Product Info Distribution Settings" button
  • The top of the interface will display: Product Model and Current Process

Step 2: Add Distribution Configuration

  • Click the "Add" button to add a new distribution configuration

Step 3: Select Data Source (Parameter Source)

  • Select the parameter type from the "Data Source" dropdown list
  • Options: Collection Parameter, Formula Parameter, Material Parameter, Product Parameter

Step 4: Select Data Source Name (Specific Parameter)

  • Based on the selected data source, select the specific parameter in "Data Source Name"
  • The system will automatically list all available parameters under that type
  • For example: After selecting "Product Parameter", you can select "Product ID", "Product Name", etc.

Step 5: Set Process Name

  • Select the process where the parameter source is located in the "Process Name" column
  • You can select the current process or another process
  • For example:
    • Current Process is "Process 2" (Trigger Point)
    • Process Name selects "Process 1" (Parameter Source)
    • Indicates distributing parameters of Process 1 when distribution is triggered at Process 2

Step 6: Select Distribution Type (Distribution Target)

  • Select the target type from the "Distribution Type" dropdown list
  • Options: Variable, Formula Process Value

Step 7: Specify Distribution Data (Target Location)

  • Based on the selected distribution type, specify the specific location in "Distribution Data"
  • If it is a variable, enter the variable name (e.g., P1, P2)
  • If it is a formula process value, select the formula parameter

Step 8: Save Configuration

  • Click the "Confirm" button to save the configuration
  • After the configuration is saved, when the product is executed at the current process (Process 2), the distribution flow will be automatically triggered
  • The system will distribute the parameters of the specified process (Process 1) to the equipment

4.3 Parameter Source Details​

4.3.1 Collection Parameter (ProcessParameter)​

Collection parameters are process parameters defined in the process, used to record key data during production.

Common Collection Parameters:

  • Temperature parameters (e.g., SMT temperature, reflow temperature)
  • Pressure parameters (e.g., air pressure, hydraulic pressure)
  • Speed parameters (e.g., conveyor speed, processing speed)
  • Time parameters (e.g., heating time, cooling time)
  • Position parameters (e.g., X-axis position, Y-axis position)

Usage Scenario:

  • Distribute process standard parameters to equipment
  • Equipment produces according to distributed parameters

Configuration Example:

Parameter Source: Collection Parameter
Source Parameter: SMT Temperature
Distribution Target: Variable
Target Location: SMT_Temperature

4.3.2 Formula Parameter (FormulaParameter)​

Formula parameters are parameters defined in the product formula, containing product formula information.

Common Formula Parameters:

  • Formula Number
  • Formula Version
  • Formula Name
  • Process Parameters in Formula

Usage Scenario:

  • Distribute formula information to equipment
  • Equipment executes production according to formula

Configuration Example:

Parameter Source: Formula Parameter
Source Parameter: Formula Version
Distribution Target: Variable
Target Location: Formula_Version

4.3.3 Material Parameter (MaterialParameter)​

Material parameters are parameters related to materials, recording information about materials used.

Common Material Parameters:

  • Material Number
  • Material Batch
  • Material Name
  • Material Specification

Usage Scenario:

  • Distribute material information to equipment
  • Equipment records materials used

Configuration Example:

Parameter Source: Material Parameter
Source Parameter: Material Batch
Distribution Target: Variable
Target Location: Material_Batch

4.3.4 Product Parameter (ProductParameter)​

Product parameters are attribute information of the product itself.

Common Product Parameters:

  • Product Model
  • Product Name
  • Product Code
  • Work Order Number
  • Customer Information

Usage Scenario:

  • Distribute basic product information to equipment
  • Equipment displays or records product information

Configuration Example:

Parameter Source: Product Parameter
Source Parameter: Product Model
Distribution Target: Variable
Target Location: Product_Model

4.4 Distribution Target Details​

4.4.1 Variable (Variable)​

Distribute parameter values directly to equipment variables.

Features:

  • Directly write to PLC or other equipment variables
  • Equipment can read and use immediately
  • Suitable for most distribution scenarios

Target Location Configuration:

  • Enter the complete variable name
  • The variable name must be consistent with the variable defined on the equipment side

Example:

Distribution Target: Variable
Target Location: Product_Model
Description: Write parameter value to variable named Product_Model

4.4.2 Formula Process Value (FormulaProcessValue)​

Distribute parameter values to formula process values.

Features:

  • Write to process values of formula parameters
  • Used for parameter passing during formula execution
  • Suitable for formula-driven production scenarios

Target Location Configuration:

  • Select parameters defined in the formula
  • The system will automatically write the value to the process value of that parameter

Example:

Distribution Target: Formula Process Value
Target Location: Temperature Setpoint
Description: Write parameter value to the process value of formula parameter "Temperature Setpoint"

4.5 Complete Configuration Examples​

Example 1: SMT Process Parameter Distribution​

Business Requirement:

  • Distribute product model, work order number
  • Distribute SMT temperature, SMT speed

Configuration List:

No.Parameter SourceSource ParameterDistribution TargetTarget Location
1Product ParameterProduct ModelVariableProduct_Model
2Product ParameterWork Order NumberVariableOrder_Code
3Collection ParameterSMT TemperatureVariableSMT_Temperature
4Collection ParameterSMT SpeedVariableSMT_Speed

Example 2: Formula-Driven Production​

Business Requirement:

  • Distribute formula information
  • Write formula parameters to formula process values

Configuration List:

No.Parameter SourceSource ParameterDistribution TargetTarget Location
1Formula ParameterFormula NumberVariableFormula_Code
2Formula ParameterFormula VersionVariableFormula_Version
3Formula ParameterTemperature ParameterFormula Process ValueTemperature Setpoint
4Formula ParameterTime ParameterFormula Process ValueTime Setpoint

Example 3: Material Traceability​

Business Requirement:

  • Distribute product information
  • Distribute used material information

Configuration List:

No.Parameter SourceSource ParameterDistribution TargetTarget Location
1Product ParameterProduct CodeVariableProduct_SN
2Material ParameterMaterial NumberVariableMaterial_Code
3Material ParameterMaterial BatchVariableMaterial_Batch
4Material ParameterSupplierVariableMaterial_Supplier

4.6 Configuration Precautions​

  1. Parameter Must Exist

    • The selected source parameter must be defined in the system
    • Collection parameters need to be defined in the process
    • Formula parameters need to be defined in the formula
    • Material parameters need to be defined in material management
  2. Target Location Uniqueness

    • Do not configure the same target location multiple times
    • Avoid parameter overwriting
  3. Variable Naming Standard

    • Variable names must be consistent with the equipment side
    • Recommended to use meaningful naming
    • Avoid using special characters
  4. Configuration Completeness

    • Ensure all necessary parameters are configured
    • Test and verify if the configuration takes effect

5. Operation Process​

5.1 Equipment Side Operation Steps​

Step 1: Prepare Product Code

  • Write the product code to variable ProductInfoDistribute_SerialNumber

Step 2: Send Trigger Signal

  • Set trigger signal ProductInfoDistribute_TriggerSignal to 1

Step 3: Wait for Distribution Result

  • Monitor distribution result variable ProductInfoDistribute_Result
    • 0: Initial state (Waiting)
    • 1: Distribution successful
    • 2: Distribution failed

Step 4: Process Result

  • If successful (Result = 1): Read distributed parameters and start production
  • If failed (Result = 2): View result description ProductInfoDistribute_Description to understand the failure reason

Step 5: Confirm Completion

  • Set trigger signal ProductInfoDistribute_TriggerSignal to 0

Step 6: Wait for Reset

  • Wait for distribution result ProductInfoDistribute_Result to become 0
  • Process ends, ready for next distribution

5.2 Sequence Diagram​

6. Product Info Query Logic​

The system queries product information according to the following priority:

6.1 Query Priority​

Priority 1: Formula Information

  • If a product formula is configured for the current process segment, the product information in the formula is used preferentially.

Priority 2: Production Work Order

  • If there is no formula, query the production work order of the current process segment.
  • Get product model and related information from the work order.

Priority 3: Inspection Task

  • If there is no work order, check if there is an inspection task.
  • Get product model from the inspection task.

6.2 Query Flowchart​

7. Distribution Result Description​

7.1 Result Codes​

Result CodeMeaningDescription
0Initial StateWaiting for distribution or already reset
1Distribution SuccessfulParameters successfully distributed to equipment
2Distribution FailedError occurred during distribution

7.2 Common Failure Reasons​

Error DescriptionReasonSolution
Product code is emptyProduct code not provided or is blankCheck if product code is correctly written to variable
Product model not foundNo formula, work order, or inspection task for this product in the systemEnsure the process segment has corresponding work order or formula
Distribution parameters are emptyDistribution parameters not configured in process settingsConfigure parameters to be distributed in process settings
Variable distribution exceptionVariable writing failedCheck variable configuration and equipment connection

8. Usage Example​

8.1 Example Scenario​

An electronic product production line needs to distribute SMT parameters in the SMT process:

Preconditions:

  • "Product Info Distribution" function is enabled in the process segment
  • 4 communication variables are configured
  • Product info distribution parameters are configured in process settings:
    • Product Model → Variable Product_Model
    • Work Order Number → Variable Order_Code
    • SMT Temperature → Variable Process_Temperature
    • SMT Speed → Variable Process_Speed

Operation Steps:

  1. Product arrives at SMT station, scanner reads product code: SN202411200001
  2. PLC writes product code to variable: ProductInfoDistribute_SerialNumber = "SN202411200001"
  3. PLC sends trigger signal: ProductInfoDistribute_TriggerSignal = 1
  4. LMES system automatically:
    • Reads product code
    • Queries work order info for this product (Product Model: iPhone-15-Pro, Work Order: WO20241120001)
    • Gets parameter values to be distributed according to configuration in process settings
    • Distributes parameters to PLC:
      • Product_Model = "iPhone-15-Pro"
      • Order_Code = "WO20241120001"
      • Process_Temperature = 250
      • Process_Speed = 1.2
  5. LMES returns result: ProductInfoDistribute_Result = 1 (Success)
  6. PLC reads distributed parameters and starts SMT operation
  7. After operation completes, PLC sends confirmation: ProductInfoDistribute_TriggerSignal = 0
  8. LMES resets state: ProductInfoDistribute_Result = 0
  9. Process ends, waiting for next product

8.2 Failure Handling Example​

If distribution fails:

  1. LMES returns: ProductInfoDistribute_Result = 2
  2. LMES returns description: ProductInfoDistribute_Description = "Product model not found"
  3. PLC displays error information to prompt operator
  4. Operator checks:
    • Is product code correct?
    • Does this product have a corresponding work order?
    • Is the work order distributed to this process segment?
  5. After the problem is resolved, re-trigger the distribution flow

9. Notes​

9.1 Usage Recommendations​

  1. Ensure Data Preparation

    • Ensure the process segment has corresponding work order or formula before distribution
    • Configure all distribution parameters in process settings in advance
  2. Correct Variable Configuration

    • 4 communication variables must be configured correctly
    • Variable names must be consistent with system requirements
  3. Complete Signal Handshake

    • Must complete the full signal handshake process
    • Only proceed to next distribution after equipment confirmation
  4. Timely Error Handling

    • Check error description promptly when distribution fails
    • Take targeted actions based on error information

9.2 Common Questions​

Question 1: No response to trigger signal

  • Check if flow is enabled
  • Check if variable configuration is correct
  • Check connection status between equipment and LMES

Question 2: Always returns "Product model not found"

  • Check if there is a work order for this product
  • Check if the work order is distributed to this process segment
  • Check if product formula is configured for the process segment

Question 3: Distributed parameters are empty

  • Enter Process Settings
  • Click "Product Info Distribution Settings"
  • Check if distribution parameters are configured for this product model and process
  • Confirm parameter sources and targets are configured correctly
  • Confirm parameter configuration is saved

Question 4: Equipment does not receive parameters after distribution

  • Check if distribution result is success (1)
  • Check if variable mapping on equipment side is correct
  • View LMES logs to confirm if parameters are truly distributed

10. Process Control​

10.1 Reset Process​

If the process encounters an exception, you can use the "Reset" function:

  1. Find the flow instance in the flow monitoring interface
  2. Click the "Reset" button
  3. The flow will return to the initial state
  4. You can restart the distribution flow

10.2 Process Monitoring​

You can monitor process status in the following ways:

  • View current step of the flow instance
  • View flow logs for execution details
  • Monitor variable value changes
  • View distribution results and error information

11. Best Practices​

11.1 Configuration Suggestions​

  1. Pre-configure Parameters

    • Configure all distribution parameters in process settings before product launch
    • Clarify the source of each parameter (Collection, Formula, Material, Product)
    • Clarify the target of each parameter (Variable or Formula Process Value)
    • Regularly check if parameter configuration is complete
  2. Work Order Management

    • Ensure work orders are distributed to process segments in a timely manner
    • Work order information (Product Model) must be accurate
  3. Variable Naming Standards

    • Use system-recommended variable names
    • Do not arbitrarily modify variable IDs

11.2 Operation and Maintenance Suggestions​

  1. Regular Checks

    • Regularly check flow running status
    • Check for frequent failures
  2. Log Analysis

    • Regularly analyze flow logs
    • Discover potential issues and handle them in time
  3. Operator Training

    • Train operators to understand the distribution flow
    • Teach operators to handle common errors

12. Summary​

The Product Information Distribution flow is an important function for realizing automated interaction between MES and equipment. Through a standardized signal handshake mechanism, it ensures that product information is accurately and timely transmitted to the equipment. Correct configuration and use of this flow can greatly improve production efficiency, reduce manual intervention, and lower error rates.

Key Points:

  • Ensure work order/formula data is fully prepared
  • Correctly configure communication variables
  • Configure distribution parameters in process settings
  • Complete full signal handshake flow
  • Timely handle distribution failures