RCO Site Logging Summary Overview

Several steps must be taken to enable logging for an RCO site, as follows.

Work in the TrackerCfg_UI.

Edit the datalog.idt file.

Edit the data_field.idt file.

Configure the data log source in the Database Logger.

  1. Work in the TrackerCfg_UI.

  1. Lock the RCO_SITE1.

  2. Right-click the RCO_SITE1 object.

  3. Select Alarming/Logging on the Popup menu.

The Alarming/Logging Options dialog box opens.

  1. Check Data Logger.

  2. Check the features that you want to log in the Logging list.

  1. Repeat the process for each RCO site for which you want logging.

  2. Click OK.

  1. Edit the datalog.idt file

  1. Open the datalog.idt file.

  2. Add the following at the end of the datalog.idt.

RCO_SITE1|DL_RP|278|500|0|100|1|0|1||0|PR|0||DB31467|X|0|0|0||0||0|5|1|0|0|3|0|||-
C|C|0|86400||-1|1|0|1000|60

Notes

When you configure the RCO site data logging, the name of an actual RCO site will replace RCO_SITE1.

This will add the specified RCO site as a new table in the Database logger, e.g. RCO_SITE1.

If you want logging for RCO_SITE2, add a new line as follows.

RCO_SITE2|DL_RP|278|500|0|100|1|0|1||0|PR|0||DB31467|X|0|0|0||0||0|5|1|0|0|3|0|||-
C|C|0|86400||-1|1|0|1000|60

Important: The third value in the datalog addition is 278 a minimum of 268 is required for RCO data logging records.

  1. Save and scpop the changed datalog.idt file.

  1. Edit the data_field.idt file

  1. Open the data_field.idt file.

  2. Add the following at the end of data_field.idt.

RCO_SITE1|operation|12|20|0

RCO_SITE1|data_name|12|55|20

RCO_SITE1|old_value|12|32|75

RCO_SITE1|new_value|12|32|107

RCO_SITE1|comments|12|121|139

RCO_SITE1|n1|7|4|260

RCO_SITE1|n2|7|4|264

  1. Save and scpop the data_field.idt file.

  2. Configure the data log source in the Database Logger

  1. Open the Database Logger in the project's Workbench.

The newly created RCO site(s) display as new tables.

By default the database associated with these new tables is CIMPLICITY.

  1. Change the ODBC source as per the configuration and requirement.

  2. Close Database logger.

  3. Run the project.

Result: Whenever any of the RCO sites (configured for data logging) are triggered, data will be logged.

Data is logged for every operation carried out by the triggered RCO site. Data is stored in the Operation column of the configured database table.

Operations include:

RCO Start

TRIGGER

POINT_UNAVAILABLE

Point Read

SCRIPT RUN

SCRIPT_ERROR

SCRIPT END

DECISION_SELECT

USER_TRANS

SCRIPT END

DECISION_SUCCESS

DECISION_FAILURE

VALIDATE_FAILURE

EXECUTE_FAILURE

CTRL_STATUS_CHG

MANUAL_DEC

ASYNCH_ERROR

VERIFY_ERROR

More information

Tracker data logging.