|
Monitoring |
English:PDF | German:PDF |
Table of Contents
- 1 Functional description
- 2 Installation variants
- 3 Data format
- 4 Terminology
- 5 System structure and requirements
- 6 Special features of the menu navigation
- 7 Visualization of test plans
- 8 Create test plan with configuration wizard
- 9 Test plan - settings
- 10 Add more monitoring objects
- 11 Monitoring Designer
- 12 Monitoring - Settings
1 Functional description
In modern production or assembly, several measured values are usually recorded and automatically saved at measuring stations.
The storage can be decentralized on the PC or centralized in the network. Often it is not possible to intervene in the production process due to the complexity and the large number of measuring points.
However, the measured values recorded should be displayed online (in real time) in different representations depending on their scope and significance.
This enables the operator to see whether certain negative process conditions are accumulating and to initiate appropriate corrective measures.
This task is solved by O-QIS - Monitoring. The different measuring systems write the data in Q-DAS ®ASCII transfer format into a data pool. O-QIS - Monitoring permanently looks into this
data pool and updates the display when new measured values are added. In order to obtain a clear screen display, the number of measured values displayed online can be limited according to the FIFO principle (First In-First Out).
The type of data pool can be adapted to different tasks. This ranges from a single file containing several pieces of information to a file containing only a single measured value (possibly over several characteristics).
O-QIS - Monitoring has the same graphical displays as procella® . The buttons can be used to select the functions and configure the displays on the screen. As with procella,®the number and type of displays should be
compiled and saved according to the task. This way, the screen display builds up according to the respective task when the system is restarted.
The user then only has to observe the update. For this purpose, the data must be available in the Q-DAS ®ASCII transfer format.
This means that the various measuring systems must provide the data in this format before transfer.
Possible areas of application are:
- Process visualization on a production / measuring machine
- Centralized / decentralized visualization of multiple machines
- Monitoring of processes based on statistic alarms
The visualization of the data pool is done with the help of graphics, such as:
- Alarm overviews
- Value chart
- Quality control chart
- Tabular overview graphics
- ...
2 Installation variants
Monitorig (as a module of O-QIS) can be installed locally or as a server - client like all products.
Due to the special feature that this is used here for the visualization of data (mostly process parameters) directly at the stations, the whole thing is often operated as a local installation.
Reasons for this include the fact that there is no user interaction and no collection of additional data. In monitoring, the focus is purely on visualizing the files generated by the writing system.
3 Data format
The monitoring is a purely file-based monitoring. It is not possible to load and visualize measured values from a database.
The optimum data format for monitoring is DFD/DFX files in count up mode.
This means that the header data is written once and each new measurement is stored as a DFX file with a coun up file name.

|
NOTE: |
DFD/DFX pairs (no count up mode) or DFQ files can be considered and visualized as a special case. However, the implementation must be checked in advance in a project. |
The reason for this is as follows: Monitoring is used when very fast visualizations are required, e.g. for process parameters.
If the data format is DFQ files (or DFD/DFX pairs), the entire data pool must always be loaded from the measured value file with each update.
With the count up mode, only the new measured values per measurement are reloaded and appended to the already existing visualizations.
Depending on the setting, old files are removed from the used storage directory, uploaded or deleted.
A detailed description of the data format in high count mode can be found in the Q-DAS ASCII transfer format manual.
4 Terminology
Monitoring has its own language usage, which is briefly explained here:
While all other Q-DAS products talk about "parts", "test plans" and the like, monitoring always talks about the visualization of a monitoring object .
A monitoring objectcan be:
A specific folder with the data of only one test plan:

A folder with several subfolders. Each folder is a test plan (part).

A folder with several test plans (parts).

So what is behind a "monitoring object" can be diverse. In the course of the document, we will try to go into this in more detail, taking into account the various options available.
The monitoring objectsare parts of a test plan. A test plan can contain a single monitoring object or several monitoring objects. In the test examples, there is only one monitoring object per test plan.

A monitoring object thus describes:
- The files or directories to be monitored
- The characteristics of how to respond to changes
Different properties can be stored for each monitoring object of a test plan.
Only one test plan with its objects to be monitored can be loaded at a time.
It is not possible to load several test plans at the same time.
Test plans can be supplemented or reduced (deleted) by monitoring objects during operation.
Likewise, properties of the individual monitoring objects that have already been set can be subsequently changed at any time.
Before a test plan can be created, at least the following information should be available:
- Which monitoring objects are to be monitored?
- How does the writing system store its data?
- When should changes be detected and displayed (cyclic/on modification)?
5 System structure and requirements
5.1 System structure
There are two configuration files in the O-QIS monitoring, which contain the saved test plans and the graphical view.
5.1.1 Test plan file
The test plan file (TestPlan.xml) contains all relevant information/settings of the respective monitoring objects. The default is defined in the paths.

5.1.2 Graphic layout
The graphic file (GraphicObj.xml) contains all relevant information/settings regarding the graphic layout of the "Monitoring Overview" graphic.
The graphic layout is defined with the "Monitoring Designer". The default is defined in the paths.

5.2 Requirements
The options marked in red regarding the white backgrounds must be disabled, otherwise the alarm messages cannot be visualized.

|
NOTE: |
The Q-DAS application must be restarted for the adjustment to take effect. |
6 Special features of the menu navigation
Due to the terminology in monitoring, test plans are created there, saved, opened as well as "Window - lists (graphical views) saved or even saved by test plan.
For existing test plans, data sources (monitoring objects) can be added or their configuration can be changed.

7 Visualization of test plans
Before the test plan configuration and the creation of new test plans, the graphical handling is explained here. For this purpose, one of the delivered standard test plans is loaded.
The target of O-QIS - Monitoring is, on the one hand, to guide the user as quickly as possible to the focal points of errors in production and, on the other hand, to visualize a specific period of time online.
In order to meet these targets, the display is divided into different views. The data between which can either be switched or paused in order to display the view to be visualized online.
These views ("levels") are arranged hierarchically and thus provide the possibility of a "top-down" approach to display warnings summarized at a higher level.
If required, it is possible to navigate to the specific error focal points (e.g. "Measured value of a specific characteristic outside the specification") depending on the desired degree of representation, in order to then visualize this specific characteristic online, if necessary. The level of detail or the summary can be adapted to the respective circumstances by defining additional levels and the view within these levels.
The standard configuration has the hierarchy of the Q-DAS ®ASCII transfer format in connection with the visualization of multiple data sources as a basis and displays the following:
1. Parts overview: display of all part types to be visualized (data sources)
2. Characteristics overview: display of all inspection characteristics of a selected part type
3. Characteristic display: Display of the history of a selected inspection characteristic

The monitoring overview opens:

|
NOTE: |
It should be mentioned directly here that the monitoring overview is the only graphic that may be saved as a "layout". Only within the monitoring overview the update happens. All other graphics, which can be opened, exist only, in order to change these graphically. |
In the standard system, there are three levels within the monitoring overview: Part, characteristic and measured value level. These can either be clicked directly or changed using the buttons.

The leading graphic is the "Alarm status parts" graphic in the upper part.
Here all parts are shown, which are to be found in the "Monitor directory".
Here in this example three parts are located in the directory to be monitored.
Directly displayed is the status of the last measurement (green/red), of the single part.

Double-click on the part to switch directly to the characteristics level.
Here, too, the alarm of the last measurement is shown in the leading graphic "Alarm status characteristics" (red/green).
By clicking on a characteristic within the characteristics overview, the individual characteristics graphics below are adjusted accordingly.

Double-click on a characteristic within the characteristic level to switch to the individual characteristic.

8 Create test plan with configuration wizard
In this chapter, the wizard for creating the test plan will be shown in a very simplified way, to repeat the meaning of test plan and monitoring object.
Not all tabs of the wizard will be explained, the meaning of the individual options will be explained in subsequent chapters.
There are two sub-directories in the directory to be monitored. In each of the two subdirectories there is a part in which the measured values are in high count mode

The monitoring directory in this example is now the main directory to be monitored The directories 001 + 002 are the sub-directories.
A new test plan is created via "New test plan". The corresponding wizard then appears, which guides you through the configuration.

First, the test plan name must be stored. In addition, a corresponding comment can be added.
Both entries are then displayed in the "Open test plan" dialog.

Here you specify whether the monitoring object is a single file, a directory or a (main) directory with subdirectories.
Generally, it is recommended to work with directories.

The monitoring project (main directory) is initially stored under [1].
If the parts are available in individual subdirectories, the option [2] must also be set.

The other important point is the query of what type the files are.
Fixed file names or the count up mode. In general, it is recommended to work with files in count up mode.

If all relevant options have been set correctly and the wizard has been closed with "done", the "Monitoring overview" graphic must be called up manually.


Finally, the test plan and the window layout are saved.

9 Test plan - settings
The individual settings are explained in detail using the example of changing an existing test plan.
For this purpose, the data source is edited after opening a test plan:

In the next view, all monitoring objects are listed, and the test plans found are displayed below them.
However, as already described above, configuration is only possible for monitoring objects.
Via right click on the data source and then via "Features" the dialog opens to adjust the configuration.

9.1 Visualization object
All visualization settings for the corresponding test plan are made here.

9.1.1 Monitoring mode
Under "Monitoring mode" it is possible to define which object type is involved.

The application can handle both files whose name is fixed and files whose name consists of a counter that is incremented continuously.
When monitoring a single file, the latter variant is not important.
9.1.2 File mode

Since these settings are only relevant when monitoring directories, the options are grayed out when monitoring files.
Fixed name (DFQ)
Must be activated if there are individual files or file pairs in the directory that do not correspond to the count up notation, but have a constant file name for all measured value files.
In this case, the writing system always appends newly acquired measured values to the same file.
Counting up name (DFD/DFX)
In contrast to the mode described in the previous section, files with count up file names can be monitored here.
The writing system then generates a new DFD file with each change to the part or characteristic data.
This will be illustrated by the following example of file generation:
At the system start first a DFD file with the meter reading screw_001.dfd is generated.
Per measurement the writing system generates a DFX file. The file name of the DFX files is count up continuously.
O-QIS - Monitoring recognizes during the update cycle that new DFX files have been generated and reads in the DFX files in the order of their counter status.
If the part and characteristic data change on the system to be monitored, a new DFD file must be written with a new counter reading.
This is the counter reading of the last DFX file +1. The following DFX file is given the counter reading of the new DFD file as its name.
The file name of each further DFX file continues to be numbered consecutively.
If O-QIS - Monitoring detects a new DFD file, an internal reset is performed and the new DFD file is visualized on the basis of the new DFX files generated up to that point.
Example: Screw_001.dfd Screw_001.dfx Screw_002.dfx Screw_003.dfx

Prefix length
Specifies for this case how many digits of the file name are not used for count up.
For the above example (screw_001.dfx) a prefix length of 9 ("screw_") must be set.
|
NOTE: |
If there are a large number of DFD files in the monitoring directory, the program start can take considerably longer, because the current file must always be considered first. |
Sort
Numerical and alphabetic sorting are available as options.
Especially when using a prefix, the alphabetic sorting should be selected.
9.1.3 Visualization mode

In a monitoring object, there can be many "files", in the linguistic usage "parts".
In this dialog you can define whether all parts or only the X newest parts should be displayed.
If the "X latest" option has been selected:
Here, within the selected directory structure, the X data sets are visualized in each case to which the last changes occurred.
This means that only the most recently changed files are visualized, regardless of the selection (DFD or DFQ format).
An example to explain:
A production plant to be monitored has three production machines that can run simultaneously.
Many different parts can be produced on them, but only three at a time due to the number of production machines.
The monitoring object is then selected to have one parent folder with one subfolder per part.
By setting it to visualize only the three current parts, only the parts that can currently be in production will be visualized.
9.2 Reaction to changes
All settings regarding the reaction to changes for the corresponding test plan are made here.

9.2.1 Edit header data

The following two options are available to react to changes in the part and characteristic data:
Reload files
A change in the size of the DFD file (file size in KB changes, e.g. by adding new characteristics) causes the file to be reloaded.
The part and characteristic data as well as the values are read in again.
This variant is especially useful for files in DFQ format, because otherwise a change of the part and characteristic data remains unnoticed.
Ignore
The reading of the part and characteristic data is ignored. For files in DFQ format, this means that only the newly appended values are read.
Newly added characteristics/adjustments to the part/characteristics structure are not taken into account and visualized as a result.
|
NOTE: |
If DFQ files are monitored whose part / characteristic data change frequently, the files should always be loaded completely during the update. |
9.2.2 Change to value file

Reload files
Since O-QIS - Monitoring is usually used in such a way that it should react to the increase in the file size of the value files, this setting is recommended
for systems that shorten the value files after a certain number of measurements in order to keep the value files constant with regard to the file size.
If this option is activated, O-QIS - Monitoring can also react to a possible decrease of the source file and the subsequent appending of measured values.
The "Reload files" mode causes the value file to be completely reread for any detected change. This procedure is only recommended for files with few measurements.
Append
When the program starts, the value file is read completely.
The program remembers the current file size after each reading.
At each monitoring cycle it is checked whether the file size has changed.
If the source file has become larger, only the attached values from the last noted file size are read in, but not the complete file.
9.3 File accesses
The setting options within this tab are identical for both file and directory monitoring.
The settings for visualization and control of file accesses are made here.

9.3.1 Synchronization mode
In order to be able to exclude simultaneous file accesses, a synchronization must take place.
The following options are available for synchronization:
Exclusive file access
If this option is used, the corresponding files (DFD/DFX/DFQ) that are not exclusively locked are read in.
Archive attribute
Synchronization can be done via the archive attribute of the files according to the above mechanism.
If the attribute is set, the file can be accessed. If it is not set, the file is locked for any access.
Write protection attribute
The synchronization is done via the write protection attribute of the files.
If the attribute is set, the file cannot be accessed.
If it is not set, the file can be accessed.
|
NOTE: |
In principle, access must be coordinated with the writing system. |
9.3.2 Trigger mode
The trigger mode is used to set when the monitoring should check whether new data is available.
Time controlled
Every X seconds it is checked if there are new files for visualization.
Event controlled
If, for example, there is a change in the number of characteristics, their names, file size, etc., a corresponding update is performed.
It should be noted that this setting is a problem in many systems. If the data comes too fast (per second several files), so it is permanently tried to update.
The building of the graphics is interrupted again and again, because the loading process starts again.
Or, due to insufficient authorizations, it is not possible to check whether something has changed in the data pool.
In case of problems it is therefore recommended to switch to the time-controlled mode.
9.4 Cleanup

9.4.1 DFD/DFX - Treatment
Only if the parent option "No dependencies between DFD and DFX files" is set, different settings can be selected.

9.4.2 Settings DFD files
Here you specify settings that should apply to the DFD files.

Keep old DFD files
Based on this setting, the DFD files created by the writing system are neither moved neither deleted.
O-QIS - Monitoring determines the DFD file with the highest count at startup and loads it.
Delete old DFD files
Using this option, O-QIS - Monitoring first determines the most recent DFD file.
If several older DFD files exist, these are deleted. Only the most current file is retained. As soon as the writing system creates a new DFD file in live operation, O-QIS - Monitoring deletes the old DFD file in the directory and loads the current DFD file.
Move old DFD files
O-QIS - Monitoring uses this option to determine the most recent DFD file. All older DFD files that already exist are moved to a stored target directory.
As soon as the writing system creates a new DFD file in live operation, O-QIS - Monitoring moves the old DFD file to the specified directory and loads the current DFD file.
Ignore counting up DFD file
Based on this option, the oldest DFD file is determined and loaded when the program is started.
In live operation, all other DFD files created by the writing system are ignored. This can be advantageous if the measurement system always writes file pairs of DFD and DFX file.
Note 1: If this option is enabled, part and characteristic data must not change
Note 2: This setting cannot be changed in live operation of the program. Only when creating a new test plan can this option be set.
9.4.3 Settings DFX files
Keep old DFX files
Based on this setting, the DFX files created by the writing system are neither moved nor deleted.
O-QIS - Monitoring loads the number of DFX files specified in the "Max. number of DFX files to load" parameter at startup.
In live mode, the files created by the writing system are reloaded.
Old DFX files are not deleted or moved. It is therefore advisable to delete files that are no longer required cyclically, depending on the number of files.
This can considerably delay the program start in the case of a large number of files.
Since the current files must always be determined first.
Delete old DFX files
When the program is started, the current files are first determined and loaded depending on the number of "max. number of DFX files to be loaded".
All older DFX files are deleted, except for the number specified under "Leave n DFX files".
Move old DFX files
When the program is started, the current files are first determined and loaded depending on the number of "max. number of DFX files to be loaded".
All older DFX files are moved to the specified target directory. The number of files specified under "Leave n DFX files" is not moved.
Merge DFX files
If you have activated the "Move old DFX files" option, you can choose whether the individual DFX files are to be combined into one DFX file.
The created DFX file receives the same file name as the oldest DFX file to be moved or the oldest DFD file to be moved.
Thus one receives again a file pair belonging together from DFD and DFX file.
All now following DFX files to be moved are appended to the current DFX file in the specified directory, until again a DFD file is moved.
|
NOTE: |
The moved data sets should be removed in certain time intervals. With the number of files the time needed for the moving process increases. The removal of the data set can be done e.g. by the automatic database upload. |
Keep n DFX files
Here you specify how many of the DFX files should remain in the directory.
This specification should be at least as large as the max. number of DFX files to be loaded.
Max. Number of DFX files to open
Here you specify the maximum number of measured value files to be loaded when the program is started.
This setting is an optimization option to speed up the program start if no option to remove the files that are no longer needed has been selected.
9.4.4 Path settings
Target directory
If a move of the files has been selected, this field is activated and the target directory to which the data sets are to be moved can be stored.
Number of increments for path name
In order to obtain a clear structure of the target directory, you can specify how many levels (subdirectories) are to be transferred from the source path to the target directory.
9.5 Extended settings
9.5.1 Editing of the data
Data comparison with database
If you have activated the database comparison, the software checks at the program start whether the part to be visualized already exists in the database.
If this is the case, the header data is compared again with the data available in the monitoring database after reading in and modified accordingly.
Beforehand, the correspondingly prepared data set must have been opened and initially saved with the menu item "Save" in monitoring database.
|
NOTE: |
There are no measured values in the monitoring database, and only rudimentary columns of header data. The comparison always takes place using the key fields K1001/K1002/K2002/K2002. The comparison of the header data with the monitoring database should only take place in the project in which the required columns are also created. |
Calculate logical operations for characteristics
This calculates and visualizes characteristics that contain a logical operation formula.10 Add more monitoring objects
After creating the first test plan with the first monitoring object, additional monitoring objects can be added to the test plan.
Each monitoring object can have individual settings and can be configured autonomously from the other monitoring objects.
Adding further monitoring objects always starts again via the wizard.
Adding can be done either via the file menu (add data sources) or directly in the data sources via right click:

11 Monitoring Designer
Only the basic functions in the Monitoring Designer are described here. It is basically assumed here in this FAQ that three levels (part/characteristics and measured value level) are available.
It is possible to create additional levels of your own, which can be accessed manually.
However, this is not part of this FAQ.
The Monitoring Designer is launched from the START tab:

After calling the monitoring designer, the used graphic configuration file must be opened via Load.
|
NOTE: |
Why there can be several graphic files will be explained later. |
11.1 Basic graphics settings
On each of the three levels there is a hierarchy of dependencies.
On the delivered graphics files, this starts with the alarm panels on the part and feature level.
All other graphics here are dependent on the leading graphic.
The default of the parent graphic is done per graphic via right-click.


This means:
If a part is clicked on the parent graphic, all child graphics change to that part.
This is done accordingly at the other levels.
11.2 Add new graphics
On all layers a new element can be added via right-click.

Here, care must be taken that the inserted elements fit the corresponding level.
Overview graphics for the part level, single feature graphics for the feature level.
Depending on the intended use, the pasted graphic must then be assigned to a parent graphic via right-click.

11.3 Allocation graphics to parts / characteristics
Graphics are only assigned to parts or characteristics if they are not allocated to a superordinate graphic.
With an assignment, a graphic is firmly designed for defined characteristics and no longer follows the "superordinate graphic".
With the right mouse button on a graphic the assignment can done:

|
NOTE: |
Not every assignment can be performed for all graphics. allocation to "All parts" is reserved exclusively for alarm panels and is therefore not described further here. Even though the allocation dialog shows the same options for all graphics, only certain assignments are possible per layer. These will be explained in the next chapters. |
11.3.1 Allocation for single characteristic graphics
First of all the note: The allocations have no effect in the designer! The result can only be seen after saving the graphic file.
Explained using the value chart as an example:
All characteristics in the list

The corresponding characteristics are then displayed, automatically arranged according to the size of the graphic.

For a characteristic, relative or consecutive addressed

This allows you to define a fixed characteristic per graphic based on the characteristic number.
11.3.2 Assignment for overview graphics
All characteristics of the part
All characteristics of the part are shown.
All characteristics in the list

Sequential characteristic numbers can be assigned here, separated by a comma.
Only the corresponding characteristics are then displayed.

11.4 Dependencies from test plan to graphic file
While there should be only one test plan file, multiple graphic files (GraphicObj.xml) can be created.
The reason for this is that each test plan can get its own graphic file. As an example the list of test plans:

After opening a test plan, it can be assigned its own graphic file. This is done within the configuration:

11.4.1 Assigning graphics to a monitoring object
If a test plan has been assigned its own graphics file, the following can be done when configuring this graphics file.
In the monitoring designer, after loading a graphic file, the corresponding test plan is loaded. The corresponding test plan.xml file is then selected.

Now the desired test plan must be selected.


Now the assignment of a graphic to a monitoring object is also available in the assignment to parts and characteristics:

|
NOTE: |
This is used when several monitoring objects are to be visualized at fixed locations within a graphic file. |
12 Monitoring - Settings
Basic settings can be made in the monitoring settings.
Here in this FAQ only the most frequently used settings are explained. Special settings can be made and explained only in projects, because each of the other settings depends on all test plan settings.
The monitoring settings can be found under File | Configuration | Other settings.
12.1 Test plan

Open last test plan at start
With this option, the test plan that was active when the monitoring was last terminated is automatically loaded when the monitoring is started.
Automatically save changes to test plan
An option for experienced users. Changes to the test plan are automatically saved.
Program always in the foreground
With this option, the monitoring will be displayed in the foreground during each update.
Actualization after program start
With this, after starting and opening a test plan, the update is performed directly, regardless of the update settings.


