Trend Display and Measured Value Archiving
SITRAIN
ST-BWINCCS /TagLogging Page 1 Siemens AG © 2007
Tag Logging 1/3
Internal tag
Trend and
table display
Meas. value Calcu- with WinCC Controls
lation
0 n<HD
>=500ms Ring buffer RAM
Meas.value(s) SIEMENS
SICOMP
IPC RI 20
Meas. values in Fast Slow
Process Archive if
frame Inter- Archive
pre- <=1min >1min
tation Long-term archive
- Shiftreport
- Daily report
Integrated backup function - Monthly report
Archive system API
Long-term archive
server LAS
(Backup Server)
Central WinCC
Archive Server AddOn ODK Options
(CAS) PM User -Connectivity Pack
Analysis applications, -DataMonitor
e. g. Diagnosis (web clients
for display and analysis)
SITRAIN
ST-BWINCCS /TagLogging Page 2 Siemens AG © 2007
1
Tag Logging 2/3
Swap out
Depends on the
request -> Backup
Archives Archive
(.mdf, .ldf)
RT master database
RT-DB (Fast cyclic archives with compressed data)
TLG Master
Database RT-DB (Slow cyclic archives with uncompressed data)
Data acquisition
• WinCC Data Manager
• OPC Server
• WinCC server-server Analysis / Evaluation
communication • WinCC Function TrendControl
• Protocols (Report Designer)
Long-term archiving Options
• High performance archiving • DataMonitor + Excel
• Swap data in and swap data out • Connectivity Pack + External Appl.
• IndustrialDataBridge + Ext. Appl.
Note: ES=Single segment,
compressed data is only read via the WinCC OLE-DB interface
SITRAIN
ST-BWINCCS /TagLogging Page 3 Siemens AG © 2007
Tag Logging 3/3
Data acquisition
+WinCC data manager
+OPC Server Runtime-Daten Tag Logging Fast Segment:
+WinCC Server-Server COMPUTER_PROJECT_TLG_F_<period_from>_<period_to>.LDF
Communication (max.11) COMPUTER_PROJECT_TLG_F_<period_from>_<period_to>.MDF
COMPUTER_PROJECT_TLG_F_JJJJMMTTHHMM.MDF
Example: HMI_ab#graf#TLG_F_200906020629.mdf
HMI_ab#graf#TLG_F_200906020901_200306021000.mdf
Runtime Data Tag Logging Slow Segment:
COMPUTER_PROJECT_TLG_S_<period_from>_<period_to>.LDF
COMPUTER_PROJECT_TLG_S_<period_from>_<period_to>.MDF
COMPUTER_PROJECT_TLG_S_JJJJMMTTHHMM.MDF
Example: HMI_ab#graf#TLG_S_200906020629.mdf
HMI_ab#graf#TLG_S_200906020901_200906021000.mdf
SITRAIN
ST-BWINCCS /TagLogging Page 4 Siemens AG © 2007
2
Measured Value Archiving and Processing
Calculations
Sum
Archiving 1)
Mean Value
Minimum
Maximum
Free arithmetic
Last acquired
value
Acquisition Cycle Time
>=500ms
Archiving/Display
Cycle 1) 1)
SITRAIN
ST-BWINCCS /TagLogging Page 5 Siemens AG © 2007
Tag Logging Call-Up
1. Call the context menu.
2. Use the mouse to click on “Open”.
Result: Tag Logging starts.
3. Maximize the window and set up the interface as
you want it.
SITRAIN
ST-BWINCCS /TagLogging Page 6 Siemens AG © 2007
3
Tag Logging Configuration Interface
Edit new timers
Data window
Navigation window
Table window
SITRAIN
ST-BWINCCS /TagLogging Page 7 Siemens AG © 2007
Archive Wizard
(1) Start wizard
SITRAIN
ST-BWINCCS /TagLogging Page 8 Siemens AG © 2007
4
Editing Measurement Points
-Name of archive and process tag -Editing, such as mean value,
-Tag provision by system/manually max.....action
FAQ 1755 1863) -Save when error -No display limitation
-Archiving enabled/disabled (last/replacement value) -Configured directly with upper/
-Unit, currently not used lower limit
Context menu
SITRAIN
ST-BWINCCS /TagLogging Page 9 Siemens AG © 2007
Archive Configuration for Fast and Slow 1/3
ODER
ODER
Cyclic archive
RT Data
Cyclic archive
SITRAIN
ST-BWINCCS /TagLogging Page 10 Siemens AG © 2007
5
Backup Configuration for Fast and Slow Archive 2/3
RT Data
SITRAIN
ST-BWINCCS /TagLogging Page 11 Siemens AG © 2007
Specifying the Archive Contents for Fast or Slow Archive 3/3
Slow Archive
(binaryCode)
No
Condition
true?
Yes
Fast Archive
(binaryCode)
SITRAIN
ST-BWINCCS /TagLogging Page 12 Siemens AG © 2007
6
Resetting the Archive and Evaluating Old Archives
Runtime
Connect backup Disconnect
backup
WinCC in CS mode WinCC in RT mode
Reset: Link:
All Database files in the Necessary when old archive files
fast archive are deleted are to be evaluated
after check back.
In the first RT mode, DB files Disconnect:
are automatically recreated. “Opposite” of Link
SITRAIN
ST-BWINCCS /TagLogging Page 13 Siemens AG © 2007
WinCC Online Trend Control in the
Graphics Designer and Trend Properties
SITRAIN
ST-BWINCCS /TagLogging Page 14 Siemens AG © 2007