device manual AS-i DP - Gateway
If this parameter ('Extended Profibus Diag.', byte 37 bit 5 TRUE) is changed to Enabled the AS-i DP-
Gateway transfers the extended diagnosis data as described below. These data generate a DP
diagnosis request in case of an error in the AS-i DP- Gateway. It is therefore necessary when using a
Siemens PLC to program the block OB82 to detect this condition otherwise the PLC will be caused to
stop. If this parameter is Disabled (preset value) the AS-i DP- Gateway transmits only the standard
diagnosis. In this case an AS-i error has no direct effect on the Profibus DP system, however bits 4..7
of the first byte (from standard diagnosis) or the command channel are to be monitored via the PLC.
5.1.3 AS-i diagnostics:
The AS-i master status information in the first byte of the digital inputs of the single /A slave data (byte
0, bit 4..7) contains the master flags of the respective AS-i system:
Bit7 Bit6 Bit5 Bit4
reserved
configuration error in
AS-i system
no AS-i slave detected periphery fault
The AS-i master control information in the first byte of the digital outputs of the single/A slave data
(byte 0, bit 4..7) controls the stored diagnostic information:
bit7 bit6 bit5
bit4
reserved
reserved
reset the stored diagnostic
data
activate transfer of the stored
diagnostic data
If bits 4 and 5 of the control information are unswitched (default condition) the extended diagnosis
contains the current system state. Should a short disturbance be detected, the AS-i DP- Gateway can
be instructed by means of bit 4 to store this error condition. This storage can be deleted using bit 5 or
by switching off the AS-i DP-Gateway. If bit 4 is TRUE and a configuration error takes place the
corresponding bit in the extended device diagnosis remains TRUE even after the slave is correctly
detected.
5-29