lua:introduction_to_lua_programming
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lua:introduction_to_lua_programming [2021/07/22 07:34] – ↷ Links adapted because of a move operation atolstov | lua:introduction_to_lua_programming [2022/01/17 20:58] (current) – ↷ Links adapted because of a move operation 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ network: | ||
+ | |||
====== Introduction to Lua programming ====== | ====== Introduction to Lua programming ====== | ||
- | WebHMI allows you to create custom programs (scripts) in [[https:// | + | WebHMI allows you to create custom programs (scripts) in [[https:// |
+ | The scripts are managed in the **Setup -> Scripts** menu item. | ||
If you have no experience with Lua language read this tutorial at first [[ https:// | If you have no experience with Lua language read this tutorial at first [[ https:// | ||
Line 51: | Line 54: | ||
For the convenience of working with registers from Lua programs, each register can be assigned a symbolic name and be accessed from Lua with this name. This name is specified in the register settings in the **Script alias** field: | For the convenience of working with registers from Lua programs, each register can be assigned a symbolic name and be accessed from Lua with this name. This name is specified in the register settings in the **Script alias** field: | ||
- | {{ : | + | {{ network: |
In the example above, alias " | In the example above, alias " |
lua/introduction_to_lua_programming.1626939277.txt.gz · Last modified: 2021/07/22 07:34 by atolstov