For better understanding, we show the manual interpretation of CM579-PNIO diagnosis with an example.
System: AC500 CM579-PNIO + CI501-PNIO + optional S500 I/O inserted as PROFINET standard device
Error: discrepancy time expired (class 3, error ID 3) at channel 4 of first attached S500 I/O device on CI501-PNIO
For comparison: If a method with text output is used, e.g. DiagGetFirstValAndTxt the text output will be the string: Timestamp; E3; device name; subslot 1, channel 4, extended channel diagnosis; error
ID 3: discrepancy time expired (class 3, error ID 3)
In Automation Builder the following error entry data is displayed:

Analyze the data in the following order: Element “dwAdditional” for the type of diagnosis, element “Error Code”, element “SubSysteminfo”.
Type of diagnosis
-
Analyze element “dwAdditional”, column "Additional" in error lists.
Convert the given value from decimal to hexadecimal format.
“dwAdditional” = 131076 = 16#20004
-
Interpretation:
Word 2 = 2
Word 1 = 4
-
Generate error text Add_Word 1_Word 2 = Add_4_2
-
Look up which error type it is.
Add_4_2 = extended channel diagnosis
Data analysis
-
Analyze element “Error Code”:
“dwErrorCode” = 196867 = 16#30103 ®
Word 2 (extended error type) = 16#0003
Word 1 (error type) = 16#0103
➔ Error text: Err_Word 1 (hex)_Word 2 (hex)
➔ Err_0103_0003 ®
Error ID 3 – discrepancy time expired (class 3, error ID 3)
-
Analyze “SubSysteminfo”
“dwSubSysteminfo” = 65540 = 16#10004 ®
Word 2 (subslot index) = 1
Word 1 (channel index) = 4
Error severity |
SubSysteminfo |
Additional |
Error code |
Meaning |
Remedy |
|||
---|---|---|---|---|---|---|---|---|
Word 2 (bit 16..31) |
Word 1 (bit 0..15) |
Word 2 (bit 16..31) ADD_SUB_TYPE |
Word 1 (bit 0..15) ADD_TYPE |
Word 2 (bit16...31) |
Word 1 (bit0...15) |
|||
3 |
Subslot index (0 – 16#9FFF) |
Channel index (0 – 16#7FFF) |
2 (USI: 16#8002) extended channel diagnosis |
4 (diagnosis alarm) |
Extended error type |
Error type |
Subslot <subslot idx>, channel <channel idx>, extended channel diagnosis; <error text> |
|
3 |
1 |
4 |
2 |
4 |
16#0003 |
16#0103 |
Subslot 1, channel 4, extended channel diagnosis; <error text> |
|
dwSubSysteminfo |
Add_Word 1_Word 2 |
dwErrorCode |
Entries in Diag values |
|||||
3 |
Sub2_ = Subslot |
Sub1_ = Channel |
Add_4_2 = extended channel diagnosis |
Err_Word 1_Word 2 Err_0103_0003 = error ID 3: Discrepancy time expired (class 3, error ID 3) |
Text search criteria (ID) in text list Diag_PNIO_26_22 Text from Automation Builder error list (default) in text list Diag_PNIO_26_22 |