Creating a delay in Elipse E3.

Question:

How can I create a delay in Elipse E3 to execute a command via scripts after a certain time?

Solution:

To create a delay in Elipse E3, use a Counter Tag. Follow the procedures below, which show how to apply a delay to a command script:

  1. On the command line executing the script, pass the tag’s Enabled property to “true” (1) to start the count.
  2. In the Counter Tag’s OnPreset event, insert the script command to be executed.
  3. At the end of OnPreset event’s script, pass the tag’s Enabled property 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.

Attachments:

KB-4854

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *