DR DAS
- Home
- Companies & Suppliers
- DR DAS
- Downloads
- 4. siteviewweb
4. siteviewweb
DR DAS Open AQM/CEM Environmental Data Collection And Management System SiteView HMI By: DR DAS Austin, TX Draft for Comment: Prepared: 7/2000 1.0 Overview 2.0 Normal Operations 2.1 Station Viewer 2.2 System View Menu 2.2.1 View Calibrations 2.2.2 View Digitals 2.2.3 Viewing Values 2.3 Alarm 2.4 Multi-Parameter Plots 2.5 Calibration Reference Values 3.0 Security 2 SiteView HMI Manual 1.0 Overview Return to Top The SiteView HMI is an MS Visual Basic 6.0 Project application designed to support the following functions: • Collection of analog, discrete, and calibration data from PLCs, data loggers, and files. These are termed physical points. The definitions for monitor points are in tables within the Site Manager application. Site Manager is an MS Access mdb that is linked to the system SQL Tables. Through the graphical user interface of the Site Manager program, all station, monitor, calibration and communication settings are created. • Communication with a variety of data loggers, PLCs, I/O Devices and Servers in support of data exchange. • Storage of collected point data in MS SQL tables. Table structures for analog and digital points, calibration and alarms are defined in the Site Manager application. The date/time field, station and monitor number are used as indexes to the data tables. • Computation of points representing mathematical and logical processing of physical points, with storage of the resultant calculation in data tables using a structure similar to physical data. These points are termed computed points. Computations can include consideration of calibration results. The definition of the calculations to be performed is again contained in SQL tables linked to the Site Manager application. • Graphical presentation of collected and or computed points in multi-point trend plots. The multi-trend display supports up to 16 points of mixed time bases (plot 1 min, 5 min and hourly values in same plot). Real-time and historical data sets can be displayed. • Tabular and graphical display of points. These points are typically presented on “User Developed” displays within the SiteView HMI application. Typical presentations are one or more VB forms that show physical values and one or more VB forms that display computed points that have been created to evaluate ambient or source compliance criteria. A point consists of a value and a value status code (i.e. 134.5 B). Analog values in tables always have a companion status code stored in the field adjacent to the value field. For active points, a plot of the last 60 values can be selected. From the popup trend form of the last 60 points the user may display, as applicable, the digital states, calibrations and alarms for that specific point. This centralized point information makes it very easy and intuitive for operators to examine values causing alarms, acknowledge the alarms and review calibration and system state information that can contribute to an understanding of the cause of the value. The main SiteView HMI form is shown below. It is a MS Multiple Document Interface form or MDI. It is on this form that all the menus and toolbars are defined. 3 Figure 1a – MDI Form Figure 1b –Current Conditions Display with Quick Access Panel When SiteView HMI starts, a User Login of “None” with a Security Access Level of 0 is in place. The User ID and Current Security level is shown in the blue field. Without any login the program will perform data collection and display readings to operators. No login is required to view Alarms but an “Operator” Level-1 login is required before an alarm can be acknowledged. Please refer to the discussion of alarms and security elsewhere is this document. 4 Polling Status is shown at the left in the bottom status bar. The green “Polling On” indicates that polling is enabled. After login at an appropriate security level the toggle button at the left of the Green Polling On will allow toggling between Polling On and Off. An Off status is displayed in red. The status of alarms is displayed in two locations. The yellow field at the bottom of the screen indicates the number of unacknowledged alarms. If there are unacknowledged alarms the yellow field will blink and the SoundBlaster card of the PC will play an audio indication. The sound played is a .wav file called alarm.wav located in the project subdirectory. Replace this wav file with another to change the sound. The display of the most recent 6 active alarms can be toggled on and off by the menu item Active Alarms at the top of screen. An active alarm is one for which the alarm condition continues to exist. An active alarm may have been acknowledged or not. Acknowledged, active alarms will be dimmer than unacknowledged alarms. The green “Enabled” field indicates that alarm evaluation is enabled for all stations included in the system. If alarms are disabled for any station, this field is red and says “Disabled”. The status of alarm evaluation and polling can be viewed in detail from the Station Viewer form. See a later discussion on this topic. Two toolbar items are active upon startup. These are Login and Control Panel which are the first and second buttons from left to right in the toolbar. The initial presentation display in SiteView is built to convey the “Whole Story”. It may show all the key parameters for an emissions monitoring system or a statewide air quality monitoring network as seen below. Stations and or parameters are color coded: white – OK, gray – invalid or missing data, red – alarm, and yellow – warning. With one glance you can determine if there are any network issue. Figure 2a Network Status Display From the display you can quickly drill down to investigate issues. Clicking on a station name in a network application presents station details and current parameter values. A parameter is shown with a value and a value status code (i.e. 134.5 B). Parameter values in tables always have a companion status code 5 stored in the field adjacent to the value field. The values shown on the Station form (see below) are also color-coded. Figure 2b - Station Status Display Clicking on a parameter value in the station form displays a pop-up trend of the last 60 values. Invalid data is shown in red. Figure 2c – Parameter Display 6 To login click the first toolbar button or select System View/Login from the menu. The Login dialog box will appear. Figure 3 - Login Enter the operator name and password. Both are case sensitive. Then click Login. Remember to logout when you are no longer responsible for the system. Automatic logout is performed if no mouse or keyboard activity is logged in an hour. This time is adjustable in the C:\\\\VBEnview\\\\Project\\\\sysdata.mdb Access database table AppConfig’s Field named LogOff. If you have logged in at security level 3 you can add or delete users and modify passwords and access levels. 2.0 Normal Operations Return to Top Routinely the system will be collecting data from all data sources included for the system. When data is being collected or calculations are being performed the process is called polling. The polling is performed for each station whenever the current computer time is greater than the time the system has computed for the next poll to occur. The time of the next poll is the date/time stamp of the last data collected for a station plus the station data interval plus the polling offset established when configuring the station in the Station Manager program. In addition 30 sec is always added to the time determined for the next poll. For example a station collecting 5-minute interval data every 5 minutes with an offset of two minutes that last collected data time stamped 04/05/2000 12:05:00 PM would be polled at 04/05/2000 12:12:30 PM. 7 2.1 Station Viewer To view the current status of each station, use the Utilities menu to access the Station Viewer. Figure 4 – Station Viewer On this screen you can see the last successful poll of data for each station and the next time for which a poll is scheduled. You can stop polling for a single station by clicking on the station number and clicking on the Polls Enabled toggle at the top of the form. You can toggle on and off alarm evaluation using the Alarms Enabled toggle. A station may be downed using the Station Up toggle. A station that has not been polling will, upon being returned to an On polling state, attempt to recover all available data from the last poll. The retrieval of any data will update the last and next poll times. If a device is being polled directly by the SiteView HMI application the data set available for collection will be governed by the size of the data buffer. If the data recovery is done on data stored in a temporary data table (as is the case with polling ESC, Odessa, Campbell and Envidas Data Loggers) by a separate data collection program, all data found in the table will be collected. If Alarms Enabled is checked, alarms are evaluated for all alarm conditions defined in the system for each value collected or calculated. If polling is being turned on after being off for a long while, Alarm Evaluation can be temporarily turned off. A down station status indicates that a station’s data is not required. This would be the case if the station were decommissioned or were out of service for a season or the period of a unit overhaul. A down station may or may not be actively polled. In some instances the station may be down but polling of the station is still desired to monitor station conditions (security, AC, calibrations if being run etc). 8 Within the SiteView HMI program of the DR DAS Open CEM/AQM system, calculations that depend on data from another station will not be performed beyond the date time of the current data collected from the stations upon which the calculated station is dependent. Thus, if you cease polling a station, all stations dependent on this station’s data will also not be polled. This is not always desirable. By placing the independent station in a down status, the dependent station(s) will still poll, i.e., update their calculations. The values created in the dependent station will follow these rules. If the independent station is down and not being polled, the independent station will set its calculated value to 0 and D status. If the station is being polled the dependent value will be the independent value with the status changed to D. The station status of down must only be set for physical stations. These stations, if polled, will have data recorded normally. The data will not have a D status assigned. In the system philosophy, the D status is assigned only in an “Adjusted” station that has been established as the edited data companion station of a physical station. Since an adjusted station is by definition dependent on one and only one physical station the values in it will be the same as the physical station with a status of D if the physical station is being polled. If not being polled the values will all be zero with a status of D. In all cases other calculated stations which are dependent on an adjusted station, will be allowed to calculate to current time when physical stations are down. A single calculated station may be re-polled starting at a user-defined date and time up to the current time. Select the station by clicking on the Station ID, check Specify Time and enter a date and time in the Start Time field. The format must be MM/DD/YYYY HH:MM:SS XM. Click Poll This Station when the entries have been made. More than one station may be re-polled. Check Specify Time and enter a date and time in the Start Time field. The format must be MM/DD/YYYY HH:MM:SS XM. Click Poll Multiple Stations and select the station to be re-polled from the display shown below: 9 Figure 5 – Poll Multiple Calculated Stations If the most recent data that is scheduled to be collected is not obtained the poll is automatically rescheduled for several minutes later. Other stations that are scheduled to be polled proceed as normal. If the station is rescheduled more than 6 times, a Failure to Collect Data event is logged and the event is displayed in a PopUp form called Event Viewer. Figure 6 – Event Viewer 10The Event Logger function is accessed from the Utilities menu. When the Event Logger is opened it will display events from the current day. A combo box on the Event Logger form allows selection of logs from previous days. Several system events log activity to the Event Logger. The primary events logged are repeated failures to collect data. During program startup and operation error messages are also logged to the event file. After the program starts the Event Viewer window will open showing the nature of any problem encountered. Error in accessing data from the database are logged to the event window. If SiteView is connected to the Enview database over a network connection and the server connection was broken “Failed ODBC” connection messages would appear. If the connection is restored SiteView will recover automatically. The daily event files are stored in C:\\\\VBENVIEW\\\\PROJECT\\\\EVENTDATA\\\\. The path to these files is user-configurable in the AppConfig table of the Sysdata.mdb database located in C:\\\\VBENVIEW\\\\PROJECT\\\\. The field name for this path is EVENTDATAPATH. If the application is running in Client Mode, the user can specify that the path to EVENTDATAPATH is any drive that exists on, or is mapped to, the client PC. For example, if the client application needs to show the events from the NT Server the server’s C: drive should be mapped onto the client PC as drive S: and S: entered in the SERVERPATH field of the AppConfig table in the sysdata.mdb database. 112.2 System View Menu Under the menu item System View are items that open forms to display calibrations and digital points for physical stations. System Login and Current Conditions, as well as the program Exit, can be accessed here. Examples are shown below: 2.2.1 Viewing Calibrations Figure 7 - Calibration Display for Current Day with Station and Monitor Filters Users can filter calibrations to see calibrations from specified stations or monitors. In some cases the calibration results have to be edited or inserted manually. Double-click on any record to edit an existing calibration event. Click on the Add Calibration button to add new calibration information. 122.2.2 Viewing Digitals Figure 8 - Digital States Indicate CEM System Conditions Affecting Data Values Filters can be invoked to view digital from any or all stations. Only physical stations have digital points. The items under System View vary from one installation to the next to address project-specific requirements. If Enview 2000 is included in the system, a menu item to start that program is included. Systems using CyberNode Thin Web servers for data acquisition include menu items to launch IE4 and connect to the web sites hosted on the CyberNodes. 2.2.3 Viewing Values Also under System View you can open one or more Current Conditions forms to examine physical and calculated station points corresponding to the measurements collected. 13 Figure 9 – Point Data Form On forms such as these you can click on a point and open a popup form that shows the trend of the point over the last 60 intervals. For a physical point, with an interval of 5 minutes, the graph covers 5 hours. If you put the mouse pointer on an individual point on the graph and click, the value and status are displayed. The value and details such as Station, Point No. and Type(Monitor Name) are automatically determined when a point is assigned to the control. Buttons on the dialog provide ready access to calibrations, digital status, and alarms for that point. If the point is not from a physical station calibration and digital buttons are omitted. 2.3 Viewing Alarms Alarms may be view from the Alarm item on the main menu, from the Menu Bar Alarm icon and from the unacknowledged Alarms field at the bottom of the main MDI form. However, it is most convenient to review an alarm by using the Point Data form seen above. If, for example, you click on Alarms the following form will appear showing the systems alarms, filtered for that point alone. The filter may be redefined once the form is displayed. 14 Figure 10 - Alarms Are Filtered for the Specific Point of Interest There are four alarm levels, HH, H, L and LL, that may be defined. Alarms are configured in the Site_Manager application. Alarm conditions default to a red background for HH and LL levels. These are considered Priority 1 alarms. A yellow background is for Priority 2 Warnings such as the H and L levels. A green background is displayed for Priority 3 alarms. The Priority 3 alarms are those set for Auto Acknowledgement, i.e. they are marked as Acknowledged when they are created. This Priority is used for information alarms that you want to record but do not need to annunciate or acknowledge. An example would be the status alarm set for a digital point that indicates the start of a calibration. The Alarm form allows entry of a reason for the alarm, an action taken as a result of the alarm, and a comment field. These entries are available for both acknowledged and unacknowledged alarms. To enter a reason you must first select the alarm event. When selected, the details of the alarm are shown in the Details section of the form. You can acknowledge a single alarm or all unacknowledged alarms. You may also close all open alarms. The currently logged-in Operator is assigned as the “AckBy” person. Alarms may be filtered by station, by type and by priority. Typical alarm types are Station Fault, System Fault, Monitor Fault, Cal Fault, and Excess Value. An alarm type can be specified for each alarm configured in the system. Also alarms may be filtered by the Acknowledged status and the Open status. A date/time filter is also available. Set the filters and click on the Filter button. The filtered alarm records are displayed. The maximum number of records displayed may be specified. The default is 100. The Print button prints the alarm records in the current filter to a formatted page. 15 2.4 Multi-Parameter Plots Return to Top Data within the system may also be displayed in multi-parameter graphs. These graphs may show real-time or historical data. Figure 11 – Multi-point Trends The Mode button selects Real Time or Historical presentations. The Time button sets the time period displayed on the x-axis. The y-axis button allows control of the y-axis. It may be set to fixed limits or set to a % of full-scale presentation. The graphs that are displayed are established as pens files. Each file may have up to 16 pens created from any analog point in the system. At the bottom of the form you can select an existing pens file to view or edit. You may also add a new pens file. 2.5 Enter New Calibration Reference Values Return to Top In most systems calibrations are performed automatically by the system controllers or the analyzers themselves. The calibration events are recorded locally and the calibration records later retrieved. Periodically the reference values of the calibrations must be changed. This may be done with the system online. Under the Configuration Menu/Calibration Values, the following form may be opened. On it are 16displayed the current settings. A filter by station option is present. When a single record is selected a popup form is opened. In this form new calibration reference values may be entered. Figure 12 – Enter Calibration Bottle Values 3.0 Security Return to Top The DR DAS Open CEM/AQM system encompasses three applications: SiteView HMI, Site Manager and Reporter. The access level of the Operator logged into the application controls access to certain application functions. SiteView HMI provides primary access control. There are four levels of access supported within the DR DAS Open CEM/AQM System. Functions such as opening or closing a particular form or changing an expected calibration value are assigned an access level. If the operator who is logged in has that access level or higher associated with the login the function may be accessed. When SiteView HMI starts the default operator is NONE. The NONE operator has an access level of 0. When the access level is 0 most of the menu items are dimmed and inaccessible. Similarly all but the Login and Control Panel buttons are dimmed and inaccessible on the Tool Bar. The menu items that are active are Active Alarms and System View under which only the Log-In item is active. The Window menu item is active to allow the default displays to be tiled. Help is available under the Help menu item. The Login button on the tool bar activates the login window shown in the figure below. 17Figure 13 – Login By design it is not necessary to log into the system to be able to view system-measured values and computed values. The default display forms of the system load automatically upon start. They may be resized and tiled but they may not be closed unless an operator has logged on with an Access Level 1 or higher. If an attempt to perform a function that is not authorized, an advisory message is displayed. 18Figure 14 – Inadequate Access Level Message In the figure above the operator attempted to close a default display. Permission was denied. At Level 0 operators can fully utilize the default displays to view the system values. Operators can review data histories by clicking on any point. The underlying display window shows the last 60- values for the point selected. In addition buttons exist that allow viewing of current digital point states, calibration results and alarms for the selected point. As usually configured a level 1 Operator can acknowledge alarms. This requirement can easily be modified. However, system administrators should consider carefully before eliminating the requirement to log in before acknowledging alarms. Since all alarm acknowledgements include the operator name as part of the record all operators would be listed as NONE if the Acknowledge security configuration were reduced to 0. If an Operator with Level 1 access or better logs in the full Menu and Tool Bar will be enabled. Certain features of the System require higher than Level 1 Access. These are: Function Access Level Turning Polling On/Off 2 Close the Application 2 Comm Monitor Menu Items 2 Configuration Menu Items 3 Maintenance Menu Items 2 Change Calibration Reference Values 2 Create and Edit Operators 3 19 An operator logged in with Level 3 access may modify the existing operator names, passwords and access level authority. From the login screen click on Security and the Security Administration window will appear as shown below. Figure 15 – Add User 20 21 SiteView HMI Overview 2.0 Normal Operations 2.1 Station Viewer 2.2 System View Menu 2.2.1 Viewing Calibrations 2.2.2 Viewing Digitals 2.2.3 Viewing Values 2.3 Viewing Alarms 2.4 Multi-Parameter Plots 3.0 Security
Most popular related searches
