3 Integration of the module in PROFIBUS-DP
3.1 Data mapping under PROFIBUS-DP
XI/ON: XNE-1SWIRE
09/2011 MN05002016Z-EN
www.eaton.com
29
3.1.3
Diagnostics
Diagnostics data contains the error messages for the higher-level system that relate
to operation and the application.
The diagnostics indication mode for the PROFIBUS-DP gateway can be set in two
ways with the “Gateway diagnostics” parameter. “Devices, ID, Channel diagnos-
tics” selects a more detailed diagnostics indication. The diagnostics message then
consists of:
•
2 bytes of gateway diagnostics (device-related diagnostics)
•
64 bits of ID-specific diagnostics
•
n × 3 bytes channel-specific diagnostics (n: number of channels with active diag-
nostics)
The channel specific diagnostics indication enables the name of the error type to be
displayed in plain text (e.g. Parameter error) through the use of an error number.
When “Device-related Diagnostics” is selected, an abbreviated diagnostics
message is generated that simply shows the gateway diagnostics (device-related
diagnostics). The diagnostics bytes of all station modules are attached that support
diagnostics.
This should be interpreted as follows for the XNE-1SWIRE modules:
Tab. 13 Structure of the diagnostics bytes
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Byte 1
GENERAL
ERR
U
SWERR
free
COM
ERR
free
RDY
ERR
free
SW
ERR
Byte 2
free
U
AUXERR
TYPE
ERR
free
PKZ
ERR
free
SD
ERR
free
TYPE
ERR
field
Byte 3
TYPE
ERR
S8
TYPE
ERR
S7
TYPE
ERR
S6
TYPE
ERR
S5
TYPE
ERR
S4
TYPE
ERR
S3
TYPE
ERR
S2
TYPE
ERR
S1
Byte 4
TYPE
ERR
S16
TYPE
ERR
S15
TYPE
ERR
S14
TYPE
ERR
S13
TYPE
ERR
S12
TYPE
ERR
S11
TYPE
ERR
S10
TYPE
ERR
S9
Slave diagnostics bit field
Byte 5
SD
ERR
S8
SD
ERR
S7
SD
ERR
S6
SD
ERR
S5
SD
ERR
S4
SD
ERR
S3
SD
ERR
S2
SD
ERR
S1
Byte 6
SD
ERR
S16 SD
ERR
S15 SD
ERR
S14 SD
ERR
S13 SD
ERR
S12 SD
ERR
S11 SD
ERR
S10 SD
ERR
S9
PKZ field
Byte 7
PKZ
ERR
S8
PKZ
ERR
S7
PKZ
ERR
S6
PKZ
ERR
S5
PKZ
ERR
S4
PKZ
ERR
S3
PKZ
ERR
S2
PKZ
ERR
S1
Byte 8
PKZ
ERR
S16
PKZ
ERR
S15
PKZ
ERR
S14
PKZ
ERR
S13
PKZ
ERR
S12
PKZ
ERR
S11
PKZ
ERR
S10
PKZ
ERR
S9