sakukko - 2019-08-26

Hi,

I am aiming to generate a test setup (signals, implementation for referenced interfaces, task configuration,etc.) for library POU's in a project via script and as fully automated as possible. So far the creation of test instance of a POU via prompt, test prg and task call for this have been relatively straight forward but i'm facing some difficulties in generating the necessary signal and interface instances required for the POU. In order to get his done without further prompting from the user, the script would have to acquire all the necessary information for the test POU (structs, types of referenced interfaces, methods) from the library. Is it somehow possible to export the whole POU as PLCopenXML via the project that uses the library POU's ? Or some better way to extract specific info from a library ?

Best regards,

Sami