Say I want to create a new device. For example a simple RPi HAT SPI IO expander (some have been done already).
Here's my understanding thus far,
1). I generate the "I/O Driver" .XML file that defines the Device, the top level ports, data types, etc.
?- Where does this file reside to get added in the library
2) Write the underlying function (FB in ST) that configures the ADC, gets data, etc.
?- where does this reside and get pulled in.
There has to be a how to from start to finish on this since it is foundational, just haven't put all the pieces together on.
Last edit: justthefacts77 2020-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Say I want to create a new device. For example a simple RPi HAT SPI IO expander (some have been done already).
Here's my understanding thus far,
1). I generate the "I/O Driver" .XML file that defines the Device, the top level ports, data types, etc.
?- Where does this file reside to get added in the library
2) Write the underlying function (FB in ST) that configures the ADC, gets data, etc.
?- where does this reside and get pulled in.
There has to be a how to from start to finish on this since it is foundational, just haven't put all the pieces together on.
Last edit: justthefacts77 2020-05-23
Hi,
start here:
https://forge.codesys.com/drv/wiki/Home/
IO Driver Documentation
https://forge.codesys.com/drv/io-drivers/doc/Generic/
and maybe the old fist steps pdf on Raspberry PI should give some startup help.
BR
Edwin
Thx again! Not sure how I missed the doc but that is a key piece. Exactly what i wanted! Regards.
Last edit: justthefacts77 2020-05-24