show the entry list
WinCC flexible ES -- Creating HMI configurations -- Configuring alarms and messages
How do you insert error messages of a frequency converter (SINAMICS and MICROMASTER) in a WinCC flexible or WinCC (TIA Portal) project?
How can you visualize the current status of the CPU on a WinCC flexible operator panel?
Message indicator continues to be displayed despite counter at zero
How do you start a sound file via a script in the WinCC flexible PC Runtime?
How do you establish a direct connection between HMI Panels and frequency converters (SINAMICS and Micromaster)?
How can you determine the bit number in WinCC for the "Trigger address", the "Acknowledgement PLC" bit and the "Acknowledgement HMI" bit for creating bit messages?
Which configuration steps have to be taken in SIMOTION SCOUT and WinCC flexible to enable Alarm_S messages and technological alarms to be displayed in WinCC flexible Runtime?
How do you display ALARM_S or ALARM_D messages with process values (so-called associated values) on a WinCC flexible operator panel?
How do you display messages in WinCC flexible?
How can you evaluate the ACK button on a touch operator panel in WinCC flexible?
How can you have system error messages from a SIMATIC S7-300 / 400 displayed in WinCC flexible?
How do you change and display SIMATIC WinCC flexible system events during configuration?
How can you change the ProTool default alarm window setting in WinCC flexible?
How can I acknowledge alarms in WinCC flexible via the PLC?
Why aren't messages output on the event recorder?
Why isn't the "Message display" shown in the foreground, but is covered by picture objects?
Why are no messages from the S7 diagnostics buffer display in WinCC flexible?
How can you get the diagnostics buffer to be displayed in WinCC flexible?
Which settings need to be made in order to display alarm events after a specified point in time?
How can you create messages with externally preset texts as mass data and process them with Excel in WinCC flexible?
Which configuration steps have to be taken in SIMOTION SCOUT and WinCC flexible to enable Alarm_S messages and technological alarms to be displayed in WinCC flexible Runtime?
Part number:

Configuration notes:
In contrast to the bit alarm procedure, Alarm_S messages are based on the alarm-numbering procedure. As a general rule, Alarm_S messages are not configured in WinCC flexible. They are only ever configured or programmed in STEP 7 or in SIMOTION Scout. The advantage of this is that the alarm texts can be used on a variety of display devices, but only need to be entered once.

When messages are configured in STEP 7 or SIMOTION, you can either enter simple alarm texts without any further formatting or also make use of the possibilities of device-specific message configuration. Depending on the type of display device being used, you can also display flashing text, for instance, and configure additional info text.

Requirements:

  • SIMOTION Scout Project
  • WinCC flexible ES + RT (from WinCC flexible 2005)
  • STEP 7 project with an integrated HMI and SIMOTION station

Note:
There are only some versions of SIMOTION Scout software which are compatible with or released for use with WinCC flexible 2005. These versions are specified in Entry ID 22055368.

Configuring Alarm_S messages in SIMOTION SCOUT
 
No. Procedure
1 Adding Alarm_S messages
  • Open the alarm-configuration editor in SIMOTION Scout via "Target system > Configure messages".
  • Mark "Alarm_S" in the top left of the dialog box.
  • Click the "New" button to insert an Alarm_S message.


Fig. 01 

2 Inserting the symbol, alarm text and format string
  • Assign a symbol to the Alarm_S message. The symbolic name is required in order to trigger the Alarm_S message via the ST program.
  • Insert your alarm text.
  • If you enter the following format string into the alarm text, you can also assign a process value to the message as an associated value.

    Composition of the format string:

    @[Pvn][Type]%width[.precision]format@

Symbol

Meaning

Value range

Default

@ Start of the format string - -
Pvn Process value number (optional) 1-4 1
Type Type of process value (optional) See Table 02 I
%width Width of the display field on the
HMI device
- -
.precision Number of places after the decimal point
(optional in format = "f" )
- -
format Process value display mode See Table 03 -
@ End of the format string - -
Table 01 - Composition of the associated values

Permissible values for "type":
 

Type Meaning
"b" or "B"  BOOL
"y" or "Y" BYTE
"c" or "C" CHARACTER
"w" or "W" WORD
"i" or "I" INTEGER
"x" or "X" DWORD
"d" or "D" DINT
"r" or "R" REAL
Table 02 - Type

Permissible values for "format":
 

format Display
"d" decimal with a sign
"u" decimal without a sign
"X" hexadecimal
"f" fixed point number with a sign
"b" binary
"s" ANSI string
Table 03 - Format
3 Configuring Alarm_S messages
  • Select the type of message, i.e. "Fault messages" or "Operating messages".
  • Assign as Alarm_S display class to the message.


Fig. 02

Note:
The "Printout (at HMI)" selection field allows you to log the messages in WinCC flexible Runtime.

Triggering the Alarm_S message by calling the _alarmS (message not requiring acknowledgment) and _alarmSq (message requiring acknowledgment) system functions
 
No. Procedure
1 Adding system functions
  • Add an ST program unit.
  • Declare global variables and a program structure in the interface part.
  • Add the call for the "_alarmS" or "_alarmSq" system function in the part of the program.

Parameters for the "_alarmS" and "_alarmSq" system function:

Return value (DWORD):= _alarmS (alarm signal (BOOL), Alarm_S symbol, associated value);


Fig. 03

2 Inserting a program in the runtime system
Insert the program into the background task in the CPU's runtime system.

Displaying Alarm_S messages and TO alarms in WinCC flexible Runtime
 
No. Procedure
1 Activating Alarm_S messages
  • Open the "Alarm Management > Settings > Alarm Settings" dialog box.
  • Select the display classes in the "ALARM_S" column under "Alarm procedures" and enable the display of TO alarms in the "SIMOTION TO" column.


Fig. 04
 
Alarm procedure Application
Alarm_S User-definable messages
SIMOTION TO
(technological alarm)
System messages from the SIMOTION controller
Table 04

2 Activating the alarm class in the alarm display
  • Open a picture in WinCC flexible ES.
  • Insert an alarm display.
  • The alarm classes "S7 message" and "S7 warning" are available in the alarm display for the purposes of displaying Alarm_S messages and TO alarms. With "S7 message"-class alarms, Alarm_S messages and TO alarms which need to be acknowledged are displayed. With "S7 warning"-class alarms, Alarm_S messages and TO alarms which do not need to be acknowledged are displayed.


Fig. 05

Download:
Attachment 1 contains the STEP 7 project described here with the integrated SIMOTION controller and the WinCC flexible HMI station.

Attachment 1:Alarm_S_SIMOTION.zip ( 3823 KB )

Runnability and test environment:
The following table lists the components that have been used to create this entry and verify the functions described.
 
Components Product and version designation
PC operating system Microsoft Windows XP SP2
Standard tools SIMOTION Scout V4.0
Engineering tool STEP 7 V5.4 SP1
HMI software WinCC flexible 2005 SP1
HMI system -

Keywords:
SIMOTION TO, SIMOTION diagnostic messages, Diagnostic messages, Alarm procedure, System messages
 

 Entry ID:24037531   Date:2011-01-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 
Help
Online Help
Guided Tour