Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » ST to C to request help(ST to C to request help)
ST to C to request help [message #1864850] Mon, 15 April 2024 07:58 Go to next message
M A is currently offline M AFriend
Messages: 1
Registered: April 2024
Junior Member
Hello, I want to generate a jar package that converts ST to C, so that I can call it directly, how should I do this?
I've tried to generate a jar package in the 4diac IDE with Xtext and Xtend respectively, but I can't find the main entry because I don't know much about Java.
Re: ST to C to request help [message #1864860 is a reply to message #1864850] Mon, 15 April 2024 17:26 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1589
Registered: January 2014
Senior Member

I fear this would not be that easy. Expecially XText requires quite some surrounding. You would need some files that have ST code that are then loaded by xtext and then you need to trigger our exporter.

If you are happy that the code is stored in IEC 61499 FBs and you would like to use that we offer a set of ant tasks to perform what you need.

If you need a generic ST to C converter I'm not sure if 4diac IDE is the right starting point. Maybe matiec (https://github.com/nucleron/matiec) or beremiz (https://beremiz.org/) is better suited.
Previous Topic:How to build and run the 4DIAC IDE from source
Next Topic:Tranlate 4Diac
Goto Forum:
  


Current Time: Thu May 09 11:06:26 GMT 2024

Powered by FUDForum. Page generated in 0.02202 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top