
162 PROFIBUS Master in CoDeSys 2.3
WAGO-I/O-SYSTEM 750
758-874/000-131
WAGO-I/O-IPC-C6
Manual
Version 1.0.0
Description of the Diagnostic Information of the Function Block
DiagGetState.EXTENDEDINFO for PROFIBUS
This section describes the array EXTENDEDINFO[0-22] of the PROFIBUS
specification diagnostics.
EXTENDEDINFO[0]: Slave
address
EXTENDEDINFO[1]: 0
(free)
EXTENDEDINFO[2]: 0
(free)
EXTENDEDINFO[3]: 0
(free)
EXTENDEDINFO[4]: 0
(free)
EXTENDEDINFO[5]:
x, length of the diagnostics
EXTENDEDINFO[6]: 10
(free)
EXTENDEDINFO[7]: 1
(free)
EXTENDEDINFO[8]: Station status 1
EXTENDEDINFO[9]: Station status 2
EXTENDEDINFO[10]: Station status 3
EXTENDEDINFO[11]:
Master address
EXTENDEDINFO[12 -13]:
The slave station uses the 2 bytes for its
ident number.
EXTENDEDINFO[14…(8+x-1)]:
Ext_Diag_Data (x > 6, for x <= 6 no
extended information available from the
slave)
Diagnostic information
In this module, the first 100 bytes of diagnostic information can be read.
Station status 1:
Bit 1:
Slave does not respond.
Bit 2:
Slave is not ready.
Bit 3:
Slave is incorrectly parameterized.
Bit 4:
Used for extended diagnostics.
Bit 5:
Slave detected unknown command.
Bit 6:
Response of the slave is not plausible.
Bit 7:
Last parameter telegram incorrect.
Bit 8:
Slave is parameterized from a different master.