...
Acquisition of process data from global common areas and from messages received from remote systems
Acquisition of data at precise user-defined intervals
Maintenance and storage of process data for some user-defined length of time
Buffering of trended process data to memory areas and disk files
Serving data requests from trend clients
Support of both static trends (variables trended continuously during system operation) and dynamic trends (variables trended on demand at the request of remote clients)
Display of trend data on web based screens
Monitor trend data for events and record data to individual disk-based data files for later review
Play back previously recorded trend data from historical trend files.
...
[TBD]
[TBD]
[TBD]
Historical Trend Triggers
Expand | ||
---|---|---|
| ||
A historical trend trigger is the definition of an event along with a list of data to be recorded when that event is triggered. An event is triggered when a set of variables meet some prescribed conditions. In an aluminum smelting plant, for instance, a trigger could be defined to capture data during an anode effect. The trigger could watch for when the pot resistance gets too high, and when it does record a set of data including the pot resistance, volts, and line amps. Once this trigger is configured in the historical trend system, all anode effect events would be captured to individual historical trend files on disk for later review. Once a trigger has been activated, the historical trend trigger system monitors each of the trigger conditions and continuously evaluates each of them to determine when they have all been met. During this time the trigger is Waiting for trigger event detection. If this occurs, and all trigger conditions are met, then data collection begins and the trend system begins to write data to the file. This will continue until the trigger conditions are no longer all met. At this point the data file is closed and left on the disk for later review. Several options are available to enhance data collection:
Triggers can be created, modified, activated, and deactivated using the TriggerMgr [LINK] screen. |
Expand | ||
---|---|---|
| ||
Historical trigger files are stored on the host as ASCII text files. Following is an example file:
|
Tasks
TrendMgr - Trend Manager Process
Expand | ||
---|---|---|
| ||
The trend manager process is responsible for initializing the trending subsystem, creating the trend global shared memory, configuring the various trend sources, and processing requests for dynamic trend variables. In addition, TrendMgr monitors the active trends, periodically writing trend data from the memory buffer to the disk for long-term storage and disabling dynamic variables after a specified period of inactivity. The trending subsystem is configured via an ini file, which is read by the TrendMgr process on initialization. This file defines each of the various trend sources such as the global common trending process TrendGsm. |
Expand | ||
---|---|---|
| ||
The trend manager process is initialized by a text file passed to it as a command line parameter. This file is used to configure the internals of the trending subsystem itself. It consists of several sections described below: [General]
[TrendSrcList] This section specifies the various trend sources configured for a given system. Each trend source is specified on a single line in this section; this line contains a white space-delimited list of parameters defining the trend source. Most systems will only have a single entry for the global common trending system, TrendGsm. The parameters in order are:
An example configuration entry for the TrendGsm source is provided below:
|
TrendGsm - Trend Global Shared Memory Process
Expand | ||
---|---|---|
| ||
This hard real-time process samples variables from global common at frequencies up to 50 Hz (20 ms per sample) and buffers their values into memory. Static trend variables are defined through an ini file, which specifies each global variable’s fully qualified name, sampling period, and the number of samples to be stored both in memory and to disk. Alternatively, dynamic trend variables may be requested at any time during system operation and the TrendGsm will begin buffering the appropriate data. |
Expand | ||
---|---|---|
| ||
The TrendGsm process is initialized by a text file passed to it as a command line parameter. Typically, this file is the same as that used to initialize the trend manager process and containing additional sections for the TrendGsm process. The initialization file parameters are described below: [TrendGsmVars] This section specifies the list of statically trended variables for the TrendGsm process. Each variable listed in this section will be trended at all times as long as the TrendGsm process is active. Each statically trended variable is specified on a single line in this section; this line contains a white space-delimited list of parameters defining the trended variable. The parameters in order are:
|
TrendSrv - Trend Server Process
Expand | ||
---|---|---|
| ||
The trend server process accepts TCP/IP connections from remote clients and handles their requests for trended data. Trended data is requested by source and variable name at a given sampling rate and between a starting and ending time. The TrendSrv process searches for the requested variable on the list of currently trended variables, returning the desired data if found. If the variable is not currently being trended, TrendSrv passes a request for dynamic trend to the specified trend source and returns no data; subsequent client requests for this variable will thereafter return whatever data is available. |
Expand | ||
---|---|---|
| ||
|