<!-- Source: https://docs.captron.com/trms/series10/diagnostics -->

# Self-Diagnosis and Error Codes

The SENSORswitch includes the following diagnosis features:

- **Self-Test**: When triggered by the respective IO-Link System Command:
  - The capacitive measurement circuit is checked (duration: 200 ms)
  - The RGB LED is checked electrically
- **Monitoring** of Supply Voltage and MCU Temperature
- **Output Overload Detection**

Detected errors are indicated via IO-Link Events and/or in the **Error Code** IO-Link Parameter, as well as by blinking patterns of the LED.

## Error Codes

<table>
  <thead>
    <tr>
      <th>Blink Code</th>
      <th>IO-Link Error Code</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>1</td>
      <td>0x0001</td>
      <td>Internal error</td>
    </tr>
    <tr>
      <td>5</td>
      <td>0x0010</td>
      <td>Sensor error (self-test)</td>
    </tr>
    <tr>
      <td>8</td>
      <td>0x0080</td>
      <td>Memory error</td>
    </tr>
    <tr>
      <td>12</td>
      <td>0x0800</td>
      <td>LED error (self-test)</td>
    </tr>
    <tr>
      <td>13</td>
      <td>0x1000</td>
      <td>Overload error on digital output</td>
    </tr>
  </tbody>
</table>

## Revision History

### Rev. A – 2024-02-13

- Based on Technical Reference Manual CANEO series10 – Firmware V9.x, revision B
- Added tables to illustrate order of Process Data
- Added parameter size in bytes to IO-Link ISDU table
- Changed description of self-test
