You are on page 1of 20

User Archives

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


File: SWINCCS_07e.1 Automation and Drives
© Siemens AG 2003. All rights reserved.
Objectives

- Creating a User Archive

- Creating a Table View

- Creating a Form View

- Accessing a User Archive

- Data Transfer to a Controller

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


File: SWINCCS_07e.2 Automation and Drives
© Siemens AG 2003. All rights reserved.
User Archives

Advantages of user archives for:


• Recipes
• Batch data
• Production data
• Data storage for data from the controller
• Tool management


Access to user archives through:
• Table window
• Internal functions
• API functions (described in the WinCC Help, among others)
• ODBC / SQL
• MS Query
• Communication with the controller using tags
• Communication with the controller using raw data

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


File: SWINCCS_07e.3 Automation and Drives
© Siemens AG 2003. All rights reserved.
WinCC Help (System)
WinCC Help

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


File: SWINCCS_07e.4 Automation and Drives
© Siemens AG 2003. All rights reserved.
Creating a User Archive
Toggle for Table window or Wizard enabling

Data window
Navigation window

Table window for


editing online data
records

Archive name: H1_Heating

H1
_Heater

_Actual

_Setpoint

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


File: SWINCCS_07e.5 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exporting/Importing a User Archive

Archive
Fields

Note:
You can copy Fields and
Archives with Ctrl+C, and
insert them with Ctrl+V

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


File: SWINCCS_07e.6 Automation and Drives
© Siemens AG 2003. All rights reserved.
Table View of the User Archive Control
Switchover Read and Write
Create new Time Base
Change tags
record
current field Import/Export
Delete archives (.CSV) Define sort Print
record Scroll in table condition
Define filter
window
condition
Help

Floor/Room

Actual room temp.


Setpoint room temp.
LastUser

Last data record


change

Note: The ID number is an internal reference of the database. The numbering does
not have to be consecutive. It should not be used for selections.

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


File: SWINCCS_07e.7 Automation and Drives
© Siemens AG 2003. All rights reserved.
Form View of the User Archive Control

Operation outside of the Control

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


File: SWINCCS_07e.8 Automation and Drives
© Siemens AG 2003. All rights reserved.
Communication with the Controller using Tags,
Operator Controlled

Runtime

Select

Interface tags

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


File: SWINCCS_07e.9 Automation and Drives
© Siemens AG 2003. All rights reserved.
Communication with the Controller using Tags,
PLC Controlled
Runtime

Control tags Interface tags

Are supplied by the controller

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


File: SWINCCS_07e.10 Automation and Drives
© Siemens AG 2003. All rights reserved.
Sort

Runtime

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


File: SWINCCS_07e.11 Automation and Drives
© Siemens AG 2003. All rights reserved.
Filter Condition

Runtime

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


File: SWINCCS_07e.12 Automation and Drives
© Siemens AG 2003. All rights reserved.
Creating Views

Shortcut menu

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


File: SWINCCS_07e.13 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 1: Creating an Archive

User Archive Editor

• Creating an Archive

• Creating Archive Fields

• Editing Table Windows

Archive fields

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


File: SWINCCS_07e.14 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 1: Integrating a Control

You can activate the editing mode for the form window by
pressing Ctrl+double-click!

Form window call

You can change the column width after you press Ctrl+double-click.

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


File: SWINCCS_07e.15 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 1: Setting Control Parameters

Double-click

Note: Every time you make a change to the archive structure, you have to reselect the source
(archive).

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


File: SWINCCS_07e.16 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 2: Form View
• Expanding the exercise picture with the form view of the
User Archive- Table Element

Switch over

Shortcut menu

Configuration

Runtime

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


File: SWINCCS_07e.17 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 3: A Second User Archive
• Expanding the exercise picture

Views Archives

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


File: SWINCCS_07e.18 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 4: Views of the Two Databases
• Expanding the exercise picture

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


File: SWINCCS_07e.19 Automation and Drives
© Siemens AG 2003. All rights reserved.
Exercise 4: Integrating a Control

Double-click
for views

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


File: SWINCCS_07e.20 Automation and Drives
© Siemens AG 2003. All rights reserved.

You might also like