This driver supports an A/D converter from Microchip technology inc. It is an SPI device, which features 4 or 8 analog channels, which are autonomously sampling the signals at a pretty high rate:
This is far beyond what we are able to read via Linux over SPI.
You need to have the device description and driver library installed from the "MCP3008" project.
This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are privided as an output of the FB from the device tree.
The device is named MCP3008 and has to be inserted below an SPI Master of your project.
The SPI port, which is configured at the SPI master has to be set to the SPI bus, where you connected the MCP3008.