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 36. 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.

image033.png

Figure 20 – Overview ProductType

Table 36 – 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

LockingServicesType

Optional

0:HasComponent

Variable

PresetTare

AnalogItemType

Optional

0:HasComponent

Variable

ProductId

0:String

BaseDataVariableType

Mandatory

0:HasComponent

Variable

ProductMode

Boolean

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 Product can be in the mode "Processing" or "Not Processing". The mode is independent from the LockingService. 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 LockingServices Methods and Properties. It is defined in OPC 10000-100 (Locking). Additonal to this definition also the server can lock an object of the ProductType. In this case the property LockingClient contains the ProductUri of the server and LockingUser contains a 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.