User`s guide
CHAPTER 4 Projects and Jobs
User’s Guide 31
Viewing current mappings
The Mapping Definition window shows the current mapping between
attributes of the adjacent IN- and OUT-structures. To open the Mapping
Definition window, right-click the connecting link and select Mappings from
the pop-up menu. Selecting Display Structure and values from the list box in
the toolbar displays the fields, as well as the current values.
Note This view shows the current content of the port connecting to the link. If
the port contains no data, only the port structure is shown in this window. You
can populate data in a port by stepping through your project until you reach the
port.
Applying automatic mappings
From the Mapping Definition toolbar, you can automatically create mappings
by selecting Create Mapping By Order or Create Mapping By Name.
If you select Create Mapping By Order, the port attributes of the IN- and OUT
structures are mapped according sequentially.
Note If the number of attributes is different on both sides, some of the port
attributes will not be mapped.
If you select Create Mapping By Name, the port attributes of the IN- and OUT
structures are mapped according their names.
Applying manual mappings
To manually create a single mapping, select a connection point and drag it to
the connection point of a port attribute.
You can also change existing mapping lines. If you want to change the current
mapping, select the mapping line at the connection point and drag the line to
an unmapped port attribute.
To delete a single mapping, select the mapping line and press the Delete key,
or right-click and select Delete from the pop-up menu. To delete all mappings
of a link, click Delete, or select Mapping | Remove All.