Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Historian
Concepts Guide
Version 17.0.18000
March 2017
© 2017 Schneider Electric Software, LLC. All rights reserved.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of Schneider Electric Soft ware, LLC. No liability is assumed with respect to the use of the
information contained herein.
Although precaution has been taken in the preparation of this documentation, Schneider Electric
Software, LLC assumes no responsibility for errors or omissions. The information in this documentation
is subject to change without notice and does not represent a commitment on the part of Schneider
Electric Software, LLC. The software described in this documentation is furnished under a license
agreement. This software may be used or copied only in accordance wit h the terms of such license
agreement.
ArchestrA, A vantis, DYNS IM, eDNA, EYESIM, Foxboro, Foxboro E vo, I/A S eries, InBatch, InduS oft,
InStep, IntelaTrac, InTouch, PIPEPHASE, PRiSM, PRO/ II, PROVIS ION, ROMeo, Schneider Electric,
SIM4ME, SimCentral, SimSci, Skelta, SmartGlance, Spiral Soft ware, VIS UAL FLA RE, WindowMaker,
WindowViewer, and Wonderware are trademarks of Schneider Electric SE, its subsidiaries, and
affiliated companies. An extensive listing of Schneider Electric Soft ware, LLC trademarks can be found
at: http://software.schneider-electric.com/legal/trademarks/. All other brands may be trademarks of
their respective owners.
Schneider Electric Soft ware, LLC
26561 Rancho Park way South
Lake Forest, CA 92630 U.S.A.
(949) 727-3200
http://software.schneider-electric.com/
Publication date: 3/14/2017
Contact Us
Contact Schneider Electric Software Technical Support
Avanti s Technical Support
Listing of regional and local country contacts: http://software.schneider -electric.com/support/avantis/
Technical support: http://softwares upport.schneider-electric.com/
For A vantis.PRO, A vantis Approvals, Avantis.DSS, and Condition Manager:
Email: support.pro@avantis.net
Phone (8:30 a.m. to 5:00 p.m. Monday to Friday, Eastern Time):
o Toll-Free U.S. and Canada: 1-888-262-7111
o Toll-Free EMEA: 1-800-4670-6466
o Direct dial: 1-905-632-0635
For A vantis. XA:
Email: support.xa@avantis.net
Phone (8:30 a.m. to 5:00 p.m. Monday to Friday, Eastern Time):
o Toll-Free U.S. and Canada: 1-800-991-8000
o Toll-Free EMEA: 1-800-4670-6466
o Direct dial: 1-905-632-4122
SimSci Technical Support
Listing of regional and local country contacts: http://software.schneider -electric.com/support/simsci/
Technical support: http://softwares upport.schneider-electric.com/
Phone (USA 8:00 a.m. to 5:00 p.m. Central Time)
o Toll-Free U.S. and Canada: 1-800-746-7241
Email U.S. and Canada: support.simsci@schneider-electric.com
Wonderware Technical Support
Listing of regional and local country contacts: https://www.wonderware.com/contact/contact -support/
Technical support: http://softwaresupport.schneider-electric.com/
Priority email for Customer FIRS T Members: custfirstsupport@wonderware.com
Email for customers without a support agreement: wwsupport@wonderware.com
Phone
o Toll-Free North America and Latin Americ a: 1-800-966-3371
o Direct dial: 1-949-639-8500
InStep Technical Support
Cont act page: http://www.instepsoftware.com/contact-us
Technical support: https://support.instepsoft ware.com/
Email: instepsupport@schneider-electric.com
Phone (USA 8:00 a.m. to 5:00 p.m. Central Time)
o 1-312-894-7870
Schneider Electric – Smart Water Software Technical Support
Help desk email: DK-HSO-Support@schneider-electric.com
Help desk telephone hotline: +45 88 30 20 77 (09:00 to 16:00 Monday to Thurs day, Friday 09:00 to
15:00, Central European Time)
Contact Schneider Electric Software Learning Services
Cont act Software Learning Services for assistance regarding classes, schedule, offerings, frequently
asked questions, tuition, policies, and more.
Email: software.training@schneider-electric.com
Toll-Free U.S. and Canada: 1-866-998-7246
Direct: 1-949-639-8508
Fax: 1-949-639-1847
Wonderware Historian Concepts Guide
Contents
Welcome to Wonderware Historian ....................................................................................... 7
Wonderware Historian Documentation Set .................................................................................. 8
Version 17.0.18000 5
Wonderware Historian Concepts Guide
Version 17.0.18000 7
Wonderware Historian Concepts Guide Welcome to Wonderware Historian
8 Version 17.0.18000
Wonderware Historian Concepts Guide
Version 17.0.18000 9
Wonderware Historian Concepts Guide Process data: About tags and values
Value only
Value + Time
Recording each value with a timestamp
allows you to see trends, pinpoint process
errors, etc.
Historian tracks when a record is sent by
the device and when it is received by
Historian. This helps to clarify the
information if there is a dat a lag, or if values
are added or updated later.
Value + Time
10 Version 17.0.18000
Process data: About tags and values Wonderware Historian Concepts Guide
Types of tags
Wonderware Historian can handle a wide range of dat a by supporting these tag types:
Analog
Measures a continuous physical quantity, such as a tank’s
volume or a boiler's temperature.
Di screte
Records one of t wo states for the tag. For example: on/off,
open/closed, jam/cleared.
String
Capt ures a text expression--with no special format--t hat is
treated as a single data item. A string tag could be used to
capture the state of a machine; for example: "started",
"stopped", "jammed", or "cleared".
Event
Records an instance when a tag meets a preset requirement.
For example, a process event tag can let you know when a
batch number changes.
System
Reflects a predefined system variable. System tags are used to
collect the system's performance data. Wonderware Historian
system tags have a "Sys" prefix (for example, SysTimeSec).
Analog summary
Reflects summarized data (minimum, maximum, average, and so on) that is configured to be
replicated from one historian to another.
Version 17.0.18000 11
Wonderware Historian Concepts Guide Process data: About tags and values
State summary
Reflects summarized data (minimum time in state, maximum time in state, average time in state,
and so on) that is configured to be replicated from one historian to another, or stored locally.
You can configure analog, discrete, string, and legacy history event tags through the SMC. For more
information, see Viewing and Configuring Tags in the Wonderware Historian Administration Guide.
12 Version 17.0.18000
Wonderware Historian Concepts Guide
Sources of data
Historian can accept dat a from any of a number of places.
Version 17.0.18000 13
Wonderware Historian Concepts Guide Data acquisition: Getting data into Historian
Note: To ac quire data from an I/O server, you must add the I/O server addressing information to the
historian database and then associate the I/O server with an IDAS.
For each data value acquired by IDAS, the timestamp, value, and quality are attached.
Then the values are sent through the Historian Client Access Layer (HCA L) and a secure Historian
Client Access Point (HCAP ) to Wonderware Historian. HCAL is a client -side software layer that
provides programmatic access to storage, retrieval, and system configuration functionality in the
Wonderware Historian.
Note: If the I/O server is local to the Historian, the data is sent to Historian via the Dynamic Data
Exchange (DDE) protocol.
Historian accepts and historizes each data value according to the storage rules for the tag to which the
data value belongs.
For more details, see Configuring Data Acquisition in the Wonderware Historian Administration Guide.
Other data acquisition options
Historian can also acquire data from these sources:
TransactSQL INS ERT and UPDATE statements
You can insert or update history data in the Wonderware Historian extension tables using
Trans act-SQL INSE RT and UPDA TE statements.
For more information, see Importing, Inserting, or Updating History Data in the Wonderware
Historian Administration Guide.
CSV and LGH files
Using the Historian Dat a Import er, you can add history data from a file to Wonderware Historian.
You can use the Historian Data Import er with InTouch history (LGH) files or with comma -separat ed
value (CSV) files.The Importer is also used with classic IDAS store-and-forward data.
Imported data is integrated with data currently stored in history blocks, providing you with seamless
access to all your data.
For more information, see Importing, Inserting, or Updating History Data in the Wonderware
Historian Administration Guide.
App Server, custom SDK client applications, tier-1 replication, and other source s
These sources are also able to use HCAL to send data to Historian.
Wonderware Historian itself
Configuration data comes from the Historian itself.
Store-and-forward safeguards
Historian uses a store-and-forward method to protect against dat a loss if communication is interrupted
between the data source and Historian.
14 Version 17.0.18000
Data acquisition: Getting data into Historian Wonderware Historian Concepts Guide
Systems using the Data Acquisition Service (IDAS) or Historian Client Access Layer (HCAL) to send
data to Historian are able to use the store-and-forward method in case of communication breaks. If the
data source loses communication with Historian, the source stores the collected data until
communication is reestablished. Then, it forwards the stored dat a to Historian.
Data categories
Wonderware Historian is able to process and store data in a variety of ways. It categorizes each data
record by type to provide a consistent framework for dat a operations. Each category of data has a
separate set of characteristics and is handled differently by the historian.
Version 17.0.18000 15
Wonderware Historian Concepts Guide
Storage modes
Depending on a tag's definition, Historian uses one of these storage modes to retain the values
received for that tag:
No storage - No values are stored.
Forced storage - All collected values are stored.
For comparison's sake, this is what forc ed storage looks like. The red dots represent collected
values. All of these values are stored by Historian.
Version 17.0.18000 17
Wonderware Historian Concepts Guide Data storage: Preserving huge amounts of data over time
Cyclic storage - Only values that occur at a specified time interval are stored. Using the same
collected values as shown above, cyclic storage retains only the values represented by red d ots.
18 Version 17.0.18000
Data storage: Preserving huge amounts of data over time Wonderware Historian Concepts Guide
For more information on delta storage modes, see About Delta Storage Mode in the Wonderware
Historian Adminstration Guide.
Version 17.0.18000 19
Wonderware Historian Concepts Guide Data storage: Preserving huge amounts of data over time
Each history block stores all data for a specified duration. The default history block duration is one day,
but may be as little as one hour. When the history block's prescribed duration is over, Historian creates
a new history block to contain data for the next block of time. For example, if a history block is defined
for two-days worth of data, at the beginning of Day 3, Historian creates a new two -day history block
and begins storing data there.
As data is acquired, the size of these history blocks grows on a continual basis, being limited only by
the size of the hard disk on which the historian resides.
History block formats are specially optimized for storing time -series data, while general-purpose
database management systems typically are not.
Compact storage formats reduce the storage space requirements than would be required in a relational
database. Upon retrieval, historical data is presented by the Wonderware Historian OLE DB provider
as if it were stored in SQL Server tables.
Historian partitions
Historian organiz es history blocks within partitions. As real-time dat a arrives, Historian stores it in
history blocks located in the main data partition. At the same time, His torian aut omatically computes
and records a corresponding hourly summary for each analog tag value rec eived. The auto -summary
values are stored in auto-summary history blocks within the aut o-summary partition.
For more information on history blocks and partitions, see Managing Partitions and History Blocks in
the Wonderware Historian Adminstration Guide.
Auto-summarization
For every analog tag in the system, Wonderware Historian creates a local replication entity and a
one-hour summary tag. As values arrive for an analog tag, Historian automatically computes and
records a summary.
Auto-summary values are stored in their own history blocks within the auto-summary partition.
With auto-summarization, Historian can quickly and efficiently retrieve large -volume data for a long
duration, even months or years.
20 Version 17.0.18000
Wonderware Historian Concepts Guide
Retrieval modes
Historian can acquire and store huge amounts of data and allows you to choose from among several
retrieval modes to view and int erpret the data you need.
Version 17.0.18000 21
Wonderware Historian Concepts Guide Data retrieval: Transforming data into information
Cyclic
Delta
Full
Interpolated
22 Version 17.0.18000
Data retrieval: Transforming data into information Wonderware Historian Concepts Guide
Best Fit
Average
Minimum
Maximum
Version 17.0.18000 23
Wonderware Historian Concepts Guide Data retrieval: Transforming data into information
Integral
ValueState
24 Version 17.0.18000
Data retrieval: Transforming data into information Wonderware Historian Concepts Guide
RoundTrip
The computing power of both the client and the server is exploited by optimizing processor intensive
operations on the server and minimizing data to be transmitted on the network to improve system
performance.
Version 17.0.18000 25
Wonderware Historian Concepts Guide Data retrieval: Transforming data into information
With InSight, you can type the name -- or even a part of a name -- for the tags you want to analyze.
Then you can choos e the chart type and timeframe to report on. InSight also lets you save and share
your dat a.
26 Version 17.0.18000
Wonderware Historian Concepts Guide
Version 17.0.18000 27
Wonderware Historian Concepts Guide Data replication: Delivering information to people who need it
Many-to-many
For more information about setting up and using replication, see Managing and Configuring Replication
in the Wonderware Historian Administration Guide.
tag1 tag2
replicated to tag2 is a
tag2 on tier-2 tag of
Historian B Historian B
tag1 is a
tier-1 tag of
Historian A
tag3 is a tag4 is a
tier-1 tag of tier-2 tag of
Historian B Historian C
tag3 tag4
replicated to
tag4 on
Historian C
28 Version 17.0.18000
Data replication: Delivering information to people who need it Wonderware Historian Concepts Guide
Important: Be careful not to create or modify a replicated tag on a tier-1 historian to have the same
tagname that already exists on a tier-2 historian. The system does not prevent you from having a
replicated tag on a tier-2 historian receiving data from two or more different tier-1 historians. However,
when you retrieve data for that replicated tag on the tier-2 historian using the tagname, an incorrect
blend of data from the two (or more) data sources is returned.
There are two types of replication: simple replication and summary replication. Summary replication
provides periodic summaries of high resolution data, while simple replication retains the original data
resolution.
Version 17.0.18000 29