user manual webaccess/mcm

98
User Manual WebAccess/MCM

Upload: others

Post on 30-Jul-2022

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: User Manual WebAccess/MCM

User Manual

WebAccess/MCM

Page 2: User Manual WebAccess/MCM

CopyrightThe documentation and software included with this product are copyrighted 2018 toAdvantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right tomake improvements on the products described herein at any time without notice. Nopart of this manual may be reproduced, copied, translated, or transmitted in any formor by any means without prior written permission from Advantech Co., Ltd. The infor-mation provided in this manual is intended to be accurate and reliable. However,Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringement ofthe rights of third parties, which may result from its use.

Advantech Customer ServicesEach and every Advantech product is built to the most exacting specifications toensure reliable performance in the harsh and demanding conditions typical of indus-trial environments. Whether your new Advantech equipment is destined for the labo-ratory or the factory floor, you can be assured that your product will provide thereliability and ease of operation for which the name Advantech has come to beknown.

Your satisfaction is our primary concern. Here is a guide to Advantech’s customerservices. To ensure you get the full benefit of our services, please follow the instruc-tions below carefully.

Limited WarrantyAdvantech makes no warranty that the Web Access/MCM software package will workwell in any hardware/software environment.

Advantech disclaims any warranty with respect to the contents of this manual, espe-cially the internal warranty for any special purpose.

Advantech assumes no responsibility for use of this manual, nor for any infringe-ments upon the rights of third parties which may result from such use.

All rights are reserved. Advantech Co., Ltd. reserves the right

to make modifications in the products described in this manual at any time without

notice.

Technical SupportWe want you to get the maximum performance from your products. So if you run intotechnical difficulties, we are here to help. For the most frequently asked questions,you can easily find answers in your product documentation. These answers are nor-mally a lot more detailed than the ones we can give over the phone.

So please consult this manual first. If you still cannot find the answer, gather all theinformation or questions that apply to your problem, and with the product close athand, call your dealer. Our dealers are well trained and ready to give you the supportyou need to get the most from your Advantech products. In fact, most problemsreported are minor and are easily solved over the phone.

In addition, free technical support is available from Advantech engineers every busi-ness day. We are always ready to give advice on application requirements or specificinformation on the installation and operation of any of our products.

Part No. 2001WMCM30 Edition 1

Printed in Taiwan September 2019

MCM User Manual ii

Page 3: User Manual WebAccess/MCM

Contents

Chapter 1 Overview...............................................11.1 Product Introduction .................................................................................. 2

1.1.1 Introduction ................................................................................... 21.1.2 WebAccess/MCM (Machine Condition Monitoring) ...................... 3

1.2 Installation Conditions and User Guide..................................................... 51.2.1 Installation Suggestions ................................................................ 51.2.2 Installation Process....................................................................... 5

Chapter 2 Measurement Configuration Intro......72.1 Create A New Project................................................................................ 82.2 Introduction of Measurement Analysis Mode .......................................... 162.3 Introduction of Data Storage ................................................................... 172.4 UI Introduction......................................................................................... 18

2.4.1 Login Page and Toolbar.............................................................. 182.4.2 Waveform Acquisition ................................................................. 21

2.5 Project Management and User Permission............................................. 242.6 Introduction of Pre-processing and Algorithm ......................................... 26

2.6.1 Time Domain Pre-processing ..................................................... 262.6.2 FFT and DFT .............................................................................. 272.6.3 Frequency Domain Pre-processing ............................................ 282.6.4 Feature Extraction and Feature Value ........................................ 31

2.7 Action Process ........................................................................................ 332.8 Output Control......................................................................................... 342.9 Dashboard............................................................................................... 35

2.10 Activate WebAccess/MCM...................................................................... 37

Chapter 3 Introduction of Measurement Analysis Mode39

Chapter 4 MCM Catcher (WOGenerator and Worker) for Data Storage51

4.1 Installation of Catcher Products .............................................................. 524.2 Basic Operation Process of Catcher ....................................................... 544.3 Catcher User Guide ............................................................................... 544.4 Worker Generator User Guide ................................................................ 65

4.4.1 CSV Format ................................................................................ 654.4.2 txt Format.................................................................................... 76

4.5 Worker Usage Guide............................................................................... 784.6 Catcher FAQ ........................................................................................... 79

Appendix A Algorithm Library ..............................83A.1 Time Domain Preprocessors................................................................... 84A.2 Frequency Domain Preprocessors.......................................................... 86A.3 Feature Value List ................................................................................... 87A.4 Available Formula and Operators ........................................................... 91

iii MCM User Manual

Page 4: User Manual WebAccess/MCM

MCM User Manual iv

Page 5: User Manual WebAccess/MCM

Chapter 1

1 Overview
Page 6: User Manual WebAccess/MCM

1.1 Product Introduction

1.1.1 IntroductionPredictive and preventive machine maintenance have become indispensable parts ofIndustry 4.0. Machine condition monitoring (MCM) systems upgrade consumablesand replace damaged parts, as well as perform periodic maintenance activities, initi-ate preventive maintenance, and even permit predictive maintenance. This preventssituations in which machines are halted without warning which causes unwantedoverheads.

Machine Condition Monitoring

To enable preventive machine maintenance, a series of processes and analysesmust be carried out so that converted collected sensor data contains useful informa-tion that predicts the health condition of machines and crucial elements. Sensor gen-erated signals undergo the following process in the machine condition monitoring(MCM) system:

Data Acquisition: Defines the data acquisition triggering conditions, number of chan-nels, amplification, sampling rate, and conversion of physical variables. These con-figuration parameters will be written into data acquisition modules.

Time Domain Preprocessing: Processes the captured raw data and optimizes signalqualities, making the algorithm more accurate.

Frequency Domain Preprocessing: An optional processing step that converts timedomain data to frequency domain data for fine optimization of signal qualities.

Feature Value Extraction: Calculates processed data with the selected algorithm andextracts feature information, which already has meaning (e.g. the RMS values duringa certain period, or energy magnitude and frequency of vibration), from a large seg-ment of continuous time domain or frequency domain data.

Interpretation: Interprets extracted feature information and makes decisions.

Output and Communication: Sends out feature and decision messages using net-work communication protocols or digital/analog signals to connect with control con-sole or other control modules.

Please refer to the specific process below:

MCM creates a configuration page for each processing procedure, acquires real-timedata, displays the results of each configuration, and eventually guides the user toimplement a configured application.

MCM User Manual 2

Page 7: User Manual WebAccess/MCM

Chapter 1

Overview

1.1.2 WebAccess/MCM (Machine Condition Monitoring)WebAccess/MCM is a Machine Condition Monitoring software that extracts usefuldata after massive data computing, which enables machine condition visualization,controls crucial element lifetimes, analyzes and optimizes production lines via mas-sive data recording, and reduces downtime while maximizing machine productionbenefits, which at the same time reduces machine maintenance cost and enhancesmachine safety.

Apart for predictive and preventive maintenance, MCM is also suitable for measuringproducts of the product line, especially in measuring time related serial signals suchas vibration, sound, discharging and waveforms. MCM features various built-in func-tions, including waveform processing, time frequency conversion and feature valueextraction, defines data processing procedures as configured, captures and analyzesdata at real-time, sends out checking results by way of standard communication orsignals, and integrates the results into the whole SCADA system. It complements thedefects of systems (e.g. SCADA) which are unable to handle high-speed continuouswave forms.

In the MCM system architecture, every data acquisition module is independent,which ensures safely that every module can be restarted by the system. Highly inde-pendent functions and modules can be added without backtracking modifications. Itis highly flexible so that the same architecture is suitable for both centralized and dis-tributed structures. Meanwhile, the server can retrieve the data and processing onthe edge, as well as build the architecture which is the same as that on the edge. Thesoftware can be flexibly integrated with the Client/Server or P2P.

WebAccess/MCM supports three kinds of application modes:

Measurement Analysis: Helps the user to analyze signals by simulating the oscilloscope. It provides simulated oscilloscope functions, including cursor mea-surement tools, panning and zooming, and triggering and retrieving functions, which enable easy interpretation of vital information. Automatically measures the amplitude values, average values, peak-to-peak values and frequency, and displays time domain data, spectrum data, and other related feature values.

Intelligent Inspection: Enables the user to capture signals after parameter con-figuration is completed via UI page, implements condition interpretation for cal-culated results (e.g. average voltage value and RMS value), filters defectives by setting high and low limits for interpretation, uploads measurement results and generates quality inspection reports for automated inspection systems.

Machine Condition Monitoring: Monitors machines, converts a large amount of data into a single piece of useful information via real-time calculation, and pro-vides various data preprocessing algorithms, such as Crest factor, Kurtosis, Skewness, Harmonic, Shape Factor, Impulse Factor and Clearance Factor. Meanwhile, it provides customized feature algorithms and transmits data to the cloud via EtherNet communication protocol for on-line device condition monitor-ing, data analysis, and machine learning.

The application modes above are implemented by the following functions in WebAc-cess/MCM:

No Coding Required: All configurations are completed on UI pages without any soft-ware programming. This helps cut down investment in development resources andaccelerates new project implementation.

Spectrum Analysis: Displays real-time domain and frequency domain analysischarts of data as well as calculated feature values. Assists analysis by providinganalysis tools, and enables the user to figure out the key features on the machine inthe modeling stage more quickly.

3 MCM User Manual

Page 8: User Manual WebAccess/MCM

User and Device ID Verification: The built-in ID verification function of the softwarecan limit the account with which the user can view and change system data andparameters according to different permissions.

Data Pre-processing: This function enables signal optimization and features timedomain pre-processing, including moving average, weighted moving average andFIR filter that supports common filter types such as high-pass, low-pass, band-passand band-stop. In frequency domain, its functions include filtering as well as filteringdirect current.

Feature Extraction: Core technology that provides a large number of algorithms.Because there is a huge amount of dynamic signal data collected by the card, dataprocessing must be completed at the edge, and only the calculated results or keyfeature values should be uploaded. This function provides various feature algorithms,including Max, Mean, Median, Min, RMS, Pulse Width, Pulse frequency, Time ofMax/Min, FFT frequency, Crest factor, Kurtosis, Skewness, Harmonic, Shape Factor,Impulse Factor and Clearance Factor, which will continue to increase.

Interpretation and Output: Provides simple configuration for mathematics, bitwiseand logic operation of feature values, and performs interpretation and output accord-ing to the operation result. This function enables the user to monitor device healthstatus via the comparison between upper and lower limits, and can output communi-cation or hardware signals for notification or emergency action.

Data Storage: A large amount of raw data or feature values can be stored locally fordata searching, comparing and displaying.

Support for Synchronous Operation of Remote and Local Terminals: If MCM isinstalled on multiple devices, the same data and computing analysis will be availablefor both remote and local terminals. The operation status at the edge could also bechecked remotely.

Upload to the Cloud: Uploads data to the cloud via EtherNet communication proto-cols, such as Modbus and MQTT.

There are three programs in MCM: Viewer, WOGenerator and Worker (WOGenera-tor and Worker are collectively referred to as Catcher). Viewer, the core of the entireMCM, is responsible for configuration including project management, card parameterconfiguration, time domain pre-processing, frequency pre-processing, feature valueextraction, interpretation and output, which will be introduced later. Meanwhile, theuser can search for the edge device, search for the device existing in the same net-work via LAN, or configure related settings by entering the IP directly. What's more,Viewer supports user management, operation management and operation display-ing.

Catcher aims at acquiring feature values remotely and storing according to a user-defined storage strategy, including file formats and field formats as user-specified file.In this way, the user can collect data from different edge devices, combine data fromdifferent sources, transfer data and re-arrange time scales, storing data in standardfile formats. First, the user has to define the feature and file storage strategy withWOGenerator in order to generate a work order file.

Next, load a work order file with Worker to acquire the feature and save it as a file.

MCM User Manual 4

Page 9: User Manual WebAccess/MCM

Chapter 1

Overview

1.2 Installation Conditions and User Guide

1.2.1 Installation SuggestionsMCM provides an installation package for deploying the Server, the Viewer and thedata capturing and transferring terminal. The user can choose the package accordingto actual deployment requirements. This Waveform Factory Framework deploys andinstalls files required by MCM Server on your slave machine system. The CMS mod-ule deploys files required by MCM Viewer on your master system. The Viewer ismainly used to operate, configure and manage the slave machine and slave machinedevices. The Catcher module contains two tools: WO Generator and Worker. Gener-ator configures channel information, feature information and the format to be stored,while the Worker stores data and transfers data to the cloud. For data storage, it'srecommended to install the Catcher on the master machine system, because it canmanage, integrate and store the information of multiple slave machines. For transfer-ring data to the cloud, it's recommended to install the Catcher on a slave device, sothe Worker can send data to the cloud via MQTT. This installation package is alsosuitable for Windows systems of Windows 7 and Window 10 32/64 bit.

Please choose the module according to your deployment requirements. The user canalso install installation packages of the Framework, the Client and the Catcher on thesame machine.

1.2.2 Installation Process Run the installation package and select the target installation path. Click "Next" tocomplete Server installation. The default path is: C:\Advantech. Of course you canchange the installation path.

After the installation is completed, click "Finish" and the corresponding content ofMCM will be installed and initiated.

5 MCM User Manual

Page 10: User Manual WebAccess/MCM

MCM User Manual 6

Page 11: User Manual WebAccess/MCM

Chapter 2

2 Measurement Configuration Intro
Page 12: User Manual WebAccess/MCM

2.1 Create A New ProjectAfter you have completed the deployment and installation, you can start to use MCMservices to create a project and set configurations according to specific require-ments.

1. Click Start->Advantech MCM-> WebAccessMCMView.exe, or directly run WebAccessMCMView.exe which is located in the default path C:\Advan-tech\MCM\Explorer\View.

2. Run WebAccessMCMView.exe, all machines existed within the current LAN will be searched and listed on Start Page. Except for automatic searching, MCM also supports the user to enter the IP address of the salve machine manually. If the master machine you'd like to control is not listed, you can manually enter the IP address of the slave machine and click Add to add it to the list.

MCM User Manual 8

Page 13: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

The default admin permission would allow full control of the MCM. Click the slavedevice to create new slave monitoring project. If the desired slave device isn't listed,click the "+Add" button on the up-right side to add it in by searching the network orkey-in the IP address. The log-in ID/password should be input in order to taking thecontrol. By default, the password of all identities are "123456".

3. Discrete Input: This page shows the configurations mainly for discrete data acquisition. All of the data acquisition devices of the current slave machine can be automatically enumerated on the Device Configure list. Users can choose and switch devices for specific requests, and set basic property parameters for acquisition. You can select Polling or Event on Data define page. Polling can be used for discrete data acquisition by analog input or digital input, with Settings as configuration parameters correspondingly. On Pushed tag, Events can be chosen as the triggering condition of the acquisition, with functions such as Interrupt, Status Change and Pattern Match being the judgments. Once the con-ditions are met, discrete data will be acquired. The Calculator mentioned here is the same as the Calculator introduced later. It can calculate subscribed discrete data or feature value, or take these data as the index to directly implements data transmission, input condition or controlling operations. External signals can be used for Processing to control start or end condition, while the index of Calcula-tor can be used as the control condition of start and stop. However, the user should confirm if the control can be actually enabled while the conditions are met, or else no data will be collected. Please refer to subsequent chapters for details.After the input configuration is finished, click ">>" at the bottom right to jump to the Waveform Acquisition page.

9 MCM User Manual

Page 14: User Manual WebAccess/MCM

4. Continuous Input: This page shows the configurations of time series data acqui-sition. All of the high-speed data acquisition devices of the current slave machine can be automatically enumerated on the Device Configure list. The user can choose the device and set basic property parameters for acquisition, including setting Data Section (section size for each calculation), Clock Source and Clock Rate, ticking and enabling acquisition channel, and configuring chan-nel parameters such as ConnectionType and ValueRange. The signal waves acquired by the currently enabled channel will be demonstrated in different default curve colors. The display zone will dynamically deploy the display range of X axis and Y axis according to different measurement range settings, or set configurations using tools beside the display box. Click "One shot" (acquisition of one section) or "Free Run" (continuous acquisition) at the bottom to start data acquisition.Note: If you need to set multiple acquisition channels with same configurations at the same time, hold "Shift" and select multiple channels in the blank area beside channel Configuration. Then click at the Configuration settings of a chan-nel, and the other selected channels will be configured with the same settings, thus multiple channels are configured at the same time.The configuration for other parameters, such as Trigger, can be set on the con-figuration page by clicking "Advanced Configuration".After the acquisition configuration is finished, click the ">>" symbol at the bottom right to jump to the Time domain Pre-processing page.

Note! The discrete analog input and Waveform Acquisition (time series data acquisition) functions cannot be used simultaneously. Only one of them can be enabled at the same time.

MCM User Manual 10

Page 15: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

5. Time Domain Pre-process: This page shows the configurations for selecting the built-in time domain pre-processing algorithm in MCM for the specified channel and configure the corresponding parameters. Results of data processing will be displayed in the area of Display After Time Domain Preprocessing in real-time. You can directly view the original signal collected by the current channel and the results processed by time domain pre-processing algorithm. Here, MCM pro-vides moving average and weighted moving average, and the FIR filter, which supports common filtering types (high-pass, low-pass, band-pass and band-stop), utilizes the Butterworth parameter that is popular in the industry and sup-ports settings ordered by the parameter. Comparing to frequency domain filter-ing, time domain filtering can rapidly filter noises from signals because of its special calculation method. You could choose the filter and modify the parame-ters according to your request, and do a quick comparison of processed results.The measurement channels of the current device will be listed below the win-dow interface. The user can select the channel and choose the pre-processing algorithm to be added in Preprocessing Method box on the right. After the selec-tion, click "One shot" or "Free run" to gain data.After the time domain pre-processing configuration is finished, click the ">>" symbol at the bottom right to jump to the Frequency Domain Pre-processing page.

11 MCM User Manual

Page 16: User Manual WebAccess/MCM

6. Frequency Domain Pre-processing: After the original signal is processed in the time domain, it will be processed in the frequency domain. MCM will automati-cally select FFT or DFT according to acquisition configurations, and convert time domain signals to frequency signals. For frequency domain pre-process-ing, MCM supports filtering including low-pass, high-pass, band-pass and band-stop types. Apart from filtering, it also supports Remove DC offset and window-ing processing with the window function Hann Window, 4-term Blackman-Harris Window and 7-term Blackman-Harris Window. These functions can be added in the box of the channel selection below the window. If you've chosen Remove DC or windowing processing, the display area of the frequency domain pre-pro-cessing will show the real-time signal processed in the time domain, or the dis-tribution of frequency and energy transferred to frequency domain via FFT/DFT after Remove DC. If you've selected filtering during frequency domain pre-pro-cessing, you can directly view the results after filtering.The measurement channels of the current device will be listed below the win-dow interface. The user can select the channel and choose the pre-processing algorithm to be added in Preprocessing Method box on the right. After the selec-tion, click "One shot" or "Free run" to gain data.After the frequency domain pre-processing configuration is finished, click the ">>" symbol at the bottom right to jump to the Feature Extraction page.

MCM User Manual 12

Page 17: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

7. Feature Extraction: On this page, you can review the processed results of origi-nal acquisition signal after time domain pre-processing and the frequency-energy distribution diagram after frequency domain pre-processing by real-time update. You can select the feature value calculated from the time domain or fre-quency domain data stream, and these selected feature values will be shown in the following table real-timely. At present, there are 23 available calculated val-ues: Mean, Y of Maximum, Y of Minimum, Peak-to-peak, Median, RMS, Positive Pulse Width, Negative Pulse Width, Positive Duty Cycles, Negative Duty Cycles, X of Maximum, X of Minimum, Frequency, Standard Deviation, Vari-ance, Coefficient of Variation, Kurtosis, Skewness, Crest Factor, Range of Max-imum, Local Maximum, Local Minimum and Percentile. For details of feature definition and configuration, please refer to subsequent chapters.After the feature extraction configuration is finished, click the ">>" symbol at the bottom right to jump to the Calculator page.

13 MCM User Manual

Page 18: User Manual WebAccess/MCM

8. Calculator: In real application scenarios of measurement and control configura-tion, sometimes it's necessary to do condition judgment for signal's feature or to define complicated expressions, so that when the conditions of a certain feature of the signal is met, the corresponding decision should be made, e.g. the corre-sponding processing will be enabled when the average is larger than a certain condition value. This is exactly the usage of this page. On this page, the selected feature value is used as the variable to generate Condition index expressions with built-in mathematics operator, comparison operator, logical operator and built-in functions. Please refer to Appendix A. for detail information for available formula and operators.After the Calculator configuration is finished, click the ">>" symbol at the bottom right to jump to the Output page.

9. Output: MCM provides two types of output, which include Modbus and AO/DO. DAQNavi or Modbus can be selected according to the Transport type. Output provided by MCM supports Modbus protocol that you can output the results of the Index defined on the Calculator page through Modbus protocol. Since it sup-ports Modbus address settings, you should manually input the value type range.For AO/DO output of DAQNavi, the Index's results of Logic type will be output by acquisition boards with AO/DO capability. MCM will do automatic inspection and list available AO and DO channels on the Advantech acquisition board in the slave machine.You can choose a channel as the output channel of the Index, e.g. if the Index is set to true, it corresponds to DO output, or when the Index is set to "True", a voltage value will be output via AO channel. After the Output configuration is finished, click the ">>" symbol at the bottom right to jump to the Display page.

MCM User Manual 14

Page 19: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

10. Dash Board.

After the configuration is completed, click Device->Save project to save the set-tings as the MCM function. Of course, you won't be allowed to advance to Mea-surement Control if the project isn't saved. After you save the settings, you canswitch to Measurement Control/Run page. Click the play icon to run the sce-nario. If you need to re-configure the scenario process, click Device->Measure-ment Control/Configure and choose the project to switch to the configurationscenario, then modify and save the configuration. You can also enter a new proj-ect name here to create a new measurement control configuration project andsave it, or choose an existing project in the drop-down list to open another mea-surement control configuration project and modify the settings.

The permissions Admin, Manager, and Monitor are strictly managed in MCM.During the same period of time, if the Admin is configuring the measurementcontrol scenario on the slave machine, then the Manager and Monitor can notlog in. If the slave machine is running the Measurement Control Run scenario,then multiple Monitors can log in at the same time (but the Monitor account mustbe different).

15 MCM User Manual

Page 20: User Manual WebAccess/MCM

2.2 Introduction of Measurement Analysis ModeThis mode is designed to simulate a oscilloscope. The way managing the software issimilar. You can follow the below procedure to configure:

1. Click "..." on the right top to choose the card to acquire data from.

2. Set the plot number to display.

3. Set if the cursor is available.

4. Click "OK" to complete the configuration and start the analysis.

MCM User Manual 16

Page 21: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.3 Introduction of Data StorageAfter a WebAccess/MCM configuration is finished, you can save the data you caughtby the Catcher. It supports .txt and .csv formats. On top of that, saving raw data(streaming data) is also supported. Here are the brief steps for setting the data log-ging. For detailed procedure, please refer to Chapter 4.

1. Edit the contents to be recorded down in WebAccessMCMWOGenerator, includingdata, headers and logging strategies etc.

2. Save the project (.wo) after the configuration is finished.

When the Generator has been configured and saved, run WebAccessMC-MWorker.exe and select the specified wo file. Click "Start" and the Worker will start tocollect data according to the rule configured in Generator until you click "Stop". Thestorage will be completed after the file storage path and file name are shown.

17 MCM User Manual

Page 22: User Manual WebAccess/MCM

2.4 UI Introduction

2.4.1 Login Page and Toolbar

Start Page:

1. Slave machines are automatically enumerated in MCM2. Manually enter the IP address of a slave machine and click Add to add it to

salve machine list.

Measurement Control Configuration main page.

MCM User Manual 18

Page 23: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

1. Menu: Device, View, Manage. Device: Switches operation mode, creates a new project, opens an existed proj-ect, and saves the project.

Item Name Descriptions

Measurement Analysis Measurement analysis (reserved)

Measurement Control: Configure Measurement control configuration

Measurement Control: Run Measurement control run

19 MCM User Manual

Page 24: User Manual WebAccess/MCM

View options: Selects the view mode for multiple Viewer windows. You can open aViewer by clicking "New View" to select and manage another slave machine. MultipleViewers can be configured via the View menu, which supports independent, horizon-tal, vertical and stacked arrangements.

2. Page guide bar: After the configuration of all pages have been finished in the measurement control configuration scenario, click on the page button of the guide bar to jump to a corresponding page. For a newly created project, the fol-lowing configurations must be completed: acquisition page, time domain pre-processing, frequency domain pre-processing, feature extraction, characteristic polynomial definition, as well as output and display page. Before the configura-tion is finished, the page button of the guide bar will remain disabled.

3. Message: Shows two kinds of MCM messages. One is messages about acquisi-tion events, such as Stopped and ConvStopped events; the other is message events defined in MCM, such as WfstreamOverrun.

4. "<<", ">>": symbol is for switching pages to previous or next.

Item Name Descriptions

Create a New Window Creates a new Viewer window.

Side by side display Arranges the Viewer horizontally.

Overlapping display Arranges the Viewer stacked.

MCM User Manual 20

Page 25: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.4.2 Waveform AcquisitionThe Continuous Input page allows users to select configuration parameters, such asstart channel, channel count and sampling rate, for the specified slave machine. Atthe beginning of the project it’s empty. Users should choose at least one device tostart with. Click "+" and all the devices will be listed. Check the box to select a deviceto add the channels in and also set the parameters on the panel.

1. Settings of basic acquisition parameters.

Button Name Descriptions

Conversion Clock Source

Converts clock source.

Clock Rate Sampling rate.

Data section SectionLength of DAQNavi, which determines how many samples should be sampled before sending a DataReady event to the user.

Trigger Setting

21 MCM User Manual

Page 26: User Manual WebAccess/MCM

2. Settings of advanced acquisition parameters.Advanced Configuration mainly sets Trigger and Temperature related parame-ters. Click "..." and the following window will pop up.

For acquisition cards which support Trigger function, the Trigger related parameters,including Trigger Source, Trigger Action, Trigger Edge and Trigger Delay ClockCount and Trigger Hysteresis, will be configured in this interface. The parameters onthis page correspond to DAQNavi properties.

MCM User Manual 22

Page 27: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

3. Legend of the selected channel.The channel listed can be selected by checking the box. The related properties, including plot color can be changed in the settings.

4. Settings of the acquisition channel.Remotely configure properties of acquisition channels. Properties not supported by the device will be greyed out by default.

The following table introduces the content and meaning of each configuration option.

Button Name Descriptions

Connection Type Connection type: single-ended/differential

Value Range Value rage. ValueRange supported by the device will be automati-cally enumerated in the drop-down list.

Coupling Coupling mode: AC-Coupling and DC- Coupling, which are sup-ported by PCIE-1802 / PCIE-1840 only.

IEPE Supported by PCIE-1802 / USB-5801 only.

Impedance Impedance. Supported by PCIE-1840 only.

Filter Type Filter type.

CutoffFreq The left cutoff frequency.

CutoffFreq1 The right cutoff frequency.

23 MCM User Manual

Page 28: User Manual WebAccess/MCM

2.5 Project Management and User PermissionProject is used to set MCM module configuration, connection configuration and datastream display modes. There is a measurement control configuration project, a mea-surement control run project, a record playback project, and a measurement analysisproject. At present, MCM has enabled measurement control configuration project andmeasurement control run project. The master machine user with Admin permissioncan create a new measurement control configuration through the, "Create New Con-figuration" option in the File menu. After configuration, click "Save" on File menu tosave the project with the specified name, and click "Open Existed Configuration" onthe File menu to load an existed project for re-configuration. Multiple measurementcontrol configuration projects can be created on a slave machine. When the user logsin as Admin, the project saved and closed previously will be loaded by default. Whenthe user logs in as Manager, the saved measurement control run project and the pre-viously closed will be loaded by default. When the operation scenario is switchedfrom measurement control configuration to measurement control run, the currentmeasurement control configuration project will be converted to a measurement con-trol runtime project.

The service manager of the slave machine in MCM arranges permissions, includingAdmin, Manager and Monitor, for the master machine according to the user nameand password provided by the master machine.

Admin has the highest permissions that can create a new project, modify an existingproject configuration, change the running mode of the slave machine, start running,as well as create, delete, and modify user information.

Manager can open an existing project and start or stop running, but cannot create anew project or modify the configuration of an existing project.

Monitor can only view the current running status.

To conclude:

Property Name

Operation Permission of User Management

Permission of Project Man-agement

Admin 1. Add a user.2. Delete a user.3. Modify user information, e.g. modify

account password. 4. View account information, e.g. view

account password.5. Completely control slave machine

management / logoff management

1. Create a new project.2. Modify configuration of

an existed project.3. Open an existed project.4. Switch the scenario.5. Run/Stop a project.6. View the running status.

Manager Slave machine management / logoff man-agement

1. Open an existing project.2. Run/Stop a project.3. View the running status.

Monitor Slave machine management / logoff man-agement

View the running status.

MCM User Manual 24

Page 29: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

These three permissions are illustrated with operation scenarios as below:

1. If the current slave machine is operated in measurement control configuration process by a Admin, then the machine can't be operated by any Manger or Monitor. When you select "Manage" for the slave machine on the Start page, click OK, a notification message will pop up.

2. If the current slave machine is operated in Measurement Control Run status by an Admin, then when the user who logs in as AdvManager tries to manage the slave machine, a Failed message will pop up. However, the Monitor can log in and view the Run status, and multiple Monitors can log in at the same time.

3. If the current slave machine is operated by a Manager, then other users can't log in as a Manager. However, users can log in as a Monitor to view the status. If the project is running, then the Monitor can view the running status and see "Project Running"..

4. For a slave machine during measurement control configuration operation, it can only managed by one Admin at the same time. For a slave machine in measure-ment control run status, one Admin and multiple Monitors, or one Manager and multiple Monitors, can log in at the same time.

25 MCM User Manual

Page 30: User Manual WebAccess/MCM

2.6 Introduction of Pre-processing and Algorithm

2.6.1 Time Domain Pre-processingTime domain pre-processing will collect original data streams from the acquisitionmodule and differentiate them as Scale Data for each channel. Currently, there arebuilt-in pre-processing algorithms for the user to select. The page and configurationmethod are as follows:

1. The plugin selection is not available yet, and the user can use the self-made time domain pre-processing algorithm as a plugin to load the MCM.

2. The channel list is the collection of channels checked on the acquisition UI.3. For algorithm collection, the default is None, that is, no algorithm processing is

performed. Click the drop-down list of pre-processing algorithms to select the required algorithm item, the required configuration parameters of which will be automatically listed in the field.When using, you have to select the channel first, and then select the pre-pro-cessing algorithm for the channel.

MCM User Manual 26

Page 31: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.6.2 FFT and DFTIn real application scenarios, the frequency distribution and the energy level can't bevisually recognized, but the signal analysis depends on frequency characteristics, soit is very important to process the signal. Therefore, the time domain signal is con-verted into the frequency domain by Fast Fourier Transform (FFT) or DFT (DiscreteFourier Transform (DFT) operation, and the information hidden in the time domainwaveform can be observed and found.

The MCM determines the algorithm (FFT or DFT&FFT) of conversion from timedomain to frequency domain by the current acquisition parameter status, and showsthe energy spectrum distribution map.

When switching from the time domain pre-processing page to the frequency domainpre-processing page, the energy spectrum distribution map, which demonstrates theresults of the FFT/DFT operation for the currently acquired signal, will be shown onthe Graph of the display area, wherein the abscissa is the frequency, the ordinate isthe power spectrum, and the unit is db.

27 MCM User Manual

Page 32: User Manual WebAccess/MCM

2.6.3 Frequency Domain Pre-processingAfter FFT or DFT operation, the signal processed by the time domain preprocessingalgorithm enters the frequency domain preprocessing stage. The following is the fre-quency domain preprocessing page interface:

1. Signal, Windowing and Remove DC options: Determines whether to perform a window operation on the current channel. If a window function is selected, then the result of FFT/DFT operation after windowing the signal of the channel that has been processed by the time domain pre-processing algorithm will be shown in the display area. Therefore, please notice the windowing process time domain signals. This option is on the frequency domain pre-processing page because of its special characteristics.

2. Algorithm and parameter configuration of frequency domain pre-processing: Currently frequency filtering is supported. The filter type can be selected from Low Pass, High Pass, Band Pass and Band Stop. The default type is High Pass.

Window Function

MCM User Manual 28

Page 33: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

When the sampled waveform does not contain an integer number of cycles duringthe sampling, spectral leakage occurs (the measured spectral energy leaks from onefrequency to another), so in the signal processing, windowing for the time domainwaveform can reduce spectral leakage.Discrete Fourier Transform (DFT) or FastFourier Transform (FFT) can represent a given signal as the sum of sine and cosine,which is the basis of spectrum analysis. When sampling for a non-integer number(e.g. 5.5) of cycles, since the FFT assumes that the data is a periodic repetitivewaveform, the spectrum returned by the DFT/FFT can be expressed as energy leak-ing from one frequency to other frequencies, which makes a high-frequency compo-nent that didn't exist in the original signal appear.

The MCM includes three built-in windowing algorithms: Hann Window, 4-term Black-man-Harris Window, and 7-Term Blackman-Harris Window. Windowing type isselected by the user according to the type of collected signals.

Filter

29 MCM User Manual

Page 34: User Manual WebAccess/MCM

Time domain filtering calculation can calculate quickly because of its computationalcharacteristics, but the filtering effect is not as effective as frequency domain filtering.Currently, frequency domain filtering is supported by the built-in plug-in of MCM. Thecurrent filter in frequency domain uses Butterworth filter coefficient. The filter typecan be selected from Low Pass, High Pass, Band Pass and Band Stop. The defaulttype is High Pass.

1. Frequency0 and Frequency1 are the cutoff frequencies. If the filter type is Low Pass or High Pass, the value of Frequency0 will be the cutoff frequency. If the filter type is Band Pass or Band Stop, the smaller value of Frequnecy0 and Frequency1 will be the lower cutoff frequency and the larger value of Frequnecy0 and Frequency1 will be the higher cutoff frequency. The range of Frequency0 and Frequency1 can be set as [1, ConvertClockRate/2-1].

2. Order is the filter order, the range of which can be set as [1,10].

MCM User Manual 30

Page 35: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.6.4 Feature Extraction and Feature ValueThe MCM divide feature puts data values into two types and provides two built-inplug-ins: frequency feature value plug-in, and time domain feature value plug-in,which has a set of time domain feature values and a set of frequency domain featurevalue respectively. The operation interface is as follows:

1. Plug-in list: Currently there is a time domain feature plug-in and frequency domain feature plug-in. When you switch the plug-in time, the corresponding feature value of the plug-in will be shown below for the user to select.

2. Signal option: List of all selected channels. Click on the selected signal and you can choose the feature focused by the signal in field 3.

3. Feature value option: You can select the desired feature which will be listed in field 4 and the value will be calculated in real-time.

4. The list of selected features and the corresponding values.

Feature ListThe following table introduces the name and the corresponding description of fea-tures provided by the built-in feature plug-in of MCM. There are totally 26 features oftime domain and frequency domain data streams.

Feature Name Description

Mean Calculates the average value.

Max Maximum of Y-axis.

Min Minimum of Y-axis.

Peak_To_Peak Peak-to-peak value (the absolute difference between the maximum and minimum of Y-axis)

Median After sorting the values, takes the value in the middle as the median.

31 MCM User Manual

Page 36: User Manual WebAccess/MCM

RMS The root-mean-square is the expression of the generalized mean of the power of 2.

Positive_Pulse_Width Positive pulse width (the time difference from the first rising edge to the first falling edge of the intercepted signal)

Negtive_Pulse_Width Negative pulse width (the time difference from the first falling edge to the first rising edge of the intercepted signal)

Positive_Duty_Cycles Positive pulse duty cycle

Negtive_Duty_Cycles Negative pulse duty cycle

X of Maximum The maximum value of X-axis data in a piece of data

X of Minimum The minimum value of X-axis data in a piece of data

Frequency Number of occurrences per unit of time

Standard Deviation Arithmetic square root of the variance

Variance The arithmetic square root of the variance is called the standard deviation of the random variable.

Coefficient of Variance The coefficient of variation of the data is the value obtained by div-ing the standard deviation of the data of the group by the average and then converted by percentage conversion.

Kurtosis The kurtosis measures the kurtosis of the probability distribution of real random variables.

Skewness Sample variance

Crest Factor The value obtained by dividing the amplitude of the waveform by the waveform RMS.

Range of Maximum Finds the maximum value within the specified range.

Local Maximum Finds the corresponding maximum value of the region from the input range.

Local Minimum Finds the corresponding minimum value of the region from the input range.

Percentile Percentile is a statistical term. Sorts a set of data from small to large and calculates the corresponding cumulative percentile.

Shape factor Root mean square value divided by absolute mean.

Impulse factor Peak value divided by absolute average.

Clearance factor Generally used to detect the wear and tear of mechanical equip-ment. If the enthalpy index does not change much, the ratio of the effective value to the average value increases, indicating that the gap increases due to wear, so the effective value of the vibration energy index increase faster than the average value, and the clear-ance factor also increases.

MCM User Manual 32

Page 37: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.7 Action ProcessWith mathematical operators, logical operators, comparison operators and built-infunctions provided by MCM built-in plug-ins, the user can edit the condition index bytaking the feature selected on the feature extraction page as the variable. The opera-tors and functions provided by the built-in plug-in are as follows:

The configuration UI is:

1. Editing field of Condition Index.

Click on the blank area with the left mouse button and a list will automatically pop upfor the user to select feature values, functions, decision characters, etc. A uniqueIndex symbol will be automatically assigned for each expression. When the expres-sion is being edited, the Index can be modified to a currently unoccupied number,and the Index type can be changed to Value or Logic.

2. List of added Index.The added expression can be deleted by clicking RemoveIndex, or modified by dou-ble-clicking. The name of the Index cannot be changed when modifying, but the con-tent and value can be modified. As for the added Index, the MCM will beautomatically driven to calculate the corresponding Index value, which will be dis-played in real-time for each data stream.

33 MCM User Manual

Page 38: User Manual WebAccess/MCM

3. Editing field of Index information.Edit the name and type of the Index. The MCM will automatically preset the Indextype according the its content. Users can also change the type according to theirrequests.

2.8 Output ControlFor Condition Index, the built-in plug-in of MCM supports Modbus protocol and AO/DO output control. The Index of either Value or Logic type can communicate withother modules via Modbus protocol. Logic type Index can be output via DAQNavi AO/DO. The following is the interface of Modbus output settings. You can modify theaddress, set Range to Low or High, and edit the unit.

1. Click "+" at the front of the row to add the output. 2. In the setting menu, set the corresponded data source, transport media then

select the media property. If it's through DAQNavi, the AO/DO can be set. On the other hand if it comes to Modbus, you can put the data into the addresses.

3. Click "OK" to complete the setting.4. Click "..." if you want to revise the property.

MCM User Manual 34

Page 39: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.9 DashboardConfigures the dashboard. The last configuration page of Measurement Control Con-figuration.

1. If this is the first time you’ve launched this page, you should add a panel first. Press the "Setting" at the upper-right corner and choose a desired screen size (shown as resolution) and other display settings. Press OK after the setting is done.

35 MCM User Manual

Page 40: User Manual WebAccess/MCM

2. Add chart component: press "+Add" in the upper-right corner and add the coor-dinate plot or feature list. Press Add as the setting is done, the components will be added in. Here are several plots to choose from:Rectangular Y Graph: Displays the selected data. You can't let time domain

and frequency domain data be shown on the same plot.Rectangular XY Graph: Draws selected X and Y data to generate a new plot.Polar Graph: Draws the data on the polar plot uniformly.Feature List: Lists all the feature values in the table for visual presentation.

The value can be selected to be shown or not in the data source. The content of the column can do the same configuration in Column Selection.

3. Set Plot position: the plot can be set in the following two waysDrag: Press the component itself to move the component directly. Move the

cursor to the edge of the component then press-drag to adjust the size of the component.

Enter the coordinate: Press "…" in the bottom-right corner of component then select "Layout", now the coordinate and size can be entered. The zero-basis is at the upper-right corner.

4. Fix the component position: Choose the option "Pin up" from "…" in the bottom-right corner to mount the component in the right position. "Unpinning" will cancel the mounting.

5. Preview: Setting > Preview to preview the result you just configured.6. Save: Device > Save Project to save all the configurations.

MCM User Manual 36

Page 41: User Manual WebAccess/MCM

Chapter 2

Measurem

entConfiguration

Intro

2.10 Activate WebAccess/MCMUsers have a 30-day trial after the software is installed. When the trial terminates, alicense should be entered otherwise, the software can't be used anymore. Followthese steps to enter the license code:

1. An internet connection is necessary for activating the software. The activation process will need to check necessary information then start the activation.

2. The license card should be close by you for confirming the code easily. A license card is sent to you as long as you purchase the software. If you do not have it, please contact our sales personnel for immediate help.

3. Switch the software to the device management page and click "+Add". Enter the license code in the right column then click on "Activate" to complete the pro-cess.

Note! If you fail to activate the software, follow these steps for troubleshooting:

1. Check if the code you entered is identical to the one you received on the license card.

2. Check if this license has already been used. The license can only be used on one machine.

3. Try activating again within a few minutes. If it still does not work, contact your local Advantech service.

4. If there are NO problems, please check UDP port 21549 is clear.

37 MCM User Manual

Page 42: User Manual WebAccess/MCM

MCM User Manual 38

Page 43: User Manual WebAccess/MCM

Chapter 3

3 Introduction of Measurement Analysis Mode
Page 44: User Manual WebAccess/MCM

Usually, during the modeling period, the equipment in the preventive maintenancesystem requires a tool to monitor the specific features that can be used to determinethe health of the device. This model is a tool designed for users to observe, buildmodel, analyze, and find key features. After the influential features have been figuredout by the analysis, the subscription and calculation of features can be implementedin Measurement Control Configuration.

After WebAccessMCMView.exe is executed, the user must log in as Admin to oper-ate in Measurement Analysis mode which will use all the functions of data acquisitionmodule and cannot be enabled with other modes together at the same time. Afterlogging in with your account and password, you can select "Measurement Analysis"to enter in the measurement analysis mode.

MCM User Manual 40

Page 45: User Manual WebAccess/MCM

Chapter 3

IntroductionofM

easurement A

nalysisM

ode

The following is the initial interface of measurement analysis mode.

1. Name of the currently logged account.2. List of currently controlled and uncontrolled devices.3. List of machines that have installed Advantech DAQ devices.4. Available channels in time domain and corresponding configurations.5. Available channels in frequency domain and corresponding configurations.6. Display area of time domain graph.7. Display area of frequency domain graph.8. Configuration of start and measurement cursor.

Step1:

Select DAQ devices.

41 MCM User Manual

Page 46: User Manual WebAccess/MCM

Step2:

Choose the channel for measuring. After that, the properties can be set in the menuafter clicking "..." on the right hand side of channel label. The feature values can alsobe added in this menu.

MCM User Manual 42

Page 47: User Manual WebAccess/MCM

Chapter 3

IntroductionofM

easurement A

nalysisM

ode

Step3:

1. Configures time/frequency domain pre-processing. Currently there are two options: Moving average and FIR filter.

43 MCM User Manual

Page 48: User Manual WebAccess/MCM

2. Select features for subscription from the following 23 feature methods: Mean, Maximum, Y of Minimum, Peak-to-peak, Median, RMS, Positive Pulse Width, Negative Pulse Width, Positive Duty Cycles, Negative Duty Cycles, X of Maxi-mum, X of Minimum, Frequency, Standard Deviation, Variance, Coefficient of Variation, Kurtosis, Skewness, Crest Factor, Range of Maximum, Local Maxi-mum, Local Minimum, Percentile, Shape Factor, Impulse Factor and Clearance Factor. Currently there are three features supporting array output: Maximum_in_range, Local_Maximum and Local Minimum. For array output, click on the value displaying box beside the feature and all values of array out-put will be listed in sequence, e.g. first ratio of Y-axis, first ratio of X-axis, second ratio of Y-axis, second ratio of X-axis, etc.

For features that can be configured by parameters, currently including Frequency,Maximum_in_range, Local_Maximum, Local_Minimum and Percentile, click "..." toset the parameters. The parameter of frequency is White noise, which refers to thetolerance for white noises and the range is set to 0 to 1. The default is 0.1. The larderthe value, the less the noise of the value is allowed. Note that if the value of thisparameter is too large, then the complete waveform may not be found and the fre-quency won't be measured or the measured frequency is inaccurate.

Maximum_in_range can be configured by three parameters: Major_Search,Range_Width and Multiplier.

Major_Search is what the user mainly want to search. In time domain, it representsthe time and in frequency domain, it represents the frequency band Hertz, corre-sponding to "Fs" on the picture.

Range_Width is the searching range of Major_Search, corresponding to "Fd" on thepicture.

Multiplier indicates that the searching can be done by non-integer multiple times. Ifthis value is equal to Major_Search, the searching will be done by way of multiple fre-quency, corresponding to "Fm" on the picture.

MCM User Manual 44

Page 49: User Manual WebAccess/MCM

Chapter 3

IntroductionofM

easurement A

nalysisM

ode

The default initial values of these three configuration parameters will be recom-mended according to user's configurations. What's more, the output mode of this fea-ture is array output which will output the maximum array existed in the rangespecified by the user.

Local_Maximum and Local_Minimum's parameters are Out_Count_Max,Local_Range_Max and Out_Count_Min, Local_Range_Min respectively.

Out_Count indicates how many pieces of the area's maximum or minimum valuesoutput from the beginning that are requested. The default is 10, which means the first10 pieces of the area's maximum or minimum values are requested. If there are lessthan 10 pieces of data, then only the existed maximum or minimum values will beoutput.

Local_Range specifies the maximum or minimum value of the area. The defaultvalue of Local_Range_Max is 3, which means if the value of a point is larger than thevalues of the three points to the left and the three points to the right, then the pointhas a maximum value of the area. After all maximum values of the area have beenfound, these values will be sorted in sequence and output as required by the user.Similarly, Local_Range_Min specifies the minimum values.

45 MCM User Manual

Page 50: User Manual WebAccess/MCM

Percentile's parameter is Percentage. The default value is 10, which indicates thevalue that are greater than 10% of all values. If the Percentage is set to 50, the valuewill be the median value. The range of this parameter is 1 to 100.

After the configuration is completed, click "+" in the front of the channel to expandsubscribed feature information.

Step4:

The sampling frequency of the channel is determined by the time axis range and theacquisition point count of time domain. In Measurement Analysis mode, 1024 pointsare collected for each screen, so the sampling frequency is calculated by dividing theacquisition time by 1024. Select "Free run" -> "Run" in Running mode to start theacquisition. You can also click "Pause" to pause the acquisition.

MCM User Manual 46

Page 51: User Manual WebAccess/MCM

Chapter 3

IntroductionofM

easurement A

nalysisM

ode

Now you can see the acquisition results shown by the graphs of time domain and fre-quency domain. At the same time, the data of features subscribed by time domainand frequency domain will been displayed (and updated after each time of acquisi-tion). Note that the Free run mode can only reserve the data of ten screens. You cando panning or zooming at the graphs of time or frequency domains by clicking"Pause". Except for Free run, you can also use the Trigger mode for data acquisitionby configuring Source, trigger level, Rising or Falling, or Delay settings. You can alsouse the re-trigger function if it's supported by the device.

Step5:

After the acquisition is paused click "Cursor" for time domain as well as frequencydomain. You can select a single cursor of X, the cursors of X and Y, or the combina-tion of two groups of cursors (the results of X2 minus X1 and Y2 minus Y1 will beautomatically calculated respectively). Except for common cursors, the side bandfunction is also supported in frequency domain. After the selection, the user canselect the Fundamental position for observing by dragging the graph in frequencydomain. Hold the left mouse button and move the mouse, you can continue to mea-sure the width between left and right sides. The value of Side bands will indicate thecorresponding value of the distance.

47 MCM User Manual

Page 52: User Manual WebAccess/MCM

If the number of selected channels is greater than 1, then except for being shownwith the same original graph, all the channels can also be divided horizontally, oreither vertically or horizontally. The default is showing all the channels on the samegraph. After dividing the graph, you can select the channel on the right side to mea-sure the cursor of different channels.

Step6:

When the acquisition is paused, you can use the panning and zooming buttons onthe lower right corner of the graph besides the cursor function.

Panning to the left/right on X-axis.

Zooming on X-axis.

Reset.

Full screen.

Zooming on Y-axis.

MCM User Manual 48

Page 53: User Manual WebAccess/MCM

Chapter 3

IntroductionofM

easurement A

nalysisM

ode

Panning upward/downward on Y-axis.

49 MCM User Manual

Page 54: User Manual WebAccess/MCM

MCM User Manual 50

Page 55: User Manual WebAccess/MCM

Chapter 4

4 MCM Catcher (WOGenerator and Worker) for Data Storage
Page 56: User Manual WebAccess/MCM

In intelligent manufacturing and machine state detection and analysis maintenanceapplications, it is far from enough to display data remotely with a viewer. Users usu-ally need to store the feature data for further analysis and diagnosis, and that's whyMCM Catcher was developed. By using Catcher, users can easily store the featuredata of one or more running MCM Device Servers as required files with specifiedstrategy, column format, title and file format locally or remotely.

MCM Catcher is composed of two parts. Worker Generator is used to generate ormodify "wo" work order files. This software UI enables users to specify one or moreMCM Device Servers to be stored, the feature data to be subscribed, the feature datato be stored, the storage path, the file format (txt or csv), the storage format (e.g. title,data format, etc.), the storage strategy of feature/raw data (e.g. the Polynomials ofsubscribed feature/raw data can be easily edited for specifying the storage strategy,so that the feature/raw data is greater than a certain value), the storage strategy offile (e.g. the time and data count of single file, and the total size of all files) and thenaming rule of single file. "wo" work order files that have already been generated canbe opened and edited by Generator. Worker is used by the user to choose the wo fileand store feature/raw data according to the content specified in the wo file. The stor-age process can be started and paused, and the UI has the data transferring indica-tor to indicate the transfer speed.

4.1 Installation of Catcher ProductsThe MCM modules can be chosen in the installation process.

MCM User Manual 52

Page 57: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

Check the Catcher box, which is the installation package of Catcher products, to startthe installation process. You can install Catcher products to the specified path or thedefault path "C:\Advantech\MCM\Explorer\Catcher". The following shows the filedirectory after the installation.

After the installation is finished, the shortcuts of the Worker of Catcher and theWorker of Generator will be shown on the Start Menu of the computer.

53 MCM User Manual

Page 58: User Manual WebAccess/MCM

4.2 Basic Operation Process of CatcherStep 1: Select the slave machine by MCM Viewer and log in as Admin to configurethe project (specifying the acquisition card, time domain pre-processing algorithmand frequency domain pre-processing algorithm, selecting feature values, adding theexpression Index with features as the variable, and setting output configuration, dis-play configuration, project configuration steps. Refer to MCM Manual for details).

Step 2: Log in as Admin, enter the measurement control run scenario, select andstart the target project.

If a MCM project is already running on your server and is in measurement control runscenario, then the two steps above can be ignored.

Step 3: Generate a wo file by Worker Generator.

Step 4: Select the wo file by Worker and start or stop the storage process.

After the four steps above, the feature value of the server specified by MCM is easilystored. The user can conveniently view, import and model data files, or model or pro-cess data with third-party tools.

4.3 Catcher User GuideWhat is the "wo" file?

"wo" is the abbreviation of "Work Oder". In MCM, the wo file is also called the workorder file that can be configured with the UI of Generator and be saved as a file withthe suffix wo. In this file, the xml format is used for describing the storage path, for-mat, storage strategy, file strategy, etc. A configured wo file can be loaded to Workerand implemented. The data of the specified MCM Device Server will be captured asdetermined in the wo file and saved as a file.

MCM User Manual 54

Page 59: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

Generate and run a simple "wo" file

We will introduce the basic operation process of Catcher and demonstrate how togenerate and run a simple wo file. In the following example, we demonstrate how tostore a feature of a specified MCM Device Server.

1. Open the Work Generator, click Start Menu -> Advantech MCM -> WebAccess/MCM:WOGenerator and the initial screen will be shown as below:

The MCM device servers have been already listed in Features field.

55 MCM User Manual

Page 60: User Manual WebAccess/MCM

2. Select "New work order" to create a new wo file. Fill in the login name and pass-word of Monitor which could log in the slave machine. Click "Rescan" to auto-matically log in to the device server listed in Features field with the name and password of Monitor. These device servers are MCM device servers of the cur-rent LAN and are automatically enumerated. Of course, you can also manually add MCM device server through the "Add..." button in the Feature field.Here we log in as the Monitor. Click Rescan, and the status of online MCMdevice servers that can log in will change from gray to black. Select the sub-scribeable feature to see its value.

MCM User Manual 56

Page 61: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

3. Set the storage format. The default format is csv, while you can also choose txt. Here we choose the default csv format. Set the log path. When the wo file is implemented by worker, data files will be stored in this path. If the user does not set it, the default storage path is C:/Advantech/MCM/Explorer/Catcher.

57 MCM User Manual

Page 62: User Manual WebAccess/MCM

4. To set the feature to be stored, select Features and specify the Field name. Here we are going to store the PEAK_TO_PEAK (DemoDevice, BID#0, AI, CH0, float, Time, FFT, Magnitude) feature of the machine with IP 172.17.14.38. It's an unconditional storage that the condition is not configured. The configura-tions are shown in the figure below:

MCM User Manual 58

Page 63: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

5. To set the Steaming data to be stored, select Steaming Data and specify the Field name. Here we are going to store the DemoDevice, BID#0, AI, CH0 and float features of the machine with IP 172.17.14.38. It's an unconditional storage that the condition is not configured. The configurations are shown in the figure below:

59 MCM User Manual

Page 64: User Manual WebAccess/MCM

6. The file policy field uses the default configurations for the file storage strategy. The default single file size is the data with the time length of 120.5 minutes. You can change the length of a single file as required, or set the count of data stored in a single file. Overall file size limitation uses the default setting which are lim-ited up to 2.5G files in total.

MCM User Manual 60

Page 65: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

7. The Files name column defines the naming rules for data files. Here, the default rule "%i Station1 %d-%t" is used, and the generated data files will be named with this rule, such as"0 station1 08.15.2018-14.22.03.csv",

"1 station1 08.15.2018-19.30.03.csv"

8. Click "Save" and the Save Order file dialog box will pop up for the user to select the storage name and path of the wo file. If the user does not specify the path, the current default saving path is C:\Advantech\MCM\Explorer. Assume that the file is stored in the default path, we name it as "test". Click OK and you can view the generated test.wo file in this path.

61 MCM User Manual

Page 66: User Manual WebAccess/MCM

9. The user can run the worker on any remote machine, or locally. Select the wo file and perform feature storage. Open the Worker tool, click Start Menu -> Advantech MCM-> WebAccessMCMWorker and click "Open". The dialog box of for selecting worker order file will pop up by default. Select the wo file you want to run. Taking the wo file that has just been configured as the example, select test.wo.

Click "Open" and the running UI of Worker will pop up as shown below:

MCM User Manual 62

Page 67: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

Click "Start" and the Worker will store specified features of the wo file with the speci-fied path, file storage strategy and feature storage strategy. If the connection light isin light green, it indicates that the MCM device server specified in the current wo filecan be connected online. If it is offline, the light will be in dark green. After clicking"Start", the feature storage starts running. The "Data received" light is in green andkeeps flashing, indicating that the data storage is being performed normally. Theflashing frequency is proportional to the storage frequency: the faster the frequency,the faster the flashing speed. Note that the light only indicates the speed, but doesnot exactly correspond with the actual storage speed.

63 MCM User Manual

Page 68: User Manual WebAccess/MCM

Click "Stop" to stop running. The corresponding message will be sent out by the run-ning UI of the Worker to remind the user of the stop state and the path and name ofstored data files. The column is the display field that indicates the state conversionthe Worker.

Open the data file path in this example and you can see the generated csv data file.

Open the file and you can see the value of feature data. The title is the Files name specified when the Generator creates the wo file. The stored feature is PEAK_TO_PEAK (DemoDevice,BID#0,AI,CH0,float,Time,FFT,Magnitude). It's an unconditional storage strategy that the feature of every piece of data will be stored.

MCM User Manual 64

Page 69: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

4.4 Worker Generator User GuideWorker Generator is used to generate a work order file (a file with suffix “wo”). Theuser defines the feature, storage policy, file policy and file format to subscribe to, thensave a file with wo as its suffix, which is also called work order. Catcher provides twofile storage formats of csv and txt, but in the future, other data formats like db will beadded upon users' requests. For csv and txt, the operation UIs to generate wo areslightly different. Details are as follows.

4.4.1 CSV FormatYou can select different fields of "File Type" (Figure 3 below). For TXT and CSV, the"Record Format" fields (Figure 5 below) are different but other fields like "Login" (Fig-ure 1 below) are the same and they are also configured in the same way.

65 MCM User Manual

Page 70: User Manual WebAccess/MCM

1. Login Information: New work order: Used to create a new work order file Open an existing work oder: Click this button or the box, then a file selection dia-

log box pops up. The user can open an existing wo file and check or modify the contents on Generator.

Login Name and Password: It is recommended to log in to the slave machine with the user name of a user with the "Monitor" permission. The MCM 2.0 device server has a built-in user with the "Monitor" permission named "Monitor", and the default password is 123456. This user name and password can be used to log in to the system if not modified by the user.

Rescan: Try to log in to all device servers listed in the current Feature/Streaming Data selection with the user name and password already entered. The device server list in the Feature/Streaming Data selection shows the MCM device serv-ers in the current LAN automatically searched out when Generator is enabled. After clicking "Rescan", the device server list in the Feature/Streaming Data selection will update. The online device servers currently running in the mea-surement and control operation mode are displayed as enabled (black), and the unavailable ones are displayed as disabled (grey by default). After entering the new user name and password again, the user needs to click "Rescan" again to update the status of the current MCM device server list. If the user finds that a MCM device server to be used is not enabled after rescanning, please check for the following reasons:

MCM User Manual 66

Page 71: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

(1) If the LAN is automatically searched out, please check if the current deviceserver is online. The user can open MCM Viewer and check the UnManageddevice server list on the Viewer Homepage. If none of them exist, it means thatthe server is offline.

(2) If the login name and password are correct, and if you can log in to thisserver. You can try to manage using the same login name and password inMCM Viewer.

(3) If the MCM device server is in the measurement and control operation mode.The user with the "Monitor" permission can only log in to the server running inthe “measurement and control operation mode. If your server is currently in themeasurement and control configuration mode, then you are not permitted to login to Generator.

(4) If the MCM device server is in the measurement and control operation mode,and if a selected project starts and is in the "Running“ status. If your server is inthe measurement and control operation mode, and you open a project withoutstarting it, there is no feature data, or the server cuts the project (the new projectis from a different acquisition card or other channels), and the selected featuredata no longer exists.

2. Feature/Streaming Data Selection:A list of slave machines. Generator will automatically search the list of slavemachines in the LAN and list it in this field. You can also click "Add" to add theMCM device servers you need. When you click "Add", the dialog box below willpop up for you to enter the Server IP address and computer name you want toadd manually.

When the user enters the correct login name and password in the "Login Infor-mation" field and clicks "Rescan", the list will be automatically updated, and thestatus will change to "Available" in the slave machine which has an operationmode and can be logged in. If the user opens an existing wo file, the name andpassword recorded in this wo will be used to try to log in to the slave machinerecorded in the WO, and all subscribed features/streaming data will beexpanded.

After rescanning, the user can check one or more servers among the enabledservers, and choose to subscribe to the features in the list. Here, the Features/Streaming Data and Index list in the drop-down list of the server machine are the

67 MCM User Manual

Page 72: User Manual WebAccess/MCM

same as the project Features/Streaming Data and Index list running in thisdevice server.

The user can check the Feature/Streaming Data or Index that he/she needs tosubscribe to. The checkbox has the following status:

This server is available but you didn't subscribe to any feature/streaming data or index.

This server is not available.

This server is available and some features/streaming data have been checked.

MCM User Manual 68

Page 73: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

This server is available and all features/streaming data and indexes have been checked.

3. File Type Selection:Sets the storage format. The current version only supports .csv format and txtformat with csv as the default format. But in the future, other data formats like dbwill be added to Catcher upon user requests. You can select different file typeson Generator. Please note that the settings are the same except the "RecordFormat" field to set the feature storage policy.

Txt format is stored as a file with suffix .txt. The generated file can be openeddirectly from the notebook, and the data is decimal ASCII code, all defined usingthe C syntax printf () format string.

CSV format is stored as a file with suffix .csv. The fields in the file are separatedby commas. And the file can be opened by importing an excel, or browsed withother third-party tools.

4. Log Path (Storage Path):The user can select the storage path according to the disk, or fill in the storagepath directly in the edit box. Please note that when the wo is running on Worker,if this path exists, the recorded file will be stored in this specified path. If the pathdoes not exist, the recorded file will be stored in the default path. The messagebar on Worker will offer prompts.

If the user does not set the log path on Generator, then the default Log path isC:/Advantech/MCM/Explorer/Catcher.

5. Record Format (Feature/Streaming Data Storage Field and Policy Setting)

69 MCM User Manual

Page 74: User Manual WebAccess/MCM

Record Timing: Sets the timing for storing a record. The slowest record will be the benchmark bydefault. When features of multiple slave machines are selected for storage atthe same time, the different device server parameters will cause difference inthe frequency of feature generation and sending. And when a piece of record isstored, the default setting is that the storage will start when all the features arein place and some of the device server features which are sent faster will beignored. Of course, in addition to the default mode, the user also selects otherbenchmarks through the drop-down menu. For example, you can choose a cer-tain feature of a certain MCM device server as the benchmark and under thisbenchmark, the closest value to this benchmark will be selected as the featuresof other device servers to be stored.

Record Condition: Sets the conditions to be recorded. Click "Record Condition" field and then theSpace key. The menu will pop up automatically as follows:

MCM User Manual 70

Page 75: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

You can select the feature that needs to be a variable and edit the expression.For example, if the user needs to store the error data with the maximum capac-ity of more than 3V, it can be set as follows. The correct expression is displayedin black, and the wrong expression is displayed in red. In the condition edit field,the C language condition is used to judge the grammar. The user can editaccordingly.

71 MCM User Manual

Page 76: User Manual WebAccess/MCM

Field Edit: You can add the features, index, and timestamps that need to be stored. Whenyou fill in "Field" name when adding, "Add" will be enabled. Then you can selectthe type of "Field" and click "Add". Select "Delete" to delete the added field.There is currently no re-editing feature available. "Previous" and "Next" areused to switch selections between the added fields. Click Features/Streamingdata to switch between data source and features/streaming Data.

The items on "Data Source" list are derived from the Features/Streaming DataSelection or Index and the corresponding time checked and subscribed to inFeatures/Streaming Data Selection.

MCM User Manual 72

Page 77: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

73 MCM User Manual

Page 78: User Manual WebAccess/MCM

There are currently two field types, namely Real and Integer. Please select the type you need when adding. For example, set the stored record to be the machine's Max-imum (lO-PC//DemoDevice, BID#0, AI, ch000, float, Time, FFT, Magnitude) and its corresponding time (Condition is empty), as follows:

If the data source is “Time”, the "Time Format Setting" window will pop up when click-ing. The items on the drop-down list of "Feature" are derived from the Feature/Streaming Data Selection or Index selected in the Feature/Streaming Data Selectionfield. You can select "Local Time" and "Epoch Time" for the type. The default formatis year, month, day, hour, minute and second with Y for year, M for month, D for day,H for hour, M for minute, S for second and Z for millisecond. Some other charactersare displayed directly. The user can modify the format as needed. When editing theformat, the "Preview" box will synchronously display the time and date string corre-sponding to the format. Click "OK", it will be automatically inserted and displayed inthe "Format" field, as follows:

MCM User Manual 74

Page 79: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

Select this wo file in Worker, the contents in the data file generated by the storage areas follows:

6. Log PolicyIt is the file generation policy setting. The captured data will be divided into multiplefiles for storage according to a certain policy, and the dividing method can depend ontime and data count:

Time, each file contains ** minutes: The length of time that a single file con-tains. Please note that the length of time means that the time difference between the first and last piece stored in a single file is** minutes.

Count, each file contains ** records.The number of records that a single file contains. It refers to the number ofrecords stored in a single file, which is consistent with the number of DataReadyevents of the DAQNavi acquisition card. Each time a DataReady event occurs,there will be a piece of data which has a group of feature values.

Overall file size limitation.The limit that the storage data can take up the disk space. You can set the limitto GB (limited to ** GB), or choose unlimited to store until the disk is full.

7. File NameSets the file naming rules. Generated storage files will be named according to thedefinition of this rule which is defined using the C language format definition symbols.The rules are as follows:

%i: The serial number will be represented by 1, 2, 3.... %d: The date on which the data is archived and will be represented by a certain

year, month and day. %t: The time when the data is archived and will be represented by a certain

hour, minute and second.

The following are some simple examples:

1. The default format is "%i Station1 %d-%t" and the generated file formats will be as follows"0 station1 12.01.2018-08.17.08.csv"?

"1 station1 12.01.2018-08.17.14.csv"

"2 station1 12.01.2018-08.17.20.csv"

2. The format is defined as "%i MyStation-%t" and the generated file formats will be as follows"0 MyStation-10.17.08.csv"?

"1 MyStation-10.17.14.csv"

"2 MyStation-10.17.20.csv"

3. The format is defined as "%i-%d-%t" and the generated file formats will be as follows

75 MCM User Manual

Page 80: User Manual WebAccess/MCM

"0-08.01.2018-10.17.08.csv"?

"1-08.01.2018-10.17.14.csv"

"2 -08.01.2018-10.17.20.csv"

4.4.2 txt FormatComparing with csv format, the setting for txt format is only different in Record For-mat field, so this section focuses on the Record Format setting for txt format.

Title FormatWhen you edit the title of a recorded storage in the txt file, the title will appear in thefirst line of the file header for only once, but one line will be added to the record everytime when a set of data is collected.

The format symbols %d, %u, %f, %i, %x, %g, %e, %o are numeric outputs, %s is astring output, and the syntax rule is the same as that of C language.

Record TimingThe benchmark setting of the record is the same as that for csv format. The slowestrecord will be the benchmark by default, that is, a record will be stored when all thenecessary data is updated. In addition to the default mode, you can also choose thefeature of a device server as the benchmark. In this case, the closest value will beselected as the feature values in other fields. The reason for setting the benchmark isto solve the problem of difference in the efficiency of data sending from different serv-ers. When selecting a fast machine as the benchmark, duplicate storage will occur inthe same timestamp of the slow machines. And when selecting a slow machine asthe benchmark, the fast machines will lose some data. Benchmark is only used whenrecording the data of multiple MCM device servers at the same time. There is storagetiming sequence competition between servers. When only the data of one deviceserver is stored, the timestamp for each piece of data is the same.

Record ConditionSet the conditions to be recorded. The steps are the same for csv. You can first click"Record Condition" field and then the Space key. The drop-down list menu will pop upautomatically. When entering the keyword, the options related to it will pop up syn-chronously. You can select the desired feature or index as the feature of the variablesto edit the expression.

MCM User Manual 76

Page 81: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

In the Condition edit field, the C language condition is used to judge the grammar.The user can edit accordingly. The user can edit accordingly. And when the input iscomplete, it will automatically determine whether the expression is legal. The illegalexpression is displayed in red to remind the user modifying and re-editing to get acorrect and legal expression.

Record FormatClick the button to insert the feature to be stored, or the timestamp of the feature.

Click "Insert time" to insert the timestamp of the feature. The "Set Time Format" win-dow will pop up. This setting is the same as that for csv.

Click "Insert feature" to insert the feature to be stored and edit the format. The itemsin the Feature drop-down list are derived from the feature or index checked in "Fea-ture Selection" field. The format can be float or integer, and integer can be either dec-imal or hexadecimal. If the format is float, the user can set the precision and displaywidth, and the grammar rule is the same as that for C language.

77 MCM User Manual

Page 82: User Manual WebAccess/MCM

4.5 Worker Usage GuideWorker is used to load a work order file, capture the feature, as well as store and per-form storage according to the policy defined in the wo. The Worker UI and instruc-tions are as follows:

1. Open Button: Open or switch to the wo file, and then click this button, a file selection dialog box pops up for you to select the wo file to run. Opening Worker through the Start menu of the computer ->Advantech MCM->WebAc-cessMCMWorker is the same as clicking "Open". A file selection dialog box will pop up for the user to select the wo file to run.

2. Connection Indicator: Is the indicator of the connection status. When the user selects a wo file, the indicator status indicates if the MCM device server speci-fied in the wo is currently available for connection. The cases are as follows:

(1) Dark green: The default color when a wo is not selected. If the MCMdevice server is disconnected and it cannot be connected the LED indicator isdisplayed in dark green. If the device server is not powered on, the status fieldwill also prompt "Invalid work order file: no online server".

(2) Light green: the MCM device server is online and available for connec-tion.

3. Start/Stop Button: Click to start running. When the feature has a single file stored, you can see a prompt in the status field indicating that the file is saved. Click "Stop" to store the data as a new file, and then click "Start" again to store the new file.

4. Work Status Indicator Field: Records the change of status and the time of occurrence. When the MCMdevice server in the wo is disconnected, the scene changes to the measure-ment and control configuration, which causes the connection to be unavailable.Changing project means there is no feature. This field will display the promptinformation to inform the user. When the feature storage starts, stops, and a

MCM User Manual 78

Page 83: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

single file is generated, there will also be a prompt for information. The user cankeep up with the status of Worker through this field.

5. Data Received Indicator:Indicates data transmission and storage status as follows:

(1) Gray, data transmission and storage have not yet started and are in discon-nection status.

(2) Green, data transmission and storage has started and are in connection sta-tus.

(3) Flashing green, data transmission and storage is in process and the flashingfrequency is proportional to the data transmission and storage speed, but it isonly an indication of the speed without one-to-one correspondence. When thefrequency is greater than 10Hz, the indicator will be constant green withoutflashing.

6. Exit Button: Click this button to exit Worker. If you are currently in the "Start" status, click "Exit" to automatically stop and exit. The user can also click "Close" in the upper right corner in the "Run" window of Worker.

4.6 Catcher FAQQuestion 1: What is the relationship between Catcher, Worker and WorkerGenerator?

Answer: Catcher is the name of a product in MCM. It is designed to store remotelyor locally the feature data or index in MCM Server as a file the user needs accordingto the policies, file formats and field formats specified by the user. Catcher has twotools. The first one is Worker Generator which is used to generate work order files(wo files). The user sets to store one or more MCM device servers data and the datato be stored, the feature storage format and the policy through the configuration UIprovided by Worker Generator, and finally saves as a work order file (a file with suffixwo). The second one is Worker which is used to import the wo file and start or stopexecuting the storage. There will be some fields to display the information of statuschange as well indicators to indicate the connection and operation during execution.

Question 2: How to start Worker and Worker Generator?

Answer: Currently, the installation package pkg_mcm_catcher.exe provided by MCM2.0 is the installation package of Catcher products. After double clicking to run thepackage, the Catcher Work Generator and Worker shortcuts will appear in the Startmenu of the computer, namely WebAccessMCMWOGenerator and WebAccessMC-MWorker.

Question 3: Does the wo created on machine A only run on machine A?

Answer: No. A wo created on any machine can run on Worker of any machine thathas Catcher installed. Please note that if the storage path defined in the wo file youselect does not exist, it will be stored in the specified default path with a prompt onthe status of Worker.

Question 4: After starting Generator, there is the MCM device server machineA, but the machine node is not enabled after filling in the user name and pass-word, why?

Answer: Please check as follows:

79 MCM User Manual

Page 84: User Manual WebAccess/MCM

If the machine is currently online. You can try to open MCM Viewer to see if the machine is on the machine list on the Homepage.

If the user name and password are correct, you can try to manage this machine with the same user name and password on MCM Viewer.

If the current machine is running in the measurement and control operation mode.

Question 5: After starting Generator, MCM device server machine A is withoutany feature after filling in the user name and password and clicking open theenabled machine node, why?

Answer: Please check the project running on the server to see if a feature or index ischecked on "Display" page. If there is no feature or index displayed for the runningproject you select in the measurement and control operation mode, the list will beempty even after clicking open the server on Generator.

Question 6: The Log Policy in the wo generated on Generator is 1 min, but afterimporting into Worker, the file generated has not changed every 1 min by thename, why?

Answer: The time (each file contains 1 min) set in the Log Policy corresponds to thetime difference between the first and last piece in a single file which is 1 min, and thiscan not be judged from the file name.

Question 7: The Record Condition is always wrong and indicated in red onGenerator, why?

Answer: First of all, the syntax is C language format, and secondly it must be editedwith feature or index as the variables. And the constant expression is legal but mean-ingless. Please check if there are illegal spaces.

Question 8: Which are the current storage formats?

Answer: The version only provides txt and csv formats currently. But in the future,other formats such as db will be added according to users' requests.

Question 9: How to choose the timing when storing the data of multiple serversat the same time?

Answer: First of all, when storing the data of a server, since the default timestamp foreach feature data of a server is the same, there is no timing problem. However, whenstoring the data of multiple servers at the same time, there will be algorithm differ-ences caused by different frequencies of data sending to compose the data capturedfrom different machines into a "Record" archive. Thus when choosing different tim-ings, different algorithms will be used. The basic concept of the algorithm is to deter-mine a key feature/streaming data (that is, the timing you set) first, take thetimestamp of the key feature/streaming data as the benchmark and find out the time-stamp closest to this benchmark in the feature/streaming data of all the other servermachines to store. By default, the slowest one will be the benchmark, that is, allserver data near the same timing arrive with only a stored record generated.

MCM User Manual 80

Page 85: User Manual WebAccess/MCM

Chapter 4

MC

M C

atcher(W

OG

enerator andW

orker)for

Data

Storage

Question 10: What happens if the single file size exceeds the overall file sizelimit when the log policy is set to be that each file contains N minutes or Nrecords?

Answer: If there is enough disk space, the storage will run according to the specifiedstorage for each file. When the process stops or it needs to switch files, please checkif the limit of overall file size is exceeded. Since the extra part will be deleted from thefile, when the process stops, the data visible to the user is the file that meets theoverall file size requirement after deletion.

Question 11: The Server project is running normally, and the wo configurationinformation imported into Worker is also correct, but it prompts that the con-nection is not available.

Answer: Please check if the firewall of the server machine is enabled. You can con-sider disabling the firewall or adding the MCM service to the firewall white list. Runthe Worker machine to see if the anti-virus software has been enabled, and close theanti-virus software or add it to the trust list.

By default, if your firewall is enabled when you install the MCM 2.0 Server installationpackage, the installation package will automatically add the server to the firewallwhite list. But if you do not enable it before installation, the installation package willnot process automatically, and if it is enabled after installation, this may cause theremote Viewer or Catcher failing to connect to this server.

Question 12: It pop ups that the feature can not be found.

Answer: Please check if the project currently running on the server machine specifiedin your wo still has the feature subscribed to in the wo.

Question 13: The indicator is always on but not flashing?

Answer: The current speed to run and store the record is slightly fast, exceeding theupper limit of the UI indicator refresh rate, so it is always on.

Question 14: Why data can not be stored on multiple servers when Workerstarts running?

Answer: This may be due to the fact that the frequencies of data sending from multi-ple servers are different. And if the benchmark of timing is set to be the feature of theslowest server, it is possible that no data storage can be seen after Worker has beenrunning for a long time.

81 MCM User Manual

Page 86: User Manual WebAccess/MCM

MCM User Manual 82

Page 87: User Manual WebAccess/MCM

Appendix A

A Algorithm Library
Page 88: User Manual WebAccess/MCM

A.1 Time Domain Preprocessors Moving averageFiltering is a common signal processing technology which can remove redundant sig-nal noise in measurement signals, e.g. removing high frequency signal in low fre-quency signals which change slowly. The built-in plugin of MCM provides two type ofmoving average algorithm coefficients, one is the unweighted filtering and the other isthe weighted filtering.

The filtering algorithm simply takes the averaging value of the neighboring points asthe new value of the point. The amount of neighboring points is the width of the win-dow. There are two ways to define the window. One is the width of the window, e.g.the filtering function parameter of Matlab; the other is defined as 2*width+1 in MCM.The Moving average algorithm can also be used as a low-pass filter, because it canreduce the amplitude of the most active point by averaging the value of neighboringpoints, which is similar to filtering the high-frequency signal.

The weighted moving average algorithm means to add the weight of the triangularcoefficient during the averaging. Taking the filtering of five points (width=2) as anexample,

The weight of triangular coefficient of the following 3~11 points:

3 5 7 9

0.25 0.111 0.0625 0.04

0.5 0.222 0.125 0.08

0.25 0.333 0.1875 0.12

0.222 0.25 0.16

0.111 0.1875 0.2

0.125 0.16

0.0625 0.12

0.08

0.04

MCM Series User Manual 84

Page 89: User Manual WebAccess/MCM

Appendix A

Algorithm

Library

The UI and parameters are as follows. After the signal is selected, choose the Pro-cessing Method on the right side as the Moving average and set the parameter width.

This algorithm UI can configure the parameter and the range.

1. Width: The filter width of average filtering. The actual calculated number of points is 2*Width+1. The range of this parameter is [1,min(128, SectionLength/2-1)] which is related to SectionLength configured on acquisition page.

2. Weigh function is enabled.

FIR FilterThe finite impulse filter (FIR filter) uses the FIR filter specified by the FIR coefficient tofilter the collected original signals. The current FIR filter in built-in time domain pre-processing plugin uses Butterworth filter coefficient. The filter type can be selectedfrom Low Pass, High Pass, Band Pass and Band Stop. The default type is High Pass.

Parameter and UI configuration range:

85 MCM Series User Manual

Page 90: User Manual WebAccess/MCM

1. Frequency0 and Frequency1 are cutoff frequency. If the filter type is Low Pass or High Pass, the value of Frequency0 will be the cutoff frequency. If the filter type is Band Pass or Band Stop, the smaller value of Frequnecy0 and Frequency1 will be the lower cutoff frequency and the larger value of Frequnecy0 and Frequency1 will be the higher cutoff frequency. The range of Frequency0 and Frequency1 can be set as 1, ConvertClockRate/2-1].

2. Order is the filter order, the current range of which is [1,10]. The larger the Order, the steeper the frequency response.

A.2 Frequency Domain Preprocessors Remove DCAs the name implies, DC is removed in frequency domain.

Window FunctionWhen the sampled waveform does not contain an integer number of cycles duringthe sampling, spectral leakage occurs (the measured spectral energy leaks from onefrequency to another), so in the signal processing, windowing for the time domainwaveform can reduce spectral leakage.Discrete Fourier Transform (DFT) or FastFourier Transform (FFT) can represent a given signal as the sum of sine and cosine,which is the basis of spectrum analysis. When sampling for a non-integer number ofcycles, since the FFT assumes that the data is a periodic repetitive waveform, thespectrum returned by the DFT/FFT can be expressed as energy leaking from one fre-quency to other frequencies, which makes a high-frequency component that doesn'texist in the original signal appears.

MCM includes three windowing algorithms: Hann Window, 4-term Blackman-HarrisWindow, and 7th-order Blackman-Harris Window. Windowing type is selected by theuser according to the type of collected signals.

FilterTime domain filtering calculation can calculate fast because of tis computationalcharacteristics, but the filtering effect is not as effective as frequency domain filtering.Currently, frequency domain filtering is supported in MCM. The current filter in fre-quency domain uses Butterworth filter coefficient. The filter type can be selected fromLow Pass, High Pass, Band Pass and Band Stop. Frequnecy0 and Frequency1 arecutoff frequency. If the filter type is Low Pass or High Pass, the value of Frequency0will be the cutoff frequency. If the filter type is Band Pass or Band Stop, the value ofFrequnecy0 will be the left cutoff frequency and the value of Frequency1 will be the

MCM Series User Manual 86

Page 91: User Manual WebAccess/MCM

Appendix A

Algorithm

Library

right cutoff frequency. The range of Frequency0 and Frequency1 can be set as [1,ConvertClockRate/2-1].

Order is the filter order, the current range of which is [1,10]. The larger the Order, thesteeper the frequency response.

A.3 Feature Value List MeanThe mean is the average of the numbers: a calculated "central" value of a set ofnumbers.

MaximumThe maximum value of Y-axis on the plot.

MinimumThe minimum value of Y-axis on the plot.

Peak-to-peakPeak-to-peak (pk-pk) is the difference between the maximum positive value and themaximum negative value of a waveform.

MedianThe median is a value separates the higher half of a bunch of data, a population, or aprobability distribution, from the lower half. For a data set, it is regarded as the "mid-dle" value.

RMSIn statistics and its applications, the root mean square (abbreviated RMS or rms) isdefined as the square root of the mean square (the arithmetic mean of the squares ofa set of numbers).

Positive Pulse WidthThe Positive Pulse Width measures the time from the first rising edge to the first fall-ing edge.

Negative Pulse WidthThe Negative Pulse Width measures the time from the first falling edge to the first ris-ing edge.

Positive Duty CyclesThe Positive Duty Cycles is calculated by taking the ratio of their corresponding Pos-itive Pulse Widths to the Period.

Negative Duty CyclesThe Negative Duty Cycles is calculated by taking the ratio of their correspondingNegative Pulse Widths to the Period.

X of Maximum

87 MCM Series User Manual

Page 92: User Manual WebAccess/MCM

The corresponded X-value where the maximum value of Y-axis locates. When itcomes to frequency domain, it is regarded as the basic frequency of the signal.

X of MinimumThe corresponded X-value where the minimum value of Y-axis locates.

KurtosisIn probability theory and statistics, kurtosis is a measure of the "tailedness" of theprobability distribution of a real-valued random variable. The fourth standard momentcan be define as

, where μ4 is the forth central moment and σ is standard division.

In normal situation, kurtosis is defined as fourth cumulant over square of secondcumulant. It’s equivalent to fourth central moment over standard division minus 3.

This is also called excess kurtosis. The minus 3 introduced here is to let the normaldistributed kurtosis to be 0.

The WebAccess/MCM here uses Excess Kurtosis.

Skewness

X is the mean value of the samples, m2 is third sample central moment, m2 is secondsample central moment, i.e. sample-mean difference square.

Crest FactorCrest factor is a waveform-related dimensionless quantity. It’s derived by the magni-tude over RMS.

Standard Deviation

MCM Series User Manual 88

Page 93: User Manual WebAccess/MCM

Appendix A

Algorithm

Library

Standard division (σ) is mostly used in measuring the dispersion of a set of numbers.The definition is: the square root of the diviation.

Where μ is the mean value.

VarianceVariance is a term in Applied Mathematics. In Probability theory and Statistics, vari-ance is used to describe the dispersion of a random variable, which implies the differ-ence to the expected value. Here we set variance as square of Standard Deviation.

Coefficient of VarianceThe Coefficient of Variance is also called Coefficient of variation. It’s defined as theratio of Standard Deviation and Mean value. The Coefficient of variance would onlybe significant when the mean value isn’t 0 and it’s normally used in the situationwhen mean value is larger than 0. The value can be described as below formula,where s is standard deviation and the mean is x.

Range of Maximum

The harmonics and the general formula of the sideband is as following:

In the WebAccess/MCM, users can enter below parameters:

Fs: The first harmonic to be searched

Fm: Interval between harmonics

Fd: Range in searching the harmonic

The output value on the other hand, is a matrix pairing the frequency and magnitude,up to maximum 128 sets.

Local Maximum

89 MCM Series User Manual

Page 94: User Manual WebAccess/MCM

As literally, the local maximum finds out the local maximum value according to thesetting of Output_count_Max and Local_Range_Max. The Output_count_Max setsthe how many values to be found in every calculation. The Local_Range_Maxdefines the range to search for the local peaks. For example, when 5 is given to LocalRange Max, a local maximum is derived when the value is found to be maximum inadjacent 5 on the coordinates. The result of searching would be sorted by arithmetic,output to the users in matrix in a quantity that Output count sets.

Local MinimumSimilar to local maximum, input two parameters, the count and range to search forthe local minimum.

PercentileIn this algorithm, every acquired raw data would be sorted by ascending power atfirst. Then, a corresponded percentage in this series will be given to every singledata. For example, the largest value will be given 100% and 0% for smallest one. Theusers should enter the percentage to get the value from the series.

Shape factorShape factor is one of the dimensionless quantities in AC signal. It can also be repre-sented as kf. It’s the ratio of RMS and absolute mean value.

Impulse factorImpulse factor is calculated as peak value over the absolute mean value, where peakvalue is half of peak to peak value.

Clearance factorThe clearance factor is normally used to know the significance an equipment/mecha-nism is under abrasion. The value can be calculated by below formula,

, where

MCM Series User Manual 90

Page 95: User Manual WebAccess/MCM

Appendix A

Algorithm

Library

A.4 Available Formula and Operators1. "+" Addition between x and y. (e.g. x + y).2. "-" Subtraction between x and y. (e.g. x - y).3. "*" Multiplication between x and y. (e.g. x * y).4. "/" Division between x and y. (e.g. x / y).5. "%" Modulus of x with respect to y. (e.g. x % y).6. "^" x to the power of y. (e.g. x ^ y).7. "==" True only if x is strictly equal to y. (e.g. x == y).8. "!=" True only if x does not equal y. (e.g. x != y).9. "<" True only if x is less than y. (e.g. x < y).10. "<=" True only if x is less than or equal to y. (e.g. x <= y).11. ">" True only if x is greater than y. (e.g. x > y).12. ">=" True only if x greater than or equal to y. (e.g. x >= y).13. "true" True state or any value other than zero (typically 1).14. "false" False state, value of zero.15. "and" Logical AND, True only if x and y are both true. (e.g. x and y).16. "mand" Multi-input logical AND, True only if all inputs are true. Left to right short-

circuiting of expressions. (e.g. mand(x > y, z < w, u or v, w and x)).17. "mor" Multi-input logical OR, True if at least one of the inputs are true. Left to

right short-circuiting of expressions. (e.g. mor(x > y, z < w, u or v, w and x)).18. "nand" Logical NAND, True only if either x or y is false. (e.g. x nand y).19. "nor" Logical NOR, True only if the result of x or y is false. (e.g. x nor y).20. "not" Logical NOT, Negate the logical sense of the input. (e.g. not(x and y) == x

nand y).21. "or" Logical OR, True if either x or y is true. (e.g. x or y).22. "xor" Logical XOR, True only if the logical states of x and y differ. (e.g. x xor y).23. "xnor" Logical XNOR, True if the biconditional of x and y is satisfied. (e.g. x xnor

y) .24. "&" Similar to AND but with left to right expression short circuiting optimization.

(e.g. (x & y) == (y and x)).25. "|" Similar to OR but with left to right expression short circuiting optimization.

(e.g. (x | y) == (y or x)).26. "abs" Absolute value of x. (e.g. abs(x)).27. "avg" Average of all the inputs. (e.g. avg(x,y,z,w,u,v) == (x + y + z + w + u + v) /

6).28. "ceil" Smallest integer that is greater than or equal to x.29. "clamp" Clamp x in range between r0 and r1, where r0 &lt; r1. (e.g.

clamp(r0,x,r1)).30. "equal" Equality test between x and y using normalized epsilon.31. "erf" Error function of x. (e.g. erf(x)).

erf(x) = 2/√π ∫_0^x▒?e^(?-t?^2 ) dt?32. "erfc" Complimentary error function of x. (e.g. erfc(x)).33. "exp" e to the power of x. (e.g. exp(x)).34. "expm1" e to the power of x minus 1, where x is very small. (e.g. expm1(x)).35. "floor" Largest integer that is less than or equal to x. (e.g. floor(x)).36. "frac" Fractional portion of x. (e.g. frac(x)).37. "hypot" Hypotenuse of x and y (e.g. hypot(x,y) = sqrt(x*x + y*y)).38. "iclamp" Inverse-clamp x outside of the range r0 and r1. Where r0 < r1. If x is

within the range it will snap to the closest bound. (e.g. iclamp(r0,x,r1).

91 MCM Series User Manual

Page 96: User Manual WebAccess/MCM

39. "inrange" In-range returns 'true' when x is within the range r0 and r1. Where r0 < r1. (e.g. inrange(r0,x,r1).

40. "log" Natural logarithm of x. (e.g. log(x)).41. "log10" Base 10 logarithm of x. (e.g. log10(x)).42. "log1p" Natural logarithm of 1 + x, where x is very small. (e.g. log1p(x)).43. "log2" Base 2 logarithm of x. (e.g. log2(x)).44. "logn" Base N logarithm of x. where n is a positive integer. (e.g. logn(x,8)).45. "max" Largest value of all the inputs. (e.g. max(x,y,z,w,u,v)).46. "min" Smallest value of all the inputs. (e.g. min(x,y,z,w,u)).47. "mul" Product of all the inputs. (e.g. mul(x,y,z,w,u,v,t) == (x * y * z * w * u * v * t)).48. "ncdf" Normal cumulative distribution function. (e.g. ncdf(x)).49. "not_equal" Not-equal test between x and y using normalized epsilon. (e.g.

not_equal(x, y))50. "pow" x to the power of y. (e.g. pow(x,y) == x ^ y).51. "root" Nth-Root of x. where n is a positive integer. where x is a positive value.

(e.g. root(x,3) == x^(1/3)).52. "round" Round x to the nearest integer. (e.g. round(x)).53. "roundn" Round x to n decimal places (e.g. roundn(x,3)) where n > 0 and is an

integer. (e.g. roundn(1.2345678,4) == 1.2346).54. "sgn" Sign of x, -1 where x < 0, +1 where x > 0, else zero. (e.g. sgn(x)).55. "sqrt" Square root of x, where x >= 0. (e.g. sqrt(x)).56. "sum" Sum of all the inputs. (e.g. sum(x,y,z,w,u,v,t) == (x + y + z + w + u + v + t)).57. "trunc" Integer portion of x. (e.g. trunc(x)).58. "acos" Arc cosine of x expressed in radians. Interval [-1,+1] (e.g. acos(x)).59. "acosh" Inverse hyperbolic cosine of x expressed in radians. (e.g. acosh(x)).60. "asin" Arc sine of x expressed in radians. Interval [-1,+1] (e.g. asin(x)).61. "asinh" Inverse hyperbolic sine of x expressed in radians. (e.g. asinh(x)).62. "atan" Arc tangent of x expressed in radians. Interval [-1,+1] (e.g. atan(x)).63. "atan2" Arc tangent of (x / y) expressed in radians. [-pi,+pi] e.g. atan2(x,y).64. "atanh" Inverse hyperbolic tangent of x expressed in radians. (e.g. atanh(x)).65. "cos" Cosine of x. (e.g. cos(x)).66. "cosh" Hyperbolic cosine of x. (e.g. cosh(x)).67. "cot" Cotangent of x. (e.g. cot(x)).68. "csc" Cosecant of x. (e.g. csc(x)).69. "sec" Secant of x. (e.g. sec(x)).70. "sin" Sine of x. (e.g. sin(x)).71. "sinc" Sine cardinal of x. (e.g. sinc(x)).72. "sinh" Hyperbolic sine of x. (e.g. sinh(x)).73. "tan" Tangent of x. (e.g. tan(x)).74. "tanh" Hyperbolic tangent of x. (e.g. tanh(x)).75. "rad2deg" Convert x from radians to degrees. (e.g. rad2deg(x)).76. "grad2deg" Convert x from gradians to degrees. (e.g. grad2deg(x)).77. "IndexOf" Member value of array or structure. (e.g. IndexOf(x,index)).78. "GetLastData" Return Last Queued Data,backward_index is 0~N.

(e.g. GetLastData(x,backward_index)).79. "if-else" The if-else/else-if statement. Subject to the condition branch, the state-

ment will return either the value of the consequent or the alternative branch. (e.g. if (x > y) z; else w; )

MCM Series User Manual 92

Page 97: User Manual WebAccess/MCM

Appendix A

Algorithm

Library

93 MCM Series User Manual

Page 98: User Manual WebAccess/MCM

www.advantech.comPlease verify specifications before quoting. This guide is intended for referencepurposes only.All product specifications are subject to change without notice.No part of this publication may be reproduced in any form or by any means,electronic, photocopying, recording or otherwise, without prior written permis-sion of the publisher.All brand and product names are trademarks or registered trademarks of theirrespective companies.© Advantech Co., Ltd. 2018