show the entry list
WinCC -- Configuring alarms and messages -- Displaying alarms and messages using Alarm Control
How can you import select messages in WinCC Alarm Control?
Why are spaces displayed at the beginning of the process-associated value (text) and characters truncated at the end?
How can you change the colors of the messages displayed in WinCC Alarm Control, also at Runtime, independently of the Alarm Logging settings?
How can you select messages in WinCC Alarm Control?
What are the differences in WinCC between message processing in the message list and in the archives?
Why does a limit message in WinCC remain although the value is once again within the configured limits?
How can I display the last message in the first line of the AlarmOCX?
What do you do if alarms are not displayed at Runtime?
How can you have multiline message texts displayed in Alarm Control?
How are messages shown in WinCC Alarm Control?
How can you have the logged-on user and computer name displayed in the alarm list in WinCC?
How do you use the "MsgFilterSQL" property of the WinCC Alarm Control in order employ an SQL statement to filter the messages to be displayed?
How can you have only selected messages displayed in the WinCC Alarm Control at Runtime?
How do you use the standard function "AXC_SetFilter()"?
What is the structure of the format instruction for displaying the contents of WinCC tag values at Runtime in the user text blocks of a message?
How can you filter messages in WinCC Alarm Control according to servers?
How do you display or print the content of the comments dialog box (comment, computer, author)?
Why are the column headers in the WinCC Alarm Control shown with the character string at runtime?
How can you change the column width of the message blocks with the mouse in WinCC Alarm Control when configuring in the Graphics Designer or in Runtime?
Why are only 1000 messages shown in the archive window although there are more in the archive?
What do the settings in "Apply project settings" in the Message Blocks tab mean when you configure the WinCC Alarm Control?
How can you change the colors of the messages displayed in WinCC Alarm Control, also at Runtime, independently of the Alarm Logging settings?
Part number:

Description:
The colors of the messages (message types) are set in Alarm Logging. You can set a color for each message type (e.g. Alarm High, Alarm Low, ...) to increase clarity when there are many messages.
If, in the Alarm Control of a WinCC picture, the messages are displayed in the same color (Fig. 01), it is difficult to distinguish between the different messages.


Fig. 01

WinCC provides the option of displaying the separate lines in different colors in the Alarm Control instead in different colors for the different message types without having to change the color settings for the message types (Fig. 02). Using a VBS script, you can switch between the two display options via a button.


Fig. 02

WARNING

  • If you change the color differentiation for the different message types, you lose the signal effect of the messages (e.g. ALARM messages), therefore you should use switching of the color differentiation only for non-safety-relevant applications.
  • The settings apply for the whole Alarm Control, i.e. when you switch the message lists (message list, short-term archive list, long-term archive list), the settings selected are retained.

Setting different colors the individual lines
 
No. Procedure
1 Open the WinCC Graphics Designer with the WinCC picture which displays the Alarm Control.
2 Double-click on the Alarm Control and select the "Effects" tab.
3 Under "Table Content", check the "Row color 2" check box and for both rows you select the background color and font color. Click on the button next to the color displayed to open the color selection dialog.


Fig. 03

4 Select the "General" tab and clear the "Show message colors" check box.


Fig. 04

Note:
If you use a button to switch between the different types of color differentiation, this check box determines the preselection when Runtime is started.

Note:
You can make the settings described also during Runtime. Proceed as follows in the Graphics Designer (before starting Runtime):

  • In the Alarm Control properties, in the "Toolbar" tab, check the "Configuration Dialog" check box in the "Button Functions" list.
  • In the Alarm Control properties, in the "Online Configuration" tab, select the "Retain during Runtime" option (changes are discarded upon termination) or the "Retain permanently" option.

During Runtime:

  • In Runtime, click on "Configuration Dialog" in the toolbar. Then you can make the settings specified in the upper table.

Changing color differentiation by button
You click on the button to switch between color differentiation by message type and color differentiation by line.
 
No. Procedure
1 Open the WinCC Graphics Designer with the WinCC picture which displays the Alarm Control.
2 Create a button (Object Palette: Windows Objects > Button).
3 Right-click on the button and select the "Properties" menu command.
4 Click on the "Event" tab and double-click on "Button" > "Mouse".
5 In the "Mouse click" line, right-click on the lightning icon in the "Action" column and select the "VBS action" menu command.
6 Insert the following lines between the existing lines and close the VBS Action editor with "OK".

Dim obj
Set obj = HMIRuntime.ActiveScreen.ScreenItems("Control1")
obj.UseMessageColor = Not obj.UseMessageColor

Note:
If you have configured more than one control on the WinCC picture, you must replace the "Control1" object name in parentheses with the object name of your Alarm Control. When you mark the Alarm Control, the object name is displayed in the status line of the Graphics Designer.

Version:
The instructions in this entry have been tested with the following versions.
 
Component Product and version designation
PC operating system Microsoft Server 2003 SP2
Standard tools ---
HMI software WinCC 7.0
Options ---
Controllers ---

Keywords:
Alarm classes, Message classes, Message type, Color change

 Entry ID:38566219   Date:2009-09-21 
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 
Topics
Help
Online Help
Guided Tour