Creating dynamic nested components is pretty trivial in Qt, WPF, and Blazor etc. Is there any way to do it in Codesys?
Basically I want to have a changeable number of the blue objects on the screen and also have a changeable number of the red rows in that.
Hey,
no this is not possible to create or remove elements/complete frames.
Yes it is easy in these languages, but they also do way more things dynamically which isn't really the goal of IEC 61131.
Best regards, Marcel
And there is also no way to create a Visu component in JavaScript and import it?
There will be a nice and clean integration of html5 controls, but this is currently in development.
An old and ugly interface is already available, see https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/#efeb for more.
Is that the correct link? It seems to be a list of example projects for the Pi, but the links don't seem to work.
Well I copied it from the post, but it seems to not work. Check this thread for Google Maps and there should be.
It is not a good and explaining example but maybe a start for you.
You could do something similar by using a table component and populating/formatting appropriately.
Log in to post a comment.
Creating dynamic nested components is pretty trivial in Qt, WPF, and Blazor etc. Is there any way to do it in Codesys?
Basically I want to have a changeable number of the blue objects on the screen and also have a changeable number of the red rows in that.
Hey,
no this is not possible to create or remove elements/complete frames.
Yes it is easy in these languages, but they also do way more things dynamically which isn't really the goal of IEC 61131.
Best regards,
Marcel
And there is also no way to create a Visu component in JavaScript and import it?
Last edit: thecolonel26 2021-11-05
There will be a nice and clean integration of html5 controls, but this is currently in development.
An old and ugly interface is already available, see https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/#efeb for more.
Best regards,
Marcel
Is that the correct link? It seems to be a list of example projects for the Pi, but the links don't seem to work.
Well I copied it from the post, but it seems to not work.
Check this thread for Google Maps and there should be.
It is not a good and explaining example but maybe a start for you.
You could do something similar by using a table component and populating/formatting appropriately.