Question:
How can I create a delay in Elipse SCADA to execute a command via scripts after a certain time?
Solution:
To create a delay in Elipse SCADA, use a Chrono Tag. Follow the procedures below, which show how to apply a delay to a command script:
- On the command line executing the script, pass the tag’s enable attribute to “true” (1) to start the count.
- In the Chrono Tag’s OnPreset event, insert the script command to be executed.
- At the end of OnPreset event’s script, pass the tag’s enable attribute to “false” (0) to stop the count and then resume it from a new command.
The sample application below shows all the resources described in this article.