Global Scripts are commands send to the SCADA Node via email. Commands are in the form below using standard Scripts (tcl, VB Script or J Script) and ACTION commands:
To send Tcl, use:
To send VBScript, use:
To send JScript, use:
For example, to Change the Value of Tag
SP-184 to 75 and reverse the state of FAN101 using ACTION commands
There can be only one SCRIPT per email, but multiple commands per script. Change the Value of Tags and Tag fields, execute other scripts, download recipes, and any command a global script can execute, both ACTION Commands , built-in Tcl, VB Script and J Script.
Global Script via Email must be enabled in SCADA Node Properties. (section 3.2.15 ). An incoming Email Server (POP3) (section 3.2.16), Account Name and Password must be configured for Global Script via email to work. Also the incoming email must match the configure Global Script Security Code (section 126.96.36.199). The script will run once after it is received. An appropriate frequency to Check Email must also be used (too fast and your ISP may block the SCADA node from checking the POP3 server). this display.