Download "user manual"

Transcript
Diagnostics and Troubleshooting
11.3 Diagnostic Buffer
Definition
One part of the system status list is the diagnostic buffer that contains more
information about system diagnostic events and user-defined diagnostic
events in the order in which they occurred. The information entered in the
diagnostic buffer when a system diagnostic event occurs is identical to the
start information transferred to the corresponding organization block.
The length of the diagnostic buffer depends on the particular CPU. It is
designed as a ring buffer, in other words, if the buffer is full, the next entry
overwrites the oldest entry in the buffer.
You cannot clear the entries in the diagnostic buffer and its contents are
retained even after a memory reset.
Uses
The diagnostic buffer provides you with the following possibilities:
S If the CPU changes to the STOP mode, you can evaluate the last events
leading up to the STOP and locate the cause.
S The causes of errors can be detected far more quickly increasing the
availability of the system.
S You can evaluate and optimize the dynamic system response.
Reading Out the
Diagnostic Buffer
You can read out the diagnostic buffer with STEP 7 or using SFC51
RDSYSST.
Last Entry Before
STOP
You can specify that the last diagnostic buffer entry before the transition from
RUN to STOP is signaled automatically to a logged on display device (for
example programming device, OP, TD). This helps to locate and remedy the
cause of the change to STOP more quickly (see also Section 11.4).
System Software for S7-300 and S7-400 Program Design
C79000-G7076-C506-01
11-7