A-27
Appendices
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
A-7 Slave Diagnostics Message
App
Slave Diagnostics Byte 4
Slave Diagnostics Byte 4 is mapped to the low byte of Word D+1. This byte contains the PROFIBUS
address of the Master Unit, which parameterized the slave. If the slave is not parameterized cor-
rectly, the byte contains FF (Hex) or 255 (Decimal).
Slave Diagnostics Bytes 5 to 6
Slave Diagnostics Bytes 5 and 6 are mapped to Word D+2. They contain the PROFIBUS Ident Num-
ber of the slave device. The Ident number uniquely identifies the type of device. The Ident Number is
a 16-bit code issued by the PROFIBUS Organization. For example, the Ident number of the CJ1W-
PRT21 PROFIBUS DP slave is 0602 (Hex).
The aforementioned 6 diagnostics bytes are a mandatory minimum, which is supported by every PRO-
FIBUS DP slave device. Depending on the device however, it may also support extended diagnostics
information, which is coded into the bytes following the first 6 mandatory bytes. The number of
extended bytes depends on the coding and the events that have occurred in the slave device. Normally,
they will not be added to the standard diagnostics message, i.e. the first 6 mandatory bytes, if no event
occurred.
There are three types of extended diagnostics information:
• Device related diagnostics
• Module related diagnostics
• Channel related diagnostics
The Module related diagnostics, are usually followed by the Channel related diagnostics. Both the
Device related diagnostics and the Module / Channel related diagnostics can occur in one message.
Device Related Diagnostics
The Device related diagnostics data block consist of a header byte followed by one or more device
dependent diagnostics data bytes. The header byte indicates the type of diagnostics data and the
total length of the data block. The header byte layout is shown below.
Note The Device related diagnostics as defined above is according to the PROFIBUS-DP standard.
With the release of the PROFIBUS DP-V1 standard, the Device related diagnostics contents has
been re-defined to accommodate diagnostics from slave devices supporting PROFIBUS DP-V1.
A-7-3 Extended Diagnostics Data Bytes
Bit Name Description
00 to 05 Block length These bits contain the length of the Device related diagnostics data block, includ-
ing the header byte. The Device diagnostics will follow this header byte.
Maximum length of the block, including the header is 63 bytes.
Interpretation of the diagnostics bytes in this block is device dependent.
06 to 07 Reserved Fixed to 00.
The combination of bit 6 and 7 indicate the type of diagnostics, i.e. 00 indicates
Device related diagnostics data.
0 0
76543210
Block Length