Home

aliazzz

Project Members:


Download Package

CODESYS V3 MEGA-IO driver v2.0.0.0

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

This IO driver replaces the FB based program calls with mappable hardware channels. To optimise I/O dataflow, some small codechanges to the I2C MEGAIO driver v1.1.0.0 were neccessary.

Changelog


i2c address setting

install i2c tools

sudo apt-get update
sudo apt-get install i2c-tools

MEGAIO i2c address

Be sure the MEGAIO is 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).

Package installation


Download Package

Install the package via;

  • Double-click the package or via CODESYS IDE Package Manager,
  • Install the loose components via the Library / Device Repository, found under Tools menu option in CODESYS IDE.

Start a new Talk topic