SequentMicrosystems / megabas-rpi

Command Line, Python lib, Node-Red and CODESYS driver for Building Automation Card
https://www.sequentmicrosystems.com
MIT License
8 stars 1 forks source link

Codesys Package for MegaBAS #17

Open hjbleier opened 4 months ago

hjbleier commented 4 months ago

@nikke344 is there any way you can post the source code for the Codesys package? In Codesys 3.5 SP20 there are a few compatibility issues as the package was compiled for 3.5 SP16 Patch 2. I got other stuff in my project that requires SP18 or greater so I can't run the older version of Codesys for my project. I will fix it and upload the updated version for SP20 for everyone to use if you don't have the time to work on it yourself.

Thanks

hjbleier commented 3 months ago

Hi Alex, @alexburcea2877

Do you got any other way to get ahold of @nikke344? He may not be getting alerts from this github account linked to this name, as he has no other projects linked so it looks like he created the account just to post this package for you. I really need to make this compatible with Codesys 3.5 SP20. I have it working partially for right now but there are some libraries that its compiled against that need to get updated to make this package fully work with SP20. This is going to be an on going issue as Codesys updates their libraries so you are going to need the source to be able to rebuild it to keep it working with the current version of Codesys as they release updates. I got some other HATs on the RPi that require >=SP18 so I am forced to run the current version to make my other devices work. If you got an email or phone number for him please can you reach out to him and ask for him to post the source code it will help me out a lot and I can keep purchasing more of the MEGA_BAS HATs from you. I got about 50 of these installed and we here at HBAC are going to be ordering another 20 or 25 boards in two weeks.

-Thanks Howard Jr.

alexburcea2877 commented 3 months ago

Hi Howard,

I am unable to reach nikke344 and I did not find any code from him on my computer. The solution here is to make a new library for the BAS. Please look at Sequent libraries on GitHub https://github.com/SequentMicrosystems/SM_CODESYSand tell me if one of the same types made for BAS will be suitable for you. The libraries we made contain the source code so you can recompile for any CODESYS versions.

Best regards, Alex.

On Sat, Jun 8, 2024 at 12:22 PM Howard J. Bleier @.***> wrote:

Hi Alex, @alexburcea2877 https://github.com/alexburcea2877

Do you got any other way to get ahold of @nikke344 https://github.com/nikke344? He may not be getting alerts from this github account linked to this name, as he has no other projects linked so it looks like he created the account just to post this package for you. I really need to make this compatible with Codesys 3.5 SP20. I have it working partially for right now but there are some libraries that its compiled against that need to get updated to make this package fully work with SP20. This is going to be an on going issue as Codesys updates their libraries so you are going to need the source to be able to rebuild it to keep it working with the current version of Codesys as they release updates. I got some other HATs on the RPi that require >=SP18 so I am forced to run the current version to make my other devices work. If you got an email or phone number for him please can you reach out to him and ask for him to post the source code it will help me out a lot and I can keep purchasing more of the MEGA_BAS HATs from you. I got about 50 of these installed and we here at HBAC are going to be ordering another 20 or 25 boards in two weeks.

-Thanks Howard Jr.

— Reply to this email directly, view it on GitHub https://github.com/SequentMicrosystems/megabas-rpi/issues/17#issuecomment-2156148547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3ZCWUQ2ZQ2K4KEONRMWA3ZGNKWZAVCNFSM6AAAAABIUWK5J2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGE2DQNJUG4 . You are receiving this because you were mentioned.Message ID: @.***>

hjbleier commented 3 months ago

Hi Alex,

Thanks for the link, I will take a look into it next week after I finish this project over the weekend. I got a RPi with a stack of 5 of the MEGA_BAS that I am doing the commissioning on this weekend. Its a fun one, I am migrating the points off of 4 old devices, a Delta Controls system that is crapping out over to the MEGA_BAS boards running Codesys 3.5. I got to keep the system running as I do it because the system is currently in productions, I'll have this done by Sunday, then I can look into it. After I rebuild the new library next week I will have to rebuild this project to get rid of all of the current Codesys 3.5 SP20 errors and warnings. I will send you the source code and the package file so it can make another repo on there, that way it can hopefully help others with the MEGA_BAS that need to run the current Codesys release too. Thank you, these MEGA_BAS boards are working great by the way, very good product you guys are making. Keep up the awesome work!

Thanks -Howard Jr.

alexburcea2877 commented 3 months ago

Hi Howard,

When I gave you the link to the repo with Codesys libraries, I asked if this is the type of libraries you need. I managed to create a new library for the BAS, check it out here and let me know if it fits your needs.

Alex.

hjbleier commented 1 month ago

Hi Alexandru,

It looks like there is something wrong with the SM_BAS.package When you try to install it in codesys it says the path is wrong and closes out. It will not install.

On 2024-06-12 22:02, Alexandru Burcea wrote:

Hi Howard,

When I gave you the link to the repo with Codesys libraries, I asked if this is the type of libraries you need. I managed to create a new library for the BAS, check it out here [1 [1]] and let me know if it fits your needs.

Alex.

-- Reply to this email directly, view it on GitHub [2 [2]], or unsubscribe [3 [3]]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/SequentMicrosystems/SM_CODESYS/tree/main/Building%20Automation [2] https://github.com/SequentMicrosystems/megabas-rpi/issues/17#issuecomment-2164380685 [3] https://github.com/notifications/unsubscribe-auth/AHVQR2XH7ZTYCUEMATEUSXTZHERXBAVCNFSM6AAAAABIUWK5J2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRUGM4DANRYGU

Links:

[1] https://github.com/SequentMicrosystems/SM_CODESYS/tree/main/Building%20Automation [2] https://github.com/SequentMicrosystems/megabas-rpi/issues/17#issuecomment-2164380685 [3] https://github.com/notifications/unsubscribe-auth/AHVQR2XH7ZTYCUEMATEUSXTZHERXBAVCNFSM6AAAAABIUWK5J2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRUGM4DANRYGU

alexburcea2877 commented 1 month ago

I will take a look but until then you have all the components to install it manually. The SM_BAS.devdesc.xml and SM_BAS.library are the files you need. Go to Tools> Device Repository to install the XML file and to Tools>Library Repository to install the library.

hjbleier commented 1 month ago

Yes the manual install method works. There is just something wrong with the compiled .package version. But the library and .devdesc.xml work perfectly. Thank you I got it to work now using those instead of the package version.Sent from my iPhoneOn Aug 11, 2024, at 9:23 AM, Alexandru Burcea @.***> wrote: I will take a look but until then you have all the components to install it manually. The SM_BAS.devdesc.xml and SM_BAS.library are the files you need. Go to Tools> Device Repository to install the XML file and to Tools>Library Repository to install the library.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

alexburcea2877 commented 1 month ago

I am glad it worked. I will postpone a little bit the package fix.