6.3.1.8 Identification
6.3.1.8.1 PnIdentificationType
| Attribute | Value | ||||
| BrowseName | PnIdentificationType | ||||
| IsAbstract | False | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|---|---|---|---|---|
| Subtype of BaseObjectType defined in [OPC 10000-5]. | |||||
| HasProperty | Variable | VendorId | UInt16 | PropertyType | Mandatory |
| HasProperty | Variable | OrderId | String | PropertyType | Mandatory |
| HasProperty | Variable | SerialNumber | String | PropertyType | Mandatory |
| HasProperty | Variable | SoftwareRevision | String | PropertyType | Mandatory |
| HasProperty | Variable | HardwareRevision | String | PropertyType | Mandatory |
| HasProperty | Variable | ProfileId | UInt32 | PropertyType | Mandatory |
| HasProperty | Variable | ProfileSpecificType | UInt16 | PropertyType | Mandatory |
| HasProperty | Variable | Version | String | PropertyType | Mandatory |
| HasProperty | Variable | RevisionCounter | UInt16 | PropertyType | Optional |
| HasProperty | Variable | IMSupported | UInt16 | PropertyType | Optional |
| HasProperty | Variable | TagFunction | String | PropertyType | Optional |
| HasProperty | Variable | TagLocation | String | PropertyType | Optional |
| HasProperty | Variable | Date | DateTime | PropertyType | Optional |
| HasProperty | Variable | Descriptor | String | PropertyType | Optional |
| HasProperty | Variable | Signature | ByteString | PropertyType | Optional |
| HasProperty | Variable | IM5 | PnIM5DataType[] | PropertyType | Optional |
| HasComponent | Method | SetTags | SetTagsMethod | Optional | |
| HasComponent | Method | SetDate | SetDateMethod | Optional | |
| HasComponent | Method | SetDescriptor | SetDescriptorMethod | Optional | |
Mapping to PROFINET properties:
| BrowseName | Method | Source |
| VendorId | Read | I&M0 | VendorID |
| OrderId | Read | I&M0 | OrderID |
| SerialNumber | Read | I&M0 | IM_Serial_Number |
| SoftwareRevision | Read | I&M0 | IM_Software_Revision |
| HardwareRevision | Read | I&M0 | IM_Hardware_Revision |
| ProfileId | Read | I&M0 | IM_Profile_ID |
| ProfileSpecificType | Read | I&M0 | IM_Profile_Specific_Type |
| Version | Read | I&M0 | IM_Version |
| RevisionCounter | Read | I&M0 | IM_Revision_Counter |
| IMSupported | Read | I&M0 | IM_Supported |
| TagFunction | Read | I&M1 | IM_Tag_Function |
| TagLocation | Read | I&M1 | IM_Tag_Location |
| Date | Read | I&M2 | IM_Date |
| Descriptor | Read | I&M3 | IM_Descriptor |
| Signature | Read | I&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_Selector | If FUNCTION, Tag_Function shall be written, If LOCATION, Tag_Location shall be written, if BOTH both. |
| Tag_Function | String containing the new I&M1 | IM_Tag_Function to be written remanent to the device. |
| Tag_Location | String containing the new I&M1 | IM_Tag_Location to be written remanent to the device. |
Method Result Codes
| ResultCode | Description |
| Bad_InvalidArgument | The Server is not able to apply an argument. The argument may be too long or may contain invalid characters. |
| Bad_UnexpectedError | The 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_Date | New I&M2 | IM_Date to be written remanent to the device. |
Method Result Codes
| ResultCode | Description |
| Bad_InvalidArgument | The Server is not able to apply an argument. |
| Bad_UnexpectedError | The 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 |
| Descriptor | New I&M3 | IM_Descriptor to be written remanent to the device. |
Method Result Codes
| ResultCode | Description |
| Bad_InvalidArgument | The Server is not able to apply an argument. The argument may be too long or may contain invalid characters. |
| Bad_UnexpectedError | The 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
| Attribute | Value | ||||
| BrowseName | PnAssetType | ||||
| IsAbstract | False | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|---|---|---|---|---|
| Subtype of BaseObjectType defined in [OPC 10000-5]. | |||||
| HasProperty | Variable | UniqueIdentifier | Guid | PropertyType | Mandatory |
| HasProperty | Variable | Location | String | PropertyType | Mandatory |
| HasProperty | Variable | Annotation | String | PropertyType | Mandatory |
| HasProperty | Variable | OrderId | String | PropertyType | Mandatory |
| HasProperty | Variable | SoftwareRevision | String | PropertyType | Optional |
| HasProperty | Variable | HardwareRevision | String | PropertyType | Optional |
| HasProperty | Variable | SerialNumber | String | PropertyType | Mandatory |
| HasProperty | Variable | TypeIdentification | UInt16 | PropertyType | Mandatory |
| HasProperty | Variable | Organization | UInt16 | PropertyType | Mandatory |
| HasProperty | Variable | VendorId | UInt16 | PropertyType | Mandatory |
| HasProperty | Variable | DeviceId | UInt16 | PropertyType | Mandatory |
| HasProperty | Variable | DeviceSubId | UInt16 | PropertyType | Mandatory |
| GeneratesEvent | ObjectType | PnAssetChangedEventType | |||
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 | Read | AssetManagementData | IM_UniqueIdentifier |
| Location | Read | AssetManagementData | AM_Location |
| Annotation | Read | AssetManagementData | IM_Annotation |
| OrderId | Read | AssetManagementData | IM_OrderID |
| SoftwareRevision | Read | AssetManagementData | IM_Software_Revision or AM_SoftwareRevision |
| HardwareRevision | Read | AssetManagementData | IM_Hardware_Revision or AM_HardwareRevision |
| SerialNumber | Read | AssetManagementData | IM_Serial_Number |
| TypeIdentification | Read | AssetManagementData | AM_TypeIdentification |
| Organization | Read | AssetManagementData | AM_DeviceIdentification.Organization |
| VendorId | Read | AssetManagementData | AM_DeviceIdentification.VendorID |
| DeviceId | Read | AssetManagementData | AM_DeviceIdentification.DeviceID |
| DeviceSubId | Read | AssetManagementData | 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
| Attribute | Value | ||||
| BrowseName | PnAssetContainerType | ||||
| IsAbstract | False | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
| Subtype of BaseObjectType defined in [OPC 10000-5]. | |||||
| HasPnAsset | Object | <Assets> | PnAssetType | Optional Placeholder | |