# Operation Mode Mappings

You can add an **operation mode mapping** by pressing the button in the operation mode mapping section of the F10 dialog.

{% hint style="info" %}
You need a password to add or remove operation mode mappings. Ask IRS for the password.
{% endhint %}

{% hint style="info" %}
You need to load your [testplan](https://docs.irs.systems/ltt/documentation/ltt-gui-manual/teststand) before you can map to [operation modes](https://docs.irs.systems/ltt/documentation/ltt-gui-manual/teststand/operationmodes) of that testplan.
{% endhint %}

![Operation Mode Mapping](https://1704635928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH5etzy4TvPRLxLRNfHlb%2Fuploads%2Fgit-blob-8b7939582b6844fe6b9e0f53d49dd9c14aaf9c13%2FDLG_F10_Mapping.png?alt=media)

Each operation mode mapping consists of **1 to 8 round TCC input indicators** and a **drop down box**. The TCC input indicators represent the value of the [TCC hardware](https://docs.irs.systems/ltt/documentation/ltt-gui-manual/lttgui/hwcontrol/tcc-control-gui) (or the simulated one).

{% hint style="info" %}
The displayed **TCC input indicators** for each group are determined by the TCC mask, which is defined in the [project wizard](https://docs.irs.systems/ltt/documentation/ltt-gui-manual/lttgui/dialogs/f3projectwizard/testgroupsconfiguration). If you move your mouse cursor over such an indicator, a tooltip appears, showing the TCC indicator index. The index goes from 1 to 8 (left to right).
{% endhint %}

In the drop down box you can select an operation mode sequence from the currently loaded testplan. You can add as many operation mode sequences as you want and select a corresponding **TCC input pattern** (like binary). You even can have multiple TCC patterns map to the same OM sequence. You should avoid, however, using the same TCC pattern for more than one OM.

{% hint style="info" %}
With an operation mode mapping, you **map** a certain **TCC input pattern** to a single **operation mode sequence** of your testplan.
{% endhint %}

Once you have configured your TCC operation mode mappings you can run your testplan and it will execute that operation mode sequence, which is configured for the current TCC value.

{% hint style="info" %}
You can see the currently mapped operation mode in the main window's [group display](https://docs.irs.systems/ltt/documentation/ltt-gui-manual/lttgui/mainwindow/groupdisplay). If this display is empty, no valid mapping exists for the current TCC value and the testplan will execute a fallback sequence.

<img src="https://1704635928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH5etzy4TvPRLxLRNfHlb%2Fuploads%2Fgit-blob-dc5e5788b90506327b50d7520d6abb9840d17ff7%2FStation_Invalid_OM.png?alt=media" alt="Invalid OM" data-size="original">
{% endhint %}

The main window will display a warning message if there is no valid operation mode mapping at all and you are not allowed to start the loaded testplan.

![Warning Missing OM](https://1704635928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH5etzy4TvPRLxLRNfHlb%2Fuploads%2Fgit-blob-495399c8df9f050102e95d38fb384e19e269f979%2FWarning_Missing_OM.png?alt=media)

This can happen if you

* have not configured any mapping yet
* changed the name of the operation mode sequence or deleted the sequence

[go to initial setup guide](https://docs.irs.systems/ltt/documentation/gettingstarted/initial-setup-guide#SETUP_GUIDE)
