a d swincc07e

20
Date: 05/30/22 File: SWINCCS_07e.1 SIMATIC HMI Siemens AG 2000. All rights reserved. © SITRAIN Training for Automation and Drives User Archives

Upload: romanholo

Post on 07-May-2015

118 views

Category:

Engineering


0 download

DESCRIPTION

treinamento automação siemens,supervisorio wincc

TRANSCRIPT

Page 1: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.1

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

User Archives

Page 2: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.2

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Objectives

- Creating a User Archive

- Creating a Table View

- Creating a Form View

- Accessing a User Archive

- Data Transfer to a Controller

Page 3: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.3

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

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

Page 4: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.4

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

WinCC Help (System)

WinCC Help

Page 5: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.5

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Creating a User Archive

Navigation window Data window

Archive name: H1_Heating

H1 _Heater

_Actual

_Setpoint

Table window for editing online data records

Toggle for Table window or Wizard enabling

Page 6: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.6

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exporting/Importing a User Archive

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

FieldsArchive

Page 7: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.7

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Table View of the User Archive Control

Switchover

Deleterecord

Create new record Change

current field

Scroll in tablewindow

Read and Writetags

Import/Exportarchives (.CSV)Define filtercondition

Define sortcondition

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.

Help

Floor/Room

Actual room temp.

Setpoint room temp.LastUser

Last data record change

Page 8: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.8

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Form View of the User Archive Control

Operation outside of the Control

Page 9: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.9

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Communication with the Controller using Tags, Operator Controlled

Runtime

Select

Interface tags

RT DB

Page 10: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.10

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Runtime

RT DB

Communication with the Controller using Tags, PLC Controlled

Control tags Interface tags

Are supplied by the controller

Page 11: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.11

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Runtime

Sort

Page 12: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.12

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Runtime

Filter Condition

Page 13: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.13

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Creating Views

Shortcut menu

Page 14: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.14

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exercise 1: Creating an Archive

User Archive Editor

• Creating an Archive

• Creating Archive Fields

• Editing Table Windows

Archive fields

Page 15: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.15

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exercise 1: Integrating a Control

Form window call

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

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

Page 16: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.16

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exercise 1: Setting Control Parameters

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

Double-click

Page 17: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.17

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exercise 2: Form View

• Expanding the exercise picture with the form view of the User Archive- Table Element

Configuration

Switch over

Shortcut menu

Runtime

Page 18: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.18

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exercise 3: A Second User Archive

• Expanding the exercise picture

Views Archives

Page 19: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.19

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Exercise 4: Views of the Two Databases

• Expanding the exercise picture

Page 20: A d swincc07e

Date: 04/11/23File: SWINCCS_07e.20

SIMATIC HMISiemens AG 2000. All rights reserved.©

SITRAIN Training for Automation and Drives

Double-click

Exercise 4: Integrating a Control

for views