Diet Pi v6.12 with Codesys

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Posts: 1
Joined: Sat Aug 04, 2018 7:23 pm

Diet Pi v6.12 with Codesys

Post by Aliazzz »

Hi there,

For sake of argument, just letting you all know that I tried to test support for CODESYS under Diet Pi v6.12 and
I can confirm that the SPI interface is working fine in combination with CODESYS 8) :P

See ... __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.

Small walkthrough;
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;

Code: Select all

sudo dpkg -i /boot/codesyscontrol_arm_raspberry_V3.5.13.0.deb
Viola, your raspberry diet-pi based PLC is ready for usage!

Great for "prefessional" IoT projects!

Posts: 3
Joined: Tue Oct 02, 2018 9:22 am

[FIXED] Diet Pi v6.12 with Codesys

Post by elconfa »

Hi, I'm trying to install codesys on Raspberry Pi0W. Connected via ssh I can see that CODESYSCONTROL works and absorbs 14% of the CPU. But I can not find Raspberry with the Scan Network to update the program I wrote.
What have you done?
Thank you

add the Pi IP address as Gateway and scan via the PI embedded Gateway.

Now it is working :-D
Post Reply