Performing Device Diagnostics Via Diaggetstate(); Analyzing Profibus Diagnostics Of Individual I/O Modules; Figure 88: Diagnostics Call Diaggetstate() - WAGO -I/O-IPC-C6 Manual

Wago-i/o-system 750
Hide thumbs Also See for WAGO-I/O-IPC-C6:
Table of Contents

Advertisement

160
PROFIBUS Master in CoDeSys 2.3
Diagnostic information
If READY = TRUE, then STATE indicates the current bus status by one of the
following values:
BUSOK: All configured slaves are in data exchange with the DP master.
BUSFAULT: One or more configured slaves are not in data exchange with the
DP master
BUSNOTCOMMUNICATION: All configured slaves are not in data exchange
with the DP master.
12.5.6

Performing Device Diagnostics via DiagGetState()

If the bus diagnostics have revealed that an I/O module contains diagnostic
information, then conduct participant diagnostics on the corresponding slave. To
do this, proceed as follows:
1.
Call up the function block DiagGetState() by setting the input ENABLE to
"True."
2.
Specify the slave that provides the diagnostic information at the input
variable BUSMEMBERID. In this example it is the slave with the fieldbus
address 5.

Figure 88: Diagnostics call DiagGetState()

DRIVERNAME:
The input parameter DRIVERNAME is specified through the instance data
of the function block DiagGetBusState.
DEVICENUMBER:
The DEVICENUMBER for the I/O-IPC must always be 4.
Pos: 46.16 /Serie 758 (Funk, IPC und PFC)/Feldbuskommunikation/CoDeSys-Diagnose 758-87x Auswertung DPM @ 10\mod_1313131108844_21.doc @ 76551 @ 3 @ 1
12.5.7

Analyzing PROFIBUS Diagnostics of Individual I/O Modules

The array elements [0] to [22] listed in the illustration below are reserved for the
PROFIBUS standard diagnostics. From array element [23] onwards, they include
diagnostic information of the WAGO I/O modules.
758-874/000-131 WAGO-I/O-IPC-C6
5
WAGO-I/O-SYSTEM 750
Manual
Version 1.0.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

I/o-system 750758-874/000-111

Table of Contents