Beruflich Dokumente
Kultur Dokumente
WinCC – Diagnostics
Initial checks
First things to check, in case of strange problems:
Are WinCC versions are the same on all stations (same version, same service pack, same
hotfix)?
Any trace of viruses on the whole system?
Particularly important in a server-client system, has it been configured strictly following all
Siemens and Danieli Automation guidelines and recommendations?
Is there a more recent update is available that may solve the issue?
What has changed after the last time the system was correctly working?
Try simple tests that may help circumscribe the problem, such as:
o Install same application in another PC station
o Try another application in same PC
o Create new project with minimum necessary content in same PC
o Understand if problem is related to whole application or only certain areas
o Check situation with individual WinCC tasks (ex. alarms, trends, scripts) temporarily
disabled
Local diagnostics
About diagnostics to be performed on site.
Application Diagnostics
WinCC provides an application, ApDiag, that gives information during the runtime session.
This application is to be started before or during a WinCC runtime session, it will gather some
categories of errors issued by WinCC scripts. Show them by choosing “Open” on menu:
A perfectly developed and tuned WinCC application should not present any error message.
When all “developer errors” have been corrected, this tool may still be useful to identify unexpected
errors arising periodically.
zAUTOMATION 3
Channel Diagnosis
Start it from Windows Start menu:
This application will give information about each PLC channel communication status:
In case of communication problems it may help to prepare screenshots, with the following strategy:
This tool may help also to understand why some pages stay much time to be completely open:
The item “PLC Tag Subscriptions” counts how many tags there are for each polling cycle in the
present situation (open pages, trends, alarms, etc). The target is to reduce the number of tags that
use high frequency polling (100ms, 200ms) moving them to slower polling (1s, 2s).
Gathering data
Data can be gathered automatically or manually.
A fast way to obtain this is to use free tools available online: one possibility is using “Belarc Advisor”,
it will create a report with all the necessary data for the PC station.
Citamis.str
RASETUP*.LOG
The logs may be compared between stations that have different behavior to spot differences.
All this data needs be gathered for each PC station involved on the project, or at least one for each
kind (if the same kind of stations share the same behavior).
It can be downloaded from Siemens internet site or (but in this case it is not assured to be in latest
version) copied from the Danieli folder:
\\atlasc\Software\DevTools\HMI\Siemens
(WinCC&SimaticNet)\WinCC\Tools\SDT_SiemensDiagnosticTool
It simply consists on an executable file to be locally started on each computer involved in the WinCC
architecture.
The whole gathering operation will take around 10 minutes for each computer, the files are
exported in a sub-folder of where SDT executable has been placed and will contain a ZIP with this
kind of data:
Read the Quick Start Guide released by Siemens for further information.