<!-- Source: https://docs.captron.com/de/trms/series5x/io-link-process-data -->

# IO-Link Prozessdaten

Bis gültige Prozessdaten empfangen wurden, steuern CANEO series5x Geräte ihre Anzeige gemäß den konfigurierten Szenen-Auslösern.

Wenn Prozessdaten vom Master als *ungültig* markiert werden, werden die zuletzt gültigen Daten für die Anzeigesteuerung verwendet.

:::info
Der IO-Link-Bit-Offset wird vom letzten Byte des Datenarrays gezählt.
:::

## Prozessdaten-Eingang

64 Bit / 8 Bytes

### Struktur

<table>
  <thead>
    <tr>
      <th>Byte</th>
      <td>0</td>
      <td>1</td>
      <td>2</td>
      <td>3</td>
      <td>4</td>
      <td>5</td>
      <td>6</td>
      <td>7</td>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>Bit-Offset</th>
      <td colspan="4">32</td>
      <td>24</td>
      <td>16</td>
      <td>8</td>
      <td>0</td>
    </tr>
    <tr>
      <th>Daten</th>
      <td colspan="4"><i>reserviert</i></td>
      <td>Zone 4 betätigt</td>
      <td>Zone 3 betätigt</td>
      <td>Zone 2 betätigt</td>
      <td>Zone 1 betätigt</td>
    </tr>
  </tbody>
</table>

### Feldbeschreibung

<table>
  <thead>
    <tr>
      <th>Bit-Offset</th>
      <th>Name</th>
      <th>Datentyp</th>
      <th>Werte</th>
      <th>Info</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0</td>
      <td>Zone 1 actuated</td>
      <td>8-Bit UIntegerT</td>
      <td>0 ... 1</td>
      <td></td>
    </tr>
    <tr>
      <td>8</td>
      <td>Zone 2 actuated</td>
      <td>8-Bit UIntegerT</td>
      <td>0 ... 1</td>
      <td></td>
    </tr>
    <tr>
      <td>16</td>
      <td>Zone 3 actuated</td>
      <td>8-Bit UIntegerT</td>
      <td>0 ... 1</td>
      <td></td>
    </tr>
    <tr>
      <td>24</td>
      <td>Zone 4 actuated</td>
      <td>8-Bit UIntegerT</td>
      <td>0 ... 1</td>
      <td></td>
    </tr>
    <tr>
      <td>32</td>
      <td>Reserved</td>
      <td>32-Bit UIntegerT</td>
      <td></td>
      <td></td>
    </tr>
  </tbody>
</table>

## Prozessdaten-Ausgang

128 Bit / 16 Bytes

### Struktur

<table>
  <thead>
    <tr>
      <th>Byte</th>
      <td>0</td>
      <td>1</td>
      <td>2</td>
      <td>3</td>
      <td>4</td>
      <td>5</td>
      <td>6</td>
      <td>7</td>
      <td>8</td>
      <td>9</td>
      <td>10</td>
      <td>11</td>
      <td>12</td>
      <td>13</td>
      <td>14</td>
      <td>15</td>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>Bit-Offset</th>
      <td colspan="6">80</td>
      <td colspan="4">48</td>
      <td>40</td>
      <td>32</td>
      <td colspan="2">16</td>
      <td>8</td>
      <td>0</td>
    </tr>
    <tr>
      <th>Daten</th>
      <td colspan="6">Text to display</td>
      <td colspan="4">Number to display</td>
      <td>Text Color</td>
      <td>Text Select</td>
      <td colspan="2">Active Scenes</td>
      <td><em>reserviert</em></td>
      <td>Scene Selection Mode</td>
    </tr>
  </tbody>
</table>

### Feldbeschreibung

<table>
  <thead>
    <tr>
      <th>Bit-Offset</th>
      <th>Name</th>
      <th>Datentyp</th>
      <th>Werte</th>
      <th>Info</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0</td>
      <td>Scene Selection Mode</td>
      <td>8-Bit UIntegerT</td>
      <td>
        0 - Local Data<br/>
        1 - Process Data
      </td>
      <td>
        <em>Local Data</em>
        : Szenen werden vom SENSORswitch gemäß den konfigurierten Auslösern aktiviert.<br/>
        <em>Process Data</em>
        : Szenen sind gemäß den Bits des Prozessdatenfelds <em>Active Scenes</em> aktiv.
      </td>
    </tr>
    <tr>
      <td>8</td>
      <td><em>reserviert</em></td>
      <td></td>
      <td></td>
      <td></td>
    </tr>
    <tr>
      <td>16</td>
      <td>Active Scenes (Bitmask)</td>
      <td>16-Bit UIntegerT</td>
      <td>0 ... 65535</td>
      <td>
        Bit 0 - Scene 1<br/>
        Bit 1 - Scene 2<br/>
        ...
      </td>
    </tr>
    <tr>
      <td>32</td>
      <td>Text Select</td>
      <td>8-Bit UIntegerT</td>
      <td>
        0 - From Scene<br/>
        1 - Number given<br/>
        2 - Text given
      </td>
      <td>
        <em>From Scene</em>
        : Die Anzeige zeigt den Text, der in der aktiven Szene mit der höchsten Nummer konfiguriert ist.<br/>
        <em>Number given</em>
        : Die Anzeige zeigt die in diesen Prozessdaten angegebene Zahl.<br/>
        <em>Text given</em>
        : Die Anzeige zeigt den in diesen Prozessdaten angegebenen Text.
      </td>
    </tr>
    <tr>
      <td>40</td>
      <td>Text Color</td>
      <td>8-Bit UIntegerT</td>
      <td>
        0 - Off<br/>
        1 - Red<br/>
        2 - Green<br/>
        3 - Blue<br/>
        4 - Yellow<br/>
        5 - Magenta<br/>
        6 - Cyan<br/>
        7 - White<br/>
        8 - Orange<br/>
        9 - Violet<br/>
        10 - Turquoise<br/>
        11 - Clean Blue<br/>
        128 - Custom Color 1<br/>
        129 - Custom Color 2<br/>
        130 - Custom Color 3<br/>
        131 - Custom Color 4
      </td>
      <td></td>
    </tr>
    <tr>
      <td>48</td>
      <td>Number to display</td>
      <td>32-Bit IntegerT</td>
      <td>-9999...99999</td>
      <td></td>
    </tr>
    <tr>
      <td>80</td>
      <td>Text to display</td>
      <td>StringT[6]</td>
      <td></td>
      <td></td>
    </tr>
  </tbody>
</table>
