The Monarco HAT is a robust industrial graded HAT, perfectly suited for IOT projects, small home-automation or industrial projects and much more ...
It protects your Raspberry Pi from overvoltage or short-circuiting and simultaneously provides you with enough IO channels and channel configuration versatility.
A CODESYS V3 library was missing, so I wrote one to fill the gap after studying the C & Java Node-JS code examples and documentation provided by Monarco.
Though tested, it will probably still contain bugs =( If you spot a bug, share it so we can fix it.
Implemented as an IO device-driver, so no function block calls to the HAT in your software necessary.
The HAT is exposed as a hardware device with IO channels and parameters.
Just write code, attach variable to a I/O channel in the hardware tree, ready!
Currently implemented parameters;
All functionality of the HAT is allready implemented into the core of the driver but some functionality still needs to be routed as parameters
v2.0.0.2
devdescr.xml: vendor id set to 0004, device id set to 0005, see https://forge.codesys.com/drv/io-drivers/database/Home/ for details.
<DeviceIdentification>
<Type>501</Type>
<Id>0004 0005</Id>
<Version>2.0.0.2</Version>
</DeviceIdentification>
v2.0.0.1 info
Initial release in cforge, forked from my git : https://github.com/Aliazzzz/Monarco-HAT-library-for-CODESYS-V3