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?
WinCC -- Configuring alarms and messages -- Configuring Alarm Logging
How do you calculate the memory requirement of a server or central archive server (CAS)?
How can I create a message in WinCC if, when backing up an archive, the backup path is not available, cannot be reached or the data medium is full?
How can you switch off the message 1000915 "Terminal adapter disconnect"?
How can I avoid the whole screen being filled when I open a picture using the OpenPicture function via LoopInAlarm?
How can you increase the timeout for starting and terminating Alarm Logging / Tag Logging?
What do the error messages "Transfer buffer too small", "TagQueue overflow" and "Messages are lost" mean?
Which functions do the different variable types have for the individual messages?
How can you get specific messages to flash in the alarm list until the user has acknowledged them?
What format is best suited for defining the AlarmLogging-event variables?
What do you do if alarms are not displayed at Runtime?
How can you assign the functions of the toolbar buttons of WinCC Alarm Logging OCX to external buttons?
How can I delete individual messages from a group message?
When are alarms initiated by the limit monitoring in WinCC if the limit values are supplied indirectly?
What should I watch out for when assigning the names of message types, message classes and group messages?
Why isn’t there display of the "Comment" toolbar button of the Alarm Logging Control in Runtime?
How can you display process values formatted in an Alarm Logging message line?
How can I change the state texts of the message classes from +, -, * to actual text of my own?
How can you check the configuration of the Alarm Logging to see whether there is multiple use of message, status and acknowledge tags or whether the message tags are not configured?
At Runtime, how can you determine the message texts or process-associated values when a message appears in the associated, user-specific action "GMsgFunction()"?
How do you display and operate alarms in Runtime?
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 create messages whose message texts consist of a fixed part and a variable part?
What do the statuses of the status and acknowledge tags look like in the Alarm Logging?
What statuses can a message go through at Runtime?
How can I use the limit-value monitoring function of Alarm Logging to monitor the free drive space of a hard disk?
Why after WinCC Runtime starts is a message displayed with the text "..... already used"?
How can you configure user-defined message classes?
How can you change the acquisition cycle of the WinCC Alarm Logging?
How can you use the status tag of a message?
What should you watch out for in particular with the "Loop in Alarm" function?
How can you export, change and then reimport message texts?
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?
Part number:

Instructions:
If the contents of process tags are to be displayed via process value blocks in user text blocks at Runtime, you need a special format instruction in the user text block. The format instruction defines the process value blocks as well as the position, data type and optional format parameters (number of digits, precision, alignment) for the display at Runtime.

The Alarm Logging editor provides a selection dialog - "Insert Process Value" - for configuring the message text so that you can conveniently create and insert the format instruction.


Fig. 01

In the "Output" area of this dialog is a display of the format string that will be inserted into the user text when you click on the "OK" button. An output field shows an example of how the process value will be displayed at Runtime. In this way you can see the effect of the format parameters selected already at the time of configuration.

Detailed information on this topic is available in the WinCC Online Help (up to V6.0) under:

  •  "Properties of a single message"

or in the WinCC Information System (as from V6.2) under:

  • "Working with WinCC > Setting up a message system > Configuring the message system > Working with single messages > How to specify the texts of a single message".
  • "Working with WinCC > Setting up a message system > Configuring the message system > Working with single messages > How to insert the process values in the user text blocks".

In some cases it might be useful or necessary to know the structure of the format instruction, because sometimes it is not possible or useful to use the "Insert Process Value" selection dialog.

  • The message is not configured in the "Alarm Logging" editor. You can edit messages with Microsoft Excel (e.g. Configuration Tool , Archive Configuration Tool, .csv file) or as part of chronological reporting in STEP 7. The "Insert Process Value" dialog is not available in such cases.
  • The format of existing messages is to be changed. If you use the "Insert Process Value" dialog for this, you must delete the existing format instruction manually, because the selection dialog always inserts a new format instruction. Under certain circumstances it is easier to edit the format instruction directly.
  • The format instruction is similar to the "printf" format instruction in the "C" programming language. However, the "Insert Process Value" selection dialog does not support all the output options. For example:
    • The format parameter lowercase "x" is always used by default for displaying hexadecimal number values. This causes the characters always to be displayed as lowercase with hexadecimal numbers. The format parameter uppercase "X" is used for displaying uppercase characters; it is not supported by the "Insert Process Value" selection dialog.
    • The format parameter "f" is always used for displaying floating-point values. The format parameters "g" and "e" are not supported by the "Insert Process Value" selection dialog.

Below is a description of the main parameters of the format instruction:

@<N>%[A][Y][.Z]<F>@

or

@<N><printf-Formatstring>@

Note:
The following description uses square and pointed brackets. These are used to describe the different parameters of the format instruction. They are not specified in the format string.

  • The parameters in square brackets "[]" are optional parameters that can also be omitted.
  • The parameters in pointed brackets "<>" are mandatory parameters that must be specified.
  • Part of the format instruction ("printf format string") is similar to the printf format instruction of the "C" programming language. Detailed information on this is available in the associated documentation, relevant literature and the Internet.
  • The description of the parameters contains (when available) the names of the input field, selection fields and selection options that are provided by the "Insert Process Value" dialog.
N "Process value block:" selection field
Number of the process value block that is to be incorporated in the user text block.
1..10 You can use the numbers of the process value blocks 1 to 10.
F "Type:" selection field
You must choose this parameter so that it matches the data type of the WinCC tag that is connected with the process-associated value.
s "Text:"
For process-associated values of the data types:
  • Text tag 8-bit font
  • Text tag 16-bit font

Note:
WinCC tags of the type "Text reference" are not possible as process-associated values.

d "Fixed Point Number (decimal)"
Process-associated value of the data type "Signed Integer":
  • Binary variable
  • Signed or unsigned 8-bit value
  • Signed or unsigned 16-bit value
  • Signed or unsigned 32-bit value

The display is decimal with sign.

o "Fixed Point Number (octal)"
Process-associated value of the data type "Signed Integer":
  • Binary variable
  • Unsigned 8-bit value
  • Unsigned 16-bit value
  • Unsigned 32-bit value

The display is octal.

x "Fixed Point Number (hexadecimal)"
Process-associated value of the data type "Signed Integer":
  • Binary variable
  • Unsigned 8-bit value
  • Unsigned 16-bit value
  • Unsigned 32-bit value

The display is hexadecimal, where lowercase characters are used for the display in the number value.

X No setting option in the "Insert Process Value" dialog
Like "x".
The display is hexadecimal, where uppercase characters are used for the display in the number value.
f "Floating Point Number"
Process-associated value of the type "Floating Point Number":
  • Floating point number 32-bit IEEE 754
  • Floating point number 64-bit IEEE 754

Unless otherwise defined the display is with 6 decimal places.

e No setting option in the "Insert Process Value" dialog
Process-associated value of the type "Floating Point Number":
  • Floating point number 32-bit IEEE 754
  • Floating point number 64-bit IEEE 754

The display is in exponential format.

Y "Number of digits:" input field
Total width (number of characters) of the display.

Note:
This value represents the total number of characters for displaying the value. Spaces, leading zeros and decimal separators (point) are included in this value.
Z "Precision:" input field
Number of decimal places
A "Align left" option field
Alignment.
If this specification is not used, the alignment is to the right.
+ align right
- align left
0 "Pad with 0" option field
If you use this parameter, the display is filled with zeros to the total width of the display (Parameter "Y").

The following figures show sample configurations of the different display formats and the associated display at Runtime.


Fig. 02


Fig. 03


Fig. 04

 Entry ID:25158897   Date:2007-03-26 
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