Home > Forum > SlimLine (Raspberry) > Programming with LogicLab > Using LogicLab on standard Raspberry
- This topic has 9 replies, 3 participants and was last updated 4 years, 2 months ago da Sergio Bertana.
-
AuthorPost
-
October 23, 2019 at 7: 57 am #50312AuthorlessIdle
I would like to create an application on Raspberry PI with LogicLab, a BMS to manage the batteries of an electric scooter. Unfortunately Logiclab for Raspberry has no plugins and libraries that can manage the I2C bus… and no I2C, no analogue and no more I / O.
I tried exporting from LogicLab for Elsist the SysI2CWrRd function and to import it on LogicLab for Raspberry… but when it's time to compile, it gives an error… obviously something is missing… but I don't know how to do it.
I do not have the skills to create a library and plugins myself and I end up giving up ... I was wondering if you could somehow help me, maybe the solution is simple ...
Although I realize that not having purchased the PLC Elsist, I shouldn't even bother, but I still try ...
October 23, 2019 at 8: 09 am #50314Sergio BertanaAdministrator ForumThe specific LogicLab for Raspberry that is supplied by Axel allows you to use only the IEC standard operators, while the version we provide (it will be available shortly) allows you to use the entire set of functions and FBs developed by us (See manual).
Many of these functions have been developed in C ++ as LogicLab PlugIn, others are developed directly in LogicLab using the ST (Structured Text) language.
It is possible to provide a LogicLab distribution complete with all our libraries that can also be used on Raspberry modules on the market, therefore also on the module you already own. We are working on this, if you follow us, on the site you will soon find news regarding the publication of the fruit of this long work.
November 15, 2019 at 6: 59 am #51043Sergio.ghirardelliParticipantI saw that you updated the site, introducing new features, including new bookstores for sale.
However, I could not find the version of Logiclab for Raspberry with your libraries: I was not able to find it, or is it not yet available?
November 15, 2019 at 7: 10 am #51045Sergio BertanaAdministrator ForumWe have developed for the LogicLab IDE at the moment over 200 objects (Functions and FBs) almost all are provided free of charge, some require the payment of a license for use. But even those with a license can be used for free for 30 minutes.
We are reorganizing the site and in the section that concerns the FBs now we can better understand those that require the payment of a license.
As I believe I have already written somewhere in the forum we are unifying all our systems, ARM7, CortexM7 and Raspberry so as to be able to offer a unique version of LogicLab and a unique version of libraries suitable for all systems (See article).
This work involves us as regards the systems and involves Axel as regards Logiclab, and to date, even though we are working belly to earth, we have not finished yet… we have beta versions that we test but not yet a definitive version. And even though I think we're pretty close to the end I can't give a release date ...
Stay tuned…
January 10, 2020 at 3: 04 pm #52432Sergio.ghirardelliParticipantI saw that on the website, from 23/12 a new version of the logicLab software package and a sw are available elsist to be installed on Raspbian.
Do these changes already allow you to do what is required in this discussion, or do you still have to wait?
Reading the release notes, I couldn't understand it.
January 10, 2020 at 3: 14 pm #52467Sergio BertanaAdministrator ForumThe script Mdp154 as indicated in this article allows you to install everything you need to use LogicLab on a standard Raspian distribution.
Once the script is finished you can run the run time of LogicLab as indicated in this article.
Now you have everything working, you can download the LogicLab IDE from the site and create your first project, perhaps by copying some examples from manual pages.
Everything will work in demo mode with no usage limit for 30 minutes. To use it in licensed mode you must purchase the application library license , LogicLab license.
January 17, 2020 at 7: 10 am #52470Sergio.ghirardelliParticipantDoes the logicLab license also include that of the application library in its cost? If not, can you show me the link to the page where to buy the library?
January 17, 2020 at 7: 15 am #52610Sergio BertanaAdministrator ForumThe application library is actually licensed on systems SlimLine based on Raspberry, to use it on market Raspberry boards a license must be purchased (See page).
January 17, 2020 at 7: 17 am #52485Sergio.ghirardelliParticipantI apologize for the double post, but I have another question ... I looked in the manuals, but I could not find anything ... I installed the package of the latest version of Logiclab 3.1.0.
I tried to create a new project, but the standard Raspberry does not appear among the devices… I tried with SlimlinexUnified, but it doesn't have the GPIO management… what should I put and how can I manage the GPIO?
January 17, 2020 at 7: 28 am #52612Sergio BertanaAdministrator ForumAt LogicLab GPIOs cannot currently be managed, we are working to make them available ...
Currently you can from LogicLab with the function SysI2CWrRd manage devices connected to the I2C bus. The bus used is the i2c-dev4 which is configured in the file /boot/config.txt on GPIO2 SDA, and GPIO3 SCL. Here is the configuration line:
# ------------------------------------------------------------------------------ # I2C SLIMLINE BUS CONFIG # ------------------------------------------------------------------------------ # Software I2C (i2c-dev4) set to max speed (180 Khz). dtoverlay=i2c-gpio,bus=4,i2c_gpio_sda=2,i2c_gpio_scl=3,i2c_gpio_delay_us=1
-
AuthorPost
- You must be logged in to reply to this topic.