Description

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Description

mapp Services V5.16

This function block can be used to export configurations from a machine and then import them to another machine. It is possible to select individual configurations, the configuration from a machine group (Creating modular applications) or all configurations from a complete machine.

configmanagerconcept

Selecting the configuration(s)

The configuration is selected using inputs "Scope" and "MpLink".

All configurations

If input "MpLink" is not connected, then all configurations are selected. Input "Scope" is not taken into account in this case.

An individual configuration

The mapp component from which the configuration should be exported is specified via the "MpLink" on the input (e.g. the configuration of a conveyor belt with gConveyorLink as MpLink). Element mpCOM_CONFIG_SCOPE_COMPONENT is also specified on input "Scope".

One machine group

A machine group can be part of a machine or a robot with all of the axes under its control. Information about setting up a machine group (hierarchy) can be found in section Creating modular applications. The "MpLink" of the group must be selected in order to select all configurations from a machine group.

configmanagergroups

If you want to select the configurations from the Filling group in this example, then gFillingLink is connected on input "MpLink". If the robot including all individual axes should be imported/exported, then the robot's MpLink must be selected. The correct area must be configured using input "Scope". This means that mpCOM_CONFIG_SCOPE_BRANCH must be selected for a group.

Export

Previously selected configurations can be exported using the "Export" command. The configurations are exported from Automation Runtime and stored on the specified data storage device ("DeviceName") under the specified filename ("FileName"). This stores all configurations in one file. You can identify the configuration form a mapp component by the name of the MpLink in this file. Data is saved in XML format.

Import

The "Import" command can be used to import a file containing configurations. Which file is defined by the specified data storage device ("DeviceName") and filename ("FileName"). It is also possible import multiple files at the same time:

*.*: If *.* is specified, all files are imported from the specified data storage device.

*.xxx: If *.xxx is specified, all files are imported with the defined extension (e.g. *.xml, *.csv, *.mcg, etc.).

Which configurations are actually imported from the file depends on the selection. If multiple configurations should be imported, then the MpLink of a configuration from the import file must match the MpLink from the machine. Only then will the configuration from the file be applied in Automation Runtime.

It is possible to use this function block to import configuration files from mapp version 0.05.x. The configuration file can be selected directly using its name or with the .mcg extension.