Beispiel

<< Click to Display Table of Contents >>

Navigation:  Function block library > Custom > Lua script >

Beispiel

Previous pageReturn to chapter overviewNext page

The script in this example reads the values of the inputs 1 and 2 and writes their sum to output 1 and their difference to output 2. The script is executed only when the input values change.

custom_lua_example

This is the appropriate script:

custom_lua_example_dialog