<!-- Source: https://docs.captron.com/trms/calis/process-data -->

# Process Data

:::note
IO-Link Bit Offset counts from the last byte of the data array.
:::

## Process Data Input

64 bit / 8 bytes

<table>
  <thead>
    <tr>
      <th>Byte</th>
      <th>0</th>
      <th>1</th>
      <th>2</th>
      <th>3</th>
      <th>4</th>
      <th>5</th>
      <th>6</th>
      <th>7</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><strong>Bit Offset</strong></td>
      <td></td>
      <td></td>
      <td>40</td>
      <td>32</td>
      <td></td>
      <td>16</td>
      <td></td>
      <td>0</td>
    </tr>
    <tr>
      <td><strong>Data</strong></td>
      <td>reserved</td>
      <td></td>
      <td>Pin 4</td>
      <td></td>
      <td>Distance (mm)</td>
      <td></td>
      <td>Fill Level (%)</td>
      <td></td>
    </tr>
  </tbody>
</table>

### Field Reference

<table>
  <thead>
    <tr>
      <th>Bit Offset</th>
      <th>Name</th>
      <th>Datatype</th>
      <th>Values</th>
      <th>Info</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>0</td>
      <td>Fill Level</td>
      <td>16-bit IntegerT</td>
      <td>-32768 ... 32767 [0.01 %]</td>
      <td>Fill level in 0.01% (-327.68% ... +327.67%)</td>
    </tr>
    <tr>
      <td>16</td>
      <td>Distance</td>
      <td>16-bit UIntegerT</td>
      <td>0 ... 65535 [mm]</td>
      <td>Measured distance in mm</td>
    </tr>
    <tr>
      <td>32</td>
      <td>Pin 4</td>
      <td>8-bit UIntegerT</td>
      <td>0 - Output OFF, 1 - Output ON</td>
      <td>State of digital output on Pin 4 (whether fill level is greater than set point)</td>
    </tr>
  </tbody>
</table>

## Process Data Output

None.
