You are on page 1of 8

SDC Sedona Application Note 007

SDC Historical Logging Guide

1 SDC-30 Historical Logging Guide


Introduction

Every SDC-30 Sedona has the ability to trend history data. It enable user create trending of points directly
into the controller memory without having to have a network controller to do it.
This feature is very handy when it comes to a small business outlet.
Total memory allocations for the history are 32KB. This memory is isolated from the sedona apps
memory allocation.
Below is a summary of total history records versus memory size.

Memory  Allocation  History  Type  Records  Count 


1 KB  Boolean 255 
1 KB  Float  127 
1 KB  Integer  127 

User can trend up to approx 4000 records depending on the configurations.


This guide is written to describe how the configure and view historical logs through the Workbench.
The historical logs can also be integrated with Niagara Stations, and the logs stored in the controller can be
retrieved from the stations.

Installing Historical Logging Kits


To enable historical logging function, the kits called pstore, history and easyioHistory are required to be
loaded to the SDC controller.

PAGE 1 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

Configuring the History

In order to configure you must install pstore service to start to store the historical logging values on the SDC
controller.
Step 1. Choose pstore from Sedona Palette
Step 2. Drag & drop PstoreService into your App (in this case Service folder). The Pstore Service must
be under the Service folder.
Note: Do not rename this object. Leave it as default name.
Note: Do not have duplication of this object.

PAGE 2 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

Step 3. Double click on the pStoreS object to get into the PStore manager
Step 4. Hit “Add” to add a history extension. Choose from the drop down list either easyioHisIntervalBool,
easyioHisIntervalFloat, or easyioHisIntervalInt.

Note that there are 2 groups of selection for Internal type. Please use the easyIO history extension for interval type.
Refer to easyIO sedona kits , easyioHistory section for details explanation.

Step 5. Now, e.g., for room temperature select easyioHisIntervalFloat.

PAGE 3 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

Step 6. Specify the name for the history point (File Name(s)) e.g. RmTemp. This can be maximum of 7
characters.

Step 7. By default, every history created will be fault or bad format or bad size. Please follow these steps
to configure correctly. Select the history that been created. Click the layout button to configure the size and
the offset.
This offset and size will reflect the history allocation monitor on the right.

Step 8. Reselect the history again and click on “Clear”. This will clear the memory space for the selected
history extension.

PAGE 4 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

Step 9. The history object is now ready to be linked to the value from the wire sheet. Link mark the object to
be linked to the history on the Sedona property or wire sheet. Then select the history object to be linked in
and use “Link From” function.
Link “Out” to the “Cv” on the history object.

PAGE 5 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

Step 10. To change the interval (property)for the history configuration, right click on the history extension
object and go to sedona property sheet. Minimum allowed interval is 1 min.

Step 11. To view the history, double click on the history point. The default view is the chart view. The view
can be changed for Table view from by right clicking on the history point and selecting Views option.

PAGE 6 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

 
   

PAGE 7 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1
SDC Sedona Application Note 007
SDC Historical Logging Guide

Copying the History Data from the SDC Controller

The history data can be exported using the Workbench tool by right-clicking on the History Chart view and
select option “Export Data”. This option opens the export view dialogue that can be used for exporting the
data.
Exporter Option Operation
Table to PDF Opens the historical data to be viewed in the pdf-format
(tabular format for the data).
Table to oBIX Niagara Framework Export Format.
Table to HTML Opens the historical data in the HTML format (web-
browser).
Table to Text Opens the historical data in the Text format.
Table to CSV Opens the historical data in the CSV (comma separated file
format) format.

View with ExternalApplication – Table to PDF

PAGE 8 of 8 File Name: SDC-AN007-SDC Historical Logging Guide.docx Date: 10 Oct 2012

Version 0.1

You might also like