CPU ADAM 821x
Chapter 6 Deployment of the CPU 821xDP
ADAM 8000 Manual CPU 821x – Rev 1.1
6-17
The device related diagnostic data provide detailed information on the slave
and the peripheral modules. The length of the device related diagnostic
data is fixed at 10Byte.
Byte
Bit 7...Bit 0
6
Bit 0...5: length equipment related diagnostic data
001010: length 10Byte (fixed)
Bit 6...7: Code for equipment related diagnostics
00: Code 00 (fixed)
7
Bit 0...Bit 7: equipment related diagnostic message
12h: Error: data length parameters
13h: Error: data length configuration data
14h: Error: configuration entry
15h: Error: VPC3 buffer calculation
16h: Error: missing configuration data
17h: Error: Difference DP parameterization and configuration
40h: User defined diagnostic is valid
8...10 reserved
11...15 User specific diagnostic data that are stored behind the
diagnostic status byte in the process picture of the CPU.
This data may be overwritten and forwarded to the master.
In case of a diagnostic action the contents of Byte 11...15 of the equipment
related diagnostic data will be transferred to the process image of the CPU
and get a status byte in front.
Where this diagnostic block with a length of 6Byte is located in the process
image is definable via the CPU parameters.
You start diagnostics by means of a status change from 0
→
1 in the
diagnostic status byte. This transmits the respective diagnostic message to
the master.
A status of 0000 0011 is ignored!
The diagnostic block of the CPU has the following structure:
Byte
Bit 7...Bit 0
0
diagnostic status byte:
Bit 0: user specific diagnostic data
0: invalid diagnostic data
1: valid diagnostic data (starting a diagnosis)
Bit 1: delete diagnostic
0: diagnostic deletion invalid
1: diagnostic deletion valid
Bit 2...Bit 7: reserved
1...5
Bit 0...Bit 7: user specific diagnostic data
equal to Byte 11...15 of equipment related diagnostic
Device related
diagnostic data
Starting
diagnostics