1.1. SPC Products: Create a Document

About this task

A Open a new SPC Configuration window.
B Define document properties.
C Save a new SPC document.
  1. Open a new SPC Configuration Window

You can open a new SPC Configuration window:

  • Through the Workbench.
  • Through an open SPC Configuration window.

Through the Workbench

Procedure

  1. Make sure the SPC Chartsoption is enabled.
  2. Select Project>SPC in the Workbench left pane.
  3. Do one of the following.
    A Click File>New  on the Workbench menu bar.
    B Click the New Object button on the Workbench toolbar.
    C In the Workbench left pane:
    Either Or
    Double click SPC.
    1. Right-click SPC.
    2. Select New on the Popup menu.
    D
    1. In the Workbench right pane.
    1. Right-click any SPC file.
    2. Select New on the Popup menu.
    E Press Ctrl+N on the keyboard.

    Result: A blank SPC Configuration window opens when you use any method; the Save features are disabled.

    Through an open SPC Configuration Window

    You can open an empty SPC Configuration window through an open SPC Configuration window.

    Click File>New>SPC Configuration Document on the SPC Configuration window menu bar.

    Result: A blank SPC Configuration window overlays the previous open window.

    Note:  The Save features may be enabled. However you cannot save the new document until the document properties are defined.
    1.  Define Document Properties
    1. Click File>Properties on the SPC Configuration window menu bar.

    The Document Properties dialog box opens.

    1. Select the following.
    Option Description
    Active Activate data collection for the document. Important: The Database Logger must be configured for the project to enable the SPC Data Collector.
    Default Checked.
    Log update interval in seconds Number (of seconds) that raw data will be retrieved from the database when using logged data as input.
    ODBC data source ODBC data source to use for the open CIMPLICITY project.
    Database user Authorized database user.
    Password Valid user password.

    Result: The SPC Configuration window can now be saved.

    Important:
    • All the SPC documents in a CIMPLICITY project must log their data to the same SPC data source.
    • System Data Sources may not be listed on the System DSN tab when you open The ODBC Data Source Administrator on a 64-bit system.

    Do the following.

    CIMPLICITY Start menu

    1. Expand All Programs>Proficy HMI SCADA - CIMPLICITY 8.2 on the Windows start menu.
    2. Click ODBCAD32 - View 32bit DSNs.

    The ODBC Data Source Administrator opens.

    1. Select the DSN tab.

    Result: The System Data Sources will be listed.

    Command Line field.

    1. Click the Start button on the Windows task bar.
    2. Enter the following in the Command Line field.

    c:\windows\syswow64\odbcad32.exe

    1. Press Enter.

    The ODBC Data Source Administrator opens.

    1. Select the DSN tab.

    Result: The System Data Sources will be listed.

    1. Save a new SPC Document
  4. Right-click SPC.
  5. Select New on the Popup menu.
  6. Right-click any SPC file.
  7. Select New on the Popup menu.
  8.  Do one or the following.
    A Click File>Save on the SPC Configuration window menu bar.
    B Click the Save button on the SPC Configuration window tool bar.
    C Press Ctrl+S on the keyboard.

    A Save As dialog box opens.

  9. Save the SPC document as an .spc file.
    Important: The maximum name length is 8 characters.
  10. Click Save.

Results

The Save As dialog box closes; The <Document Name>.SPC - SPC Configuration window is ready for the SPC products and specifications.

Tip: Refresh (F5) the Workbench if the new document is not listed in the right-pane when you close the SPC Configuration window.