Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » 4DIAC IDE(4DIAC IDE)
4DIAC IDE [message #1862772] Fri, 29 December 2023 00:43 Go to next message
Eclipse UserFriend
Hi,
I want to add LUA script support in my IDE, but it's more difficult in version 2.1.x than in 2.0.1. Do you have any good suggestions?
Re: 4DIAC IDE [message #1862775 is a reply to message #1862772] Fri, 29 December 2023 03:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi, currently LUA support in 2.1.x is broken. We would be happy for any support we could get here to get it fixed.
Re: 4DIAC IDE [message #1862777 is a reply to message #1862775] Fri, 29 December 2023 03:36 Go to previous messageGo to next message
Eclipse UserFriend
Currently, 4diac supports converting ST language to LUA to achieve dynamic function block effects. It is also possible to directly write LUA scripts to implement dynamic function blocks. However, I am currently trying to do this, but I am not very familiar with this framework, so it is slower to write.

[Updated on: Fri, 29 December 2023 03:39] by Moderator

Re: 4DIAC IDE [message #1862778 is a reply to message #1862777] Fri, 29 December 2023 03:42 Go to previous messageGo to next message
Eclipse UserFriend
4diac converts ST code to LUA scripts, and based on the converted XML, it appears that there is some room for optimization of the LUA script, as it may appear a bit bulky.、
Re: 4DIAC IDE [message #1862781 is a reply to message #1862778] Fri, 29 December 2023 04:29 Go to previous message
Eclipse UserFriend
No the idea is not to write FBs in LUA script. The only idea is to generate LUA script from FBs.

If we get it working again I'm happy to also get it optimized.
Previous Topic:Float to text conversion
Next Topic:Analog Inputs for NXP
Goto Forum:
  


Current Time: Thu Jul 03 10:28:23 EDT 2025

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

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

Back to the top