PeBi
The OSCAT library is now included in Editor V4.2.0-rc1.
However, when attempting to use a function from the new OSCAT library, code generation is interrupted.
 
[18-05-26 13:40:09] [INFO]: Generate POU main
[18-05-26 13:40:09] [INFO]: Generate POU PRG_2
[18-05-26 13:40:09] [INFO]: Generate POU OSCAT_TEST
[18-05-26 13:40:09] [ERROR]: Error transpiling XML to ST: Error: xml2st process exited with code 1
[18-05-26 13:40:09] [ERROR]: Error compiling project: No informations found for "C_TO_F" block
[18-05-26 13:40:09] [ERROR]: Stopping compilation process.
[18-05-26 13:40:09] [INFO]: Compilation complete
[18-05-26 13:40:09] [ERROR]: Error transpiling XML to ST: Error: xml2st process exited with code 1
Error compiling project: No informations found for "C_TO_F" block
Reply 0 0
thiagoralves
That's a problem on the xml2st that is included in the editor. I had fixed it already, but never generated a new xml2st build 😓. I'll do that and fix the conversion bug and put both on the same new editor build.
Reply 0 0
PeBi
Great, thank you very much!!!

When can we expect an updated version of “xml2st.exe”?
Reply 0 0
PeBi
Hello Thiago,
When can we expect an updated version of that “xml2st.exe”?
Reply 0 0
thiagoralves
It’s already thee in the GitHub releases, but we will need to generate a new editor build that integrates it. I’m waiting for the other fixes to be finished on the dev branches to merge everything on the rc1 branch and kick a new build
Reply 0 0
thiagoralves
Reply 0 0
thiagoralves
Reply 0 0
PeBi
Hi Thiago,
Thanks for the new builds. Unfortunately, they aren't usable.
I've now tried versions Build and Release #31 through #34.
The “Build and Release #31” version still has the same issues as “Build and Release #30.”
After installing “Build and Release #32” through “Build and Release #34,” unfortunately the standard libraries and the OSCAT library are missing. These were still present in “Build and Release #30.”
 
[203128%2F9790743%2Fmceclip0]
Reply 0 0
thiagoralves
My bad! For some reason our automated build pipeline was skipping the compiler integration. It worked locally because my computer already has the compiler installed. Try this: https://github.com/Autonomy-Logic/openplc-editor/actions/runs/26223523530
Reply 0 0
PeBi
Build and Release #36
Overall, it works better now.
What I noticed right away:
– After installation, the libraries are now displayed twice.
– Searching within the libraries no longer seems to work. As soon as you enter a search term, all library structures expand and can no longer be collapsed.
 
[203128%2F9791112%2Fmceclip0]
Reply 0 0
thiagoralves
That's odd. I downloaded the build (Windows x86 and ARM) and don't see any of those problems. What platform are you running this on?
libs.png
Reply 0 0
PeBi
I'm using Windows 11
and downloaded this file: windows-x64-exe
 
[203128%2F9791130%2Fmceclip0]
Reply 0 0
thiagoralves
Can't reproduce this on my machine. I installed official v4.1.4 version from the website, then installed the build beta version on top, and every time the libraries appear as they should (only once), with search button working fine
Reply 0 0
Merva
It's very good news that you introduced the Oscat libraries on the editor. Thank you very much, dear Thiago.
Reply 1 0
thiagoralves
You're welcome! The library came straight from the OSCAT website (Codesys version). The editor can now import Codesys libraries from the Library Manager, which opens a lot of possibilities for integration with 3rd party projects.
Reply 1 0
Reply