18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Background Tasks<br />

Scheduler worksheet<br />

A Scheduler worksheet is used to execute program logic (using the Built-in Scripting Language) at a specific<br />

date/time, on a regular time interval, or upon a triggering event.<br />

To create a new Scheduler worksheet, do one of the following:<br />

• On the Insert tab of the ribbon, in the Task Worksheets group, click Scheduler;<br />

• Right-click the Scheduler folder in the Project Explorer, and then click Insert on the shortcut menu; or<br />

• Click New on the Application menu, click the File tab, and then select Scheduler Worksheet.<br />

To edit an existing Scheduler worksheet, double-click it in the Project Explorer.<br />

The Scheduler worksheet is divided into two areas:<br />

Scheduler worksheet<br />

• Header area (top section), which contains information for the whole group<br />

• Body area (bottom section), where you define each tag, expression, and condition for the group.<br />

Use the parameters on this worksheet as follows:<br />

• Description field: Type a description of the worksheet for documentation purposes.<br />

• Event drop-down list: Click to select an event type from the following:<br />

• Calendar: Generates time bases greater than 24 hours. For example, You can define an event that prints<br />

a report every Friday at a specific time.<br />

Note: Be sure to complete the Date field if you want a specific date for event execution.<br />

• Clock: Generates time bases smaller than 24 hours (intervals in minutes or seconds). This function is<br />

frequently used with trend graphics. For example, you can define a tag that will be incremented each<br />

hour.<br />

• Change: Event related to the change of a tag in the Trigger field.<br />

Note: This only works for tag changes on the project server, regardless of a tag's defined<br />

scope.<br />

• Trigger field: This field is used only with the Change Event type. Type the name of a project tag in this field,<br />

and when the value of the tag changes, Expression is evaluated.<br />

• Time field: This field is used with the Calendar and Clock Event types.<br />

If the Event type is Calendar, then Time is a specific time of the day on Date. When that Date and Time occurs,<br />

Expression is evaluated.<br />

If the Event type is Clock, then Time is a time interval starting from when the project was run. Every time<br />

the interval occurs, Expression is evaluated.<br />

Either way, type a time using the HH:MM:SS.ms format. Valid values are 00 to 23 for hours, 00 to 59 for<br />

minutes, 00 to 59 for seconds, and 1 to 9 for milliseconds. (Milliseconds are optional.) Examples: 03:00:00<br />

is every three hours, 00:00:00.1 is every 100 milliseconds.<br />

• Date field: This field is used only with the Calendar Event type. Type a specific date using the MM/DD/YYYY<br />

format, and when that Date and Time occurs, Expression is evaluated.<br />

Page 318<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!