<< Click to Display Table of Contents >> Navigation: Modbus Universal MasterOPC Server > Lua 5.1 Reference Manual > Examples and Other Useful Things > Example 1. Processing a quality > Creating Tags |
Let's add 2 tags - Value and Status - to the device:
We place the script in the tag Value. From that script, we will analyze the Status tag and its bits, and, basing on them, form a quality tag. Let's switch execution of a script after reading on, and open the script editor.
Now let's start writing the script.