6 PackML Data Representation Model ToC Previous Next

6.3 Objects and ObjectTypes ToC Previous Next

6.3.4 PackMLAdminObjectType ToC Previous Next index

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.

readme_files/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 Parameters PackMLDescriptorDataType[]. BaseDataVariableType Optional R
HasAlarm Variable <Alarm> PackMLAlarmDataType PackMLAlarmVariableType Optional Placeholder R
             
HasComponent Variable AlarmExtent Int32 BaseDataVariableType Optional R
HasAlarmHistory Variable <AlarmHistory> PackMLAlarmDataType PackMLAlarmVariableType Optional Placeholder R
HasComponent Variable AlarmHistoryExtent Int32 BaseDataVariableType Optional R
             
HasWarning Variable <Warning> PackMLAlarmDataType PackMLAlarmVariableType Optional Placeholder R
             
HasComponent Variable WarningExtent Int32 BaseDataVariableType Optional R
HasStopReason Variable <StopReason> PackMLAlarmDataType PackMLAlarmVariableType Optional Placeholder 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
             

Parameters - 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. The alarms variables can have any name, but they are of PackMLAlarmVariableType. .

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

AlarmHistory - Defines the maximum number of alarm history elements available.

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 - An array of stop reason Events (similar to Alarms) which define the possible stop reasons (trigger, value, message, category).

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.

Previous Next