Scripting (vbscript), Report templates, Configuration screens – Super Systems FURS User Manual
Page 11

Furnace Utilization Reporting System (FURS) Operations Manual
Super Systems Inc.
Page 11 of 25
Scripting (VBScript)
The purpose of a script is to allow the generation of reportable data from raw data. A script will
have an output and one or more raw data input(s). Programming logic would be used on raw
data points to generate the reportable output.
Below are the naming conventions for use in scripting:
•
Script output shall always be referenced as:
result.value
•
Script input(s) shall be referenced as: cxsy.value (where x is the channel number and y is
the slot number).
Examples of valid raw data points:
c1s1.value, c2s2.value, c10s2.value.
Possible Example:
A customer is interested in knowing how much time his furnace is in production based on the
following condition:
•
Furnace temperature (identified by
c1s1.value) is greater than 1400 degrees F.
•
A recipe is running (when
c2s2.value = 1)
The below script will be appropriate for this case:
if (c1s1.value > 1400 and c2s2.value = 1) then
result.value = 1
else
result.value = 0
end if
Report Templates
The program will allow saving all of its configuration parameters in a template to allow that
template to be reused later. Report templates will be saved in separated XML files to allow
greater portability. Report templates can be modified and saved. Multiple report templates can
be created but only one can be used at a time. The Save and Load template feature is accessible
under the File menu of the program.
Configuration Screens
All configuration information will be stored in the database of the program. The order of
configuring in this section is important and should be followed before reports can be generated.
The screens are captured on a new installation of the program so that a user can easily follow
after installing his program.
If Using Load Data and Running FURS for the First Time
Before running FURS for the first time on the computer where it is installed, follow these steps.
Doing so will help ensure that FURS starts and runs smoothly and that the program is able to
recognize where to obtain load data from.
1.
Determine whether the load database will be:
a.
Stored on the local machine or
b.
Accessed from a server.