<!-- Source: https://docs.captron.com/de/trms/series10/led-control -->

# LED-Steuerung

Der series10 unterstützt vier Modi zur Steuerung seiner LED:

- Automatic Scene selection
- Scene controlled by IO-Link Process Data \*
- Advanced control by IO-Link Process Data \*
- Classic Two LED Mode

\* Wird der SENSORswitch ohne IO-Link betrieben, verhält er sich wie im Modus „Automatic Scene selection".

Der Steuermodus kann über den IO-Link-Parameter **LED Control Mode** ausgewählt werden (siehe [ISDU-Indizes](isdu-indices.md)).

## Automatic Scene selection

Die Anzahl der anwendbaren Szenen hängt vom Parameter **Active Inputs** ab:

<table>
  <colgroup>
    <col style={{ minWidth: '140px' }} />
  </colgroup>
  <thead>
    <tr>
      <th>Active Inputs</th>
      <th>Verwendete Szenen</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Keine (3-Pin-Modus)</td>
      <td>0, 1</td>
    </tr>
    <tr>
      <td>Pin2 (E1) (4-Pin-Modus)</td>
      <td>0 ... 3</td>
    </tr>
    <tr>
      <td>Pin2 (E1) und Pin5 (E2) (5-Pin-Modus)</td>
      <td>0 ... 7</td>
    </tr>
  </tbody>
</table>

Szene n wird in Abhängigkeit vom Berührungszustand (Sensorbetätigung) und vom Zustand der Eingangspins E1 und E2 ausgewählt:

<table>
  <colgroup>
    <col style={{ minWidth: '140px' }} />
  </colgroup>
  <thead>
    <tr>
      <th>LED-Szene</th>
      <th>Touch</th>
      <th>E1</th>
      <th>E2</th>
      <th>Keine</th>
      <th>Pin 2 (E1)</th>
      <th>Pin 2 (E1), Pin 5 (E2)</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0</td>
      <td>0</td>
      <td>0</td>
      <td>0</td>
      <td>&#10003;</td>
      <td>&#10003;</td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>1</td>
      <td>1</td>
      <td>0</td>
      <td>0</td>
      <td>&#10003;</td>
      <td>&#10003;</td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>2</td>
      <td>0</td>
      <td>1</td>
      <td>0</td>
      <td></td>
      <td>&#10003;</td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>3</td>
      <td>1</td>
      <td>1</td>
      <td>0</td>
      <td></td>
      <td>&#10003;</td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>4</td>
      <td>0</td>
      <td>0</td>
      <td>1</td>
      <td></td>
      <td></td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>5</td>
      <td>1</td>
      <td>0</td>
      <td>1</td>
      <td></td>
      <td></td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>6</td>
      <td>0</td>
      <td>1</td>
      <td>1</td>
      <td></td>
      <td></td>
      <td>&#10003;</td>
    </tr>
    <tr>
      <td>7</td>
      <td>1</td>
      <td>1</td>
      <td>1</td>
      <td></td>
      <td></td>
      <td>&#10003;</td>
    </tr>
  </tbody>
</table>

## Scene controlled by IO-Link Process Data

Die aktive Szene wird gemäß dem **LED Scene**-Wert in den IO-Link-Prozessdaten gesetzt.

## Advanced control by IO-Link Process Data

Farbe, Helligkeit, Effekt und Effektfrequenz der LED werden über IO-Link-Prozessdaten gesteuert.

## Classic Two LED Mode

Die Parameter „Idle" und „Touch" aus dem Abschnitt „Classic LED Control" werden verwendet.

Der Parameter **Active Inputs** steuert, ob die Eingangspins die Auswahl der „Idle"- oder „Touch"-Konfiguration beeinflussen:

### Active Inputs = None (3-Pin-Modus)

<table>
  <thead>
    <tr>
      <th>Touch</th>
      <th>E1</th>
      <th>E2</th>
      <th>LED-Konfiguration</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0</td>
      <td>Nicht relevant</td>
      <td>Nicht relevant</td>
      <td>Idle</td>
    </tr>
    <tr>
      <td>1</td>
      <td>Nicht relevant</td>
      <td>Nicht relevant</td>
      <td>Touch</td>
    </tr>
  </tbody>
</table>

### Active Inputs = Pin2 (E1) (4-Pin-Modus)

<table>
  <thead>
    <tr>
      <th>Touch</th>
      <th>E1</th>
      <th>E2</th>
      <th>LED-Konfiguration</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0</td>
      <td>0</td>
      <td>Nicht relevant</td>
      <td>off</td>
    </tr>
    <tr>
      <td>0</td>
      <td>1</td>
      <td>Nicht relevant</td>
      <td>Idle</td>
    </tr>
    <tr>
      <td>1</td>
      <td>Nicht relevant</td>
      <td>Nicht relevant</td>
      <td>Touch</td>
    </tr>
  </tbody>
</table>

### Active Inputs = Pin2 (E1) and Pin5 (E2) (5-Pin-Modus)

<table>
  <thead>
    <tr>
      <th>Touch</th>
      <th>E1</th>
      <th>E2</th>
      <th>LED-Konfiguration</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Nicht relevant</td>
      <td>0</td>
      <td>0</td>
      <td>off</td>
    </tr>
    <tr>
      <td>Nicht relevant</td>
      <td>1</td>
      <td>0</td>
      <td>Idle</td>
    </tr>
    <tr>
      <td>Nicht relevant</td>
      <td>0</td>
      <td>1</td>
      <td>Touch</td>
    </tr>
    <tr>
      <td>Nicht relevant</td>
      <td>1</td>
      <td>1</td>
      <td>Idle- & Touch-Farben gemischt</td>
    </tr>
  </tbody>
</table>
