First, change the value for tag ‘script_gettag’ by using Watch Window. Run the project to test the SCADA script.
Then, open the new script file and try to write some simple scripts for setTag() and getTag() operation, as shown in example below. For example, one for write function and one for read function. Save the project, and the new blank script file will be generated and shown in the list.Ĭreate a few more virtual tags for script’s usage. In this case, create a Boolean type virtual tag and use it as script trigger. Note that the script is written in javascript language.Ĭreate a new SCADA script by adding a new row at the script table, set it to trigger by Tag, then select a tag from the list. Click on the script name on the left pane will open the script file content in the editor. Then, navigate to ‘Script’, and noticed that there were a few existing script files created for user’s convenience.
Let’s get started by opening an existing or create a new Ecava IGX project. In this training, a few of these IGX functions will be walked through. As the function name indicates, setTag() is used to write value into the particular tag, while getTag() is for reading values from the tag. There are 2 mostly used IGX functions, setTag() and getTag().
Ifix scada demo download free#
One of the benefits of Ecava IGX is the inclusiveness of built-in functions (let’s call it IGX function), which provided free for all users. For example, some operation which requires mathematics calculation. It is required mainly if the user need to customize the integration for some uncommon scenario, or anything other unique behavior which ordinary settings could not achieve. SCADA script is an advanced feature of a basic system.