Extend Skyline at runtime

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Extend Skyline at runtime

mapp Services V5.16

Requirement

An existing printer machine line must be expanded. Currently, the machine line consists of a printing module and a stacker module. Next, another printing module ("Printer cyan") must be added at runtime.

The skyline displayed in the HMI application should also be updated so that all existing modules are available.

logo_online_tutorial

Or B&R Tutorial Portal includes tutorial "mapp Skyline Part 3" (GER/ENG), which explains how to change the skyline at runtime. (access data)

The "SVG Skyline" library provided by mapp View contains images that can be used for the skyline. This library is available via the toolbox and can be stored in the mapp View package in the Logical View under Resources → Media.

symbol_lib

aw1_skyline_before

Preparing the configuration

First, the existing configuration must be exported by function block MpComConfigManager. The data is saved to a storage medium such as a USB flash drive, for example. The exported file can then be edited using a text editor.

An additional module "Printer_Cyan" is added under "Modules".

usecase1_modify_config

The Group ID must be adjusted accordingly. Each module needs its own ID, which is not permitted to occur more than once. The configuration is saved and can then be used.

Update configuration at runtime

Using function block MpComConfigManager, the previously edited configuration is imported. After the HMI application has been updated, the new skyline is displayed.

skyline