Technical data
Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
524 Manual, 05/2010, A5E02789666-01
ALL_DP_SLAVE_OK FALSE: Problems have occurred
CHANNEL_TYPE 2: Output
CHANNEL_ERROR_CODE 1: Short circuit
CHANNEL_ERROR_INFO_1 2: Short circuit
CHANNEL_ERROR_INFO_2 0
DIAG_COUNTER 3: 3 diagnostic interrupts have already been triggered
DIAG_OVERFLOW FALSE
BUSY FALSE
Variable Bit address Value Explanation
CONFIG_SLAVES 1176 + 15 - 1 = 1192 TRUE Station 15 is configured
EXIST_SLAVES 1192 + 15 – 1 = 1216 TRUE Station 15 exists
FAILED_SLAVES 1208 + 15 – 1 = 1222 FALSE Station 15 has not failed
FAULTY_SLAVES 1224 + 15 – 1 = 1238 TRUE Station 15 is faulty
AFFECT_SLAVES 1240 + 15 – 1 = 1254 TRUE Station 15 is affected
AFFECT_SLAVES_MEM 1256 + 15 – 1 = 1270 TRUE Station 15 was affected
DIAG_CNT 1272 + (15-1) * 8 = 1384 B#16#3 3 Diagnostic interrupts
When the error is eliminated, the boxes are updated:
Result:
ALL_DP_SLAVE_OK TRUE: No problem occurred
SUM_SLAVES_DIAG 0: No station is faulty
Variable Bit address Value Explanation
CONFIG_SLAVES 1176 + 15 - 1 = 1192 TRUE Station 15 is configured
EXIST_SLAVES 1192 + 15 – 1 = 1216 TRUE Station 15 exists
FAILED_SLAVES 1208 + 15 – 1 = 1222 FALSE Station 15 has not failed
FAULTY_SLAVES 1224 + 15 – 1 = FALSE Station 15 is faulty
AFFECT_SLAVES 1240 + 15 - 1 FALSE Station 15 is affected
AFFECT_SLAVES_MEM 1256 + 15 - 1 TRUE Station 15 was affected
DIAG_CNT 1272 + (15-12) * 8 B#16#4 4 Diagnostic interrupts