Home

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

Project Members:

CODESYS V3 MEGA-IO driver v2.0.0.0

This driver is a IoDrvFB based wrapper around the CODESYS Raspberry I2C MEGAIO driver v1.1.0.0 by Sequent Microsystems.

  • To optimise I/O dataflow, some small codechanges to the I2C MEGAIO driver v1.1.0.0 were neccessary,
  • 100% Open source,
  • 100% Pure IEC 61131-3 code (ST)

Sequent uploaded a video about the Mega IO Industrial for Raspberry Pi, check it out :

Changelog


I2C address setting

Start your Raspberry Pi with te MEGAIO attached.

  • Run sudo i2cdetect -y 0 => You should now see a table with the connected i2c slave address.
  • If Run sudo i2cdetect -y 0 does not work, Run sudo i2cdetect -y 1

The MEGAIO default address is 16#31 (41dec).


IO interface

The IO interface of this driver has been reworked to accomodate a simple but more powerful approach:

  • Simple I2C Address Parameter access;

  • Hardware I/O Mapping instead of function block calls in your program

  • The Example Project with visualisation


Package

Sorry, work in progress!


Limitations / Bugs

See Tickets