<< Click to Display Table of Contents >> Navigation: »No topics above this level« Creating a hierarchy |
mapp Services V5.16
In synchronized mode, a machine unit is always divided into modules. The unit in the following example is divided into 5 modules:
One MpPackMLModule configuration is added for each module. This configuration is used to define the links between the modules. To define the different modes for a machine unit and determine the possible states, a MpPackMLCore configuration is added. This means that the machine unit is managed via the MpPackMLCore configuration.
In the example above, the machine unit consists of 5 modules. For this reason, 5 MpPackMLModule configuration are added.
The modules must be linked to each other in such a way that the hierarchy shown above can be created.
If a module has a higher-level module, "Has parent = Yes" is selected in the MpPackMLModule configuration. The mapp Link of the parent module is defined under "Parent module".
In the following example, the mapp Link of the parent module "Infeed" is specified in the configuration of module "Axis1".
Fig.: Linking module "Axis1" to module "Infeed"
For the main module, "Has parent = No" is selected because it is the highest module. This module is linked to the machine unit. The unit then knows which hierarchy or which modules work together. The mapp Link of the MpPackMLCore configuration is specified under "Unit".
Fig.: Linking module "Main" to the MpPackMLCore configuration
The hierarchy is now complete. The main module of the hierarchy is assigned to level 0. The module below is assigned to level 1, etc. Information about the level of a module is available in the info structure of MpPackMLModule the function block.
To check whether the hierarchy was created correctly, function MpComDump can be used. A diagnostic file is created using "Dump = TRUE". The mapp PackML hierarchy is broken down in this file. If the hierarchy was created successfully, the modules are arranged as desired.