Table 51 – IPnInterfaceType Definition
Attribute |
Value |
||||
BrowseName |
IPnInterfaceType |
||||
IsAbstract |
True |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of BaseInterfaceType defined in [OPC 10000-5]. |
|||||
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 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 |
DCP |
DCP-Identify-ResPDU | NameOfStationValue |
|
DCP |
DCP-Identify-ResPDU | DeviceRoleDetails |
|
DCP |
DCP-Identify-ResPDU | DeviceVendorValue |
|
DCP |
DCP-Identify-ResPDU | DeviceIDBlockRes | DeviceIDValue |
|
DCP |
DCP-Identify-ResPDU | DeviceIDBlockRes | DeviceIDValue |
|
DCP |
DCP-Identify-ResPDU | DeviceInstanceValue |
|
DCP |
DCP-Identify-ResPDU | OEMDeviceIDBlockRes | DeviceIDValue |
|
DCP |
DCP-Identify-ResPDU | OEMDeviceIDBlockRes | DeviceIDValue |
This optional method writes the NameOfStation remanent to the PROFINET device and sets the NameOfStation variable accordingly.
Signature
SetNameOfStation (
[in]String NameOfStation
);
Argument |
Description |
NameOfStation |
String 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_InvalidArgument |
The Server is not able to apply the name. The name 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. |