Modellbahn Keks
Welcome!
Our cookies offer you a fast, relaxed and full-featured shopping experience. Some are necessary to operate the website and its functions. Others help us to improve our services. If you agree to this, simply consent to the use of cookies for preferences, statistics and marketing by clicking on "OK". Alternatively, you can deactivate individual cookies under "Customise cookies" or all cookies, except those required for the function of our website, under "Reject all".
ESU LokPilot 5 Fx PluX22 function decoder for extensive function mapping
Digital Function Mapping Control Centre Button · Condition · Action · Output

Function Mapping | Assign Buttons, AUX & Sound

F0 controls the headlights, F1 the tail lights, F3 can activate both shunting mode and momentum override, F5 the cab lighting, F7 high beam and F8 perhaps a digital coupler: function mapping makes operation of a digital locomotive individual.

The Function Mapping Control Centre separates the function button, operating condition, logical action, physical AUX output and sound slot. Complex lighting, shunting and sound sequences can therefore be planned without blindly overwriting existing vehicle functions.

F0–Fxx triggers and function buttons
AUX physical outputs
LOGIC shunting, momentum, sound
IF direction, movement, stationary
Connect Function Buttons and Vehicle Functions Intelligently

What Does Function Mapping Mean on a Model Railway Decoder?

Function mapping determines which trigger starts a particular decoder action. The simplest example is: function button F1 switches AUX1. Modern decoders can do considerably more. F3 can, for example, activate shunting speed, disable acceleration and braking momentum and switch white shunting lights at both ends of the vehicle.

Several levels must therefore be considered separately. The function button is only the trigger. A logical function can be shunting mode, momentum override, sound fading or volume. A physical output is front light, rear light, AUX1 or AUX5. A sound slot may not require any electrical AUX output at all.

Operating conditions can then be added. An output may operate only in the forward direction, only in reverse, only while moving or only while stationary. Cab lighting, tail lights, shunting lights and digital couplers particularly benefit from these conditions. Some decoder families also allow several buttons or active functions to be combined logically.

Extensive mapping should therefore not be invented directly inside the decoder without a plan. A mapping table reveals duplicate assignments and shows which button should control which output, logical function and sound. The personal mapping planner on this page is designed for exactly that purpose.

Five Levels Form a Mapping Row

Distinguish Trigger, Condition, Action, Output and Effect

Level 1

Trigger

Function button F0 to Fxx, direction, sensor or another operating state supported by the decoder.

Level 2

Condition

Forward, reverse, stationary, moving or another logical requirement determines when the assignment is active.

Level 3

Action

Lighting, AUX, shunting mode, momentum override, sound slot, volume, coupler sequence or another decoder function.

Level 4

Physical Output

Front light, rear light, AUX1 to AUXn or a connection on the vehicle circuit board.

Level 5

Effect

Dimming, flashing, fading, a timed pulse or a special coupler or lighting sequence.

Plan First, Write to the Decoder Afterwards

Mapping Assistant and Personal Mapping Matrix

The assistant suggests a sensible structure for common functions. The matrix stores your own plan exclusively in the local browser. It does not change any CVs and does not write anything to a decoder.

Mapping Assistant

Select the required function and decoder family.

Assign the Cab Lights Separately

Use a separate output for each cab, select a memorable function button and add direction plus stationary operation as conditions.

Personal Mapping Matrix

Each row describes one trigger and one action. Several rows using the same function button are explicitly allowed.

No mapping rows saved yet.

Multiple Assignments Are Allowed

A shunting button can activate shunting mode, momentum override and two lighting outputs at the same time. Only an exactly duplicated row is marked as unnecessary duplication.

From CV33 to a Graphical Mapping Row

Understand Conventional DCC Mapping and Advanced Mapping

DCC Foundation

Conventional Function Mapping

Conventional NMRA DCC mapping uses CV33 to CV46 for forward and reverse headlights and function inputs F1 to F12. Bit values determine which supported decoder outputs respond to each function input.

Modern Decoders

Advanced Mapping Tables

Modern decoder families can manage many more function buttons, outputs and operating conditions. Instead of calculating individual bit masks, complete mapping rows can combine trigger, condition and action.

No Physical AUX Required

Logical Functions

Shunting mode, momentum override, sound fading or volume do not necessarily require a physical lighting output. They can still be assigned to a function button.

Several Actions

Multiple Assignments

A single function button may trigger several mapping rows. F3 can therefore reduce speed, disable momentum and switch white shunting lights at both ends.

IF / AND / NOT

Conditions and Logic

Depending on the decoder family, direction, speed, stationary operation, other active functions or further operating states can be used as logical conditions.

Sound Decoder

Sound Mapping

Horns, whistles, compressors, coupler sounds and other audio functions are assigned to sound slots or logical sound functions. Slot numbers depend on the loaded sound project.

Function Assignments That Are Easy to Remember

Practical Mapping Ideas for Locomotives, Multiple Units and Coaches

The particular function button is only a suggestion. If a factory sound project already uses an established button layout, retaining that familiar arrangement can often be sensible.

F0 – Standard Headlights

Switch the front or rear lighting depending on direction. Keep the basic lighting function simple and predictable.

F1 / F2 – Separate Tail Lights

Control each end independently so that red tail lights can be switched off when the locomotive is hauling a train.

F3 – Shunting Mode

Combine shunting speed, momentum override and, where appropriate for the prototype, white lights at both ends.

F5 / F6 – Cab Lighting

Use a separate output for each cab, active only in the appropriate direction and preferably only while stationary.

F7 – High Beam

Activate a second brightness level only when the normal headlights are already switched on.

F8 – Digital Coupler

Combine a time-limited output with an optional coupler sequence. Observe the permitted output load and activation time.

Sound Button – Horn

Assign the required sound slot to an easily reached button. After changing the sound project, check whether the slot assignment has changed.

Coach Lighting

A function decoder can control interior lighting, tail lights and destination displays independently of the locomotive.

Do Not Delete Factory Mapping Too Quickly

Especially on Factory Sound Locomotives
A Mapping Row That Appears Unnecessary May Be Part of a More Complex Sequence.

Vehicle circuit boards, coupler sequences, sound logic, high-beam functions, cab-light logic and other manufacturer-specific features can require several mapping rows. Save the decoder project or all relevant settings before making changes.

Controlled Assignment Without Function Chaos

Configure Function Mapping in Ten Steps

1

Identify the Decoder

Record the manufacturer, family, firmware and interface.

2

Save the Project

Save the original configuration or all relevant CV values.

3

Identify the Outputs

Clearly identify front light, rear light, AUX outputs and logic levels.

4

Create a Button Plan

Record the required functions in a matrix before programming.

5

Start with One Simple Assignment

Initially test exactly one button with one action.

6

Add Direction

Add forward and reverse conditions and test them separately.

7

Add Logical Functions

Add shunting mode, momentum override, sound or further actions.

8

Configure Effects

Configure dimming, timed pulses or lighting effects separately.

9

Test Combinations

Test stationary operation, movement, both directions and several simultaneously active functions.

10

Save the Assignment

Update the locomotive card, command-station record and decoder project.

Every Decoder Family Has Its Own Mapping Language

Manufacturers Offering Advanced Function Mapping

DCC provides common foundations, but extensive function mapping remains strongly manufacturer-specific. Original instructions and manufacturer programming software are therefore especially valuable for complex projects.

Current Decoders with Extensive Function Options

Function Decoders, Locomotive Decoders and Programmers

The number of available function buttons alone is not enough. The output type, interface, vehicle circuit board, digital protocol and mapping capabilities of the exact decoder family are what matter.

From Simple Nano Lighting to Complex Large-Scale Sequences

Function Mapping from Z Gauge to G Gauge

Gauge World Typical Decoders Mapping Priority
Z nano and micro decoders few outputs, headlights and tail lights
N Next18, NEM 651, Fx micro compact lighting logic, multiple units and driving trailers
TT / TTe Next18, PluX12, function decoders tail lights, interior lighting and vehicle-specific circuit boards
H0 NEM 652, 21MTC, PluX22, Next18 lighting arrangements, sound, shunting mode and couplers
H0e / H0m / H0f micro and wired decoders compact lighting with restricted installation space
0 high-output and sound decoders cab, engine room, servos and couplers
1 / G / IIm XL and large-scale decoders smoke, pantographs, servos, sound and complex sequences
When F5 Suddenly Does Something Completely Different

Find Function Mapping Problems Quickly and Systematically

The Button Does Nothing

Check whether the command station transmits the selected function button, whether a mapping row exists and whether the physical output works electrically.

The Function Works Only in Reverse

A direction condition has probably been configured incorrectly. Test forward and reverse separately.

Two Functions Switch Together

Several mapping rows may intentionally use the same button, or the vehicle circuit board may connect the two loads electrically.

The Horn Plays the Wrong Sound

The button and sound slot may not match the currently loaded sound project.

Cab Lighting Remains On

The stationary or direction condition may be missing or may be interpreted differently by the decoder family.

Shunting Mode Does Not Change the Lights

Shunting mode and lighting are separate actions. Both must be assigned to the same button or linked through a suitable logical condition.

Mapping Disappeared After a Reset

The factory reset replaced the saved assignments. Reload the saved decoder project or rebuild the mapping.

F20 or a Higher Button Does Not Respond

The command station, handheld controller, decoder or selected digital protocol may not support the complete required function range.

AUX Names Do Not Match

Decoder terminology and vehicle circuit-board labels may differ. Check the interface pin assignment and vehicle documentation.

Loaded from the Current Webshop

Search Function Decoders, Locomotive Decoders and Programmers Live

Product Radar searches current English decoder pages and relevant manufacturer ranges. Every discovered product detail page is checked before display. Products with a recognised archive notice are excluded, smaller product images are normalised to the 400-pixel shop version, and delivery or stock information is deliberately not displayed.

Live checking will begin when you approach this section.

Current decoders and programmers will be checked shortly.
Mapping Connects the Digital Locomotive's Functions

After Mapping, Test Lighting, Driving Dynamics and Sound Together

A good button layout is not finished on the programming track. Shunting mode must work with the driving behaviour, cab lighting with direction and stationary operation, a digital coupler with a safe activation time and sound functions with the sound project actually loaded in the decoder.

Frequently Asked Questions About Function Assignment

FAQ About Function Mapping, AUX Outputs and Sound

What Does Function Mapping Mean?

Function mapping defines which trigger starts a decoder action. The action can be a physical AUX output, a logical decoder function or a sound slot.

Is F1 Automatically AUX1?

No. F1 is a function button and AUX1 is a physical output. Mapping can connect them, but they are not inherently the same thing.

Can One Function Button Trigger Several Functions at the Same Time?

Yes. Modern decoders frequently allow several mapping actions for the same function button, for example shunting speed, momentum override and shunting lights.

Can One Output Be Controlled by Several Function Buttons?

Many advanced mapping systems allow this. The operating conditions should be chosen so that contradictory states are avoided.

What Do CV33 to CV46 Mean?

CV33 to CV46 belong to conventional NMRA DCC function mapping. They map forward and reverse headlights and function inputs F1 to F12 to supported decoder output locations using bit masks.

What Is Advanced Function Mapping?

Advanced mapping uses larger assignment tables and can combine more function buttons, operating conditions, physical outputs and logical decoder functions than the conventional CV scheme.

How Should Cab Lighting Be Mapped?

Ideally, each cab has a separate output. Direction of travel and stationary operation can additionally be used as conditions where supported by the decoder.

How Is a Shunting Mode Programmed?

Depending on the decoder, one function button can activate shunting speed, momentum override and a suitable shunting-light arrangement at the same time.

Can Sound Be Assigned Freely to Function Buttons?

With suitable sound decoders, yes. The available sound functions and slot assignments depend on the sound project currently loaded in the decoder.

Why Does a High Function Button Not Work?

The command station, handheld controller, decoder and selected digital protocol must all support the required function range.

Can a Decoder Reset Delete the Function Mapping?

Yes. A factory reset can replace custom assignments with the manufacturer's or sound project's default mapping. Save the decoder project before extensive changes.

Which Programmer Is Suitable for Function Mapping?

Manufacturer-specific programming systems are particularly convenient for complex assignments, for example the ESU LokProgrammer for compatible ESU decoders or the PIKO SmartProgrammer for compatible SmartDecoders.

Function Buttons Assigned Logically? Now Explore the Complete Digital World.

The comprehensive Model Railway Guide covers decoders, digital command stations, lighting outputs, motor control, sound, interfaces, electrical systems and many other topics.

Open the Model Railway Guide