Technical data

Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 521
"MANUAL" mode
In this mode all errors in the selected station are shown in sequence.
"AUTOMATIC" mode
In this mode all the errors in all configured stations are shown in sequence.
Static variable area
Address Name Data type Description
0 DP_MASTERSYSTEM INT Number of the DP master system
2.0 EXTERNAL_DP_INTERFACE BOOL External DP interface (CP/IM)
2.1 MANUAL_MODE BOOL Operating mode
2.2 SINGLE_STEP_SLAVE BOOL Switch to the next affected station
2.3 SINGLE_STEP_ERROR BOOL Switch to the next error
2.4 RESET BOOL DP master system (number and
interface) are applied; everything is
reinitialized
2.5 SINGLE_DIAG BOOL DP_Slave individual diagnostics
3 SINGLE_DIAG_ADR BYTE DP_Slave address for individual
diagnostics
4.0 ALL_DP_SLAVES_OK BOOL Group display showing whether all
DP slaves are operating correctly
5 SUM_SLAVES_DIAG BYTE Number of affected stations (faulty or
failed)
6 SLAVE_ADR BYTE Station number of current station
7 SLAVE_STATE BYTE Status of the station:0:OK
1:Failed
2:Faulty
3:Not configured/cannot be
diagnosed
8 SLAVE_IDENT_NO WORD PROFIBUS identification number
10 ERROR_NO BYTE Current error number
11 ERROR_TYPE BYTE 1: Rack diagnostics (general info)
2: Submodule status
3: Channel diagnostics as per DP
standard
4: S7 diagnostics (DS0/DS1)
5: Device diagnostics
(manufacturer-specific)
6: Line diagnostics (diagnostic
repeater)
7: Decoded device diagnostics
12 MODULE_NO BYTE Slot number.
13 CHANNEL_NO BYTE Channel number.
14 CHANNEL_TYPE BYTE Channel type
15 CHANNEL_ERROR_CODE BYTE Error code