Hi support team,
is it possible to add a POU (e.g. prg_myCalls) call via python script to a dadicated task "task03" within the task configuration?
Thanks in advance.
There is no Scripting API for creating and manipulating the task configuration at the moment, but it is already listed in our Jira tracker CDS-34234
. It is requested for CODESYS V3.5 SP10 so maybe it will be released with the SP10 release.
If you really need it now, you could export the task configuration with PLCopenXML, change the configuration in the XML and import it.
Check out the CODESYS store: http://store.codesys.com/CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions