History: Expert Workshop E143
History: Expert Workshop E143
History
History Server from the historical data. In this case each point is
Time average value over a 3 min sample interval.
History
Sample Interval for Time Average
”Copy / Paste”
Rows: 267
Sample Interval: 12 seconds
Scope (267 x 12) ~ 55 minutes
© ABB Consult IT - 6
Revision C
History
Sample Interval for Momentary
Rows: 2325
Sample Interval: 1-2 seconds
Scope (2325 x 1-2) ~ 55 minutes
© ABB Consult IT - 7
Revision C
History
© ABB Consult IT - 8
Revision C
Trend Keyboard shortcuts
History
History Architecture
Workplace Application IM Applications
Aspect Directory Trend Display
Report
1 Hour Oil consumption in October ?
Value of 102-LC42 last week ?
720 pts Total fuel consumption each month ?
Log Config
Aspect OPC DA Handler OPC HDA Handler OPC/HDA Handler
External
History Servers
SCADA
AEH
Configuration Collector Link IM
Manager
Info about
History Server
configured logs
Tracking Updates
Configuration
Primary Log Secondary Log
Object Log
Change Manager 12 Hours 1 Week
notifications 8640 pts
History Service
Revision C
OnDataChange
Time stamped data from OPC DA Server
History
Major Data Flow
Get Data
Request
Workplace Application
If no Log Exist, Trend Display
Aspect Directory History Data and
Get OPC/DA
1 Hour Subscribed Data
Data to Present
from History
a Trim Curve 720 pts
Server
Log Config
Aspect OPC DA Handler OPC HDA Handler
If Log Exist
OPC/DA Handler
History Service
Revision C
OnDataChange
Time stamped data from OPC DA Server
History
Troubleshooting Log Configuration
A green indication Press the Read button
and you will get data with Data should be with quality
shows contact with Good. Data can either be
history service their quality read by the
OPC server Raw or extrapolated
© ABB Consult IT - 11
Revision C
History
Troubleshooting Log Configuration (continued)
Failed to collect x logs via collector OPC Bad log* Æ Pull ListErrors or ListCollectorMap AppLog operation
© ABB Consult IT - 16
*) In SV 5.0 SP1 the first 5 erroneous logs are listed in the event details.
Revision C
History
Identifying History Files
C:\> afwuhop ssd IIT1\800xAAdmin
User IIT1\800xAAdmin added to group
Software Developers
8640 pts
The Basic log and the Logging OPC DA Handler OPC HDA Handler
log shows OPC Collector Events
and Data Flow
5
Open file, store data,
History Server and close file
Log Manager
4
Feed Log
1
Read Request
from Client
3
Push Data, if
data to push
Collection Manager
Synchronizer
2 PollTime
1
Flush Logs
OnDataChange
B OPC TTD Registry
CollectorPushPoints = 1200 pts
© ABB Consult IT - 18
History Service
Revision C
A
Time stamped data
from OPC DA Server
© ABB Consult IT - 19
Revision C
History
Applog log
History
Applog log How data is selected from 2 logs
LogFit:0.129365
LogIndex:0
CollectorType:Internal
Revision C
History
Applog log How data is selected from 2 logs
7.1.1 Description
This exercise deals with different type of Log Configurations. The student will
examine Trend and Log Configuration aspect upon different settings in the Log
configuration and Trend treatments.
7.1.2 Objectives
Upon completion of this exercise you will be able to:
• Collect data from the Log Configuration Aspect and make a proper analyze.
1/4
E143-07 Exercise 7.1 - RevC.doc
3. Set treatment TimeAverage on the Trend Display of the concerning objects. You
find the trend display in the SupportSite object.
4. Operate the valve from the Graphic Display ProcessSimulation.
5. Is the opening times and close times what you expect?
2/4
Maintenenance Expert workshop
6. Change the registry key TraceKneeConstant to a value of 3. You find the key in
"HKEY_LOCAL_MACHINE /SOFTWARE / ABB / AFW /
SystemModules/HistoryServer/ Do you get any improvements?
3/4
E143-07 Exercise 7.1 - RevC.doc
The impact of the treatment concerning the number of points is highlighted with this
exercise. You will notice the limitations of momentary values.
1. Make a Trend display for one of the objects Sig2, Sig3 or Sig4. Apply the
treatment momentary, extend the time scope to 3 days. Do you see data from the
start day of the workshop? Change the treatment to momentary extended. What
improvements do you get? What conclusions do you make using momentary?
2. Copy the data from the trend display when you are using the different treatments
“Time Average”, “Momentary” and “Extended Momentary” use Ctrl - C
and paste the result into Excel. What are the sample interval for the different
treatments?
4/4
Maintenenance Expert workshop
7.2.1 Description
This exercise covers how to find a log configuration where the Log item doesn’t exist
as a OPC property item of the object.
7.2.2 Objectives
Upon completion of this exercise you will be able to:
• Find the object with the faulty Log configuration by using the Applog viewer.
1/2
E143-07 Exercise 7.2 - RevB.doc
2. The system produces collection message in the system event list. Imagine you
have more than 300 logs configured on a couple of them produce messages like
this. Can you find out which object causing the message from the system event
message? Can you use the log summary aspect. What does the detailed
information from System Event list reveal?
6. Do you find the object with the faulty log configuration in the log? Can you also
determine in the log configuration aspect what is wrong?
2/2
Maintenenance Expert workshop
7.3.1 Description
This exercise deals with history & trend trouble shooting, when there has been a large
time change from future time to current time. The exercise shows the importance of
having a correct synchronized time in the system and how you can repair a log with a
faulty entry.
7.3.2 Objectives
Upon completion of this exercise you will be able to:
• Trace the interaction between a History Client and the
PPA History Server using the Application Log Protocol.
1/2
E143-07 Exercise 7.3 - RevB.doc
2. Let the log for object Sig2, Sig3 and Sig 4 produce values for a couple of minutes.
4. Check the log configuration and the trend curve. Do you get any values?
6. Now your task is to repair the log by removing the values for the future times. The
only way to get rid of the “bad” data is to delete the log files. Find the files by
searching on the identity in log configuration aspect. You need to be software
developer.
7. Import the file CSV file but include only the data where the time is not in the
future.
2/2
Maintenenance Expert workshop
7.4.1 Description
This exercise covers how to trace the Synchronizer - History Server interaction when
synchronizing parallel PPA History Logs
7.4.2 Objectives
Upon completion of this exercise you will be able to:
• Trace the Synchronizer requests and the History Server responses when
synchronizing parallel PPA History Logs
1/2
E143-07 Exercise 7.4 - RevB.doc
2. Start the AdvHtHistorySrv(logs from all apartments), Server data log on the
History Server. Set the log level on 1.
3. Via the Service Provider Definition Aspect, stop History Service Provider 2.
Note the ClientGone message in the Server Data log.
4. Collapse in wait a couple of minutes so that the History Server that is down
looses some updates.
6. In the Server Data log, explore the Synchronizer requests and the History Server
responses when synchronizing the logs.
7. The Basic History metrics shows also how well the service providers are
synchronized.
2/2
Maintenenance Expert workshop
7.5.1 Description
This exercise covers how restore a specific log from a backup of external services.
7.5.2 Objectives
Upon completion of this exercise you will be able to:
1/2
E143-07 Exercise 7.5 - RevA.docA
2. Find the Log file of objects Sig2, Sig3, and Sig4. You need to belong to the
Software developers group to get the GUID of the log file. Each person in the
group can make a restore of one log. Make an individual agreement.
5. Wait a couple minute, now you just get values from the last minutes.
7. Check that you get log data which prior to the time after deleting the log files.
2/2