CODESYS Visualization

Everything in one project

In the same CODESYS project, you use CODESYS Visualization to create the suitable user interface for your application. You link the visu­alization to the application variables and in this way they can animate and display data. When creating a visualization and an application, you use common functions, for example, as library and source code management or find/replace throughout the project.

Note

For some hints and best practises for configuring and creating a visualization see the document "Best Practices, Visualiza­tion". It is available in PDF format with the CODESYS installation.

Overview of functionality

 

Overview of the objects, editors, repositories, etc. relevant for the visualization in the CODESYS Development System

Visualization

Object below an application in the device tree or in the POUs pool that contains a visualization image. A visualization can reference other visualizations.

Visualization editor and additional views

In this IEC 61131-3-compliant editor you can create the desired graphical user interfaces, panels, dialogs, etc. from visualization elements. The editor is made up of the following components:

  • Graphic editor area for arranging the elements

  • Interface Editor: for the parameteriza­tion of the visualization

  • Hotkey Configuration: editor for defining keys for online operation

  • Elementlist: overview of all visualization elements used, editor for the position of the elements on the z-axis

The following views are also available:

  • ToolBox: view for the provision of visu­alization elements

  • Properties: view with editor for the configuration of the element that currently has the focus in the graphic editor

Visualization element

Ready-to-use elements from the visualization libraries are available in the Tools view of the visualization editor for insertion.

Visualization profile

The profile defines which visualization elements are available. Each project that contains a visualization is based on such a profile (project settings).

Visualization Styles

The selected style determines the "look & feel" of the elements. It is set application-wide in the visualization manager. Ready-to-use styles are provided and you can also create your own.

Visualization Manager

Each application has a visualization manager of its own for its visualizations with various settings such as user management, style, language, input type, etc. The Visualization Manager object is suspended in the device tree below the application.

Display variant

A visualization can be displayed in online mode in the following variants, which are created as objects under the visualization manager:

  • CODESYS TargetVisu (target visualiza­tion and remote target visualization on PLC devices)

  • CODESYS WebVisu (web visualization via a web browser)

  • CODESYS HMI (HMI visualization on devices without I/O connection)

Visualization library

Collection of visualization elements that are provided in the toolbox.

Symbol library

Collection of images and graphics that you can use in visualizations. When inserting a visualization object you can choose whether the installed system libraries should be available in the project.

Visualization Element Repository

Repository for the management of the visualization profiles and the visualization element libraries.

Visualization Styles Repository

Repository for the management of visualization styles.

VISU_TASK

This task is automatically present as an object in the task configuration of an application as long as an object for a display variant of the type WebVisu or TargetVisu is also inserted under the Visualization Manager.

System overview and mechanism, display variants

The user interfaces created in CODESYS can be used in different display variants, depending on which ones the controller employed supports.

_visu_img_overview.png

The display variants

See also