PROFINET IO
User manual 57106_hdb_en_13 83 / 94
11.8 Access to diagnostic data
11.8.1 Acyclic Access
If the interrupt has been activated via the parameterization in the correspond-
ing module or in the Cube20S PROFINET IO device, Cube20S modules ca-
pable of triggering interrupts automatically send process diagnostic interrupt
data to the master system.
The functional block SFB 52 - RDREC can be used to read the diagnostic
data sent last in an acyclic manner from the module.
11.8.2 Diagnostic data of PROFINET IO device
Using slot = 0 / subslot = 1 access the PROFINET IO device.
Depending on the index you receive the following data back:
Index = 0x0000: 4 bytes
Byte 0: diagnostic byte 1
Byte 1: diagnostic byte 2
Bytes 2 ... 3: 0 (fixed)
Index = 0x0001: 20 bytes
Byte 0: diagnostic byte 1
Bytes 1 ... 19: 0 (fixed)
Design
Tab. 11-7: Structure of diagnostic data record
Byte Bit 7 ... 0 Comment
0
diagnostic
-byte 1
Bit 0 Error on the Cube20S bus
Bit 1 The parameters could not be written to the PROFINET IO
device.
Bit 2 General parameter error of PROFINET IO device
Bit 3 Version error on Cube20S bus
(at least one module on Cube20S bus is not supported)
Bit 4 An unexpected restart has been performed
Bit 5 Port monitoring
(Data transmission impossible according to PROFINET
IEC 61158)
Bit 6 Port monitoring
(Remote mismatch after PROFINET IEC 61158)
Bit 7 Configuration error Cube20S bus
(Actual configuration does not match the nominal configu-
ration)
1
diagnostic
-byte 2
Bit 0 Module has been removed.
Bit 1 Shared Device error. This hardware revision state does
not support Shared Device.
Bit 2 FMM configuration has been changed - manual restart re-
quired.
(see section 11.6 FMM - Free Module Mapping, Seite 73)
Bit 7 ... 3 fixed
2 ... 3 (19) 0x00 fixed