Professional Documents
Culture Documents
07 UserArchiv PDF
07 UserArchiv PDF
SITRAIN
ST-BWINCCS /UserArchives Page 1 Siemens AG © 2007
Contents Page
Objectives …...................................................................................................................................... 2
User Archives ..………...................................................................................................................... 3
WinCC Help (system) ........................................................................................................................ 4
Creating a User Archive ……............................................................................................................. 5
Exporting/Importing a User Archive ...………..................................................................................... 6
Table View of the User Archive Control ...………............................................................................... 7
Communication with the Controller using Tags, Operator Controlled .….......................................... 8
Communication with the Controller using Tags, PLC Controlled …................................................... 9
Sorting in the Existing Columns ..........……....................................................................................... 10
Selection Dialog …............................................................................................................................ 11
SITRAIN
ST-BWINCCS /UserArchives Page 2 Siemens AG © 2007
General Information The user archives package is available as a WinCC option package.
It consists of
- user documentation
- internal functions
- keydisk for enabling the software.
The user archive software is already included on the WinCC CD.
Applications The user archives can be utilized and applied in a great variety of applications
(see slide above).
Basics WinCC User Archives is a database system which you can configure for your own
requirements.
The WinCC User Archives has two types of database tables :
Archives Archives are database tables in which you can create your own data fields.
Archives are used to store data and offer a database-type access to these data.
Views Views obtain data from the archives and are used to summarize data, in order to
receive an overview of product groups, for example.
The data in a View can also be edited in Runtime. The changed data are
transferred into the original archive.
WinCC Help
SITRAIN
ST-BWINCCS /UserArchives Page 4 Siemens AG © 2007
WinCC provides you with a powerful help system for the configuration of the user
archive.
Navigation window
Data window
H1
_Heating
_ActualValue
_Setpoint
SITRAIN
ST-BWINCCS /UserArchives Page 5 Siemens AG © 2007
Creating an Archive You can create a user archive in the User Archive Editor, Navigation window.
You can use the Wizard to specify:
the archive name with the number of data records, communication parameters,
control tag parameters, authorization and flag parameters.
Note Any changes to user archives only take effect after Saving.
Table Window You can switch on or switch off the table window by F>Edit, O>Runtime Data. In
the Table window, you can assign values to the three configured archive fields.
Control The Control (WinCC User Archive Table Element) is required in the Graphics
Designer for outputting the table element.
Archives
Fields
Pro Anwenderarchiv können 500 Felder angelegt werden.
Note:
You can copy Fields and
Archives with Ctrl+C, and
insert them with Ctrl+V
SITRAIN
ST-BWINCCS /UserArchives Page 6 Siemens AG © 2007
Export/Import You can transfer the structure and the data for a new archive with the
Export/Import function.
Floor/Room
Actual room temp.
Setpoint room temp.
LastUser
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.
SITRAIN
ST-BWINCCS /UserArchives Page 7 Siemens AG © 2007
Functions The table window makes it possible to edit the data of the user archive in various
ways :
- Help (start WinCC help system)
- Open online configuration dialog and change parameters
- Flexible data interfacing
- Scroll table window (scroll forward and backward, as well as to the beginning or
end of the archive)
- Delete selected record
- Cut selected rows
- Copy rows
- Insert rows
- Read and write tags (WinCC tags)
- Import/Export archives (CSV format)
- Define sort condition
- Define filter condition
- Print archive contents
- Export data records (CSV format)
Advantages The table window offers simple access to the data of the user archive.
Runtime
Select
Interface tags
SITRAIN
ST-BWINCCS /UserArchives Page 8 Siemens AG © 2007
You can use tags to make a simple communication with the controller. You have to
take this application into consideration when you assign parameters to the Wizard.
The tags are then generated in the Tag Management.
SITRAIN
ST-BWINCCS /UserArchives Page 9 Siemens AG © 2007
You have to take this application into consideration when you assign parameters
to the Wizard. The tags are then generated in the Tag Management.
Function of the Control Tags
ID The identifier (corresponds to the data record number) of the user archive.
Job Three jobs are possible: reading, writing and delete:
Simatic to Archive =6
Archive to Simatic =7
Delete =8
After the job has been executed there is an error identifier in this control tag:
No error =0
Error = -1
Field The archive field (Column labeling, Ingredients, for example)
Value The archive field value (for example, ‘Flour‘)
Runtime
SITRAIN
ST-BWINCCS /UserArchives Page 10 Siemens AG © 2007
Opens a dialog box for setting user-defined sorting of the displayed columns of the
user archive.
Runtime
SITRAIN
ST-BWINCCS /UserArchives Page 11 Siemens AG © 2007
Defining of selection criteria for the columns of the user archive to be displayed in
the table.