Note: The content moved to this project
With the release of SP13 it is now finally possible to run CODESYS on Wine. The whole procedure is not very straight forward, but still easily possible.
You can download CODESYS from the CODESYS store (use 32bit version). You need an account for that, before you can download it, but all is for free.... read more
For my current project I need a 12V Analog output. Today I did some first tests.
I used a voltage regulator which is rising the 5V of the Pi to 12V. The reason is, that I want to be able to power the whole thing with a standard power bank.
I used the SoftPWM FB from the GPIOMods project to get a PWM signal out of GPIO4.... read more
This is an attempt to get the CODESYS OpenCV Raspberry Package running on the current (or newer) Images of Raspbian.
As CODESYS opencv package for Raspberry PI was designed for older Raspbian versions, there are dependencies in the opencv Package, that cannot easily resolved on the newest Raspbian versions.
I tried something and found out that it might work like this:
Video not available
This example shows, how to add python scripts in CODESYS as external files and execute them in your CODESYS application. In a similar way, you can execute virtually every other external program from your PLC application, which opens you a wide range of new possibilities.
Unicorn HAT example Project is available here: http://forge.codesys.com/hax/blog/_discuss/thread/82598d1c/3050/attachment/DownloadPythonScript_and_Exec_onPI.project... read more
Video not available
Use the Webvisualisation on your mobile phone to switch on the lights.
Hardware: Raspberry PI
Software: CODESYS Development System / Pi Package from CODESYS Store
Android App: https://play.google.com/store/apps/details?id=com.codesys.webview
CODESYS Project is available here: http://forge.codesys.com/hax/blog/_discuss/thread/4f238366/9b18/attachment/Weihnachtskrippe.project... read more