The PieceCountingScaleType defines the structure of an Object of the PieceCountingScaleType. Figure 38 shows the hierarchical structure and details of the composition. It is formally defined in Table 61.

An Object of the PieceCountingScaleType represents a piece counting scale. It defines additional methods and properties required for managing the piece counting scale.

image054.png

Figure 38 – Overview PieceCountingScaleType

Table 61 – PieceCountingScaleType

Attribute

Value

BrowseName

PieceCountingScaleType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

Subtype of the ScaleDeviceType

0:HasComponent

Variable

CurrentPieceCount

0:Number

MeasuredItemType

Mandatory

0:HasComponent

Variable

ReferenceOptimisationRange

0:Number

AnalogItemType

Optional

0:HasComponent

Method

SetReferencePieceWeight

Mandatory

0:HasComponent

Method

StartReference

Optional

0:HasComponent

Method

SetNumberOfReferencePieces

Mandatory

CurrentPieceCount defines the number of pieces that are currently measured related to the ReferencePieceWeight.

ReferenceOptimisationRange defines the tolerance range within which the scale may optimize the ReferencePieceWeight.

ProductionPreset, which is inherited from ScaleDeviceType shall have instances of PieceCountingProductType or a subtype in the Products folder.

Sets the value for the ReferencePieceWeight (product-specific data). The signature of this Method is specified below. Table 62 and Table 63 specify the Arguments and AddressSpace representation, respectively.

Signature

SetReferencePieceWeight(

[in]UInt32 ReferencePieceWeight

[in]0:EUInformation EngineeringUnits);

Table 62 – SetReferencePieceWeight Method Arguments

Argument

Description

ReferencePieceWeight

The reference weight of a piece

EngineeringUnits

Unit of the ReferencePieceWeight

Table 63 – SetReferencePieceWeight Method AddressSpace definition

Attribute

Value

BrowseName

SetReferencePieceWeight

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

Triggers the reference weighing process. The signature of this Method is specified below. Table 64 and Table 65 specify the Arguments and AddressSpace representation, respectively.

Signature

StartReference(

[in]UInt32 NumberOfReferencePieces);

Table 64 – StartReference Method Arguments

Argument

Description

NumberOfReferencePieces

The number of the references Pieces that should used by the next references process

Table 65 – StartReference Method AddressSpace definition

Attribute

Value

BrowseName

StartReference

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory

Sets the value for NumberOfReferencePieces (product-specific data). The signature of this Method is specified below. Table 66 an Table 67 specify the Arguments and AddressSpace representation, respectively.

Signature

SetNumberOfReferencePieces (

[in] UInt32 NumberOfReferencePieces);

Table 66 – SetNumberOfReferencePieces Method Arguments

Argument

Description

NumberOfReferencePieces

The number of the references Pieces that should used by the next references process

Table 67 – SetNumberOfReferencePieces Method AddressSpace definition

Attribute

Value

BrowseName

SetNumberOfReferencePieces

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory