Home

aliazzz
There is a newer version of this page. You can find it here.
Project Members:

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.

As the CODESYS runtime for Raspbery Pi also contains a very good responsive HTML5 compatible webinterface (via a built-in webserver in the CODESYS runtime itself), no extra software like OpenHAB or Domoticz is neccesary. Offcourse, you can connect to any external platform if needed.

For the record, I am not connected with Monarco or CODESYS in any way.


Hardware prerequisitories

  1. A Raspberry Pi, see https://www.raspberrypi.org/
  2. A Monarco HAT, see https://www.monarco.io/
  3. 8 GB SD Card ...

Software prerequisitories

  1. CODESYS V3 IDE available at https://store.codesys.com/codesys.html,
  2. CODESYS Raspberry Pi .package available at https://store.codesys.com/codesys-control-for-raspberry-pi-sl.html,
  3. Codesys Raspberry Pi SL Demo or License (The Demo is unrestricted in technical capabilities but will only run for two hours straight, after which it stops and you have to set it in run again yourself by logging in)
  4. Contents of SVN directory

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