For sake of argument, just letting you all know that I tried to test support for CODESYS 126.96.36.199 under Diet Pi v6.12 and
I can confirm that the SPI interface is working fine in combination with CODESYS
See https://store.codesys.com/codesys-contr ... __store=en for details of the software.
Offcourse, Codesys will not officially test/support this OS and your mileage may vary.
But since DietPi is based of Raspbian, the Runtime should work as expected as it is developed for vanilla Raspbian.
I installed latest DietPi Image on an SD Card, adjusted the network and WIFI settings.
Then booted into the pi and ran DietPi-Config to enable i2c support. Also I edited raspi-config.txt in the boot directory to enable the SPI interface.
Now, getting the CODESYS runtime installed should be done manually by copying the .deb file to the SD Card.
Then, boot into the OS and via ssh and type;
Viola, your raspberry diet-pi based PLC is ready for usage!
Code: Select all
sudo dpkg -i /boot/codesyscontrol_arm_raspberry_V188.8.131.52.deb
Great for "prefessional" IoT projects!