prt_reg_val.cfg

Region specific configuration is done with prt_reg_val.cfg.

A layout of the text is:

Field

Description

Region_id

Region id

Item_or_ref

Type of matching to perform. Valid values are:

 

1

match item_id

 

2

match reference_id

Reader_point_id

Reader values are provided with this point. It can be a string or numeric point. The reason that we are providing a numeric point as reader point is that Equation with override derived point is only applicable to numeric points.

Class_id

Class Id to use for matching (used if multiple item per location configured, and if only one item type is being identified. For example, PRT can be configured to contain 2 items per location, one carrier and one buck, and the readers in the system read the id's of carriers. In this case the user configures PRT so that carrier item types and buck item types are in different classes; and uses carrier class in this field)

Validation_trigger

When received, depending on the next field, used to trigger the validation process. This field is ignored if the next field is Use_Reader.

Validation_trigger_type

Validation trigger types are:

 

1

Transition_high

 

2

Transition_low

 

3

Limit_switch

 

4

Use_Reader_point

Statistics_point_id

Point id to put the run time statistics. It should be a DWORD array of 9 elements, but if it is less than 9 only a portion of the statistics will be written.

Reader_format

It is a C print formatting string. It should be in quotes. For string points use variations of %s, for analog points use variation of %ld. If empty "%s" (or "%ld" depending on the point type) is used. Reader values are formatted with this string before trying to match it to the head item's item_id or reference_id.

Invalid_reset_value

When a region has a mismatch with reader value, region image is assumed invalid. Region's invalid count is set to this value. This count shows the number of consecutive good reads that is necessary to make the region valid again.

Control_With_Track

This value is used when backing files are created for the first time.

Use_OOS

If the region image does not match the read, and the item that should have been at the head of the region is not at the head, but it is in the same region; Automated Region Validation will move the items that are in front of the identified item to the detainment region of the region. The move is done as item moves if this flag is set to 0. Otherwise (if it is 1), out of sequence processing feature of PRT will be used to determine how those items will be treated.

More information

Automated region validation.