The factory's Tracker engineers:
Open the Range Source function block Eliminate Sources Based on Percentages.
Name the block RAMPercent.
Configure the first array point as follows.
Open the P1 dialog box for Attribute Name Array.
Create a new virtual, text array point.
Note: The array point will identify the attribute whose values will be evaluated for percentage distribution.
Enter 3 in the Elements on the Point Properties dialog box General tab.
Note: Each of the 3 elements will hold the attribute name that will correspond with the value in the Attribute Value Array. For this function block each Attribute name element will have RAM as the value.
Select Saved in the in the Initialization field on the Virtual tab in the Point Properties dialog box.
Note: The value that is set in the array will be saved even if the project stops.
Configure, in addition to the Attribute Name Array, the next four array parameters that define the evaluation rules.
Note: Each element in the array holds a value that refers back to and defines the corresponding element in the Percent array.
Parameter |
Point Type |
Elements |
Point Name |
Attribute Name Array |
Text |
3 |
RAMATTNAME |
Attribute Value Array |
Text |
3 |
RAMATTVALUES |
Upper Release % Array |
Integer |
3 |
RAMUPPERP |
Lower Release % Array |
Integer |
3 |
RAMLOWERP |
Configure the two parameters that will provide the count data.
Parameter |
Point Type |
Elements |
Point Name |
Attribute Release Array |
Integer |
2 |
RAMATTRELEASE |
Total Release Count |
Integer |
1 |
COUNTTOTAL |
A brief description of the percent calculation in this example is as follows.
The actual number of items that can be released for each attribute value is constantly re-evaluated based on the percentage of the constantly increasing total count.
Attribute |
Upper |
Lower |
Attribute |
Total |
Calculations |
MEM128 |
30 |
20 |
27 |
|
30% |
MEM256 |
40 |
25 |
25 |
90 |
28% |
MEM512 |
50 |
40 |
38 |
|
42% |
Attribute Release is the actual number of items released for the respective attribute value.
This count takes place during runtime.
The actual Attribute Release numbers are divided by the Total Release Count, which is the sum of all the released items.
In this example, the MEM128 item has reached its upper release limit.
No more can be selected until the Total Release Count increases enough to bring the acceptable release number back inside the boundary of the Upper Maximum Release %.
Based on upper release targets, MEM256 needs to increase release more than the others.
Depending on other criteria, the additional percentage may be taken from MEM128; as a result, the MEM128 percent release will decrease.
MEM512 is in good shape.
The Total Count is a parameter that is used throughout the Range Source Architecture.
The parameter uses the same point; the point counts the total number of released items.
Close the block.
Compile the RLM.
Result: The RLM will use this block to target the minimum and maximum percent for each RAM part number.
Example 4.2. Define an Eliminate Source By Percentages Evaluation |