CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Export POUs In CoDeSys [Solved]
https://forum.codesys.com/viewtopic.php?f=18&t=9037
Page 1 of 1

Author:  nothinrandom [ Tue Aug 07, 2018 4:32 pm ]
Post subject:  Export POUs In CoDeSys [Solved]

Hey All,

There was this one python script shared in this post: viewtopic.php?f=18&t=1890&start=30. However, it wasn't working on 3.5.12.0 and throwing lots of errors when you tried to execute it. Anyway, you could use this attached version to export POUs into XML files for Git. To use it...

Open up project/library -> Tools -> Scripting -> Execute Script File... -> Point to location of file. The script will export the XML files with POU name and its GUID at the same directory as the script (i.e. create a folder to prevent a mess).

CoDeSys is an amazing platform and their support team is always awesome! Continue to toggle one bit at a time :)

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/