Table 63 – PnIdentificationType Definition
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 |
Read |
I&M0 | VendorID |
|
Read |
I&M0 | OrderID |
|
Read |
I&M0 | IM_Serial_Number |
|
Read |
I&M0 | IM_Software_Revision |
|
Read |
I&M0 | IM_Hardware_Revision |
|
Read |
I&M0 | IM_Profile_ID |
|
Read |
I&M0 | IM_Profile_Specific_Type |
|
Read |
I&M0 | IM_Version |
|
Read |
I&M0 | IM_Revision_Counter |
|
Read |
I&M0 | IM_Supported |
|
Read |
I&M1 | IM_Tag_Function |
|
Read |
I&M1 | IM_Tag_Location |
|
Read |
I&M2 | IM_Date |
|
Read |
I&M3 | IM_Descriptor |
|
Read |
I&M4 | IM_Signature |
|
Read |
I&M5 | I&M5Data, see chapter 6.3.3.1.2 for details Array size: I&M5 | NumberOfEntries |
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. |
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. |
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. |
Table 64 – PnAssetType Definition
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 |
Read |
AssetManagementData | IM_UniqueIdentifier |
|
Read |
AssetManagementData | AM_Location |
|
Read |
AssetManagementData | IM_Annotation |
|
Read |
AssetManagementData | IM_OrderID |
|
Read |
AssetManagementData | IM_Software_Revision or AM_SoftwareRevision |
|
Read |
AssetManagementData | IM_Hardware_Revision or AM_HardwareRevision |
|
Read |
AssetManagementData | IM_Serial_Number |
|
Read |
AssetManagementData | AM_TypeIdentification |
|
Read |
AssetManagementData | AM_DeviceIdentification.Organization |
|
Read |
AssetManagementData | AM_DeviceIdentification.VendorID |
|
Read |
AssetManagementData | AM_DeviceIdentification.DeviceID |
|
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”.
Table 65 – PnAssetContainerType Definition
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 |