Basic Configuration

The Following steps must be taken to set up the Dashboard within a WinCC OA project:

  1. Create a new Standard Project or use an existing project.
  2. Ensure that the webclient_http.ctl script is running in your project. This script starts the web server that is required for the Dashboard to operate.
    Important:
    The webclient_http.ctl script must always be running in the project to use the Dashboard. A Standard Project includes this script automatically. If you use an existing project, you may have to add a CTRL manager with the parameter webclient_http.ctl manually. See Web Server Script (webclient_http.ctl) for details.
    Important:
    Decreasing Permissions for a Remotely Running Web Server : This only applies to the DP type _WebUI_PublicKey. In the master DP, the auth configs for all 3 DPEs must be set so that the managers running webclient_http.ctl, dashboard.ctl, or in the future webserver.js, have write access to these DPEs: hostName, port, and publicKeyString.

    Additionally, to decrease permissions for a remotely running web server, the auth configs configs on the following DPEs must be changed from the "original" configuration:

    • _System.Auth.SessionToken and
    • _System.Auth.SessionTokenInterface

    Currently, userbit 4 is required. However, introducing a dedicated permission bit for the user who starts the web server on the remote machine would be a cleaner and safer solution.

  3. Within the project console, add a new CTRL manager with the following manager parameter:
    dashboard.ctl
  4. Start the project and the new CTRL manager.
  5. The Dashboard back end is now running and can be accessed via a web browser under
    https://localhost/data/dashboard-wc/index.html
  6. Log in using a standard user or your own user that you created during the project creation process.