This event type is used for PROFINET diagnosis events.
Table 102– PnDiagnosisAlarmType Definition
Attribute |
Value |
||||
BrowseName |
PnDiagnosisAlarmType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of AlarmConditionTypedefined in [OPC 10000-9]. |
|||||
HasProperty |
Variable |
API |
UInt32 |
PropertyType |
Mandatory |
HasProperty |
Variable |
Slot |
UInt16 |
PropertyType |
Mandatory |
HasProperty |
Variable |
Subslot |
UInt16 |
PropertyType |
Mandatory |
HasProperty |
Variable |
ChannelNumber |
UInt16 |
PropertyType |
Mandatory |
HasProperty |
Variable |
Type |
PnChannelTypeEnumeration |
PropertyType |
Mandatory |
HasProperty |
Variable |
Accumulative |
PnChannelAccumulativeEnumeration |
PropertyType |
Mandatory |
HasProperty |
Variable |
Maintenance |
PnChannelMaintenanceEnumeration |
PropertyType |
Optional |
HasProperty |
Variable |
Specifier |
PnChannelSpecifierEnumeration |
PropertyType |
Mandatory |
HasProperty |
Variable |
Direction |
PnChannelDirectionEnumeration |
PropertyType |
Mandatory |
HasProperty |
Variable |
UserStructureIdentifier |
UInt16 |
PropertyType |
Mandatory |
HasProperty |
Variable |
ChannelErrorType |
UInt16 |
PropertyType |
Mandatory |
HasProperty |
Variable |
ExtChannelErrorType |
UInt16 |
PropertyType |
Optional |
HasProperty |
Variable |
ExtChannelAddValue |
UInt32 |
PropertyType |
Optional |
HasProperty |
Variable |
QualifiedChannelQualifier |
UInt32 |
PropertyType |
Optional |
HasProperty |
Variable |
ManufacturerData |
ByteString |
PropertyType |
Optional |
HasProperty |
Variable |
HelpText |
LocalizedText |
PropertyType |
Optional |
If the variable UserStructureIdentifierindicates manufacturer specific diagnosis information, the variable ManufacturerDatacontains the manufacturer specific diagnosis data.
The Messagevariable of the Event and the HelpTextvariable are retrieved from the GSDML file. If the message includes a dynamic format string, this is replaced by the ExtChannelAddValue.
For an active alarm the Severityvariable of the Event must be dependent on the Maintenanceand the QualifiedChannelQualifiervariables.
The Severityis divided into the 4 categories shown in the following table:
Category |
Severity Range |
Fault |
750 – 1000 |
Maintenance demanded |
500 – 749 |
Maintenance required |
250 – 499 |
Advise |
2 – 249 |
If the Maintenancevariable is provided, the following mapping is used for the Severity value:
Maintenance |
Severity |
FAULT |
1000 |
MAINTENANCE_DEMANDED |
612 |
MAINTENANCE_REQUIRED |
362 |
If the QualifiedChannelQualifieris provided, the Severityvalue depends on the bit set in the UInt32 value of the QualifiedChannelQualifier. The bits 0 – 2 are not used.
The following mapping is used for the Severityvalue:
Bit |
Severity |
31 |
1000 |
30 |
937 |
29 |
875 |
28 |
812 |
27 |
750 |
26 |
725 |
25 |
700 |
24 |
675 |
23 |
650 |
22 |
625 |
21 |
600 |
20 |
575 |
19 |
550 |
18 |
525 |
17 |
500 |
16 |
475 |
15 |
450 |
14 |
425 |
13 |
400 |
12 |
375 |
11 |
350 |
10 |
325 |
9 |
300 |
8 |
275 |
7 |
250 |
6 |
200 |
5 |
150 |
4 |
100 |
3 |
50 |
This event is fired when a new asset (controller, device, real module, real submodule or asset) is detected, an asset was removed, or the data of an asset changed. The event is fired on the object with the change.
An asset change for a device, real module or real submodule means that its I&M data (PnIdentificationType) has changed. See section 5.3.2.6“Asset change detection” for details.
Table 103– PnAssetChangedEventType Definition
Attribute |
Value |
||||
BrowseName |
PnAssetChangedEventType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of BaseEventTypedefined in [OPC 10000-5]. |
|||||
HasProperty |
Variable |
AssetType |
PnAssetTypeEnumeration |
PropertyType |
Mandatory |
HasProperty |
Variable |
AssetChange |
PnAssetChangeEnumeration |
PropertyType |
Mandatory |
The SourceNode variable of the event includes the NodeId of the asset object.
The Severity variable shall be set according to the following table.
Severity |
Cause |
10 |
Minor important asset detected |
20 |
Normal important asset detected |
30 |
Asset of vital importance detected |
110 |
Minor important asset changed |
120 |
Normal important asset changed |
130 |
Asset of vital importance changed |
1100 |
Minor important asset removed |
1200 |
Normal important asset removed |
1300 |
Asset of vital importance removed |
This event is fired when the CommLinkToreference between two EthernetPortTypeobjects is created, removed or changed. The event is fired by the PnPortTypeobject.
This means that the physical network topology has changed.
The Severityvariable (inherited from BaseEventType) shall be set to 1.
Table 104– PnTopologyChangedEventType Definition
Attribute |
Value |
||||
BrowseName |
PnTopologyChangedEventType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of BaseEventTypedefined in [OPC 10000-5]. |
|||||
|
|
|
|
|
|
The SourceNode variable of the event includes the NodeId of the PnPortTypeobject.