Eliminate Decision by Increasing Weight Percentages (Ext. Attr.)

Description

Eliminate a Decision by Increasing Weight Percentages will adjust a decision's weight, and is usually run in conjunction with the Select Decision with Highest Order & Weight function block. The weight change only has effect during the current control cycle.

Modifications

This function block has an additional parameter, an array Point ID that lists the item class for each standard or extended attribute. Only items that belong to the specified item class will be considered. Remainder of this function block is unchanged.

Parameters

This function block has the following parameters:

Parameter

Description

Always Evaluate

Hard, Soft or Breakable.

Controls what happens when the extension eliminates all items in the range source.

 

Hard

All items will remain eliminated. Enter a wait state after the logic script has completed.

 

Soft

Roll back any eliminations made by this extension.

 

Breakable

Roll back any eliminations made by this extension that have a danger point value of TRUE (non zero).

Routing modules will first use the danger defined for each individual decision.

However, one of the following may occur instead.

 

 

If:

Then:

 

 

No danger point has been configured for the decision.

The site-wide danger point will be used.

 

 

This function block is used in the decision output logic.

The site-wide danger point will be used.

 

 

No danger point can be found for a decision.

The decision remains eliminated.

Item Class Array

Name of array point that lists item class of the item that contains the extended attribute. Specify the class of the items to be considered or leave blank for all items.

Attribute Name Array

Name of the array point that lists the attribute names to be compared.

Attribute Value Array

Name of the array point that contains the Attribute Value. Each Element can contain one or multiple values separated by a comma. Do not include quotes.

Example

element 0 = Blue,Green

element 1 = K

Upper Release % Target Array

The upper percentage limit, of an acceptable range, for items that should be released with the corresponding standard or extended attribute value.

Lower Release % Target Array

The lower percentage limit, of an acceptable range, for items that should be released with the corresponding standard or extended attribute value.

Attribute Released Array

The actual count of items released with the corresponding standard or extended attribute value.

Total Released Count

Integer (analog) point.

Counter point stores and continues to increment the total number of items released.

Note: All the function blocks that deal with extended attributes can be provided INTERNALHOLD text to read the value of an internal hold.

Values are:

0

Internal Hold is not set.

1

Internal Hold is set.

However, you cannot use any of the extended attribute function blocks to modify system attributes.

More information

Eliminate Decision by Increasing Weight Percentages.

Routing function blocks list.