Here it is explained how you can program the function mapping for all decoder types V4.0 (LokPilot V4.0, LokPilot DCC V4.0, LokPilot micro, LokSound V4.0, LokSound micro V4.0) with the ECoS.
You must have installed firmware version 3.4.0. on your ECoS for these features to work.
Open the respective locomotive for editing.
Select the „Extended“ tab and read out the profile of your LokSound V4.0, LokPilot V4.0, LokPilot DCC V4.0, LokPilot micro V4.0 or LokSound micro V4.0.
This process may take a while.
If you have read the locomotive parameters previously, you may skip this step.
You will find the function mapping in the menu “Assigning functions”.
The allocation of “Input” to “Output” takes place in the so called “Condition slots”. The number of the slot is at the beginning of each row. You may enter several conditions into each slot (function buttons, more than one status, inputs) or an action (function output, logical function).
The table shown represents an overview regarding the allocations. For instance, the condition “#Locomotive is moving” and “#Forward” is in slot 2. The “#” always stands for “Not”. In our example the conditions set are “Not locomotive is moving”, in other words, the locomotive stands still and “Not forward”, therefore it is in reverse. The activity will therefore be executed when the locomotive stands still and is set in reverse.
In our example slot 2 AUX2  is switched on as the desired action and the logical function “Fire box” is activated. You will find more information about logical functions in the decoder manuals. The designation  after AUX2 refers to 1. The output configuration for output AUX2. Please refer to chapter “5. Outputs” for more information.
In order to change the conditions, outputs or logical functions of a mapping slot, simply press the “+” symbol at the end of the row in the overview table.
There are three possible conditions: “Ignore”, “Yes” or “No”.
It is possible to apply several conditions simultaneously for each slot ("Yes" or "No"). For instance, it is possible to select the conditions “Locomotive is standing still”, “Direction – reverse”, “F1 active” and “F0 not active”. All these conditions must be met for any action.
The selected condition is displayed in the check box by a tick for “Yes” and a cross for “No”.
Here you can select, which outputs should be switched provided the conditions are met. All outputs marked as “Active” will be shown with a tick in the check box.
Here you can select, which logical functions should be switched provided all conditions are met. All functions marked as “Active” will be shown with a tick in the check box.
In order to save the selection und to return to the table providing the overview, press the button “Return to overview”.
You may configure the AUX outputs in the “Outputs” tab.
Should an output have more than one configuration, then this is earmarked with square brackets (“[...]”). In this case you may program, for instance, two different lighting effects to one physical AUX output of a decoder.
For instance, you can allocate "Lights forward " with the configuration “Dimmable light” and "Light forward " with the configuration “Single strobe”. Thus it is possible to activate output AUX “Light forward” (continuous output) by activating F0 and to set it to blinking (strobe) by activating F1 by linking slot #1 with the condition “F0 yes” and the output “Light forward“ and linking slot #2 with the condition “1 yes” and the output “Light forward”.
The function mapping is only written once the track symbol or the "OK" button has been pressed. There is no live change mode for function mapping.