Forum Home › Forums › Development and Integration › Omron Fins Driver (Ethernet)
- This topic has 12 replies, 4 voices, and was last updated 2 weeks, 3 days ago by BlueSialia.
-
AuthorPosts
-
October 24, 2022 at 4:20 pm #11376gabeirinhasParticipant
Hello,
I’m quite new to this, so I’m asking for advice from the community,
I have seen that you have been able to develop drivers for other protocols,
I would like rapid scada to be compatible with the omron fins protocol,
I found this library on github,
https://github.com/lammertb/libfins
Could anyone tell me how I could make it possible,
Or if it would help me with the development,
Thanks in advance,
October 24, 2022 at 6:59 pm #11377manjey73ParticipantYou need to build this library with the ability to export functions, then it is possible to use functions in C code#
October 24, 2022 at 7:03 pm #11378manjey73ParticipantYou can see an example of calling C or C++ functions in the C# code for the 5th version of RapidScada in the driver sources for using GPIO on Raspberry Pi
https://github.com/Manjey73/OpnenKPs/tree/master/KpRpi3
Well, use by analogy
October 24, 2022 at 7:06 pm #11379manjey73ParticipantThe key there is this
[DllImport(“libwiringPi.so”, EntryPoint = “wiringPiSetup”)]
public static extern int Setup();and so on
October 24, 2022 at 7:17 pm #11380gabeirinhasParticipantHello,
Thank you very much,
I’ll get on it,
I hope I get it, it would be great,
Thanks for your help
October 24, 2022 at 7:21 pm #11381manjey73ParticipantPerhaps it will help you how it is implemented for another PLC in C code.
https://github.com/libplctag/libplctag
There is an export of functions in the source code and they are used differently in builds for Linux and Windows libraries. If it helps for understanding.
October 24, 2022 at 7:30 pm #11382gabeirinhasParticipantIt sure helps,
You’ve made my day,
Thanks
October 25, 2022 at 2:06 pm #11409gabeirinhasParticipantHello,
I think I have found a better way,
I have seen the following development in visual studio,
https://www.codeproject.com/KB/system/878194/mcOMRON_demo.zip
And I have seen the following link from rapid scada
https://rapidscada.org/device-drivers-development/
>
I have tested the project in visual and it works correctly,
This development could be implemented as a rapid scada driver ?.
Could you help me with the development ?,
Thank you,
October 25, 2022 at 2:10 pm #11410October 26, 2022 at 11:00 am #11423MikhailModeratorThis development could be implemented as a rapid scada driver ?
If the source code is available, it can be used in Rapid SCADA driver. In general, I recommend to separate logic and user interface by put them in different classes.
October 26, 2022 at 12:41 pm #11429gabeirinhasParticipantHello,
This is as far as I have got,
The development of the memory areas that are read and written must be written to the dll.
I hope it helps those of you who know more about this to do it better,
https://drive.google.com/file/d/1NdM3AiUi2aXZfQgFRhetR87KOEv-2O0o/view?usp=sharing
Thank you, best regards
October 27, 2022 at 12:04 pm #11443MikhailModeratorHello,
Thank you.
Do you use GitHub? If so, you could add the development to a public repository.September 28, 2024 at 5:18 pm #15506BlueSialiaParticipantWhat happened to this Omron Fins Driver? Was the prototype in that Google Drive link saved anywhere? Or is it lost forever?
-
AuthorPosts
- You must be logged in to reply to this topic.