6.4 DataTypes

6.4.1 OPENSCSAggregationDataType

The OPENSCSAggregationDataType is a type of structure that identifies a parent element and a collection of packed elements. This is used in the aggregation packing and unpacking methods.

The structure is defined in Table 48

Table 48 – OPENSCSCollectionDataType Structure
Name Type Description
OPENSCSAggregationDataTypestructure

ParentElement

OPENSCSLabelDataTypeIdentifies the single serial number representing the aggregation which acts as the parent

ParentElementCollection

OPENSCSLabelCollectionDataTypeIdentifies the Serial Number Collection that was added to, or removed from, the parent element.

Table 49 is the AddressSpace definition of an OPENSCSCollectionDataType.

Table 49 – OPENSCSAggregationDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSAggregationDataType
IsAbstractFalse
Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the Structure defined in OPC 10000-5

6.4.2 OPENSCSCollectionDataType

The OPENSCSCollectionDataType is an abstract subtype of OPC UA Structure that defines a collection of Serial Numbers and associated Collection information. No instances of this type can exist.

There is always at least one Serial Number in the collection.

The structure is defined in Table 50.

Table 50 – OPENSCSCollectionDataType Structure
NameTypeDescription
OPENSCSCollectionDataType structure

ID

0:StringAn identification of the Collection. It usually refers to a specific packaging level of a specific product. However, several products may share the same Pool ID if manufacturer or serial number authority wants to ensure globally unique serial numbers across all products.

Description

0:StringAdditional information and description about the Collection.

State

OPENSCSSerialNumberStateEnumState of the Serial Numbers in the Collection as defined in Table 1 – Serial Number State Definitions.

AssociatedPoolID

0:StringAn identification of the Serial Number Pool from which the Serial Numbers were obtained.

SerialNumbers

String []Array of Serial Numbers in the collection.

Table 51 is the AddressSpace definition of an OPENSCSCollectionDataType.

Table 51 – OPENSCSCollectionDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSCollectionDataType
IsAbstractTrue
Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the Structure defined in OPC 10000-5

6.4.3 OPENSCSEventStreamArgumentDataType

The OPENSCSEventStreamArgumentDataType is a subtype of OPC UA Structure that defines the generateOptions argument for an EPCISStream GenerateFileForWrite method. It defines the serial number format information for object events and for aggregation events, and event context information. The structure is defined in Table 54.

Table 52 – OPENSCSEventStreamArgumentDataType Structure
Name Type Description
OPENSCSEventStreamArgumentDataTypestructure

SNFormat

0:StringThe format for of serial numbers in object events, can be a null string if there are no object events in the transferred events.

ParentSNFormat

0:StringThe format for of parent serial numbers in aggregation events, can be a null string if there are no aggregation events in the transferred events.

PackedElementSNFormat

0:StringThe format for of packed element serial numbers in aggregation events, can be a null string if there are no aggregation events in the transferred events.

EventContext

OPENSCSKeyValueDataType[]Zero or more key value pairs that define additional context information for the event, such as order number or lot number.

Table 55 is the AddressSpace definition of an OPENSCSEventStreamArgumentDataType.

Table 53 – OPENSCSEventStreamArgumentDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSEventStreamArgumentDataType
IsAbstractFalse
Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the Structure defined in OPC 10000-5

6.4.4 OPENSCSKeyValueDataType

The OPENSCSKeyValueDataType is a subtype of OPC UA Structure that defines two linked data items: the key, which is a unique identifier for some item of data, and the value, which is the data that is identified. The structure is defined in Table 54.

Table 54 – OPENSCSKeyValueDataType Structure
NameTypeDescription
OPENSCSKeyValueDataTypestructure

Key

0:Stringunique identifier for some item of data

Value

0:Stringdata that is identified

Table 55 is the AddressSpace definition of an OPENSCSKeyValueDataType.

Table 55 – OPENSCSKeyValueDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSKeyValueDataType
IsAbstractFalse
Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the Structure defined in OPC 10000-5

6.4.5 OPENSCSLabelDataType

The OPENSCSLabelDataType describes a subtype of Structure type that defines a single serial number and label, which may be associated with an SID, and collection of properties in the form of OPENSCSKeyValueDataType. The structure is defined in Table 56.

Table 56 – OPENSCSLabelDataType Structure
NameTypeDescription
OPENSCSLabelDataTypestructure

ID

0:StringThe serial number of the label in the SID or EPC format.

LabelProperties

OPENSCSKeyValueDataType[]An optional array of additional properties in the form of Key/Value pairs

Table 57 is the address space definition of an OPENSCSLabelDataType.

Table 57 – OPENSCSSNLabelDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSLabelDataType
IsAbstractFalse
Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the Structure defined in OPC 10000-5

6.4.6 OPENSCSLabelCollectionDataType

The OPENSCSLabelCollectionDataType describes a type that defines a collection of Labels with Serial Numbers and associated Collection information. The structure is defined in Table 58.

Table 58 – OPENSCSLabelCollectionDataType Structure
NameTypeDescription
OPENSCSLabelCollectionDataTypestructure

LabelCollection

OPENSCSLabelDataType[]The collections of labels with serial numbers

LabelCollectionProperties

OPENSCSKeyValueDataType[]An optional array of additional properties in the form of Key/Value pairs which are valid for the whole collection

Table 59 is the AddressSpace definition of an OPENSCSLabelCollectionDataType.

Table 59 – OPENSCSLabelCollectionDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSLabelCollectionDataType
IsAbstractFalse
Reference NodeClass BrowseName DataType TypeDefinition Modelling Rule
Subtype of the OPENSCSCollectionDataType

6.4.7 OPENSCSLabelPropertyDataType

The structure is defined in Table 60.

Table 60 – OPENSCSLabelPropertyDataType Structure
Name Type Description
OPENSCSLabelPropertyDataTypestructure

PropertyID

0:StringAn identification of the label property.

PropertyDescription

0:StringAdditional information and description about the label property.

PropertyValue

0:StringDefines value for the specific label property. The format is not defined in this specification and must be negotiated between Information Providers and Information Requesters during design or change management of a system.

Table 61 is the AddressSpace definition of an OPENSCSLabelPropertyDataType.

Table 61 – OPENSCSLabelPropertyDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSLabelPropertyDataType
IsAbstractFalse
References Node Class BrowseName Data Type TypeDefinition Modelling Rule
Subtype of Structure defined in OPC 10000-5

6.4.8 OPENSCSReturnEnum

The OPENSCSReturnEnum describes the possible return status from an OPENSCS Method call.

The OPENSCSReturnEnum is defined in Table 62.

Table 62 – OPENSCSReturnEnum values
Name Value Description
Undefined00Undefined value, should never be seen.
NoError11There were no errors in processing the method.
InvalidSerialNumberCollection22The Serial Number Collection ID does not match a Serial Number Collection managed by the server.
InsufficientSerialNumbers33Fewer Serial Numbers are available from the pool, then are requested.
InvalidSerialNumbersFormat44The serial number format is not known or defined in the server.
InvalidRequestToken55The Request Token has a value not understood by the server.
InvalidSelectionCriteria66The Selection Criteria is not known or defined in the server.
UnableToAcceptSerialNumberEvents77The server cannot accept Serial Number events.
UnableToAcceptLabelEvents88The server cannot accept Label events.
UnableToAcceptSIDEvents99The server cannot accept SID events.
UnknownAggregationSID1010The SID of the aggregation for packing or unpacking is unknown.
InsufficientPrivilegeToExecute1111The server has determined that the client does not have sufficient privilege for the method to execute.

6.4.9 OPENSCSSerialNumberStateEnum

The OPENSCSSerialNumberStateEnum listed in Table 63 describes the possible serial number states.

Table 63 – OPENSCSSerialNumberStateEnum values
Name Value Description
Unassigned00See Table 1.
Unallocated11See Table 1.
Allocated22See Table 1.
SNInvalid33See Table 1.
Encoded44See Table 1.
LabelSampled55See Table 1.
LabelScrapped66See Table 1.
Commissioned77See Table 1.
Sampled88See Table 1.
Inactive99See Table 1.
Destroyed1010See Table 1.
Released1111See Table 1.

6.4.10 OPENSCSSIDClassPropertyDataType

The structure is defined in Table 64.

Table 64 – OPENSCSSIDClassPropertyDataType Structure
Name Type Description
OPENSCSSIDClassPropertyDataTypestructure

PropertyID

0:StringAn identification of the SID Class Property.

PropertyDescription

0:StringAdditional information and description about the SID Class Property.

PropertyValue

0:StringDefines value for the specific SID Class Property. The format is not defined in this specification and must be negotiated between Information Providers and Information Requesters during design or change management of a system.

LabelProperty

OPENSCSLabelPropertyDataType[]

Table 65 is the AddressSpace definition of an OPENSCSSIDClassPropertyDataType.

Table 65 - OPENSCSSIDClassPropertyDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSSIDClassPropertyDataType
IsAbstractFalse
References Node Class BrowseName Data Type TypeDefinition

Modelling Rule

Subtype of Structure defined in OPC 10000-5

6.4.11 OPENSCSSNCollectionDataType

The OPENSCSSNCollectionDataType describes a subtype of OPENSCSCollectionDataType type that defines a collection of Serial Numbers and associated Collection information.

Table 66 is the AddressSpace definition of an OPENSCSSNCollectionDataType.

Table 66 – OPENSCSSNCollectionDataType AddressSpace Definition
Attribute Value
BrowseNameOPENSCSSNCollectionDataType
IsAbstractFalse
Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the OPENSCSCollectionDataType