You
can map a function block instance from an application
to a resource with the New=>Mapping item of the popup
menu for the function block instance in its Application
diagram.
Once a mapping has been
established, you can navigate back and forth between the function
block's occurrence in its Application and its containing Resource by
using the popup menu of the Mapping label at the bottom of the FB.
This is illustrated below for the
DEV_MGT_APP
configuration in the FBDK's src/ita directory.You can Edit or Delete
a Mapping via the corresponding items of its pop-up menu in its Application
diagram. You can also Edit the mapping by double-clicking on
its label in the Application diagram.
If a Resource or Device
is edited or deleted from the System configuration, all Mappings will
be updated automatically as necessary. However, if the name or type of
an FB instance is changed in either an Application or a
Resource, or if the FB is deleted, the corresponding Mapping (if any)
will be deleted to avoid inconsistent Mappings and potential
namespace conflicts.
|
|
Mapping Dialog | |
---|---|
In Application APP1 |
In Resource TOOL.RES1 |