<!-- Source: https://docs.captron.com/trms/series4x/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 stimulated, producing an "actuation" for 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>Test of capacitive sensor failed</td>
    </tr>
    <tr>
      <td>8</td>
      <td>0x0080</td>
      <td>Memory error</td>
    </tr>
    <tr>
      <td>12</td>
      <td>0x0800</td>
      <td>LED error</td>
    </tr>
    <tr>
      <td>13</td>
      <td>0x1000</td>
      <td>Overload error on digital output</td>
    </tr>
  </tbody>
</table>

## Revision History

### Rev. A – 2021-07-09

- Initial release with HTML documents for each CANEO series4x variant

### Rev. B – 2022-06-23

- Unified document for all CANEO series4x variants

### Rev. C – 2023-08-07

- Added introduction, section Self-Diagnosis and Error Codes, and legal and trademark notice
- Added explanation for IO-Link Process Data bit indexing and length of ISDUs
- Document layout changed to A4 format

### Rev. D – 2024-05-02

- More clear explanation of selection of LED Control Mode / IO-Link Process Data output
- Marked "o" as a Displayable Character
- Correct assignment of Device IDs to variants

### Rev. E – 2024-10-11

- Added illustration of LED indexing
- Added illustration of each Process Data structure
