STAT_CTR,TABLE_HELP,Statistics Control
         Statistical Calculations

Table description:
Information for controlling the calculation of 
statistical values.

Table for defining the statistical group name,
and its related controls. As there are the en-
able/disable option, sample and reset triggers.
$
STAT_CTR,STATNAME,Statistical Table Name
User defined name of a statistical table name. 

Entry: Required

Valid Entry: ASCII string of up to 16 characters

This Table Name is used as a selection field for 
the next table.
$
STAT_CTR,DISABLE,Disable Tag
This tag specifies if changes in the data are 
valid, or should be ignored.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: DIGITAL

The value of the tag specifies the validity of
the data. If the tag value is one (ON), value
changes in the data are ignored for the calcu-
lation of the statistical values.
In case the tag value is zero (OFF), or no tag na-
me is specified, all the value changes in the 
data are used for the calculation of the statis- 
tical values.
$
STAT_CTR,SAMPLE,Sample trigger
Alternative trigger for sampling the data.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: DIGITAL

If no tag is specified in this field, a value 
change in the data causes a recalculation of the
statistical values.
Forcing the sample tag to one (ON) causes the 
task to sample the data value and to recalculate
the statistical values.
$
STAT_CTR,OUTPUT,Output trigger
Forced update of the tags, which are used to re-
present the statistical values.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: DIGITAL

Not specifying a tag means that the tags used 
for the statistical values are only updated if 
there is a change in the data value. Otherwise 
the (output) tags are only updated on a specific
request, if the specified tag is forced to the 
state ON.
$
STAT_CTR,RESET,Reset trigger
Clear all the statistical values.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: DIGITAL

Forcing the state of the specified tag ON, cau-
ses the values of the statical calculations to
be reset to their defaults.
$
STAT_CTR,COMPL,Completion trigger
Completion of writing the statistical values to 
their tags.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: DIGITAL

Every time the statistical values are all writ-
ten to their tags, the specified tag is forced 
to the state ON.
$
STAT_CTR,STATUS,Status report
Status of the recalculation of the statistical 
values.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: ANALOG/DIGITAL

A value of zero (0) indicates a succesfull cal-
culation of the statistical vlaues. For any 
other value an error has occured.
$
STAT_INF,TABLE_HELP,Statistics Information
         Statistical Calculations

Table description:
Table for defining the statistical calculations 
which should be updated and written to their 
output tags.
$
STAT_INF,INPUT,Input tag
Data value for the statistical calculations.

Entry: Required

Valid Entry: Standard tag name
Valid Type: ANALOG/DIGITAL/FLOAT/LONG ANALOG

The value of the input tag is used as the data 
value for the statistical calculations.
$
STAT_INF,MEAN,Average
Statistical average calculation.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: ANALOG/DIGITAL/FLOAT/LONG ANALOG

The value of the average calculation is written 
to the specified tag.
$
STAT_INF,SIGMA,Deviation
Statistical deviation calculation.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: ANALOG/DIGITAL/FLOAT/LONG ANALOG

The value of the deviation calculation is writ-
ten to the specified tag.
$
STAT_INF,MIN,Minimum
Statistical minimum calculation.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: ANALOG/DIGITAL/FLOAT/LONG ANALOG

The value of the minimum calculation is written 
to the specified tag.
$
STAT_INF,MAX,Maximum
Statistical maximum calculation.

Entry: Optional

Valid Entry: Standard tag name
Valid Type: ANALOG/DIGITAL/FLOAT/LONG ANALOG

The value of the maximum calculation is written 
to the specified tag.
$
