You are on page 1of 36

Message Display and Message Archiving 2/2

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.2 Automation and Drives
© Siemens AG 2003. All rights reserved.
Objectives

- Edit Message Line

- Edit Messages

- WinCC Alarm Control

- Message Classes

- Message Archives

- Group Messages

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.3 Automation and Drives
© Siemens AG 2003. All rights reserved.
Configuration Preparation

- Message Archive Structure

- Acknowledgement Concept

- Evaluation

- Links

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.4 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message System 1/3 Message
sequence
report
Internal tag

Binary tag
old /
Main Memory
new
Limit values
Ring buffer main memory S IE M E N S

New page
Prepare message S IC O M P
IP C R I 2 0

Message WinCC Control


Process frame Inter-
pre- Selection in archive
tation

- Shiftreporting
- Daily reporting
Integrated backup function - Monthy reporting

Message system API


.mdf

Central WinCC Add-On ODK


Options
Archive Server
User -SIMATIC IT PPA
applications -Dat@Monitor (Web-Client

for Historian display and


analysis )

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.5 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message System 2/3
Swap in/swap out
Depends on the
Requirement->Backup
Archives (.mdb)

RT Database (cyclic archive)

RT Master database

ALG Master
Database

Analysis / Evaluation
Data acquistion
• WinCC Standard Tool (Control)
• WinCC Data Manager Long-term archiving
• OPC Server • Protocols (Report Designer)
• High performance archiving • WinBDE (recording operating data)
• WinCC Server-Server • Swap data in - swap data out
Communication
• Dat@Monitor + Excel
• Connectivity Pack + External Appl.
• IndustrialDataBridge + Ext. Appl.

Note: ES=Single segment

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.6 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message System 3/3

Runtime-Data Alarm Logging Segment:


Data acquisition COMPUTER_PROJECT_ALG_<Time_from>_<Time_to>.LDF
+WinCC Data Manager
+OPC Server COMPUTER_PROJECT_ALG_<Time_from>_<Time_to>.MDF
+WinCC Server-Server COMPUTER_PROJECT_ALG_YYYYMMDDHHMM.LDF
Communication(max.11)
Example: DOZENT_Generatorhaus_ALG_200304300901.mdf

Message list
Long-term archive

Short-term archive

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.7 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message Blocks and Message Line

System blocks User blocks Process value blocks

Clock time Error cause Process value 2

Date Error location Process value 1

Number
max. 10 max. 10

Message
line

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.8 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message System Call-Up

1. Call the shortcut menu.


2. Click on the mouse to select “Open.”
Result: Alarm Logging starts.
3. Maximize the window and set up the interface
as you want it.

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.9 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message System Configuration Interface

Select Wizard

Editing window
Analog Alarm
Menu Bar: Options, drop-down menu: Add Ins ...
Table window
Navigation window

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.10 Automation and Drives
© Siemens AG 2003. All rights reserved.
Wizard Overview

Wizard

Configuration
dialogs

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.11 Automation and Drives
© Siemens AG 2003. All rights reserved.
Editing Message Blocks

Shortcut menu

Shortcut menu

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.12 Automation and Drives
© Siemens AG 2003. All rights reserved.
Structure of Messages with Message Classes and
Message Types
1) Technological Division
1... 1... 16 Message Classes

Types 1... 16

2) Priority Division
1... 16 Message Classes

Types 1... 16

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.13 Automation and Drives
© Siemens AG 2003. All rights reserved.
Editing and Configuring Message Classes
- Acknowledgement theory - Status texts
- Acknowledgement of central for the message
signaling devices

Max. 16

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.14 Automation and Drives
© Siemens AG 2003. All rights reserved.
Editing the Message Types

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.15 Automation and Drives
© Siemens AG 2003. All rights reserved.
Setting Up a Message Archive
Shortcut menu

OR

OR

Ring buffer archive

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.16 Automation and Drives
© Siemens AG 2003. All rights reserved.
Setting Up Messages for Reloading

Shortcut menu

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.17 Automation and Drives
© Siemens AG 2003. All rights reserved.
Backup Configuration

Shortcut menu

RT Data

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.18 Automation and Drives
© Siemens AG 2003. All rights reserved.
Resetting the Archive and Evaluating Old Archives

Shortcut menu for WinCC in CS mode Shortcut menu for WinCC in RT mode

Reset: Connect:
All Database files in the Necessary when old archive files
long-term archive are deleted are to be evaluated
after check back.
In the first RT mode, DB files Disconnect:
are automatically recreated. “Opposite” of Connect

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.19 Automation and Drives
© Siemens AG 2003. All rights reserved.
Editing a Single Message
- Infotext - Tags for
- Text for process value
user blocks blocks
- Loop in Alarm
picture

Shortcut menu
"Properties"

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.20 Automation and Drives
© Siemens AG 2003. All rights reserved.
WinCC Alarm Control in Graphics Designer

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.21 Automation and Drives
© Siemens AG 2003. All rights reserved.
Window Properties for WinCC Alarm Control
- Status bar on/off - Separation lines - Edit Message - Toolbar on/off
- Elements of - Selection blocks - Keyboard functions
status bar enabled - Auto Scrolling - Alignment
- Alignment - Line properties - Edit - Hotkeys
- Column properties Message line
- Shorten Title

Toolbar
Double-click

Preview
Message line

Status bar

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.22 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message Line for WinCC Alarm Control

Double-click

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.23 Automation and Drives
© Siemens AG 2003. All rights reserved.
Configuration Notes

Bit Message Procedure “Reporting in the Correct Chronological Order“

- WinCC polls the message bits every 500ms + message telegrams are only sent when events occur
+ exact time-stamp for messages
+ easy to configure (length of the CPU cycle; e.g. 50ms)
- with PMC “central acknowledgement“ without
- “central acknowledgement“ through additional work
acknowledgement tags - S5-PMC: higher capital expenditure (PMC channel;
PMCPRO and special FBs)

- S5-PMC: higher CPU scan cycle time and higher


memory usage

+ Advantage with S5 communication: S5-PMC


does ‘Blocking‘

+ S7 blocks integrated in the operating system

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.24 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message Blocks Exercise
System blocks

Properties -Sequence -Time format -Length -6 digits -Length -Length


-Two-digit year 8 characters -With leading 8 characters 15 characters
zeros

User blocks

Properties -10 characters -14 characters -12 characters

Process value blocks

Properties -4 characters

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.25 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message Class, Message Types, and Archives Exercise
Configuring message classes Message types

Blast furnace
Alarm Failure

General - Name: blast furnace - Arrived: red Properties


- Message types - Departed: green
Alarm, error - Acknowledged: yellow

Acknowledgement -Acknowledgement
came in
Archive

Status texts - ARR


Properties
- DEP
- ACK
- A/D

-100 messages -See screenshot in text


for reloading

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.26 Automation and Drives
© Siemens AG 2003. All rights reserved.
Single Message Exercise

Table window

Or process tag IB0

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.27 Automation and Drives
© Siemens AG 2003. All rights reserved.
WinCC Alarm Control Exercise

-Date
-Time
-Number
General Window Title: Blast furnace-W. -Status
Window Type: Message Window -Message text
Message Line -Point of error
-Cause
Parameters -Class
-Type
Status Bar -Display
-Alignment down
-Select all
elements
of the status bar -Separation lines horizontal and vertical
"activated"
Toolbar -Display -Selection: Cell "activated"
-Alignment up -Auto Scrolling not activated
-All key functions (for Window Type: Message Window)
-Line Title "activated"
-Column Title "activated"
-Change Column Width "activated"

Copy (if present) the picture melden.pdl into your project from the catalog ab_uebung.

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.28 Automation and Drives
© Siemens AG 2003. All rights reserved.
Message Screen Exercise

WinCC Alarm Control

In the start up list 1.) Alarm Logging RunTime and 2.) Text Library Runtime must be selected.

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.29 Automation and Drives
© Siemens AG 2003. All rights reserved.
Group Messages

1) From message classes:


Message class A Message class B ..... ... Message class P

Message type 1 ....message type 16 ...... ... ..... Mess. type 1 .... mess. type 16

2) From user-defined messages:


Message numbers x to (x+2n) ........... Message numbers y to (y+2m)

Messages .... ....messages Messages .... ....messages


x to x+n .... .... x to x+2n y to y+m .... .... y to y+2m

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.30 Automation and Drives
© Siemens AG 2003. All rights reserved.
Creating the Tag for a Group Message

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.31 Automation and Drives
© Siemens AG 2003. All rights reserved.
Connect Tag with the Group Message (Message Class)
in Alarm - Logging

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.32 Automation and Drives
© Siemens AG 2003. All rights reserved.
Evaluating the Status Tag for a Text Object
Bit 0: 0- there is no malfunction
1- there is a malfunction

Bit 8: 0- message is acknowledged


1- message is not acknowledged

15... 8... 0
00000001 00000001 incoming not ackn.

00000000 00000001 incoming ackn.

outgoing not ackn.


00000001 00000000
00000000 00000000 outgoing ackn.
(finished)

Incoming not acknowledged


Outgoing not acknowledged

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.33 Automation and Drives
© Siemens AG 2003. All rights reserved.
Evaluating the Status Tag for a Text Object
Bit 0: 0- there is no malfunction
1- there is a malfunction

Bit 8: 0- message is acknowledged


1- message is not acknowledged

15... 8... 0
00000001 00000001 incoming not ackn.

00000000 00000001 incoming ackn.

outgoing not ackn.


00000001 00000000
00000000 00000000 outgoing ackn.
(finished)

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.34 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise: Group Messages

Group message with message classes

Blast furnace Loading blast furnace

Incoming Incoming

Alarm Error Alarm Error

Incoming Incoming Incoming Incoming

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.35 Automation and Drives
© Siemens AG 2003. All rights reserved.
New: Database Tools 1/2

Display only in RT

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.36 Automation and Drives
© Siemens AG 2003. All rights reserved.
New: Database Tools 2/2

Open Table->Return all rows

Archive segments

SIMATIC HMI Date: 04/25/21 SITRAIN Training for


File: SWINCC_05E.37 Automation and Drives
© Siemens AG 2003. All rights reserved.

You might also like