WinCC OA HTML references

WinCC OA HTML references are used to create dynamic HTML pages through the WinCC OA HTTP Server. They are used, for example, to display DPE values, to change table cell colors, or even to specify what graphics to load depending on the current state.

The advantage of references is that you do not need any other knowledge of HTML.

Creating HTML references

  1. Create a static HTML page (for example, using a plain text editor, MS Word for Windows or MS Frontpage)

  2. Save the page with the extension ".htmlRef" in the directory <proj_path>/data/http/[de,en]/refs.

    If you are working with multiple languages, you must create a separate htmlRef file per language and save it in the respective subdirectory (for example, "en").

  3. Insert a WinCC OA query tag "<%[Abfrage]%>" at the appropriate points in the HTML code (see WinCC OA tags and Creating custom HTML pages). Save the page again.

  4. Add a link to the reference page to your project pages or create an HTML form for passing the necessary reference parameters. (Details: examples below)