The PackMLAdminObjectType defines an ObjectType that is used to group all of the Admin information that is part of the PackML information model. It is illustrated in Figure 13.

image017.png

Figure 13 - PackMLAdminObjectType Overview

Table 5 formally defines the PackMLAdminObjectType.

Table 5 – PackMLAdminObjectType Definition

Attribute

Value

BrowseName

PackMLAdminObjectType

IsAbstract

False

Reference

Node Class

BrowseName

DataType

TypeDefinition

ModelingRule

RW

Subtype of the BaseObjectType from OPC 10000-5.

HasComponent

Variable

Parameter

PackMLDescriptorDataType[]

BaseDataVariableType

Optional

R

HasAlarm

Variable

Alarm

PackMLAlarmDataType[]

BaseDataVariableType

Optional

R

HasComponent

Variable

AlarmExtent

Int32

BaseDataVariableType

Optional

R

HasAlarmHistory

Variable

AlarmHistory

PackMLAlarmDataType[]

BaseDataVariableType

Optional

R

HasComponent

Variable

AlarmHistoryExtent

Int32

BaseDataVariableType

Optional

R

HasWarning

Variable

Warning

PackMLAlarmDataType[]

BaseDataVariableType

Optional

R

HasComponent

Variable

WarningExtent

Int32

BaseDataVariableType

Optional

R

HasStopReason

Variable

StopReason

PackMLAlarmDataType

BaseDataVariableType

Optional

R

HasComponent

Variable

StopReasonExtent

Int32

BaseDataVariableType

Optional

R

HasComponent

Variable

ModeCurrentTime

Int32[]

BaseDataVariableType

Optional

R

HasComponent

Variable

ModeCumulativeTime

Int32[]

BaseDataVariableType

Optional

R

HasComponent

Variable

StateCurrentTime

Int32[][]

BaseDataVariableType

Optional

R

HasComponent

Variable

StateCumulativeTime

Int32[][]

BaseDataVariableType

Optional

R

HasComponent

Variable

ProdConsumedCount

PackMLCountDataType []

BaseDataVariableType

Optional

R

HasComponent

Variable

ProdProcessedCount

PackMLCountDataType []

BaseDataVariableType

Optional

R

HasComponent

Variable

ProdDefectiveCount

PackMLCountDataType []

BaseDataVariableType

Optional

R

HasComponent

Variable

AccTimeSinceReset

Int32

BaseDataVariableType

Optional

R

HasComponent

Variable

MachDesignSpeed

Float

BaseDataVariableType

Optional

R

Parameter - The parameter tags associated with the local interface are typically used as parameters that are displayed or used on the unit locally, for example from an HMI. These parameters can be used to display any quality, alarm, or machine downtime parameter. The Parameters are typically limited to parameters related the unit. The length of the array is the maximum number of parameters needed.

Alarm - Alarm Events (trigger, value, message, category,…). The alarm tags associated to the local interface are typically used as parameters that are displayed or used on the unit locally, for example from an HMI. These alarm parameters can be used to display any alarm, or machine downtime cause that is currently occurring in the system. The alarms are typically limited to the machine unit. Each machine can define as many alarms as are required for the machine.

AlarmExtent - Defines the maximum number of alarms available, for the machine annunciation or reporting

AlarmHistory - These alarm history parameters can be used to display any alarm history, or machine downtime cause.

AlarmHistoryExtend - associated with the maximum number of alarms needed to be archived or tagged as alarm history for the machine.

Warning - Array of warning information Events. Warnings are general events that do not cause the machine to stop, but may require operator action because a stoppage may be imminent. Warning elements have the same structure as Stop Reason elements.

WarningExtent - Defines the maximum number of warning elements available.

StopReason - A structure for the stop reason Event (similar to Alarms) which define the possible stop reasons (trigger, value, message, category). Stop Reason is typically used for “First Out Fault” Reporting and Other Stoppage Events. The stop reason is the first event captured during an abort, held, suspended or stop event.

StopReasonExtent - Defines the maximum number of stop reason elements or available.

ModeCurrentTime - The current amount of time, in seconds, that the machine has been in each mode. The array index for a mode is the Unit mode value. The values roll over to 0 at 2,147,483,647.

ModeCumulativeTime - The cumulative amount of time, in seconds, that the machine has been in each mode. The array index for a mode is the Unit mode value. The value is the cumulative elapsed time the machine has spent in each mode since its timers and counters were reset. The values roll over to 0 at 2,147,483,647.

StateCurrentTime - The current amount of time, in seconds, that the machine has been in each state for each mode. The first array index for is the Unit mode value, the second array index is the state value.. The values roll over to 0 at 2,147,483,647.

StateCumulativeTime - The cumulative amount of time, in seconds, that the machine has been in each state for each mode. The first array index for is the Unit mode value, the second array index is the state value. The value is the cumulative elapsed time the machine has spent in each mode and state since its timers and counters were reset. The values roll over to 0 at 2,147,483,647

ProdConsumedCount - Represents the material used/consumed in the production machine. An example of tag usage would be the number of bags consumed in a filler, or bagger packaging machine, or the amount of linear length used, or the number caps used. This tag can be used locally or remotely if needed. The extent of the array is typically limited to the number of raw materials needed to be counted. The array is typically used for unit machines that run multiple raw materials.

ProdProcessedCount - Represents the products processed in the production machine. An example of tag usage would be the number of products that were made, including all good and defective products. The structure of the ProdProcessedCount is the same as the ProdConsumedCount. The length of the array is typically limited to the number of products that need to be counted. The number of products processed minus the defective count is the number of non-defective products made by the machine. The array index of # = 0 should be reserved for the count of the number of units from the primary production stream.

ProdDefectiveCount - Represents the products marked as defective in the production machine. The structure of the ProdDefectiveCount is the same as the ProdConsumedCount. The length of the array is typically limited to the number of products that need to be counted. The number of products processed minus the defective count is the number of non-defective products made by the machine. The array index of # = 0 should be reserved for the count of the number of units from the primary production stream.

AccTimeSinceReset - Represents the amount of time, in seconds, since the last reset of all counters as triggered. Counters that are reset are:

•UnitName.Admin.ModeCurrentTime[#]

•UnitName.Admin.ModeCumulativeTime[#]

•UnitName.Admin.StateCurrentTime[#,#]

•UnitName.Admin.StateCumulativeTime[#,#]

•UnitName.Admin.ProdConsumedCount[#].Count

•UnitName.Admin.ProdProcessedCount[#].Count

•UnitName.Admin.ProdDefectiveCount[#].Count

•UnitName.Admin.AccTimeSinceReset

MachDesignSpeed - Represents the maximum design speed of the machine in primary packages per minute for the package configuration being run. This speed is NOT the maximum speed as specified by the manufacturer, but rather the speed of the machine is designed to run in its installed environment.