PieceCountingScaleType TOC Previous Next Specification

Represents a piece counting scale.

The representation of the PieceCountingScaleType ObjectType in the address space is shown in the following table:

Name Attribute
NodeId ns=1;i=6
NamespaceUri http://opcfoundation.org/UA/Scales
BrowseName PieceCountingScaleType
NodeClass ObjectType
IsAbstract False
SubtypeOf ScaleDeviceType

The references from the PieceCountingScaleType ObjectType Node are shown in the following table:

Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
HasComponent Variable CurrentPieceCount Number MeasuredItemType Mandatory
HasComponent Object ProductionPreset   ProductionPresetType Optional
HasComponent Variable ReferenceOptimisationRange Number AnalogItemType Optional
HasComponent Method SetNumberOfReferencePieces     Mandatory
HasComponent Method SetReferencePieceWeight     Mandatory
HasComponent Method StartReference     Optional

SetNumberOfReferencePieces

Signature

    SetNumberOfReferencePieces(
        [in]  UInt32 NumberOfReferencePieces
    );
Argument Description
NumberOfReferencePieces  

SetReferencePieceWeight

Signature

    SetReferencePieceWeight(
        [in]  UInt32 ReferencePieceWeight
        [in]  EUInformation EngineeringUnits
    );
Argument Description
ReferencePieceWeight  
EngineeringUnits  

StartReference

Signature

    StartReference(
        [in]  UInt32 NumberOfReferencePieces
    );
Argument Description
NumberOfReferencePieces