Changing and importing the configuration via MpComConfigManager

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Changing and importing the configuration via MpComConfigManager

mapp Services V5.16

Requirement

A printer machine line is displayed using mapp Skyline and widget "Skyline".

This printer machine line should be extended. 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.

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

mapp Skyline

For information about how to add and configure mapp Skyline and the widget, see "Getting started" tutorial "Visualize machine line".

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.

Updating a 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