Record Attribute Pattern

(Available with Order Execution Mgt.)

Description

Record Attribute Pattern adds history data for the currently selected source item to pattern the history array points that you create or select.

Notes

Add Record Attribute Pattern to the end of any module where you use the Eliminate Source by Pattern function block to store information about the item that remains after that elimination.

Example

Eliminate Source by Pattern is in a Resequence Block Module,

Place a Record Attribute Pattern block between that block and the Resequence Range block at the end of that module.

Record Attribute Pattern records only one item's  history data to the specified points – the item at the range source head.

Where all item eliminations (by any and all methods) have been completed.

  1. Insert another function block such as

Select Lowest Weight

Select Source By Age

before Record Attribute Pattern to insure that the most appropriate item(s) are selected.

If you have criteria to determine which item should be selected in case of a tie, specify that criteria in an RSA function block inserted before the Select block.

  1. Insert Record Attribute Pattern.

Parameters

This function block has the following parameters:

Important: Select the same array points previously configured for the corresponding Eliminate Source by Pattern  block you inserted earlier in this logic or output module.

Parameter

Description

Attribute Name Array

Text array point.

The names of the selected item's attributes are recorded to elements of this array.

Attribute Value Array

Text array point.

The values of the selected item's respective attributes are recorded to elements of this array.

Pattern History Point

Integer (analog) point.

The actual history of the items selected (one per pass or control cycle) are recorded to this point.

Attribute Name History Array

Text array point.

The history attribute names are recorded to the elements of this array.

Attribute Value History Array

Text array point.

The history attribute values are recorded to the elements of this array.

More information

Eliminate Source By Pattern.

Record selections and rule violations.

RSA function blocks list.