I developed a CODESYS 3-IO driver for the Monarco Hat by Monarco.io. A SPI based Hat device for the raspberry Pi.
The .package file is too big, so I decided to post a link to my git where you can find it.
Implemented as CODESYS 3 IO device-driver;
Pure IEC code (ST).
No function block calls in your software necessary, just write code, attach variable to an I/O channel, ready!
Breaks compatibility with earlier FB version but improves highly on ease of use,
Control Byte (experimental).
Stable, but work in progress ...
Also, other CODESYS 3 goodies can be found there, leave a comment https://github.com/Aliazzzz/
With kind regards,
(Scroll down for my projects)