Skip to main content

Tab: Advanced Settings

Symbol: _visu_icon.png

This tab is part of the Visualization Manager dialog.

Table 39. Memory Settings

Size of memory for visualization

Memory size (in bytes) allocated by the visualization at runtime. Default: 400000

Size of memory for visualization (initial value)

This is the initialization value for visualization profile V3.5 SP10 and higher. If the memory usage exceeds this value, then the memory is doubled dynamically.

Size of paint buffer (per client)

Memory size (in bytes) allocated by the visualization per display variant and used for painting actions. Default: 50000

Size of paint buffer (per client, initial value)

This is the initialization value for visualization profile V3.5 SP10 and higher. If the memory usage exceeds this value, then the memory is doubled dynamically.



Table 40. File Transfer Mode

Transfer visualization files to the PLC

_cds_icon_radiobutton_activated.png: When downloading the application from the visualization directories to the PLC, CODESYS copies files, such as images and text lists, that are referenced by the visualization. A CODESYS TargetVisu needs the files on the PLC, as well as dialogs, that support numerical and keyboard input.

Use local visualization files

_cds_icon_radiobutton_activated.png: The visualization uses images and text lists in local directories.

Note: In order for the visualization to access local files, the file paths must be relative. You can specify these paths on the Visualization tab of the Project → Project Settings dialog. The settings the Options dialog in Visualization are also considered.

Note: It is also necessary for the link type to be set to Link to File for an image. The link type is specified in the image pool.



Tip

With "Display variant", the type of visualization is identified, either WebVisu, TargetVisu, or HMI.

A display variant is a connected display medium. In this way, multiple browsers (clients) can be connected at the same time for the display variant WebVisu.

Table 41. Client Settings

Maximum number of visualization clients

Restricts the number of display variants that are executed at the same time.

If you configure elements to vary depending on the display variant, then you have to limit the number of display variants. A visualization receives an ID at runtime that identifies the display variant and processes data accordingly. CODESYS can interrogate the ID with the system variable CURRENTCLIENTID for information about which of the running variants is affected.

Example: arr[CURRENTCLIENTID].dwColor

Requirement: The library VisuGlobalClientManager is included in the project.



Transfer both svg images and converted images

The option is visible only if both a WebVisu and TargetVisu are used. This affects images in SVG format only.

The option is available if the device description of the controller of the TargetVisu does not support the format "SVG (full)".

standard icon: The images are transferred in PNG or BMP format (for TargetVisu) and also in SVG format (for WebVisu).

Note

Not all settings are available for an integrated CODESYS visualization.

Table 42. Background Configuration

Image ID

File name of the "device image". The device image is a background frame which can be displayed for orientation purposes during the creation of visualizations for a specific device type. (This should not be confused with the option of permanently assigning a background image to a visualization).

The device image "represents" a main visualization and therefore helps to position visualization elements in the individual visualizations. With the position specifications below, an area can be defined within the device image where the individual visualization should be displayed.

For instructions, see : Designing a Background, Using a Device Image

To specify the device image, the ID of an image file from an existing image pool can be entered directly. When you start typing a string into the input field, existing files with matching names are offered for selection. Examples: VisuElemsSpecialControls.IP_ElementImages.ImageSwitcher, company_logo.

_cds_icon_three_dots.png: Opens the Input Assistant to select a device image from an image pool

_cds_icon_open_file.png: Opens the dialog to search the file system for an image file

Note: In the Visualization options (device image), you can set in which operating modes (online, offline) the device image is to be displayed.

Content area

Left (X), Top (Y)

Position of the top left corner of the area where the visualization is displayed.

Right (X), Bottom (Y)

Position of the bottom right corner of the area where the visualization is displayed.

Compile warning if element exceeds content area

_cds_icon_checked.png: If a visualization element is not completely within the range as defined above, then a compile warning is issued.

Limit element position within content area

_cds_icon_checked.png: Visualization elements cannot be placed outside of the defined area.

Save as default

The settings are saved as the default for the device and are used for all visualizations created for this device type.

Load default

If settings have been changed in Background Configuration, then this command can be used to reload the last ones which were saved as default for the device.