Annex B Usage with OPC UA for Devices (Informative)This chapter shows an example of the extensions to the base model which are needed to use the base model together with OPC UA DI.
The following figure shows as an example how the objects are referred by the standard DI entry points “DeviceSet” and “NetworkSet”.
B.1 OPC UA Object TypesTo use the base information model together with OPC UA DI some object types are defined which implement the interfaces defined in the base information model.
The following figure illustrates the additional object types used to extend the base information model for the use with OPC UA DI.
B.1.1 PnDIDeviceType
Table 112 – PnDIDeviceType
Attribute
Value
BrowseName PnDIDeviceType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of DeviceType defined in [OPC 10000-100] . HasInterface ObjectType IPnDeviceType Applied from IPnDeviceType HasComponent Object Interfaces PnInterfaceContainerType Mandatory HasComponent Object Modules PnRealModuleContainerType Optional HasComponent Object Assets PnAssetContainerType Optional HasComponent Object IM PnIdentificationType Optional HasProperty Variable Vendor String PropertyType Optional HasComponent Variable Diagnosis PnDeviceDiagnosis[] BaseDataVariableType Optional HasComponent Object Alarms FolderType Optional HasComponent Method ShowLocation ShowLocationMethod Optional GeneratesEvent ObjectType PnDiagnosisAlarmType GeneratesEvent ObjectType PnAssetChangedEventType HasProperty Variable GSDDescription String PropertyType Optional HasComponent Variable State PnDeviceStateEnumeration BaseDataVariableType Optional
Although mandatory, some of the properties inherited from DeviceType may not be supported. In this case Vendors shall provide an empty string for properties with DataType String , an empty text field for properties with DataType LocalizedText and -1 for the RevisionCounter property (see [OPC 10000-100] - DeviceType also).
The following PROFINET properties are equal to their counterparts of PnIdentificationType an shall have the same content:
BrowseName
Method
Source
SoftwareRevision
Read I&M0 | IM_Software_Revision
HardwareRevision
Read I&M0 | IM_Hardware_Revision
SerialNumber
Read I&M0 | IM_Serial_Number
RevisionCounter
Read I&M0 | IM_Revision_Counter
B.1.2 PnDIControllerType
Table 113 – PnDIControllerType
Attribute
Value
BrowseName PnDIControllerType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of DeviceType defined in [OPC 10000-100] . HasInterface ObjectType IPnControllerType Applied from IPnControllerType HasComponent Object Interfaces PnInterfaceContainerType Mandatory HasComponent Object Modules PnRealModuleContainerType Optional HasComponent Object Assets PnAssetContainerType Optional HasComponent Object IM PnIdentificationType Optional HasProperty Variable Vendor String PropertyType Optional HasComponent Variable Diagnosis PnDeviceDiagnosis[] BaseDataVariableType Optional HasComponent Object Alarms FolderType Optional HasComponent Method ShowLocation ShowLocationMethod Optional GeneratesEvent ObjectType PnDiagnosisAlarmType GeneratesEvent ObjectType PnAssetChangedEventType HasComponent Object ARs PnApplicationRelationContainerType Optional
B.1.3 PnDIRealModuleType
Table 114 – PnDIRealModuleType
Attribute
Value
BrowseName PnDIRealModuleType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of ComponentType defined in [OPC 10000-100] . HasInterface ObjectType IPnRealModuleType Applied from IPnRealModuleType HasProperty Variable Slot UInt16 PropertyType Mandatory HasProperty Variable IdentNumber UInt32 PropertyType Mandatory HasProperty Variable GSDName String PropertyType Optional HasProperty Variable GSDDescription String PropertyType Optional HasComponent Object Submodules PnRealSubmoduleContainerType Optional HasComponent Object IM PnIdentificationType Optional HasComponent Variable Diagnosis PnDeviceDiagnosis[] BaseDataVariableType Optional HasComponent Object Alarms FolderType Optional GeneratesEvent ObjectType PnDiagnosisAlarmType GeneratesEvent ObjectType PnAssetChangedEventType
B.1.4 PnDIExpectedModuleType
Table 115 – PnDIExpectedModuleType
Attribute
Value
BrowseName PnDIExpectedModuleType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of ComponentType defined in [OPC 10000-100] . HasInterface ObjectType IPnExpectedModuleType Applied from IPnExpectedModuleType HasProperty Variable Slot UInt16 PropertyType Mandatory HasProperty Variable IdentNumber UInt32 PropertyType Mandatory HasProperty Variable GSDName String PropertyType Optional HasProperty Variable GSDDescription String PropertyType Optional HasComponent Object Submodules PnExpectedSubmoduleContainerType Optional HasComponent Variable State PnModuleStateEnumeration BaseDataVariableType Mandatory
B.1.5 PnDIRealSubmoduleType
Table 116 – PnDIRealSubmoduleType
Attribute
Value
BrowseName PnDIRealSubmoduleType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of ComponentType defined in [OPC 10000-100] . HasInterface ObjectType IPnRealSubmoduleType Applied from IPnRealSubmoduleType HasProperty Variable API UInt32 PropertyType Mandatory HasProperty Variable Subslot UInt16 PropertyType Mandatory HasProperty Variable IdentNumber UInt32 PropertyType Mandatory HasProperty Variable GSDName String PropertyType Optional HasProperty Variable GSDDescription String PropertyType Optional HasComponent Object IM PnIdentificationType Optional HasComponent Variable Diagnosis PnDeviceDiagnosis[] BaseDataVariableType Optional HasComponent Object Alarms FolderType Optional GeneratesEvent ObjectType PnDiagnosisAlarmType GeneratesEvent ObjectType PnAssetChangedEventType
B.1.6 PnDIExpectedSubmoduleType
Table 117 – PnDIExpectedSubmoduleType
Attribute
Value
BrowseName PnDIExpectedSubmoduleType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of ComponentType defined in [OPC 10000-100] . HasInterface ObjectType IPnExpectedSubmoduleType Applied from IPnExpectedSubmoduleType HasProperty Variable API UInt32 PropertyType Mandatory HasProperty Variable Subslot UInt16 PropertyType Mandatory HasProperty Variable IdentNumber UInt32 PropertyType Mandatory HasProperty Variable GSDName String PropertyType Optional HasProperty Variable GSDDescription String PropertyType Optional HasComponent Object State PnSubmoduleStateType Optional
B.1.7 PnDIDomainType
Table 118 – PnDIDomainType
Attribute
Value
BrowseName PnDIDomainType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of NetworkType defined in [OPC 10000-100] . HasInterface ObjectType IPnDomainType Applied from IPnDomainType HasComponent Object Nodes PnEquipmentContainerType Mandatory
The standard OPC UA DI object NetworkSet (defined in [OPC 10000-100] ) has hierarchical references to all NetworkType (PnDIDomainType) object instances.
The Network Object (PnDIDomainType) has a ConnectsTo reference to the ConnectionPoint (PnDIInterfaceType).
B.1.8 PnDIInterfaceType
Table 119 – PnDIInterfaceType
Attribute
Value
BrowseName PnDIInterfaceType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of ConnectionPointType defined in [OPC 10000-100] . HasInterface ObjectType IPnInterfaceType Applied from IPnInterfaceType HasComponent Object Ports PnPortContainerType Mandatory HasProperty Variable NameOfStation String PropertyType Mandatory HasProperty Variable DeviceRole PnDeviceRoleOptionSet PropertyType Mandatory HasProperty Variable DeviceVendor String PropertyType Optional HasProperty Variable VendorId UInt16 PropertyType Mandatory HasProperty Variable DeviceId UInt16 PropertyType Mandatory HasProperty Variable DeviceInstance UInt16 PropertyType Optional HasProperty Variable OEMVendorId UInt16 PropertyType Optional HasProperty Variable OEMDeviceId UInt16 PropertyType Optional CommLinkTo Object EthernetInterface EthernetInterfaceType Optional HasComponent Object Statistic PnPortStatisticType Optional HasComponent Method SetNameOfStation SetNameOfStationMethod Optional
The mandatory NetworkAddress FunctionalGroup of the ConnectionPointType has an Organizes reference to the EthernetInterface object representing the Ethernet address information of the interface.
B.1.9 PnDIPROFINETProtocolType
Table 120 – PnDIPROFINETProtocolType
Attribute
Value
BrowseName PnDIPROFINETProtocolType IsAbstract False
References
Node Class
BrowseName
DataType
TypeDefinition
Modelling Rule
Subtype of ProtocolType defined in [OPC 10000-100] .