Configure Weigh and Dispense#
In this scenario, you will learn how to:
- Define the safety information and the data sheets of a Product.
- Create a BOM with the Weigh and Dispense scope.
- Define the BOM Context for the Weigh and Dispense operation.
- Configure an electronic scale.
- Optionally, configure the labels that the system prints after each dispense.
Info
For more information, see:
Sequence of Steps#
1. Create the Products#
Create a target Product and the source Products that the target requires. For example:
- Target Product:
Blue Compound. - Source Products:
Powdered chemical BlueandPhthalates.
For more information, see Create Product.
2. Define the Safety Information#
This step is optional. The system always shows the safety information of the Products to the operator.
- In the left side menu, select Business Data.
- From the Business Data panel, select Product.
- Select a source Product. For example,
Powdered chemical Blue. - In the Safety Information section, select Manage.
-
Define the Routes of Exposure, the Hazard Classifications, the Hazard Information, and the Protection Equipment.
Info
The system merges the safety information of all the BOM Products and of the target Product, and shows it to the operator in the Preparation wizard.
3. Add the Data Sheets as Attachments#
The system shows the Safety Data Sheets and the Technical Data Sheets in the Execution wizard. It takes them from the attachments of the Product.
- Open the source Product.
- In the right side panel, select Attachments.
-
Add the file of the data sheet, and select the attachment type
Safety Data SheetorTechnical Data Sheet.
Info
The configuration entries /Cmf/System/Configuration/Product/SafetyDataSheet and /Cmf/System/Configuration/Product/TechnicalDataSheet define the attachment types that the system treats as data sheets. For more information, see Attachments and AttachmentType.
4. Create the BOM#
Create a BOM with the Weigh and Dispense scope for each target Product. For the detailed steps, see How to: Create a BOM for Weigh and Dispense.
The scenarios use the following BOMs:
| BOM | Target Product | Formula Type | Product | Quantity | Lower Tolerance | Upper Tolerance | Assembly Step | Instrument Type |
|---|---|---|---|---|---|---|---|---|
BOM W&D Compound B | Blue Compound | Relative | Powdered chemical Blue | 20 | 0.1 | 0.01 | Chemicals Preparation | Scale High Precision |
BOM W&D Compound B | Blue Compound | Relative | Phthalates | 80 | 2 | 1 | Chemicals Preparation | Standard Scale |
BOM W&D Compound G | Green Compound | Absolute | Powdered chemical Green | 5 | 0.1 | 0.05 | Chemicals Preparation | Scale High Precision |
BOM W&D Compound G | Green Compound | Absolute | Phthalates | 30 | 2 | 1.5 | Chemicals Preparation | Standard Scale |
BOM W&D Compound G | Green Compound | Absolute | Secret Chemical Recipe | 20 | 0.1 | 0.05 | Chemicals Preparation and Mixing | None |
Table: BOM items in the scenarios
For each item, enter instructions in the Note field. For example, for Powdered chemical Blue:
- Use the High Precision Scale.
- Check if the Scale is Calibrated.
- Weigh the Blue Powdered Chemical according to the Bill of Material.
5. Define the BOM Context#
The BOM Context associates the BOM with the Step and the Product, and defines how the system handles the dispensed quantities.
- In the left side menu, select Administration.
- From the Administration panel, select Tables.
- In the left side panel, select Smart Tables.
- In the search box, write
BOMContext. - Select BOMContext.
- In the top ribbon, select Add.
- Select the Step. For example,
Chemicals Preparation. - Select the Product. For example,
Blue Compound. - Select the BOM. For example,
BOM W&D Compound B. - Set the Assembly Type to
Weigh and Dispense. - Select the Weigh and Dispense Mode. The following table describes the modes.
- Select Add.
| Mode | Description |
|---|---|
| Attach | At the end of the operation, the system attaches the dispensed raw materials as Sub-Materials of the target Material. The quantity of the target Material is zero, because the Sub-Materials hold all the quantity. |
| Consume | At the end of the operation, the target Material consumes the dispensed raw materials. The quantity of the target Material equals the sum of the dispensed quantities. |
Table: Weigh and Dispense modes
The scenarios use the following records:
| Step | Product | BOM | Weigh and Dispense Mode |
|---|---|---|---|
Chemicals Preparation | Blue Compound | BOM W&D Compound B | Attach |
Chemicals Preparation | Green Compound | BOM W&D Compound G | Consume |
Chemicals Preparation and Mixing | Green Compound | BOM W&D Compound G | Consume |
Table: BOM Context records in the scenarios
6. Configure the Electronic Scale#
- Create an Instrument for the electronic scale. For more information, see How to: Create an Instrument.
- Add the Instrument to a Process Resource. For more information, see How to: Add an Instrument to a Resource.
-
Define the Measurement Capabilities of the Instrument: the measurement units, the range, and the precision. For example,
Kg, a range of0.1to999, and a precision of0.01. For more information, see Manage Measurement Capabilities.
Info
Configure the scale to provide the weight in the primary units of the target Material, or create an entry in the UnitConversionFactors generic table.
Info
The scale Resource must integrate with the system, so that the Weigh and Dispense wizard receives the values of the scale automatically. For more information, see Electronic Scale Integration.
7. Configure the Labels#
This step is optional. When the BOM references a label, the system prints it after each partial or complete dispense.
- In the left side menu, select Administration.
- From the Administration panel, select Tables.
- In the left side panel, select Smart Tables.
- Select PrinterTypePrintersContext.
- Add a record that defines the printer for the Weigh and Dispense labels of a context. For example, set the Printer Type to
Generaland select the Printer Name.
Info
If the BOM references a label, the operator must select a printer in the Preparation wizard. For more information, see PrinterTypePrintersContext.
Create the label as a Printable Document with the Weigh and Dispense Label scope. The label scope has the following rules:
- Leave the Applies To field empty.
- The system creates the data contexts in the following table automatically. Reference them in the label design.
- Printing Printable Documents requires a license for the Advanced Layout and Printing module.
| Name | Source Type |
|---|---|
DispensedFromMaterial | Object |
DispensedFromProduct | Object |
DispensedFromStep | Object |
DispensedFromContainer | Object |
DispensedToMaterial | Object |
DispensedToProduct | Object |
DispensedToStep | Object |
DispensedToContainer | Object |
DispensedToContainerType | String |
DispensedEmployee | Object |
DispensedQuantity | Decimal |
DispensedUnits | String |
DispensedResource | Object |
DispensedScale | Object |
Table: Data contexts of the Weigh and Dispense label
All the data contexts have the type Input.
When the operator uses Dispense & Continue, a label can list several elements. To print every element of a list, use a Data band. A Data band has a data source that provides a table of fields. The Data band prints one row for each row of the data source. When a page has no more space, the system generates a new page and continues printing.
-
Label with multiple entries: The Data band prints one row for each dispense.
-
Label with a single entry: The label prints only the first element of each list.
Finally, select the Printable Document in the Weigh and Dispense Label field of the BOM.
Expected Result#
After you complete this scenario, the Products have their safety information and data sheets, the BOMs exist with the Weigh and Dispense scope, the BOM Context associates them with the Steps, and the electronic scale is ready. The labels are ready if you configured them.
Next Scenario#
Continue with Calculate the Quantities to Weigh.








