Technical data

Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
534 Manual, 05/2010, A5E02789666-01
A_AssociatedValue[1] W#16#8C06
A_AssociatedValue[2] W#16#1
A_AssociatedValue[3] W#16#0
A_AssociatedValue[4] W#16#0
A_AssociatedValue[5] W#16#0
A_AssociatedValue[6] W#16#8002
U_SubComponentCount W#16#0
U_SubComponentFault[] {FALSE}
6. Check the validity:
If Q_ClientID_Intern is not equal to DW#16#00000005,
return to step 1
7. The data can be evaluated. The DB is reinitialized automatically.
Example 2:
You want to call up the errors of the DP master system connected to the CP with diagnostic
address E 16383 on an OP with the IP address 192.168.10.54. DP stations with PROFIBUS
addresses 1, 48, 50 were configured. Station 1 is disrupted, station 48 is running problem-free and
station 50 has failed.
Query
1. As long as Q_ClientID_Intern does not equal DW#16#00000005,
Q_ClientID_User := DW#16#00000005
2. If Q_ClientID_Intern is equal to DW#16#00000005,
Q_WithSubComponent := TRUE
C_AddressMode := B#16#1
C_ComponentID := W#16#3FFF
E_ErrorNo := 0
Q_Start := TRUE
3. Wait until Q_Busy is set to FALSE
4. If Q_ClientID_Intern is not equal to DW#16#00000005.
return to step 1
5. Read out the data:
S_SupFault FALSE
S_NotAvailable FALSE
S_Faulty TRUE
S_MoreErrors FALSE
S_Maintenance1 FALSE