6.3.1 OPC UA Object Types

The first 4 chapters of the base information model include the object types for the internal module/submodule structure of a PROFINET device and controller.

Figure 17 shows a simplified example for a module/submodule object structure. The container folders have been skipped in the figure.

Figure 17 – Object Structure

The Device View includes devices in the PROFINET network and their real existing modules and submodules.

The Controller / Application View includes the PROFINET connections (Application Relationships) and the expected modules and submodules which have been configured in the PROFINET controller.

Both views relate to each other by non-hierarchical references.

The chapter 6.3.1.7 includes the object types for the PROFINET network mapping.

The chapter 6.3.1.8 includes the 2 object types for the asset identification within a PROFINET device.

6.3.1.1 Object instances lifetime

All object instances of the base information model represent the online view on the PROFINET network.

All PROFINET objects modeled in this specification are only created in the address space when the OPC UA Server detects their PROFINET counterpart. The objects are removed from the address space when the OPC UA Server detects their absence in the PROFINET network or PROFINET device.

The chapter 6.10 of [PN TAD] describes the possible ways of implementing the PROFINET device discovery. The chapter 11.3 of [PN TAD] describes the detection of the real modules and real submodules of a device and how to get their identification and asset data.

All these ContainerType objects only exist if objects are available in the container.

6.3.1.2 Domain
6.3.1.2.1 IPnDomainType
Table 23 – IPnDomainType Definition
Attribute Value
BrowseNameIPnDomainType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseInterfaceType defined in [OPC 10000-5].
HasComponentObjectNodesPnEquipmentContainerTypeMandatory

The Nodes object of the Domain includes all device and controller nodes which belong to the PROFINET domain.

6.3.1.3 Node
6.3.1.3.1 IPnEquipmentType
Table 24 – IPnEquipmentType Definition
Attribute Value
BrowseNameIPnEquipmentType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseInterfaceType defined in [OPC 10000-5].
HasComponentObjectInterfacesPnInterfaceContainerTypeMandatory
HasComponentObjectModulesPnRealModuleContainerTypeOptional
HasComponentObjectAssetsPnAssetContainerTypeOptional
HasComponentObjectIMPnIdentificationTypeOptional
HasPropertyVariableVendorStringPropertyTypeOptional
HasComponentVariableDiagnosisPnDeviceDiagnosisDataType[]BaseDataVariableTypeOptional
HasComponentObjectAlarmsFolderTypeOptional
HasComponentMethodShowLocationShowLocationMethodOptional
GeneratesEventObjectTypePnDiagnosisAlarmType
GeneratesEventObjectTypePnAssetChangedEventType

If the IM component is provided, it must contain the data of the representative submodule for the device in accordance with the I&M0FilterDataDevice block (See [PN TAD] – Identification & Maintenance).

The Assets and IM objects are optional. If the interface is used with the OPC UA facet model, the asset data can be part of another facet (See chapter 6PROFINET OPC UA Information Model” and Figure 16 – “Facet” modelling approach for I4.0 System Modelling).

The <Assets> objects are only assets which are directly related to this device. Assets related to the modules or submodules are components of these objects.

The server may provide diagnosis data with the Diagnosis variable or by sending PnDiagnosisAlarmType events. The diagnosis data at the device object includes the diagnosis information of the whole device including the one of all real modules and real submodules. An OPC UA Server might provide instances of the PnDiagnosisAlarmType as objects under the Alarms object.

Mapping to PROFINET properties:

BrowseName Method Source
Vendor DCPDeviceVendorBlockRes | DeviceVendorValue
Diagnosis ReadDiagnosisData (0xF80C device specific)
6.3.1.3.1.1 ShowLocation Method

This optional method shall trigger a perceivable signal which allows the identification of the physical device represented by the device object the method is invoked on. This is usually accomplished with a blinking LED.

The method has no parameters (no [in] and no [out] parameters) and no return value.

Signature

	ShowLocation (
		);
6.3.1.3.2 PnEquipmentContainerType
Table 25 – PnEquipmentContainerType Definition
Attribute Value
BrowseNamePnEquipmentContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasComponentObject<PnEquipments>BaseObjectType

Optional

Placeholder

The <PnEquipments> shall have the references and components defined in Table 26 and Table 27.

Table 26 – PnEquipmentContainerType Additional References
Source Path Reference Type Is Forward Target Path
<PnEquipments>0:HasInterfaceTrue
Table 27 – PnEquipmentContainerType Additional Subcomponents
Source Path References NodeClass BrowseName

DataType

TypeDefinition

Others
Applied from IPnEquipmentType
<PnEquipments>0:HasComponentObjectInterfacesPnInterfaceContainerTypeM
<PnEquipments>0:HasComponentObjectModulesPnRealModuleContainerTypeO
<PnEquipments>0:HasComponentObjectAssetsPnAssetContainerTypeO
<PnEquipments>0:HasComponentObjectIMPnIdentificationTypeO
<PnEquipments>0:HasPropertyVariableVendorString
PropertyType
O
<PnEquipments>0:HasComponentVariableDiagnosisPnDeviceDiagnosisDataType[]
BaseDataVariableType
O
<PnEquipments>0:HasComponentObjectAlarmsFolderTypeO
<PnEquipments>0:HasComponentMethodShowLocationShowLocationMethodO
<PnEquipments>0:GeneratesEventObjectTypePnDiagnosisAlarmType
<PnEquipments>0:GeneratesEventObjectTypePnAssetChangedEventType

Mapping to PROFINET properties:

BrowseName Method Source
<PnEquipments>DCPList of IdentifyResBlock
6.3.1.3.3 IPnDeviceType
Table 28 – IPnDeviceType Definition
Attribute Value
BrowseNameIPnDeviceType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of IPnEquipmentType
HasPropertyVariableGSDDescriptionStringPropertyTypeOptional
HasComponentVariableStatePnDeviceStateEnumerationBaseDataVariableTypeOptional

The BrowseName of a device object instance shall be the content of the NameOfStation variable of the first interface sub module. If the NameOfStation variable is not set, the content of the MAC Address variable of the first interface sub module shall be used. The MAC address string should use the canonical format (separated with -, e.g. AC-FD-CE-EC-03-80).

If the GSDDescription property is provided, it must contain the InfoText with Device Id from the GSD (see mapping table below).

Mapping to PROFINET properties:

BrowseName Method Source
GSDDescription GSDDeviceIdentity | InfoText with Device Id
State ReadARData | NumberOfARs | ARProperties
Empty block if offline. Online if at least one ARProperties block with ARProperties.DeviceAccess != 1 can be found in the record data.
6.3.1.3.4 IPnControllerType
Table 29 – IPnControllerType Definition
Attribute Value
BrowseNameIPnControllerType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of IPnEquipmentType
HasComponentObjectARsPnApplicationRelationContainerTypeOptional
6.3.1.4 Application Relationship
6.3.1.4.1 PnApplicationRelationType
Table 30 – PnApplicationRelationType Definition
Attribute Value
BrowseNamePnApplicationRelationType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasComponentObjectModulesPnExpectedModuleContainerTypeOptional
HasComponentVariableStatePnARStateEnumerationBaseDataVariableTypeMandatory
HasPropertyVariableIdGuidPropertyTypeMandatory
HasPropertyVariableTypePnARTypeEnumerationPropertyTypeMandatory
HasPropertyVariableSendClockFactorUInt16PropertyTypeOptional
HasPropertyVariableReductionRatioUInt16PropertyTypeOptional
HasPropertyVariableDataHoldFactorUInt16PropertyTypeOptional

The BrowseName of an application relationship object instance shall be the Id in standard GUID string format.

The Modules container object is the root of the configuration hierarchy consisting of the expected modules of the application relationship and their expected submodules (See chapter 6.3 - Base Information Model and Figure 17 – Object Structure).

The State variable has always the value CONNECTED on devices since the object only exists if an AR is established.

An IsPnApplicationRelationControllerInterface reference points to the interface object of the controller used for the AR. If the AR relates to the device an IsPnApplicationRelationDeviceInterface reference points to the interface object of the device. See sections 6.3.2.11 and 6.3.2.12 also.

Mapping to PROFINET properties:

BrowseName Method Source
Id ReadARData | ARUUID
Type ReadARData | ARType
SendClockFactor Readavailable also on Device/Gateway since PROFINET V2.4 via ARData | SendClockFactor or PDSyncData | SendClockFactor
ReductionRatio Readavailable also on Device/Gateway since PROFINET V2.4 via ARData | ReductionRatio
DataHoldFactor ReadIOCRBlockReq | DataHoldFactor (not available on Device/Gateway)
6.3.1.4.2 PnApplicationRelationContainerType
Table 31 – PnApplicationRelationContainerType Definition
Attribute Value
BrowseNamePnApplicationRelationContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnApplicationRelationObject<ARs>PnApplicationRelationType

Optional

Placeholder

Mapping to PROFINET properties:

BrowseName Method Source
<ARs> ReadARData | NumberOfARs entries | ARUUID
6.3.1.5 Module
6.3.1.5.1 IPnModuleType
Table 32 – IPnModuleType Definition
Attribute Value
BrowseNameIPnModuleType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseInterfaceType defined in [OPC 10000-5].
HasPropertyVariableSlotUInt16PropertyTypeMandatory
HasPropertyVariableIdentNumberUInt32PropertyTypeMandatory
HasPropertyVariable GSDName StringPropertyTypeOptional
HasPropertyVariable GSDDescription StringPropertyTypeOptional

The properties Slot and IdentNumber must contain the data as described in the mapping table provided for the subtypes IPnRealModuleType and IPnExpectedModuleType.

Mapping to PROFINET properties:

BrowseName Method Source
GSDName GSDMLModuleList | ModuleItem | ModuleInfo | Name
GSDDescription GSDMLModuleList | ModuleItem | ModuleInfo | InfoText
6.3.1.5.2 IPnRealModuleType
Table 33 – IPnRealModuleType Definition
Attribute Value
BrowseNameIPnRealModuleType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of IPnModuleType
HasComponentObjectSubmodulesPnRealSubmoduleContainerTypeOptional
HasComponentObjectIMPnIdentificationTypeOptional
HasComponentVariableDiagnosisPnDeviceDiagnosisDataType[]BaseDataVariableTypeOptional
HasComponentObjectAlarmsFolderTypeOptional
GeneratesEventObjectTypePnDiagnosisAlarmType
GeneratesEventObjectTypePnAssetChangedEventType

The BrowseName of a module object instance shall be the content of the Slot variable in decimal number string format.

If the IM component is provided, it must contain the data of the representative submodule for the module in accordance with the I&M0FilterDataModule block (See [PN TAD] – Identification & Maintenance).

The server may provide diagnosis data with the Diagnosis variable or by sending PnDiagnosisAlarmType events. The diagnosis data at the real module object includes the diagnosis information of the whole module including the one of the real submodules of the module. An OPC UA Server may provide instances of the PnDiagnosisAlarmType as objects under the Alarms object.

Mapping to PROFINET properties:

BrowseName Method Source
Slot ReadRealIdentificationData | SlotNumber
IdentNumber ReadRealIdentificationData | IdentNumber
Diagnosis ReadDiagnosisData (0xC00C slot specific)
6.3.1.5.3 PnRealModuleContainerType
Table 34 – PnRealModuleContainerType Definition
Attribute Value
BrowseNamePnRealModuleContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnRealModuleObject<Modules>BaseObjectType

Optional

Placeholder

The <Modules> shall have the references and components defined in Table 35 and Table 36.

Table 35 – PnRealModuleContainerType Additional References
Source Path Reference Type Is Forward Target Path
<Modules>0:HasInterfaceTrue
Table 36 – PnRealModuleContainerType Additional Subcomponents
Source Path References NodeClass BrowseName

DataType

TypeDefinition

Others
Applied from IPnRealModuleType
<Modules>0:HasPropertyVariableSlot

UInt16

PropertyType

M
<Modules>0:HasPropertyVariableIdentNumber

UInt32

PropertyType

M
<Modules>0:HasPropertyVariableGSDNameString
PropertyType
O
<Modules>0:HasPropertyVariableGSDDescriptionString
PropertyType
O
<Modules>0:HasComponentObjectSubmodulesPnRealSubmoduleContainerTypeO
<Modules>0:HasComponentObjectIMPnIdentificationTypeO
<Modules>0:HasComponentVariableDiagnosisPnDeviceDiagnosisDataType[]
BaseDataVariableType
O
<Modules>0:HasComponentObjectAlarmsFolderTypeO
<Modules>0:GeneratesEventObjectTypePnDiagnosisAlarmType
<Modules>0:GeneratesEventObjectTypePnAssetChangedEventType

Mapping to PROFINET properties:

BrowseName Method Source
<Modules> ReadRealIdentificationData | NumberOfSlots entries | SlotNumber
6.3.1.5.4 IPnExpectedModuleType
Table 37 – IPnExpectedModuleType Definition
Attribute Value
BrowseNameIPnExpectedModuleType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of IPnModuleType
HasComponentObjectSubmodulesPnExpectedSubmoduleContainerTypeOptional
HasComponentVariableStatePnModuleStateEnumerationBaseDataVariableTypeMandatory

The BrowseName of a module object instance shall be the content of the Slot variable in decimal number string format.

An IsPnRealModule reference points to the real module which is the real realization of the expected module. See section 6.3.2.9 also.

Mapping to PROFINET properties:

BrowseName Method Source
Slot ReadExpectedIdentificationData | SlotNumber
IdentNumber ReadExpectedIdentificationData | IdentNumber
State ReadModuleDiffBlock | ModuleState
6.3.1.5.5 PnExpectedModuleContainerType
Table 38 – PnExpectedModuleContainerType Definition
Attribute Value
BrowseNamePnExpectedModuleContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnExpectedModuleObject<Modules>BaseObjectType

Optional

Placeholder

The <Modules> shall have the references and subcomponents defined in Table 39 and Table 40.

Table 39 – PnExpectedModuleContainerType Additional References
Source Path Reference Type Is Forward Target Path
<Modules>0:HasInterfaceTrue
Table 40 – PnExpectedModuleContainerType Additional Subcomponents
Source Path References NodeClass BrowseName

DataType

TypeDefinition

Others
Applied from IPnExpectedModuleType
<Modules>0:HasPropertyVariableSlot

UInt16

PropertyType

M
<Modules>0:HasPropertyVariableIdentNumber

UInt32

PropertyType

M
<Modules>0:HasPropertyVariableGSDNameString
PropertyType
O
<Modules>0:HasPropertyVariableGSDDescriptionString
PropertyType
O
<Modules>0:HasComponentVariableState

PnModuleStateEnumeration

BaseDataVariableType

M
<Modules>0:HasComponentObjectSubmodulesPnExpectedSubmoduleContainerTypeO

Mapping to PROFINET properties:

BrowseName Method Source
<Modules> ReadExpectedIdentificationData | NumberOfSlots entries | SlotNumber
6.3.1.6 Submodule
6.3.1.6.1 IPnSubmoduleType
Table 41 – IPnSubmoduleType Definition
Attribute Value
BrowseNameIPnSubmoduleType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseInterfaceType defined in [OPC 10000-5].
HasPropertyVariableAPIUInt32PropertyTypeMandatory
HasPropertyVariableSubslotUInt16PropertyTypeMandatory
HasPropertyVariableIdentNumberUInt32PropertyTypeMandatory
HasPropertyVariableGSDNameStringPropertyTypeOptional
HasPropertyVariableGSDDescriptionStringPropertyTypeOptional

The properties GSDName and GSDDescription must contain the data from the GSD, as described in the mapping table provided for the subtypes IPnRealSubmoduleType and IPnExpectedSubmoduleType.

6.3.1.6.2 IPnRealSubmoduleType
Table 42 – IPnRealSubmoduleType Definition
Attribute Value
BrowseNameIPnRealSubmoduleType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of IPnSubmoduleType
HasComponentObjectIMPnIdentificationTypeOptional
HasComponentVariableDiagnosisPnDeviceDiagnosisDataType[]BaseDataVariableTypeOptional
HasComponentObjectAlarmsFolderTypeOptional
GeneratesEventObjectTypePnDiagnosisAlarmType
GeneratesEventObjectTypePnAssetChangedEventType

The BrowseName of a sub module object instance shall be the content of the Subslot variable in hexadecimal number string format (e.g. 0x8001).

If the IM component is provided, it must contain the data in accordance with the I&M0FilterDataSubmodule block (See [PN TAD] – Identification & Maintenance).

The server can provide diagnosis data with the Diagnosis variable or by sending PnDiagnosisAlarmType events. The diagnosis data at the real submodule object includes only the diagnosis information of the real submodule. An OPC UA Server might provide instances of the PnDiagnosisAlarmType as objects under the Alarms object.

An IsPnInterface reference exists if the submodule is an interface submodule. See section 6.3.2.13 also.

An IsPnPort reference exists if the submodule is a port submodule. It points to the PnPortType object. See section 6.3.2.14 also.

Mapping to PROFINET properties:

BrowseName Method Source
API ReadRealIdentificationData | API
SubSlot ReadRealIdentificationData | SubslotNumber
IdentNumber ReadRealIdentificationData | SubmoduleIdentNumber
GSDName GSDMLSubmoduleList | SubmoduleItem | ModuleInfo | Name or
SubmoduleList | VirtualSubmoduleItem | ModuleInfo | Name or
SubmoduleList | PortSubmoduleItem | ModuleInfo | Name
GSDDescription GSDMLSubmoduleList | SubmoduleItem | ModuleInfo | InfoText or
SubmoduleList | VirtualSubmoduleItem | ModuleInfo | InfoText or
SubmoduleList | PortSubmoduleItem | ModuleInfo | InfoText
Diagnosis ReadDiagnosisData (0x800C subslot specific)
6.3.1.6.3 PnRealSubmoduleContainerType
Table 43 – PnRealSubmoduleContainerType Definition
Attribute Value
BrowseNamePnRealSubmoduleContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnRealSubmoduleObject<Submodules>BaseObjectType

Optional

Placeholder

The <Submodules> shall have the references defined in Table 44 and Table 45.

Table 44 – PnRealSubmoduleContainerType Additional References
Source Path Reference Type Is Forward Target Path
<Submodules>0:HasInterfaceTrue
Table 45 – PnRealSubmoduleContainerType Additional Subcomponents
Source Path References NodeClass BrowseName

DataType

TypeDefinition

Others
Applied from IPnRealSubmoduleType
<Submodules>0:HasPropertyVariableAPI

UInt32

PropertyType

M
<Submodules>0:HasPropertyVariableSubslot

UInt16

PropertyType

M
<Submodules>0:HasPropertyVariableIdentNumber

UInt32

PropertyType

M
<Submodules>0:HasPropertyVariableGSDNameString
PropertyType
O
<Submodules>0:HasPropertyVariableGSDDescriptionString
PropertyType
O
<Submodules>0:HasComponentObjectIMPnIdentificationTypeO
<Submodules>0:HasComponentVariableDiagnosisPnDeviceDiagnosisDataType[]
BaseDataVariableType
O
<Submodules>0:HasComponentObjectAlarmsFolderTypeO
<Submodules>0:GeneratesEventObjectTypePnDiagnosisAlarmType
<Submodules>0:GeneratesEventObjectTypePnAssetChangedEventType

Mapping to PROFINET properties:

BrowseName Method Source
<Submodules> ReadRealIdentificationData | NumberOfSubslots entries | SubslotNumber
6.3.1.6.4 IPnExpectedSubmoduleType
Table 46 – IPnExpectedSubmoduleType Definition
Attribute Value
BrowseNameIPnExpectedSubmoduleType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of IPnSubmoduleType
HasComponentObjectStatePnSubmoduleStateTypeOptional

An IsPnRealSubmodule reference points to the real submodule which is the real realization of the expected submodule. See section 6.3.2.10 also.

Mapping to PROFINET properties:

BrowseName Method Source
API ReadExpectedIdentificationData | API
SubSlot ReadExpectedIdentificationData | SubslotNumber
IdentNumber ReadExpectedIdentificationData | SubmoduleIdentNumber
GSDName GSDML

SubmoduleList | SubmoduleItem | ModuleInfo | Name or
SubmoduleList | VirtualSubmoduleItem | ModuleInfo | Name or

SubmoduleList | PortSubmoduleItem | ModuleInfo | Name

GSDDescription GSDML

SubmoduleList | SubmoduleItem | ModuleInfo | InfoText or

SubmoduleList | VirtualSubmoduleItem | ModuleInfo | InfoText or

SubmoduleList | PortSubmoduleItem | ModuleInfo | InfoText

State ReadModuleDiffBlock | SubmoduleState
6.3.1.6.5 PnExpectedSubmoduleContainerType
Table 47 – PnExpectedSubmoduleContainerType Definition
Attribute Value
BrowseNamePnExpectedSubmoduleContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnExpectedSubmoduleObject<Submodules>BaseObjectType

Optional

Placeholder

The <Submodules> shall have the references and subcomponents defined in Table 48 and Table 49.

Table 48 – PnExpectedSubmoduleContainerType Additional References
Source Path Reference Type Is Forward Target Path
<Submodules>0:HasInterfaceTrue
Table 49 – PnExpectedSubmoduleContainerType Additional Subcomponents
Source Path References NodeClass BrowseName

DataType

TypeDefinition

Others
Applied from IPnExpectedSubmoduleType
<Submodules>0:HasPropertyVariableAPI

UInt32

PropertyType

M
<Submodules>0:HasPropertyVariableSubslot

UInt16

PropertyType

M
<Submodules>0:HasPropertyVariableIdentNumber

UInt32

PropertyType

M
<Submodules>0:HasPropertyVariableGSDNameString
PropertyType
O
<Submodules>0:HasPropertyVariableGSDDescriptionString
PropertyType
O
<Submodules>0:HasComponentObjectStatePnSubmoduleStateTypeO

Mapping to PROFINET properties:

BrowseName Method Source
<Submodules> ReadExpectedIdentificationData | NumberOfSubslots entries | SubslotNumber
6.3.1.6.6 PnSubmoduleStateType
Table 50 – PnSubmoduleStateType Definition
Attribute Value
BrowseNamePnSubmoduleStateType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasComponentVariableAddInfoPnSubmoduleAddInfoEnumerationBaseDataVariableTypeOptional
HasComponentVariableQualifiedInfoBooleanBaseDataVariableTypeOptional
HasComponentVariable

Maintenance

Required

BooleanBaseDataVariableTypeOptional
HasComponentVariable

Maintenance

Demanded

BooleanBaseDataVariableTypeOptional
HasComponentVariableDiagInfoBooleanBaseDataVariableTypeOptional
HasComponentVariableARInfoPnSubmoduleARInfoEnumerationBaseDataVariableTypeOptional
HasComponentVariableIdentInfoPnSubmoduleIdentInfoEnumerationBaseDataVariableTypeOptional

Mapping to PROFINET properties:

BrowseName Method Source
AddInfo Read

ModuleDiffBlock | SubmoduleState.AddInfo

If entry not found, use: None

QualifiedInfo Read

ModuleDiffBlock | SubmoduleState.Advice

If entry not found, use: No Advice information available

MaintenanceRequired Read

ModuleDiffBlock | SubmoduleState.MaintenanceRequired

If entry not found, use: No MaintenanceRequired information available

MaintenanceDemanded Read

ModuleDiffBlock | SubmoduleState.MaintenanceDemanded

If entry not found, use: No MaintenanceDemanded information available

DiagInfo Read

ModuleDiffBlock | SubmoduleState.Fault

If entry not found, use: No Fault information available

ARInfo Read

ModuleDiffBlock | SubmoduleState.ARInfo

If entry not found, use: Own

IdentInfo Read

ModuleDiffBlock | SubmoduleState.IdentInfo

If entry not found, use: OK

6.3.1.7 Network

This chapter includes all object types needed to represent the physical network topology of a PROFINET network.

Figure 18 shows an example which illustrates the relations between network objects of a single port PROFINET device and a 4 port Ethernet switch.

Figure 18 – Network Topology

The Ethernet interface, ports and cables are represented by objects in the address space. This Ethernet objects relate to each other by CommLinkTo references. This enables the OPC UA Server to represent the physical network topology of the PROFINET network.

6.3.1.7.1 IPnInterfaceType
Table 51 – IPnInterfaceType Definition
Attribute Value
BrowseNameIPnInterfaceType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseInterfaceType defined in [OPC 10000-5].
HasComponentObjectPortsPnPortContainerTypeMandatory
HasPropertyVariableNameOfStationStringPropertyTypeMandatory
HasPropertyVariableDeviceRolePnDeviceRoleOptionSetPropertyTypeMandatory
HasPropertyVariableDeviceVendorStringPropertyTypeOptional
HasPropertyVariableVendorIdUInt16PropertyTypeMandatory
HasPropertyVariableDeviceIdUInt16PropertyTypeMandatory
HasPropertyVariableDeviceInstanceUInt16PropertyTypeOptional
HasPropertyVariableOEMVendorIdUInt16PropertyTypeOptional
HasPropertyVariableOEMDeviceIdUInt16PropertyTypeOptional
CommLinkToObjectEthernetInterfaceEthernetInterfaceTypeOptional
HasComponentObjectStatisticPnPortStatisticTypeOptional
HasComponentMethodSetNameOfStationSetNameOfStationMethodOptional

The BrowseName of an interface object instance shall be the PROFINET interface id with the range 1..16 in decimal number string format.

The NameOfStation variable may be set with the SetNameOfStation method. Nevertheless, the variable itself shall always be read-only.

The CommLinkTo reference points to an EthernetInterfaceType object instance. An object of the IPv4FeatureType must be implemented in this EthernetInterfaceType object instance.

Mapping to PROFINET properties:

BrowseName Method Source
NameOfStation DCPDCP-Identify-ResPDU | NameOfStationValue
DeviceRole DCPDCP-Identify-ResPDU | DeviceRoleDetails
DeviceVendor DCPDCP-Identify-ResPDU | DeviceVendorValue
VendorId DCPDCP-Identify-ResPDU | DeviceIDBlockRes | DeviceIDValue
DeviceId DCPDCP-Identify-ResPDU | DeviceIDBlockRes | DeviceIDValue
DeviceInstance DCPDCP-Identify-ResPDU | DeviceInstanceValue
OEMVendorId DCPDCP-Identify-ResPDU | OEMDeviceIDBlockRes | DeviceIDValue
OEMDeviceId DCPDCP-Identify-ResPDU | OEMDeviceIDBlockRes | DeviceIDValue
6.3.1.7.1.1 SetNameOfStation Method

This optional method writes the NameOfStation remanent to the PROFINET device and sets the NameOfStation variable accordingly.

Signature

	SetNameOfStation (
		[in]	String NameOfStation
		);
	
Argument Description
NameOfStationString containing the new NameOfStation to be written remanent to the device. The maximum length shall be limited to 240 characters (See [PN Protocol] for details).

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply the name. The name may be too long or may contain invalid characters.
Bad_UnexpectedErrorThe Server is not able to apply the name because an unexpected error occurred. The device might be temporarily unavailable or unreachable due to network failure.
6.3.1.7.2 PnInterfaceContainerType
Table 52 – PnInterfaceContainerType Definition
Attribute Value
BrowseNamePnInterfaceContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnInterfaceObject<Interfaces>BaseObjectType

Optional

Placeholder

The <Interfaces> shall have the references defined in Table 53 and Table 54.

Table 53 – PnInterfaceContainerType Additional References
Source Path Reference Type Is Forward Target Path
<Interfaces>0:HasInterfaceTrue
Table 54 – PnInterfaceContainerType Additional Subcomponents
Source Path References NodeClass BrowseName

DataType

TypeDefinition

Others
Applied from IPnInterfaceType
<Interfaces>0:HasComponentObjectPortsPnPortContainerTypeM
<Interfaces>0:HasPropertyVariableNameOfStation

String

PropertyType

M
<Interfaces>0:HasPropertyVariableDeviceRole

PnDeviceRoleOptionSet

PropertyType

M
<Interfaces>0:HasPropertyVariableDeviceVendorString
PropertyType
O
<Interfaces>0:HasPropertyVariableVendorId

UInt16

PropertyType

M
<Interfaces>0:HasPropertyVariableDeviceId

UInt16

PropertyType

M
<Interfaces>0:HasPropertyVariableDeviceInstanceUInt16
PropertyType
O
<Interfaces>0:HasPropertyVariableOEMVendorIdUInt16
PropertyType
O
<Interfaces>0:HasPropertyVariableOEMDeviceIdUInt16
PropertyType
O
<Interfaces>CommLinkToObjectEthernetInterfaceEthernetInterfaceTypeO
<Interfaces>0:HasComponentObjectStatisticPnPortStatisticTypeO
<Interfaces>0:HasComponentMethodSetNameOfStationSetNameOfStationMethodO
6.3.1.7.3 PnPortType

The PnPortType Object Type includes the port specific data of a port submodule.

A PnRealSubmoduleType instance representing a port submodule has an IsPnPort reference to a PnPortType object instance.

Table 55 – PnPortType Definition
Attribute Value
BrowseNamePnPortType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasComponentObjectStatisticPnPortStatisticTypeOptional
HasComponentVariableLinkStatePnLinkStateEnumerationBaseDataVariableType Optional
HasComponentVariablePortStatePnPortStateEnumerationBaseDataVariableType Optional
HasComponentVariableMAUTypeUInt16BaseDataVariableType Optional
HasComponentVariableCableDelayUInt32BaseDataVariableType Optional
HasComponentVariablePowerBudgetUInt32BaseDataVariableType Optional
HasComponentVariableIsWirelessBooleanBaseDataVariableType Optional
CommLinkToObjectEthernetPortEthernetPortTypeOptional
GeneratesEventObjectTypePnTopologyChangedEventType

Mapping to PROFINET properties:

BrowseName Method Source
MAUType ReadPDPortDataReal | MAUType
CableDelay ReadPDPortDataReal | LineDelay
PowerBudget ReadPDPortFODataReal | FiberOpticDiagnosisInfo | FiberOpticPowerBudgetReal
IsWireless ReadPDPortDataReal | MediaType
6.3.1.7.4 PnPortContainerType
Table 56 – PnPortContainerType Definition
Attribute Value
BrowseNamePnPortContainerType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnPortObject<Ports>PnPortType

Optional

Placeholder

6.3.1.7.5 PnPortStatisticType
Table 57 – PnPortStatisticType Definition
Attribute Value
BrowseNamePnPortStatisticType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasComponentVariableInOctetsUInt32BaseDataVariableTypeOptional
HasComponentVariableOutOctetsUInt32BaseDataVariableTypeOptional
HasComponentVariableInDiscardsUInt32BaseDataVariableTypeOptional
HasComponentVariableOutDiscardsUInt32BaseDataVariableTypeOptional
HasComponentVariableInErrorsUInt32BaseDataVariableTypeOptional
HasComponentVariableOutErrorsUInt32BaseDataVariableTypeOptional

The port statistic counters can be read from a PROFINET device with the Read PD Port Statistic PROFINET service.

6.3.1.7.6 NetworkComponentType

The NetworkComponentType is the abstract base ObjectType for different types of network components.

Table 58 – NetworkComponentType Definition
Attribute Value
BrowseNameNetworkComponentType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasComponentObject<FeatureName>NetworkComponentFeatureTypeOptionalPlaceholder
HasComponentVariableEnabledBooleanBaseDataVariableTypeOptional
CommLinkToObject<ComponentName>NetworkComponentTypeOptionalPlaceholder

The Enabled variable indicates if the network component is activated (Enabled == True) or deactivated (Enabled == False).

6.3.1.7.7 EthernetInterfaceType

The EthernetInterfaceType is used to represent Ethernet network interfaces.

Table 59 – EthernetInterfaceType Definition
Attribute Value
BrowseNameEthernetInterfaceType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of NetworkComponentType.
HasComponentVariableMacAddressByte [6]BaseDataVariableTypeMandatory
CommLinkToObject<PortName>EthernetPortTypeMandatoryPlaceholder

The MacAddress Variable is read only and represents the unique Layer2 source MAC address of the related interface.

Mapping to PROFINET properties:

BrowseName Method Source
MacAddress DCPDCP-Identify-ResPDU | MACAddressBlockRes | MACAddressValue
6.3.1.7.8 EthernetPortType

The EthernetPortType is used to represent Ethernet ports.

Table 60 – EthernetPortType Definition
Attribute Value
BrowseNameEthernetPortType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of NetworkComponentType.
HasComponentVariablePhysAddressByte [6] BaseDataVariableTypeOptional
CommLinkToObject<EthernetPort>EthernetPortTypeOptional

The PhysAddress Variable is read only and contains a MAC address representing the Port.

6.3.1.7.9 NetworkComponentFeatureType

The NetworkComponentFeatureType is the abstract base ObjectType for different types of network components.

Table 61 – NetworkComponentFeatureType Definition
Attribute Value
BrowseNameNetworkComponentFeatureType
IsAbstractTrue
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
6.3.1.7.10 IPv4FeatureType

The IPv4FeatureType is used to represent IPv4 settings of a network interface.

Table 62 – IPv4FeatureType Definition
Attribute Value
BrowseNameIPv4FeatureType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of NetworkComponentFeatureType.
HasComponentVariableIpAddressByte[4]BaseDataVariableTypeMandatory
HasComponentVariableSubnetMaskByte[4]BaseDataVariableTypeMandatory
HasComponentVariableDefaultGatewayByte[4]BaseDataVariableTypeMandatory
HasComponentVariableDhcpEnabledBooleanBaseDataVariableTypeMandatory

Mapping to PROFINET properties:

BrowseName Method Source
IpAddress DCPDCP-Identify-ResPDU | IPParameterBlockRes | IPParameterValue | IPAddress
SubnetMask DCPDCP-Identify-ResPDU | IPParameterBlockRes | IPParameterValue | Subnetmask
DefaultGateway DCPDCP-Identify-ResPDU | IPParameterBlockRes | IPParameterValue | StandardGateway
DhcpEnabled DCPDCP-Identify-ResPDU | DHCPParameterBlockRes | DHCPParameter | DHCPParameterLength

The IpAddress Variable describes the IPv4 address on the interface.

The SubnetMask Variable describes the IPv4 Subnet mask on the interface.

The DefaultGateway Variable describes the IPv4 address of the default gateway.

The DhcpEnabled Variable specifies whether the DHCPv4 Client functionality for this interface is enabled.

6.3.1.8 Identification
6.3.1.8.1 PnIdentificationType
Table 63 – PnIdentificationType Definition
Attribute Value
BrowseNamePnIdentificationType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPropertyVariableVendorIdUInt16PropertyTypeMandatory
HasPropertyVariableOrderIdStringPropertyTypeMandatory
HasPropertyVariableSerialNumberStringPropertyTypeMandatory
HasPropertyVariableSoftwareRevisionStringPropertyTypeMandatory
HasPropertyVariableHardwareRevisionStringPropertyTypeMandatory
HasPropertyVariableProfileIdUInt32PropertyTypeMandatory
HasPropertyVariableProfileSpecificTypeUInt16PropertyTypeMandatory
HasPropertyVariableVersionStringPropertyTypeMandatory
HasPropertyVariableRevisionCounterUInt16PropertyTypeOptional
HasPropertyVariableIMSupportedUInt16PropertyTypeOptional
HasPropertyVariableTagFunctionStringPropertyTypeOptional
HasPropertyVariableTagLocationStringPropertyTypeOptional
HasPropertyVariableDateDateTimePropertyTypeOptional
HasPropertyVariableDescriptorStringPropertyTypeOptional
HasPropertyVariableSignatureByteStringPropertyTypeOptional
HasPropertyVariableIM5PnIM5DataType[]PropertyTypeOptional
HasComponentMethodSetTagsSetTagsMethodOptional
HasComponentMethodSetDateSetDateMethodOptional
HasComponentMethodSetDescriptorSetDescriptorMethodOptional

Mapping to PROFINET properties:

BrowseName Method Source
VendorId ReadI&M0 | VendorID
OrderId ReadI&M0 | OrderID
SerialNumber ReadI&M0 | IM_Serial_Number
SoftwareRevision ReadI&M0 | IM_Software_Revision
HardwareRevision ReadI&M0 | IM_Hardware_Revision
ProfileId ReadI&M0 | IM_Profile_ID
ProfileSpecificType ReadI&M0 | IM_Profile_Specific_Type
Version ReadI&M0 | IM_Version
RevisionCounter ReadI&M0 | IM_Revision_Counter
IMSupported ReadI&M0 | IM_Supported
TagFunction ReadI&M1 | IM_Tag_Function
TagLocation ReadI&M1 | IM_Tag_Location
Date ReadI&M2 | IM_Date
Descriptor ReadI&M3 | IM_Descriptor
Signature ReadI&M4 | IM_Signature
IM5 Read

I&M5 | I&M5Data, see chapter 6.3.3.1.2 for details

Array size: I&M5 | NumberOfEntries

6.3.1.8.1.1 SetTags Method

This optional method writes the I&M1 fields IM_TagFunction and IM_Tag_Location remanent to the PROFINET device and sets the TagFunction and TagLocation variables accordingly.

Signature

	SetTags (
		[in] IMTagSelectorEnumeration Tag_Selector,
		[in] String Tag_Function,
		[in] String Tag_Location
		);
	
Argument Description
Tag_SelectorIf FUNCTION, Tag_Function shall be written, If LOCATION, Tag_Location shall be written, if BOTH both.
Tag_FunctionString containing the new I&M1 | IM_Tag_Function to be written remanent to the device.
Tag_LocationString containing the new I&M1 | IM_Tag_Location to be written remanent to the device.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply an argument. The argument may be too long or may contain invalid characters.
Bad_UnexpectedErrorThe Server is not able to apply the name because an unexpected error occurred. The device might be temporarily unavailable or unreachable due to network failure.
6.3.1.8.1.2 SetDate Method

This optional method writes the I&M2 field IM_Date remanent to the PROFINET device and sets the Date variable accordingly.

Signature

	SetDate (
		[in] DateTime IM_Date
		);
	
Argument Description
IM_DateNew I&M2 | IM_Date to be written remanent to the device.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply an argument.
Bad_UnexpectedErrorThe Server is not able to apply the name because an unexpected error occurred. The device might be temporarily unavailable or unreachable due to network failure.
6.3.1.8.1.3 SetDescriptor Method

This optional method writes the I&M3 field IM_Descriptor remanent to the PROFINET device and sets the Descriptor variable accordingly.

Signature

	SetDescriptor (
		[in] String Descriptor
		);
	
Argument Description
DescriptorNew I&M3 | IM_Descriptor to be written remanent to the device.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply an argument. The argument may be too long or may contain invalid characters.
Bad_UnexpectedErrorThe Server is not able to apply the name because an unexpected error occurred. The device might be temporarily unavailable or unreachable due to network failure.
6.3.1.8.2 PnAssetType
Table 64 – PnAssetType Definition
Attribute Value
BrowseNamePnAssetType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPropertyVariableUniqueIdentifierGuidPropertyTypeMandatory
HasPropertyVariableLocationStringPropertyTypeMandatory
HasPropertyVariableAnnotationStringPropertyTypeMandatory
HasPropertyVariableOrderIdStringPropertyTypeMandatory
HasPropertyVariableSoftwareRevisionStringPropertyTypeOptional
HasPropertyVariableHardwareRevisionStringPropertyTypeOptional
HasPropertyVariableSerialNumberStringPropertyTypeMandatory
HasPropertyVariableTypeIdentificationUInt16PropertyTypeMandatory
HasPropertyVariableOrganizationUInt16PropertyTypeMandatory
HasPropertyVariableVendorIdUInt16PropertyTypeMandatory
HasPropertyVariableDeviceIdUInt16PropertyTypeMandatory
HasPropertyVariableDeviceSubIdUInt16PropertyTypeMandatory
GeneratesEventObjectTypePnAssetChangedEventType

The BrowseName of an asset object instance shall be the content of the UniqueIdentifier variable in standard GUID string format.

Mapping to PROFINET properties:

BrowseName Method Source
UniqueIdentifier ReadAssetManagementData | IM_UniqueIdentifier
Location ReadAssetManagementData | AM_Location
Annotation ReadAssetManagementData | IM_Annotation
OrderId ReadAssetManagementData | IM_OrderID
SoftwareRevision ReadAssetManagementData | IM_Software_Revision or AM_SoftwareRevision
HardwareRevision ReadAssetManagementData | IM_Hardware_Revision or AM_HardwareRevision
SerialNumber ReadAssetManagementData | IM_Serial_Number
TypeIdentification ReadAssetManagementData | AM_TypeIdentification
Organization ReadAssetManagementData | AM_DeviceIdentification.Organization
VendorId ReadAssetManagementData | AM_DeviceIdentification.VendorID
DeviceId ReadAssetManagementData | AM_DeviceIdentification.DeviceID
DeviceSubId ReadAssetManagementData | AM_DeviceIdentification.DeviceSubID

If the AM_Location field is coded using the level tree format, each used level shall be encoded in the Location string with a ‘.’ followed by the value of the level bits encoded as decimal number string. According to [PN TAD] – Figure 38, the HART sensor has the Location string ”.0.4.1.1”.

If the AM_Location field is coded using the slot- and subslotnumber format, the Location string shall be encoded as ‘BeginSlotNumber/BeginSubslotNumber-EndSlotNumber/EndSubslotNumber’. BeginSlotNumber and EndSlotNumber shall be encoded as decimal number strings. BeginSubslotNumber and EndSubslotNumber shall be encoded as hexadecimal number strings (0x…) According to [PN TAD] – Figure 38, the IO-MC 1 asset has the Location string ”2/0x1-4/0x1”.

6.3.1.8.3 PnAssetContainerType
Table 65 – PnAssetContainerType Definition
Attribute Value
BrowseNamePnAssetContainerType
IsAbstractFalse
ReferencesNode ClassBrowseName DataTypeTypeDefinitionModelling Rule
Subtype of BaseObjectType defined in [OPC 10000-5].
HasPnAssetObject<Assets>PnAssetType

Optional

Placeholder