Subversion Repositories factorylink.statist

Rev

Blame | Last modification | View Log


  HTC STATISTICAL CALCULATIONS
  ============================




1.  Contents of shipment  

This package includes the following:

    * 1 diskette labelled "HTC Statistical Calculations"
  Files:  \AC\HTC_STAT.AC
    \BIN\HTC_STAT.EXE
    \CTGEN\HTC_STAT.CTG
    \KEY\TYPED.KEY
    \KEY\TYPEDA.KEY
    \KEY\TYPEDALF.KEY
    \MSG\HTC_STAT.HLP
    \MSG\HTC_STAT.TXT

    * This manual (Which seems to be present).


 

2.  Installation of the FactoryLink software.

To install the FactoryLink task and its related tables please follow the following steps.

First:

Copy the files from the "HTC Statistical Calculations" diskette to the appropriate 
directory. On a Windows or OS/2 platform you can use the installation program of FactoryLink.
To invoke this utility please enter from the command line prompt:

C: {Enter}
FLXINST a:\ {Enter}


Second:

After you installed the software you need to activate the tables in the FactoryLink Confi-
guration Manager (FLCM) you can do this by adding the 'htc_stat.ac' line to the {FLINK}/AC/
titles file . The place where you insert the line is also the place where the option appears
in the FLCM Main Menu.

file: {FLINK}/ac/titles:

...
sys.ac    RUNMGR    System Configuration
persist.ac  Persist   Persistence
gedant.ac GRAPH   Graphics Editor
windhdr.ac  GRAPH   Window Management
htc_stat.ac   HTC_STAT  HTC Statistical Calculations 
spool.ac  SPOOL   Print Spooler
itimer.ac TIMER   Interval Timer
etimer.ac TIMER   Event Timer
...


Third:

To make sure all the Configuration Tables (CT's) are generated after a change you have 
to add the 'htc_stat' CT file and its related table into the {FLINK}/ctgen/ctlist file.

file: {FLINK}/ctgen/ctlist:

...
timer: itimer etimer
recipe: rcphdr rcpovr
htc_stat: stat_ctr stat_inf
iml: imltags imltrig
spool: spool
...

 
Fourth:

To enable the help fields in the HTC_STAT tables type the following after the command line 
prompt:

mkhelp {Enter}


Fifth:

The HTC_STAT task must, with the FactoryLink Configuration Manager (FLCM), be entered 
in the System Configuration table. An entry of an existing task which will not be used at 
run-time can be overwritten or a new entry can be created with (as a minimum) the following
data:


Task Name     Description   ....        Executable File

HTC_STAT  HTC Statistical Calculations    bin/htc_stat


The Task Name and Executable File name are fixed and should not be altered by the user.


This completes the installation of the FactoryLink (software) parts.


3.  Table Description


          HTC Statistics Control
       Hauzer Techno Coating Europe
         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.



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.



Enable/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 zero (OFF), value
changes in the data are ignored for the calcu-
lation of the statistical values.
In case the tag value is one (ON), or no tag na-
me is specified, all the value changes in the 
data are used for the calculation of the statis- 
tical values.



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.



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.



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.



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.



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.




        HTC Statistics Information
       Hauzer Techno Coating Europe
         Statistical Calculations

Table description:
Table for defining the statistical calculations 
which should be updated and written to their 
output tags.



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.



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.



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.



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.



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.