Professional Documents
Culture Documents
TABLE OF CONTENTS
Chapter 21 - 1
T360-21 Simple Reports - RevB
21.1.1 Objectives
On completion of this chapter you will be able to:
• Create simple reports based on MS Excel Data Access
• Setup a scheduled task to generate scheduled reports
• Use Snapshot reports
21.1.2 Legend
> Indicates when you go from one menu to a sub-menu
Italic Indicates object and file names
“ “ Indicates dialog box buttons, tabs, menus etc.
Bold Indicates important topics
Indicates start/explanation of student activity
Chapter 21 - 2
System 800xA Training
21.2 DataDirect
21.2.1 Introduction
DataDirect (Excel Data Access) is an add-in for Microsoft Excel designed to retrieve
data (real-time data, historical values, lab data, batch information, and event
information) from System 800xA.
This functionality is one of the basic system functionalities, although it is part of the
Information Management software package. This means that it can be installed along
with the core system without installing IM, and that it doesn’t require additional
licensing. Nevertheless when installed in systems with IM some of its features are
enhanced (data access from non 800xA nodes, extended amount of historical values,
etc).
NOTE! Data Direct can run in any system node.
Chapter 21 - 3
T360-21 Simple Reports - RevB
2. Click on the “Office” button in the upper right hand corner and select “Excel
Options” from the bottom of the menu.
3. Select “Add-ins” from the pane on the left. Then press the “Go” button in the
right pane.
Chapter 21 - 4
System 800xA Training
4. Press the “Browse” button, and browse to the ABBDataDirect.xla file located
in:
C:\Program Files\ABB Industrial IT\InformIT\DataDirec\Bin:
5. Make sure the “DataDirect” check box is checked, then press “OK”.
6. Once the add-in is enabled, the Data Direct toolbar will be available.
Chapter 21 - 5
T360-21 Simple Reports - RevB
1. Click on the “Office” button in the upper right hand corner and select “Excel
Options” from the bottom of the menu.
2. Select “Trust Center” from the pane on the left, then press “Trust Center
Settings”.
3. Select “Macro Settings” from pane on the left and check “Enable all Macros”.
Chapter 21 - 6
System 800xA Training
1. Click on the “Office” button in the upper right hand corner and select “Excel
Options” from the bottom of the menu.
2. Select “Formulas” from the pane on the left, then check “Manual” in
Calculation options.
Chapter 21 - 7
T360-21 Simple Reports - RevB
Button Function
Same as accessing the menu DataDirect > Login. Logging is only
required when retrieving data remotely from a non 800xA node
Chapter 21 - 8
System 800xA Training
21.3 Reports
DataDirect is mainly used to create reports. These can be created as:
• one time reports to show and store data from the instant they were created
• reusable reports to allow the user to reload the enclosed data when required
Operators can view reports from their Operator Workplaces by simply browsing report
archives via the Plant Explorer. Reports can be automatically generated and sent to
multiple output destinations such as printers, files etc.
The “Start Cell” input field defines the cell position where the result data will be
filled. If the “Insert” checkbox is selected, instead of filling the cells new rows will be
inserted.
Chapter 21 - 9
T360-21 Simple Reports - RevB
The “Item List” will show the available information for the selected object. The
contents of this list will change according to the data type:
1. Process Data will show every OPC property
2. Historical will show only the properties that are being logged by a Log
Configuration aspect
3. Alarm and Events Dialog will show only the Alarm & Event lists and alarm
lines
NOTE! It is recommended to avoid using the “Get Current
Value” option, since it delays the population of the table.
Chapter 21 - 10
System 800xA Training
In the following example the In.Value property of the object Sxx_LT1 was selected,
and in the output options the object name and timestamp were enabled.
If a property is being logged using different logs they will be available to be chosen.
The “Retrieval Information” section defines how the historical data is going to be
treated before being added to the report:
• “Raw Data” = only the first points in the time window will be included
• “Interpolated Data” = the user can select a calculation algorithm (for example time
average) to process all the points in the time window and reduce them to the
amount of points defined by “Nr of Values”
Chapter 21 - 11
T360-21 Simple Reports - RevB
If the “Start” and “End” times are static, the report will always show data from that
fixed time window. If they are dynamic the time window will be relative to the
calculation time, so the data will change for every calculation.
The time span needs to be specified like the time window for historical data).
F Exercise 21.1
Chapter 21 - 12
System 800xA Training
Each report has a File Viewer aspect that attaches the 800xA system object with
windows files.
The “public document” is the file shown by the File Viewer’s “Main View”, while the
work document is the file that is going to be linked to the report template object.
Chapter 21 - 13
T360-21 Simple Reports - RevB
Chapter 21 - 14
System 800xA Training
6. Define the output options: save the reports as files, sent them directly to a
printer or send them as e-mails.
7. Define report files paths and the max. number of files. The path can be defined
to include the timestamp in the format C:\filename <TimeStamp>.xls.
NOTE! The path is the local disk on the node where the
Scheduler Service is running.
Chapter 21 - 15
T360-21 Simple Reports - RevB
Chapter 21 - 16
System 800xA Training
Chapter 21 - 17
T360-21 Simple Reports - RevB
2. Launch the Installation Wizard and select “Snapshot Reports”. Click “Install”
and follow the instructions to complete the installation.
Chapter 21 - 18
System 800xA Training
3. Open the Configuration Wizard on the Primary Aspect Server and select
“System Administration > System Extension Load” to load the system
extensions.
4. Mark the Snapshot Reports for 800xA to the right list and click “Next”.
Chapter 21 - 19
T360-21 Simple Reports - RevB
3. A new folder is now created and ready to be filled with new snapshot
templates or Snapshot Report Viewer aspects.
Chapter 21 - 20
System 800xA Training
1. Right-click on the snapshot report template folder where a new template needs
to be created and create a new SnapshotReportTemplateCategory aspect
Give it a meaningful name. In this example we want to search for all forced
I/O signals, therefore the name is “Forced IOs”
Chapter 21 - 21
T360-21 Simple Reports - RevB
4. In the Properties window, select the Forced parameters and use the “>>”
button to select the Forced parameters for presentation.
5. In the Search where, select “In Structure” and search in the Control Structure.
Chapter 21 - 22
System 800xA Training
6. Select the “Search” tab and press the “Search” button to verify the search
result.
7. Save the template using the “Apply” button. If required, press the “To Excel”
button to export the result.
Chapter 21 - 23
T360-21 Simple Reports - RevB
Chapter 21 - 24
System 800xA Training
Chapter 21 - 25
T360-21 Simple Reports - RevB
It can be accessed by the Operator or Maintenance personnel through aspect links, the
context menu of objects including a SnapshotReportView aspect or through drop-
down lists in the header of the Operator Workplace.
Chapter 21 - 26
System 800xA Training
The search result is then presented in a separate window in a List View format.
Some features:
• Object context menu available
• Can be sorted via left click in the column header
• Can be written to Excel for further processing or storage
Chapter 21 - 27
T360-21 Simple Reports - RevB
Chapter 21 - 28