10 OPC UA DataTypes

10.1 AbstractWeightType

This is an abstract DataType that has the PrintableWeightType and the WeightType as subtypes. Both subtypes have the same structure, but their members have a different DataType. The AbstractWeightType is necessary to be able to define a VariableType with AbstractDataType and to add the actual DataType during instantiation. It is formally defined in

Table 144.

Table 144 - AbstractWeightType Definition
Attribute Value
BrowseNameAbstractWeightType
IsAbstractTrue
DisplayName Type IsArray Optional
Subtype of Structure defined in OPC 10000-5

10.2 PrintableWeightType

The DataType defines the general structure of a PrintableWeight. It is formally defined in Table 145.

Table 145 - PrintableWeightType Definition
Attribute Value
BrowseNamePrintableWeightType
IsAbstractFalse
DisplayName Type IsArray Optional
Subtype of AbstractWeightType

The structure is defined in Table 146.

Table 146 - PrintableWeightType Structure
NameTypeDescription
PrintableWeightType structureSubtype of the AbstractWeightType defined in this Companion Specification

Gross

0:StringGross defines the gross value of weight in 0:String without a unit.

Net

0:StringNet defines the net value of weight in 0:String without a unit.

Tare

0:StringTare defines the tare value of weight in 0:String without a unit.

10.3 WeightType

The DataType defines the general structure of a weight. It is formally defined in Table 147.

Table 147 - WeightType Definition
Attribute Value
BrowseNameWeightType
IsAbstractFalse
DisplayName Type IsArray Optional
Subtype of AbstractWeightType

The structure is defined in Table 148.

Table 148 - WeightType Structure
NameTypeDescription
WeightTypestructureSubtype of the AbstractWeightType defined in this Companion Specification

Gross

0:DoubleGross defines the gross value of weight as a 0:Double precision floating point number.

Net

0:DoubleNet defines the net value of weight as a 0:Double precision floating point number.

Tare

0:DoubleTare defines the tare value of weight as a 0:Double precision floating point number.

10.4 RecipeReportElementType

The DataType defines the general structure of a RecipeReportElementType. The RecipeReportElementType is used to create a RecipeReport (see section 7.31 for a detailed description of a RecipeReport). It is formally defined in Table 149.

Table 149 - RecipeReportElementType Definition
Attribute Value
BrowseNameRecipeReportElementType
IsAbstractFalse
DisplayName Type IsArray Optional
Subtype of Structure defined in OPC 10000-5
ReportMessage0:LocalizedTextFalseFalse
TimestampUtcTimeFalseFalse

The structure is defined in Table 150.

Table 150 - RecipeReportElementType Structure
NameTypeDescription
RecipeReportElementTypestructureSubtype of the AbstractWeightType defined in this Companion Specification

ReportMessage

0:LocalizedTextReportMessage defines a message that is to be added to the report.

Timestamp

UtcTimeTimestamp defines the time where the RecipeMessage was generated.

10.5 RecipeTargetValueType

The DataType defines the general structure of a RecipeTargetValueType. The RecipeTargetValueType is used to define and describe target values for a recipe. It is formally defined in Table 151.

Table 151 - RecipeTargetValueType Definition
Attribute Value
BrowseNameRecipeTargetValueType
IsAbstractFalse
DisplayName Type IsArray Optional
Subtype of Structure defined in OPC 10000-5

The structure is defined in Table 152.

Table 152 - RecipeTargetValueType Structure
NameTypeDescriptionOptional
RecipeTargetValueTypestructureSubtype of the AbstractWeightType defined in this Companion Specification

TargetValueId

UInt32

TargetValueId defines a unique identifier for the target value within the scale. If the value does exist in the address space, the TargetValueNodeId should be used.

False

TargetValueNodeId

NodeIdTargetValueNodeId defines the NodeId of the target value within the address space of the scale. If the value does exist in the address space, this value should be used.True

TargetValueName

0:LocalizedText

TargetValueName defines a user-readable name of the target value.

False

10.6 EqualityAndRelationalOperator

This Enumeration describes the different condition modes for an analog condition. Its representation in the AddressSpace and the possible values are defined in Table 153.

Table 153 - EqualityAndRelationalOperator Definition
Name Value Description
Equal_00The related condition is solved if the two values are equal
NotEqual_11The related condition is solved if the two values are not equal
LessOrEqualThan_22The related condition is solved if the variable value is less or equal than the reference value
GreaterOrEqualThan_33The related condition is solved if the variable value is greater or equal than the reference value
LessThan_44The related condition is solved if the variable value is less than the reference value
GreaterThan_55The related condition is solved if the variable value is greater than the reference value

10.7 EdgeOperator

This Enumeration describes the different condition modes for a binary condition. Its representation in the AddressSpace and the possible values are defined in Table 154.

Table 154 - EdgeOperator Definition
Name Value Description
Rising_00The related condition is solved if the variable value is change from false to true.
Falling_11The related condition is solved if the variable value is change from true to false.

10.8 DraftShieldType

This Enumeration describes the different positions of the draft shield. The value "all" accesses all possible DraftShields. Its representation in the AddressSpace and the possible values are defined in Table 155.

Table 155 - DraftShieldType Definition
Name Value Description
Right_00The draft shield that is located right of the scale.
Left_11The draft shield that is located left of the scale.
Top_22The draft shield that is located on top of the scale.
All_33All draft shield of the scale.

10.9 TareMode

This Enumeration describes how the tare value is set. Its representation in the AddressSpace and the possible values are defined in Table 156.

Table 156 - TareMode Definition
Name Value Description
None_00No tare mode is used
MeasuredTare_11The tare value is used. The tare value must be determined before measurement.
PresetTare_22The preset tare value is used as tare value.
ProportionalTare_33The proportional tare value is used as tare value.

10.10 ToleranceState

This Enumeration describes the different states of tolerance. Its representation in the AddressSpace and the possible values are defined in Table 157.

Table 157 - ToleranceState Definition
Name Value Description
In_00The value is within the tolerance range.
Under_11The value is underneath the tolerance range.
Over_22The value is above the tolerance range
UnderOrOver_33The value is underneath or above the tolerance range and is not further determined.

10.11 RecipeThresholdType

This Structure describes threshold values for recipes. It is formally defined in Table 158.

Table 158 - RecipeThresholdType Definition
Attribute Value
BrowseNameRecipeThresholdType
IsAbstractFalse
DisplayName Type IsArray Optional
Subtype of Structure defined in OPC 10000-5

The Structure is defined in Table 159.

Table 159 - RecipeThresholdType Structure
NameTypeDescriptionOptional
RecipeThresholdTypeStructureStructure describing threshold values for recipes.

ThresholdId

UInt32ThresholdId defines a unique identifier for the threshold.False

ThresholdNodeId

NodeIdThresholdNodeId defines the NodeId of the threshold within the address space of the scale. If the value does exist in the address space, this value should be used.True

ThresholdName

LocalizedTextThresholdName defines a user-readable name of the threshold.False

10.12 RateControlMode

This Enumeration describes the RateControlMode used in the ContinuousScaleType. Its representation in the AddressSpace and the possible values are defined in Table 160.

Table 160 - RateControlMode Definition
Name Value Description
Gravimetric_00Rate control mode based on weight measurement.
Volumetric_11Rate control mode based on volume measurement