Page 729
PROFIBUS-Specification-Normative-Parts-8:1997
Copyright by PNO 1997 - all rights reserved
Example: Structure of a diagnostic according to the pattern above
MSB LSB
+--+--+--+--+--+--+--+--+
!7 !6 !5 !4 !3 !2 !1 !0 !
+--+--+--+--+--+--+--+--+
+--+--+--+--+--+--+--+--+
!0 !0 !0 !0 !0 !1 !0 !0 ! device related diagnostic:
+--+--+--+--+--+--+--+--+
! device specific ! meaning of the bits is defined
+--+--+--+--+--+--+--+--+ manufacturer specific
! diagnostic field !
+--+--+--+--+--+--+--+--+
! of length 3 !
+--+--+--+--+--+--+--+--+
!0 !1 !0 !0 !0 !1 !0 !1 ! identifier related diagnostic:
+--+--+--+--+--+--+--+--+
! 1 ! identifier number 0 has diagnostic
+--+--+--+--+--+--+--+--+
! 1 ! identifier number 12 has diagnostic
+--+--+--+--+--+--+--+--+
! 1 ! identifier number 18 has diagnostic
+--+--+--+--+--+--+--+--+
! !
+--+--+--+--+--+--+--+--+ channel related diagnostic:
!1 !0 !0 !0 !0 !0 !0 !0 ! identifier number 0
+--+--+--+--+--+--+--+--+
!0 !0 !0 !0 !0 !0 !1 !0 ! channel 2
+--+--+--+--+--+--+--+--+
!0 !0 !1 !0 !0 !1 !0 !0 ! overload, channel bit organized
+--+--+--+--+--+--+--+--+
!1 !0 !0 !0 !1 !1 !0 !0 ! identifier number 12
+--+--+--+--+--+--+--+--+
!0 !0 !0 !0 !0 !1 !1 !0 ! channel 6
+--+--+--+--+--+--+--+--+
!1 !0 !1 !0 !0 !1 !1 !1 ! upper limit value exceeded, channel
+--+--+--+--+--+--+--+--+ word organized
If the DP-Slave transmits more diagnostic information than the DP_Master is able
to process in its diagnostic buffer, the DP-Master sets the bit
Diag.Ext_Diag_Overflow. If there are more diagnostic information pending at the
DP-Slave than can be transmitted, the following is to note:
- it is allowed to truncate only on the block limits of the device
related, identifier related or channel related diagnostic.
- if in the length field of the device related diagnostic or the identifier
related diagnostic a length unequal to zero is entered, this marks a
complete (not truncated) diagnostic block.
For efficiency reasons it is allowed to transmit a Diag_Data field with a fixed
length. In this case the unused bytes following Ext_Diag_Data shall be filled
with zero at the DP-Slave and/or the DP-Master (class 1).
9.3.2 Transfer Input and Output Data
This function permits the local user of the DP-Master to transmit output data to
a DP-Slave and at the same time to request input data from this remote station.
The number of input and output data which are reserved by the DP-Slave are
checked against the configuration data during the start-up phase of the DP-
System. If diagnostic messages or errors occur in the DP-Slave, the existence of