The ProductType is an abstract type that defines the basic structure of all objects that represent a product. Figure 20 shows the hierarchical structure and details of the composition. It is formally defined in Table 35. An Object of the type ProductType represents a product related to the scale.

The different subtypes of the ProductType are described in the following sections. The ProductType only contains the basic information about a product. The scale type-specific information is modeled in the subtypes for the different scale types. The Create Method makes it possible that a vendor can add own Variables and extend the Create Method.

image032.gif

Figure 20 − Overview ProductType

Table 35 − ProductType Definition

Attribute

Value

BrowseName

ProductType

IsAbstract

True

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

Subtype of the BaseObjectType defined in OPC 10000-5

0:HasProperty

Variable

BatchId

0:String

0:PropertyType

Optional

0:HasProperty

Variable

BatchName

0:LocalizedText

0:PropertyType

Optional

0:HasProperty

Variable

JobId

0:String

0:PropertyType

Optional

0:HasProperty

Variable

JobName

0:LocalizedText

0:PropertyType

Optional

0:HasComponent

Object

Lock

2:LockingServicesType

Optional

0:HasComponent

Variable

PresetTare

0:AnalogItemType

Optional

0:HasComponent

Variable

ProductId

0:String

0:BaseDataVariableType

Mandatory

0:HasComponent

Variable

ProductMode

0:Boolean

0:TwoStateDiscreteType

Optional

0:HasProperty

Variable

ProductName

0:LocalizedText

0:PropertyType

Mandatory

0:HasComponent

Object

Statistic

StatisticType

Optional

BatchId is the ID of the batch to which this product belongs.

BatchName is the human-readable name of the batch to which this product belongs.

JobId is the ID of the job to which this product belongs.

JobName is the human-readable name of the job to which this product belongs.

PresetTare defines the predefined tare weight. The value must be written before the item is measured.

ProductId defines a unique ID of this product.

The ProductMode displays the current mode of the product. The ProductType instance can be in the mode "Processing" or "Not Processing". The mode is independent from the Lock. Thus, it is possible that a product is in the "Processing mode" and writeable. The combination of these both modes should be used with care as the writeable element may be in an inconsistent state. If the ProductMode is true the Object is in "Processing". Otherwise, it is in the mode "Not Processing".

ProductName defines the name of this product.

Lock is used as container for the LockingServicesType Methods and Properties. It is defined in OPC 10000-100 (Locking). In addition to this definition, the server can also lock an object of the ProductType. In this case the property LockingClient contains the ProductUri of the server and LockingUser contains an empty String.

NOTE: If an Object is writeable not all variables must be writeable. There can be additional restrictions based on the implementation.

Statistic contains the different statistic values of the product. The statistic can’t be reset manually. All measurements that relate to the product of the job will be used in the statistics.

The components of the ProductType have additional Attributes defined in Table 36.

Table 36 – ProductType Type Attribute values for child Nodes

BrowsePath

Value Attribute

Description Attribute

ProductMode

0:TrueState

Processing

ProductMode

0:FalseState

NotProcessing