show the entry list
WinCC -- Operation and maintenance -- Diagnosing errors (evaluating diagnostics files)
How do you use the "SIMATIC Diagnostics Tool" (SDT2012) to collect diagnostics and system data?
How do you perform comprehensive diagnostics in PCS 7 and WinCC plants?
How do you use the "SIMATIC Diagnostics Tool" (SDT2011) to gather together the diagnostics and system information of multiple computers on one computer?
What do the error messages "Transfer buffer too small", "TagQueue overflow" and "Messages are lost" mean?
Why does the error "S7OPCIAX" occur in the event display?
How can you recognize resource bottlenecks in advance from WinCC and react to them accordingly?
Where can you find a description of the error messages of the Global Script diagnostics window in WinCC RT?
How can I determine the name of an action via the error message "Execute Error in Action @xxx"?
What can be the cause of the WinCC error message "More than 10000 actions in work" (up to V6.2: "More than 5000 actions in work")?
How can you back up the data of the Windows event viewer?
How do you save the diagnostics data of the Windows system monitor (performance monitor) in a file?
How can you define the amount of memory required for the performance indicator log of the Windows system monitor (performance monitor)?
Where can I find explanations of the error messages of the WinCC diagnostics files License.log, WinCC_SStart_xx.log and WinCC_Sys_xx.log ?
How do you evaluate and remedy "OnErrorExecute"-type configuration errors?
How do you write outputs from the "APDiag" diagnostic tool to a file?
How do you use the diagnostic tool "APDiag" to debug C scripts?
How do you determine the function name from the function ID in the case of APDiag-OnErrorExecute messages?
How do you start the "APDiag" script diagnostics tool?
How do you determine the function name from the function ID in the case of APDiag-OnErrorExecute messages?
Part number:

Instructions:
In APDiag-OnErrorExecute messages, function IDs are displayed instead of the function names. These function IDs are only of relevance where there are errors in global script actions. What this means in practice during troubleshooting is that the function ID only has to be checked if the OnErrorExecute message contains no information about the picture, object and property. Here is the procedure for identifying the global script action from the function ID:
 
No. Procedure
1 Insert a global script runtime application window into a WinCC picture.


Fig. 01   
 

Note:
A global script diagnostics application window has also been inserted in this example.

2

During the WinCC runtime, open the picture with the global script runtime application window.


Fig. 02  
 

The global script runtime window lists information about all the global script actions in tabular form. The action can be determined from the corresponding ID here. The reference for determining the global script action from the function ID is only valid until WinCC runtime ends.

Note:
The global script diagnostics window contains the same outputs as those which appear in the APDiag output window.

3 Evaluate the screen outputs. The function ID "@7" is displayed as a function name in the global script diagnostics window or APDiag output window. You can identify the relevant function name, in this case "Actions.pas", in the global script runtime window. The diagnostic messages indicate that the function is accessing a non-existent tag. In this example, "Actions.pas", the error message is caused by the "GetTagWord()" being called. An attempt is made to access the tag called "Test_Variable01", although it is not created in the tag management.

Note:
The global script runtime window allows you, among other things, to open a selected action for editing via the pop-up menu.


 Entry ID:22196773   Date:2005-11-04 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour