Implementing and Diagnose
CAN-CBM-DP
Software Manual Rev. 2.0
17
3.4.2 External (Module-Specific) Diagnose Bytes
The CAN-CBM module supports diagnose bytes 6 to 10 for module-specific diagnose messages.
Diagnose
bytes
Meaning
0...5
defined in the PROFIBUS specification (see previous chapter)
6
length specification for module-specific diagnose information
(here always 5)
7
header byte: bits 0...5 contain the block length including header
(here always 4)
8
DP service (SAP) which led to error
9
depending on status of byte 8:
byte 8 = 3D hex setting (SAP61) faulty, byte 9 contains the number of the faulty
setting byte
byte 8 = 3E hex
configuration (SAP62) faulty, byte 9 contains the number of the
faulty PROFIBUS module (= address of the simulated PLC
module)
10
depending on status of byte 8:
byte 8 = 3D hex setting (SAP61) faulty, byte 10 shows the PROFIBUS master
with the correct values
byte 8 = 3E hex
configuration (SAP62) faulty
1 wrong I/O type: "out- input" or "blank")
correct: "input" or "output"
2 wrong unit, such as "words"
correct: unit = "byte"
3 wrong length
correct: length = 1-8 or 16
4 only one byte has been specified for identifier
5 format specification is missing
6 wrong identifier
Table 3.4.5:
Module-specific status messages