To exchange data with a behavior model, you have to map model ports of a behavior model to function ports of a bus configuration. You can map the ports via the Model Browser and the Bus Configuration Ports table and by using various filter options.
In the Model Browser, right-click the GearboxEcu node and select Expand on the context menu.
The model port blocks and model ports of the GearboxEcu subsystem are displayed.
Select the Bus Configuration Ports table.

In the table, right-click the ECU column header and select Set Column Filter on the context menu.
The Column Filter Expressions for Column: ECU dialog opens.
In the dialog, specify gear as the Filter expression.
Make sure that only the Regular expression checkbox is selected and click OK.
The Bus Configuration Ports table displays only function ports that are available for the GearboxEcu. The column header indicates the active column filter by a blue square.

The filter is active until you clear it explicitly. This applies even when you close ConfigurationDesk or the Bus Manager (stand-alone).
In the Model Browser, select the SpeedISignal Value model port and drag it to the SpeedISignal Value function port in the Bus Configuration Ports table.
The SpeedISignal Value ports are mapped. The Bus Configuration Ports table displays the mapped model port in the Connected Model Ports column.

In the Model Browser, the Powertrain CAN TX model port block is marked with a chain symbol. However, this does not indicate that its model port is mapped to a function port. This symbol only indicates that the model port block is used in the signal chain.
Map the Kl_15_ISignal Value model port to the Kl_15_ISignal Value function port.
This automatically enables the model access of the Kl_15_ISignal Value function port.
You mapped ports of the GearboxEcu. You can now map ports of the DoorRightEcu. Continue with the next part.
Right-click an empty area in the Model Browser and select Filter for Unconnected Ports on the context menu.
The mapped model ports and related higher-level elements are hidden. Because all model ports of the GearboxEcu subsystem are mapped, the GearboxEcu node is hidden completely.
Selected port filters are active until you clear them explicitly. This applies even when you close ConfigurationDesk or the Bus Manager (stand-alone). Active port filters are indicated only on the context menu.
Right-click the DoorRightEcu node and select Expand on the context menu.
In the Bus Configuration Ports table, right-click the ECU column and select Set Column Filter on the context menu.
In the Column Filter Expressions for Column: ECU dialog, specify right as the Filter expression and click OK.
All function ports that are available for the DoorRightEcu are displayed.
In the Bus Configuration Ports table, click the Name column to sort the displayed function ports by their names.
Map the DoorRightLockedISignal Value model port to the DoorRightLockedISignal Value function port.
Because Filter for Unconnected Ports is active, the model port is hidden in the Model Browser. The Bus Configuration Ports table displays the mapped model port in the Connected Model Ports column.

If you mapped ports incorrectly, you can undo the mapping by pressing the Ctrl+Z keys.
Map the remaining model ports of the DoorRightEcu to the function ports with identical names.
After you finish, the DoorRightEcu node is hidden in the Model Browser and the Bus Configuration Ports table displays the four mapped ports.
You mapped ports of the DoorRightEcu. You can now map ports of the DoorLeftEcu. Continue with the next part.
In the Model Browser, expand the DoorLeftEcu node to its lowest level.
In the Bus Configuration Ports table, set the column filter of the ECU column to left.
All function ports that are available for the DoorLeftEcu are displayed.
Map the model ports of the DoorLeftEcu to the function ports with identical names.
Check the mapped ports in the Bus Configuration Ports table.

You mapped ports of the DoorLeftEcu. You can now map ports of the BodyControlEcu. Continue with the next part.
In the Model Browser, expand the BodyControlEcu node to its lowest level.
In the Bus Configuration Ports table, specify the following column filters:
Column | Filter Expression |
|---|---|
ECU | body |
Model Access | enabled |
In the Bus Configuration Ports table, right-click an empty area and select Filter for Inports on the context menu.
In the Model Browser, right-click an empty area and select Filter for Outports.
Map the displayed model ports to function ports with the same name.
For the UnlockCarISignal Value model port, no suitable function port is available. This is because the related function port does not match the active filters of the Bus Configuration Ports table. Therefore, you cannot map the port yet.
After you finish, all displayed function ports are mapped to model ports.

You mapped all function ports of the BodyControlEcu that match the specified filters. You can now change the filter settings to map the remaining unmapped model ports of the Restbus_Model. Continue with the next part.
Change the selected port filters as follows:
Browser/Table | Clear Filter | Select Filter |
|---|---|---|
Model Browser | Filter for Outports | Filter for Inports |
Bus Configuration Ports table | Filter for Inports | Filter for Outports |
Map the displayed model ports to function ports with the same name.
After you finish, the Model Browser does not display any elements and the Bus Configuration Ports table displays the mapped ports.

Clear the following port filters:
Model Browser: Clear Filter for Inports.
Bus Configuration Ports table: Clear Filter for Outports.
The Model Browser displays the remaining unmapped model port, i.e., the UnlockCarISignal Value model port.
In the Bus Configuration Ports table, right-click the Model Access column and select Set Column Filter on the context menu.
In the Column Filter Expressions for Column: Model Access dialog, select Inverse and click OK.
All function ports of the BodyControlEcu with disabled model access are displayed.
Map the UnlockCarISignal Value model port to the UnlockCarISignal Value function port.
This enables the model access of the UnlockCarISignal Value function port. Therefore, the port does not match the active Model Access column filter and is hidden.
In the Bus Configuration Ports table, right-click any column header and select Clear All Column Filters on the context menu.
All active column filters of the Bus Configuration Ports table are cleared in one step.
Select the Model Browser and click Clear All Filters on the Home ribbon.
All active filters of the Model Browser are cleared in one step. This applies to column filters and port filters.
You mapped all the model ports that are available for the Restbus_Model to suitable function ports.
In the next step, you will explore the mapping of the ports in a graphical view.