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 AlarmConditionType defined 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 UserStructureIdentifier indicates manufacturer specific diagnosis information, the variable ManufacturerData contains the manufacturer specific diagnosis data.
The Message variable of the Event and the HelpText variable 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 Severity variable of the Event must be dependent on the Maintenance and the QualifiedChannelQualifier variables.
The Severity is 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 Maintenance variable is provided, the following mapping is used for the Severity value:
Maintenance |
Severity |
FAULT |
1000 |
MAINTENANCE_DEMANDED |
612 |
MAINTENANCE_REQUIRED |
362 |
If the QualifiedChannelQualifier is provided, the Severity value 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 Severity value:
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 |