154
Appendix
Slave Diagnostics Byte 3
A layout of Byte 2 is shown below. This byte is mapped to the high-byte of Word D + 1.
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 correctly, 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 ID Number of the
slave station. The ID number uniquely identifies the type of device. The ID Number is a 16-bit code issued by
the PROFIBUS Organization. For example, the ID number of the CJ1W-PRT21 PROFIBUS-DP slave is 0602
(Hex).
B-4
Extended Diagnostics Data Bytes
The afore mentioned 6 diagnostics bytes are a mandatory minimum, which is supported by every PROFIBUS-
DP slave device. Depending on the device however, it may also support extended diagnostics information,
which is coded in to 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 stan-
dard 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.
Bit
Name
Description
00
~
06
Reserved
These bits are reserved and always set to 0 by the slave station.
07
Diag.Ext_Diag_Overflow
If set, this bit indicates that there exists more diagnostic information than speci-
fied in Ext_Diag_Data. This bit will - for example - be set if the slave station has
more diagnostics available than it can enter in its send buffer. This bit will also be
set if the Master Unit receives more diagnostic information than it can enter in its
diagnostic buffer.
Byte 3
Diag.Ext_Diag_Overflow
7
6
5
4
3
2
1
0
Содержание SYSMAC CJ1W-PRM21
Страница 2: ...iv...
Страница 36: ...22 Basic Operating Procedure Section 1 5...
Страница 52: ...38 Defining PROFIBUS DP in the Software Section 2 5...
Страница 112: ...98 Allocated CIO Area Words Section 4 2...
Страница 122: ...108 Command Response Reference Section 5 2...
Страница 160: ...146 Replacing the Unit Section 7 8...
Страница 174: ...160 Appendix...
Страница 180: ...166 I O Data Conversions Appendix D...
Страница 186: ...172 Configurator Error and Warning Messages Appendix E...
Страница 187: ...173 Index...
Страница 188: ...174 Index...
Страница 190: ...176 Revision History...