6.3.4.1 PnDiagnosisAlarmType

This event type is used for PROFINET diagnosis events.

Table 102 – PnDiagnosisAlarmType Definition
Attribute Value
BrowseNamePnDiagnosisAlarmType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of AlarmConditionType defined in [OPC 10000-9].
HasPropertyVariableAPIUInt32PropertyTypeMandatory
HasPropertyVariableSlotUInt16PropertyTypeMandatory
HasPropertyVariableSubslotUInt16PropertyTypeMandatory
HasPropertyVariableChannelNumberUInt16PropertyTypeMandatory
HasPropertyVariableTypePnChannelTypeEnumerationPropertyTypeMandatory
HasPropertyVariableAccumulativePnChannelAccumulativeEnumerationPropertyTypeMandatory
HasPropertyVariableMaintenancePnChannelMaintenanceEnumerationPropertyTypeOptional
HasPropertyVariableSpecifierPnChannelSpecifierEnumerationPropertyTypeMandatory
HasPropertyVariableDirectionPnChannelDirectionEnumerationPropertyTypeMandatory
HasPropertyVariableUserStructureIdentifierUInt16PropertyTypeMandatory
HasPropertyVariableChannelErrorTypeUInt16PropertyTypeMandatory
HasPropertyVariableExtChannelErrorTypeUInt16PropertyTypeOptional
HasPropertyVariableExtChannelAddValueUInt32PropertyTypeOptional
HasPropertyVariableQualifiedChannelQualifierUInt32PropertyTypeOptional
HasPropertyVariableManufacturerDataByteStringPropertyTypeOptional
HasPropertyVariableHelpTextLocalizedTextPropertyTypeOptional

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
Fault750 – 1000
Maintenance demanded500 – 749
Maintenance required250 – 499
Advise2 – 249

If the Maintenance variable is provided, the following mapping is used for the Severity value:

Maintenance Severity
FAULT1000
MAINTENANCE_DEMANDED 612
MAINTENANCE_REQUIRED362

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
311000
30937
29875
28812
27750
26725
25700
24675
23650
22625
21600
20575
19550
18525
17500
16475
15450
14425
13400
12375
11350
10325
9300
8275
7250
6200
5150
4100
350