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

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

image053.png

Figure 38 - Overview PieceCountingScaleType

Table 66 - 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

0:AnalogItemType

Optional

0:HasComponent

Method

SetReferencePieceWeight

Mandatory

0:HasComponent

Method

StartReference

Optional

0:HasComponent

Method

SetNumberOfReferencePieces

Mandatory

Conformance Units

Scales PieceCountingScale

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 67 and Table 68 specify the Arguments and AddressSpace representation, respectively.

Signature

SetReferencePieceWeight(

[in]UInt32 ReferencePieceWeight

[in]EUInformation EngineeringUnits);

Table 67 - SetReferencePieceWeight Method Arguments

Argument

Description

ReferencePieceWeight

The reference weight of a piece

EngineeringUnits

Unit of the ReferencePieceWeight

Table 68 - 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 69 and Table 70 specify the Arguments and AddressSpace representation, respectively.

Signature

StartReference(

[in]UInt32 NumberOfReferencePieces);

Table 69 - StartReference Method Arguments

Argument

Description

NumberOfReferencePieces

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

Table 70 - 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 71 and Table 72 specify the Arguments and AddressSpace representation, respectively.

Signature

SetNumberOfReferencePieces(

[in]UInt32 NumberOfReferencePieces);

Table 71 - SetNumberOfReferencePieces Method Arguments

Argument

Description

NumberOfReferencePieces

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

Table 72 - SetNumberOfReferencePieces Method AddressSpace definition

Attribute

Value

BrowseName

SetNumberOfReferencePieces

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

InputArguments

Argument[]

0:PropertyType

Mandatory