Example 3.3. Machine Edition Variables Logged through CIMPLICITY

About this task

  • Log to Historian
  • Log to SQL

Log to Historian

Note: CIMPLICITY device points that access Machine Edition variable values can be logged to Historian.

The data for two Machine Edition variables, Code and SINE1, must be logged to Historian.

The authorized user:

Procedure

  1. Makes sure that the Historian Interface options are checked in the CIMPLICITY Project Properties dialog box.
  2. Creates CIMPLICITY points, MCode and MSIN1, to access the corresponding Machine Edition variables.
  3. Checks Log Data on the General tab in each point's Point Properties dialog box.
  4. Makes sure the project configuration is updated (e.g. configuration update or configured in dynamic configuration).

    Result: When the project is running the point data will be logged to Historian.

    Log to SQL

    Note: Both CIMPLICITY device points and Machine Edition variables can be logged to CIMPLICITY DATA_LOG and GROUP_LOG tables in SQL.

    Car wash data for the high price car wash needs to be logged to SQL.

    • Both CIMPLICITY device points and Machine Edition variables are logged.
    • CIMPLICITY log tables are both the DATA_LOG and GROUP_LOG.

    An authorized user:

  5. Opens the DATA_LOG in the Database Logger.
  6. Opensthe Select a Point browser.
  7. Selects Machine Edition variables.
  8. Adds the selected Machine Edition variables to the DATA_LOG.

    Note: Points that have Log Data checked in their Point Properties dialog box will be logged to the DATA_LOG.

  9. Opens the GROUP_LOG.
  10. Adds the following to the GROUP_LOG.
    A Machine Edition variables.
    B CIMPLICITY device points that access Machine Edition variables.

Results

Data for both CIMPLICITY device points and Machine Edition variables is logged to the SQL DATA_LOG and GROUP_LOG.

  • SQL DATA_LOG ??displays:
A Machine Edition variables.
B CIMPLICITY device points that access Machine Edition variables.
  • SQL GROUP_LOG displays:
A CIMPLICITY device points that access Machine Edition variables.
B Machine Edition variables.