Hi there,
After some try-outs on cforge I am beginning to see a communication issue in usage of this portal that could be needs to be addresed (fine-polished over time).
I tried various ways to contact other board members personally (incl Ingo, but anwser yet). Contacting other members should be made as easy as possible by cforge as this will enable us to collaborate better.
=> How do we contact each other personally (if opted in) in a transparant easy way and and how do we get feedback of this proces?
=> If I post a question or remark under a wiki (or project etc), how do I know for sure someone will find it and respond within a reasonable timelimit if that is asked for?
=> How do I check if something has been added changed within the entire CMS? (this is an earlier ticket)
Also, a request with personal high importance!
Can someone please post a proper working open source IO driver example with the devdescr?
A small driver/wrappare around an fb with some in/output parameters to a user program as BOOL/REAL or so would be enough to mimick the mechanism, as I am not getting mine to work with the currently provided hints!
As I want to build a proper IO driver for a raspberry pi HAT that interacts with the user program via parameters, the demonstrated mechanic is not working (at least I am not getting that to work). As far as my knowledge goes the FB in question should EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter.
I wrote this kind of a driver half a year ago, but it was no walk in the park without proper documentation/guidance! :-(
So, I am hoping with help of this platform I can revisit it and learn to make my driver leaner and meaner!... So, the wiki is currently sadly still incomplete (but I found it very useful ;-) ) about this specific mechanic. At the moment the wiki only tells very little about the actual used methods for the IO driver FB, but does not show code/examples on how to properly achive this.
So, examples wanted, because what is currently is shown in the posted I2c /SPI driver (r10) is how to write a static value from the parameters into into an FB.
Offcourse, this can be mimicked and expanded upon, but as far as I know this will not be enough for my needs.
If I am mistaking on the IO driver, please forgive and show me the proper way!
PS I can show working code/results on where I am now!
With kind regards!
Aliazzz
Hi Aliazzz,
Contacting me works, but I am on vacation. Your patience is welcome.
How other Open Source Communities are solving this kind of issue is usually a mailing list.
Our current medium is the forum. We could also use a Forum on Forge itself if we'd like.
You see, there are several options, which I would like to discuss in the company. Every comment from you will be appreciated.
Regarding your I/O driver problem. Please have a look into the MCP3008 driver. Maybe this provides you a good example.
Cheers,
Ingo
Hi Ingo,
Thank you for the very quick and adequate reply!
Also, I will check the MCP3008 I/O driver out as I had not seen it (duh...)
Edit:
I checked it and it is exactly what I hope to expect
As there are generally three stages of I/O driver complexity I'd like to call this a stage 3 I/O driver (dont know codesys terminology)
Stage 1, simple fb, IO interaction via fb calls in user program,no devdescr.xml.
Stage 2, standard fb with devdescr.xml for static parameters, no extra IO wrapper.
Stage 3, complex wrapper/fb combo, a complex devdescr.xml for dynamic interaction.
Maybe you can add some more info on these stages?
Aliazzz
Last edit: aliazzz 2018-10-01
It turned out that the forum is the current way to communicate within the community. Thus it might make sense to integrate the forum and forge more tightly in the future.