Hello, our team is able to use Raspberry Pi on CODESYS, but we purchased two peripherals that utilize I2C and we cannot figure out how to access these devices in CODESYS. But they are working using Python.
Does anyone have a suggestion or an existing library that might help support this?
Thank you,
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
u r also able to create in codesys directly an iec-code by using the i2c-interface as driver using the codesys ide and st
depending on the stepperdriver, used in yΓΆur hat, its possible that an driver is already available in the device-repository. which mcp-device is used on the hat?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, our team is able to use Raspberry Pi on CODESYS, but we purchased two peripherals that utilize I2C and we cannot figure out how to access these devices in CODESYS. But they are working using Python.
Does anyone have a suggestion or an existing library that might help support this?
Thank you,
Jeff
Here are the links to the specific hardware we are trying to use:
https://learn.adafruit.com/adafruit-dc-and-stepper-motor-hat-for-raspberry-pi/powering-motors
https://www.sparkfun.com/products/16476
Last edit: jdjennings1962 2024-02-29
Last edit: jdjennings1962 2024-02-29
hello jdj
this question can be answered well with a pretty good forge documentation:
https://forge.codesys.com/drv/io-drivers/doc/Generic/
u r also able to create in codesys directly an iec-code by using the i2c-interface as driver using the codesys ide and st
depending on the stepperdriver, used in yΓΆur hat, its possible that an driver is already available in the device-repository. which mcp-device is used on the hat?