You
can map a function block instance from an application
to a device or resource with the Map item of the
popup menu for the function block instance in its application
diagram. The destination of the mapping operation is chosen from
the resulting Mapping Dialog by choosing a feasible Device.Resource.FB
combination and clicking the OK button as shown below.
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 Delete a Mapping via the corresponding items of its
pop-up menu in its Application diagram. You can 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 |