Technical data
Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 523
23.10.2.3 Example of a DB 125 with a DP Slave
The following table shows an example of the assignment of DB125 in "Manual" mode.
DP_MASTERSYSTEM INT 0 (last value used)
EXTERNAL_DP_INTERFACE BOOL 2.0 Unused (last value used)
MANUAL_MODE BOOL 2.1 TRUE
SINGLE_STEP_SLAVE BOOL 2.2 Unused
SINGLE_STEP_ERROR BOOL 2.3 Positive edge changes to
next error
RESET BOOL 2.4 Unused (except for
positive edge)
SINGLE_DIAG BOOL 2.4 Positive edge: read frame
again
SINGLE_DIAG_ADR BYTE 3.0 Station number (1 to 126)
23.10.2.4 Example of a Request for the PROFIBUS DP DB
You want to display all errors of master system 27 on an OP. This master system is plugged into
an integrated interface.
The ET 200S station, PROFIBUS ID 15, diagnostic address 8190 has a channel error.
Query:
DP_MASTERSYSTEM 27
EXTERNAL_DP_INTERFACE FALSE
RESET to TRUE (positive edge)
Result:
ALL_DP_SLAVE_OK FALSE: Problems have occurred
SUM_SLAVES_DIAG 1: A station is faulty
SLAVE_ADR 15: PROFIBUS address
SLAVE_STATE 2: faulty
SLAVE_IDENT_NO W#16#80E0: ET 200S HF
ERROR_NO 1: First error
ERROR_TYPE 3: Channel diagnostics complying with DP standard
MODULE_NO 2
MODULE_STATE 0: Module is correct
CHANNEL_NO 2: Channel 2