Omron SYSMAC CS Series Operation Manual page 257

Profibus master units
Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Slave Diagnostics Message
Bit
Name
00
Reserved
~
06
07
Diag.Ext_Diag_Overflow
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 Ident Number 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).
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 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 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.
236
These bits are reserved and always set to 0 by the slave device.
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 device 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.
7 6 5 4 3 2 1 0
0 0
Description
Block Length
Appendix B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj-seriesSysmac cj1w-prm21Sysmac cs1w-prm21

Table of Contents