The trend system described here operates under the TSENTRY real time control system. It is a data collection system that supports the following functions:
...
Expand | ||
---|---|---|
| ||
The trend system simultaneously supports data collection in two separate modes. The first mode is real-time trending; in this mode the trend system records the latest trend data into a combination of memory-based and disk-based circular buffers. As a new point is recorded the oldest point is removed from the circular buffer, so that at any given time only the last n hours, minutes and seconds-worth of data is stored on the system (n is a configurable parameter). In addition, the trend system can record historical trend data sets and store them as files on disk for later review. The historical trend system is driven by triggers, which are definitions of events and the data that should be recorded when the event is detected. The historical trend system and triggers are defined in more detail on the Historical Trend Triggers [LINK] section of this manual. |
Expand | ||
---|---|---|
| ||
The following host processes comprise the Trend System: |
Expand | ||
---|---|---|
| ||
The following screens are available as part of the Trend System:
|
...
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:
|
...
Info |
---|
“O-” as in 'O-Example' is an Operation Sub sub doc |
Expand | ||
---|---|---|
| ||
The TrendCtrl window in the left half of the display shows the current configuration of the trend graph. Variables are grouped according to their associated axes as shown below. Between the grid and the graph is a splitter bar that can be dragged left and right to trade space between the graph and the grid. This allows the user to increase the screen space allotted to the TrendCtrl to view all of the variable details at once or, on the other hand, to maximize the display of the graph within the screen. A short cut for maximizing the textual display is also available. Click the top left corner of the grid on the left of screen to expand (>) or collapse (<) the textual display. Most of the trend configuration can be performed in-place in the TrendCtrl grid. Each row represents either a graph axis or a variable on an axis, and each column displays the properties for the corresponding axis or variable. The first column is used to perform Drag and Drop of rows. The rest of the columns are used to display trending information. Some of the columns are display only while the others show properties that can be edited in-place. The columns are:
The first two rows of the grid describe the graph as a whole. The entire width of the trend graph and the requested sampling period for the trended data can be set by clicking in the associated cell in the grid as shown below: Additional axes can be added to the trend configuration by right-clicking in the grid and choosing Insert Axis. Once an axis has been added to the configuration, the following properties can be set:
Edit axis percentage will automatically recalculate the percentage of each enabled axis. The minimum percentage value is 5%. When the percentage value of an axis is increased the percentage of one or more axes may be reduced starting from the last axis. When the percentage value of an axis is decreased the additional percentage will be evenly distributed to all axes starting from the first axis. Variables can be inserted into an axis by right-clicking in the grid and choosing Insert Variable. A variable will be inserted into the trend configuration above the selected row. Once a variable has been added to the configuration, the following properties can be set:
Click the button in the variable name cell to use data dictionary to select one or more variable names. Double click an empty variable name cell will automatically load the data dictionary. If one or more variable names are accepted the Trending Set is modified and trending will be restarted. The new variables will be saved to a trend file if the Trend Set is saved.
Click the button in the variable source cell to use Select Trend Source to select a source. Double click an empty variable source cell will automatically load Select Trend Source. If a data source is accepted the Trending Set is modified and trending will be restarted. The new variable data source will be saved to a trend file if the Trend Set is saved.
If instead of picking a color you click anywhere outside of the color picker or click the color cell again the color picker will be closed and the Trend Set will not be modified.
If instead of selecting a line type you click anywhere outside of the list or click the line type cell again the list will be closed and the Trend Set will not be modified. All columns in the display can be resized simply by dragging the column headers. Clicking on the 1, 2 or * column headers will expand or collapse all axes in the tree display.
Individual axes or variables can be moved within the trend configuration using a drag-and-drop operation on the first (blank) column of the grid. |
...
Expand | ||
---|---|---|
| ||
MenuIn the bottom left of the display is a button labeled Menu. Clicking this button will navigate back to the most recent menu screen. TriggerMgrIn the bottom left of the display is a button labeled TriggerMgr. Clicking this button will display the TriggerMgr screen pre-loaded with a trigger definition created from the current TrendX screen configuration. That is, all trended variables shown on the TrendX screen will be added in the trigger Trend list. TrendSet Loader ControlTo the right of the TriggerMgr button are a set of buttons used to create, load, save, and delete TrendSets. A TrendSet is a configuration file stored on the host system that contains all of the configuration parameters for the current trend display. This allows the user to configure a trend graph, including all of the display variables and axis parameters, and store it on the host for later use. This control panel is described in detail in the TrendSetLoader [LINK] section of this manual. Trend Playback ControlsTo the right of the TrendSet loader control is the TrendPlayback control used to control the playback speed and direction of the trended data. This control panel is described in detail in the TrendPlayback [LINK] section. Reset CursorsTo the right of the trend playback controls is a button labeled Reset Cursors. Clicking this button will move the two data cursors to the far right and far left edges of the current trend view. This is helpful for regaining access to the cursors while zoomed in to a small section of the trended data. |
...
Info |
---|
“O-” as in 'O-Example' is an Operation Sub sub doc |
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
The top half of this screen allows the user to create, load, save, and delete trigger configuration files from the host system; effectively, this portion of the screen is a file editor for trigger configuration files. The following parameters can be configured for a given trigger:
The Trigger Conditions define the set of conditions that all must be met in order for the event to be triggered and data collection to take place. That is, the trigger is satisfied when the boolean AND of all of the trigger conditions is TRUE. Conditions can be added, deleted, and modified on the grid by double click a cell or right-clicking on the list and selecting options from the popup menu. Each trigger condition must specify the fully qualified trend variable name (including trend source and variable name within the source), a Boolean operator, a threshold against which the value of the trend variable is to be compared to determine when the condition is satisfied, and a requested sampling period for testing the value.
The Trend Variables define the set of data that should be recorded when the trigger event has been detected. Each of the variables listed in this section will be recorded to the historical trend disk file. Variables can be added, deleted, and modified on the grid by double click a cell or right-clicking on the list and selecting options from the popup menu. Each trend variable must specify the fully qualified trend variable name to be recorded and the requested sampling period for the recorded data.
The Scalar Variables define the set of data that should be recorded as a single snapshot when the trigger event has been detected. Each of the variables listed in this section will be recorded to the historical trend disk file. Variables can be added, deleted, and modified on the grid by double click a cell or right-clicking on the list and selecting options from the popup menu. Each scalar variable must specify the fully qualified scalar variable name to be recorded. |
...