Upload
romanholo
View
118
Download
0
Tags:
Embed Size (px)
DESCRIPTION
treinamento automação siemens,supervisorio wincc
Citation preview
Date: 04/11/23File: SWINCCS_07e.1
SIMATIC HMISiemens AG 2000. All rights reserved.©
SITRAIN Training for Automation and Drives
User Archives
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
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
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
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
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
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
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
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
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
Date: 04/11/23File: SWINCCS_07e.11
SIMATIC HMISiemens AG 2000. All rights reserved.©
SITRAIN Training for Automation and Drives
Runtime
Sort
Date: 04/11/23File: SWINCCS_07e.12
SIMATIC HMISiemens AG 2000. All rights reserved.©
SITRAIN Training for Automation and Drives
Runtime
Filter Condition
Date: 04/11/23File: SWINCCS_07e.13
SIMATIC HMISiemens AG 2000. All rights reserved.©
SITRAIN Training for Automation and Drives
Creating Views
Shortcut menu
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
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!
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
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
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
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
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