industrial program language to lua compiler

1
Industrial Program Language to Lua Compiler Department: HMS LABs, Halmstad or Malmö Scope: Soſtware compilaon, PLC Programming, Lua, debugging. Descripon: Lua has emerged as the language of choice for bringing programmability into resource constrained devices. In parcular IoT edge devices are oſten baery operated embedded devices which does not have the capa- bility to run node.js and other more powerful programming environments. Automaon engineers are oſten skilled in PLC programming, but lack the skills to program in other lan- guages such as Lua. For this reason we would like the development of a compiler from a PLC programming language to Lua. IEC 61131-3 defines 5 different PLC programming languages: Funcon block diagram (FBD), ladder diagram (LD), structured text (ST; similar to the Pascal programming language), instrucon list (IL; similar to assembly language), and sequenal funcon chart (SFC). The IEC 61131-3 to Lua Compiler in this thesis work should implement at least one of the PLC programming languages. Oponally the thesis work can also include aspects of the distributed environment typically used for IoT. This means that it should be possible to perform IEC 61131-3 soſtware development in the cloud, but with deployment and debugging on the edge devices. Size: Suitable for 1-4 persons (The project can be scaled based on the number of students) Contact person for this thesis: Jens Jakobsen +46357106925 [email protected]

Upload: others

Post on 05-Jan-2022

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Industrial Program Language to Lua Compiler

Industrial Program Language to Lua Compiler

Department: HMS LABs, Halmstad or Malmö

Scope: Software compilation, PLC Programming, Lua, debugging.

Description: Lua has emerged as the language of choice for bringing programmability into resource constrained devices. In particular IoT edge devices are often battery operated embedded devices which does not have the capa-bility to run node.js and other more powerful programming environments.

Automation engineers are often skilled in PLC programming, but lack the skills to program in other lan-guages such as Lua. For this reason we would like the development of a compiler from a PLC programming language to Lua.

IEC 61131-3 defines 5 different PLC programming languages: Function block diagram (FBD), ladder diagram (LD), structured text (ST; similar to the Pascal programming language), instruction list (IL; similar to assembly language), and sequential function chart (SFC).

The IEC 61131-3 to Lua Compiler in this thesis work should implement at least one of the PLC programming languages. Optionally the thesis work can also include aspects of the distributed environment typically used for IoT. This means that it should be possible to perform IEC 61131-3 software development in the cloud, but with deployment and debugging on the edge devices.

Size: Suitable for 1-4 persons (The project can be scaled based on the number of students)

Contact person for this thesis: Jens Jakobsen [email protected]