Hello Codesys community,
I am dealing with a big dashboard project and I would import autogenerated data for the communication protocol in my project. The autogenerated data can be in structured text or any other language or format. Is it possible ? How ?
Otherwise, is it possible to create a library with the autogenerated code to import it after ?
Thanks for the help
You can use the scripting engine: https://help.codesys.com/webapp/idx-scriptingengine;product=ScriptEngine;version=18.104.22.168
IecLanguageObjectContainer enable creation of POU, DUT, GVL, interfaces and so on.
You can add devices, but IIRC you cannot change their mappings (however you can import automatically a CSV).
Or you can go the XML (PLCopen or native) route.
that's exactly what I was looking for! Many thanks for the pointer
Log in to post a comment.