Model 20

Model 20 Description

Model 20 creates production events when the Turnup Tag value transitions from a specific value to another specific value.   The Event Number is created using the properties defined for this model.  The format of the Event Number is [?YDDD###].  The 1st question mark (?) refers to the 1st character of the Event Number.  The Y refers to a numeric 1 digit year.  The MM refers to a numeric 2 digit month.  The DDD refers to a numeric day of the year.  The ### refers to the batch or event count of the day.  The Weight, Lineal Footage, and Diameter are also acquired for each event/roll for the defined tags and sampling types.  The Sampling Type is a numeric value and can be found in the Sampling_Type table in the SQL database named GBDB.   If the diameter is less than the Minimum Diameter defined then the event status is set to broke.  If the dimensions are unavailable in the Historian the default dimensions are used.

The functionality in this model is available only if you have purchased the Quality Module.

Model 20 Properties

The following Model properties are set up using the Plant Applications Administrator:

Property

Description

Maximum Run Time (Seconds)

optional: Type the number of seconds you want the model to run. The default is 0 (zero), which means the model will not time out. Typically, you will want to limit the run time of the model only if troubleshooting the model (for example, one of the stored procedures is in an infinite loop).

Model Processing Group

Used for multithreading. See the Multithreading topic for more information.

Turnup Tag

The tag used to trigger the creation of a new production event.

From Value

The Value the Batch Tag must transition FROM to trigger the creation of a new production event.

To Value

The Value the Batch Tag must transition TO in order to trigger the creation of a new production event.

Tappi Begin

This value is used as the 1st characters of the Tappi or Event Number.

Use Prod Day (TRUE)

If set to TRUE, the Prod Day setting is used to determine the end of the production day and therefore the end of the month.  This will impact when the Month Character is changed to the new month.  If it is set to FALSE, then midnight is used as the end of the production day.

Prod Day (HH:MM)

The time that the counter is restarted for the number of events made in that day.

Weight Tag

The Tag used to acquire the Roll Weight.

Weight Sampling Type

The Sampling Type used to acquire the Roll Weight.  The Sampling Type is a numeric value and can be found in the Sampling_Type table.

Weight Conv Info

The conversion factor to multiply the Roll Weight by.  The result is stored as Dimension X.

Lineal Ft Tag

The Tag used to acquire the Lineal Footage.

Lineal Ft Sampling Type

The Sampling Type used to acquire the Lineal Footage.  The Sampling Type is a numeric value and can be found in the Sampling_Type table.

Lineal Ft Conv Info

The conversion factor to multiply the Lineal Footage by.  The result is stored as Dimension Y.

Diameter Tag

The Tag used to acquire the Roll Diameter.

Diameter Sampling Type

The Sampling Type used to acquire the Roll Diameter.  The Sampling Type is a numeric value and can be found in the Sampling_Type table.

Diameter Conv Info

The conversion factor to multiply the Roll Diameter by.  The result is stored as Dimension Z.

Minimum Diameter

The Minimum Diameter value must be met or the Roll event is not created.

Default Weight

The Default Weight is used if a value is unavailable in the Historian.

Default Lineal Ft

The Default Lineal Footage is used if a value is unavailable in the Historian.

Default Diameter

The Default Diameter is used if a value is unavailable in the Historian.

See Also