# MCM-204

# Standalone Ethernet DAQ for Distributed Machine Condition Monitoring

# User’s Manual

![Exterior view of a black ADLINK MCM-204 networking device with multiple ports and connectors (no readable text or symbols beyond branding)](.mcm-204-50-1z306-1000-10/9e21a4242b0bc6a021e02bfc38664ac572dac93f82718cec67f59bf734139939.jpg)

Manual Rev.: 1.0

Revision Date: January 14, 2020

Part No: 50-1Z301-1000

Revision History

<table><tr><td>Revision</td><td>Release Date</td><td>Description of Change(s)</td></tr><tr><td>1.0</td><td>2020-01-14</td><td>Initial Release</td></tr></table>

# Preface

# Copyright © 2020 ADLINK Technology Inc.

This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer.

# Disclaimer

The information in this document is subject to change without prior notice in order to improve reliability, design, and function and does not represent a commitment on the part of the manufacturer.

In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibility of such damages.

ADLINK is committed to fulfill its social responsibility to global environmental preservation through compliance with the European Union's Restriction of Hazardous Substances (RoHS) directive and Waste Electrical and Electronic Equipment (WEEE) directive. Environmental protection is a top priority for ADLINK. We have enforced measures to ensure that our products, manufacturing processes, components, and raw materials have as little impact on the environment as possible. When products are at their end of life, our customers are encouraged to dispose of them in accordance with the product disposal and/or recovery programs prescribed by their nation or company.

![Symbol of a trash bin crossed with a diagonal line, no text or labels present](.mcm-204-50-1z306-1000-10/866d79d76a8b67fd9603a178d797011c7354e2911e0a101c0f98abb829b32501.jpg)

Battery Labels (for products with battery)
![Symbol of a trash bin crossed out by two diagonal lines (no text or numbers present)](.mcm-204-50-1z306-1000-10/5aea272e07782d42836967516f5695958f2f48b1a1bd25d2786fc7fb2cd828bb.jpg)

![Recycling symbol icon with three chasing arrows inside a square frame (no text or labels)](.mcm-204-50-1z306-1000-10/3c036c60cfdf03ca935a74d6d8e601d2a7fe4ca19c350b508748adb4f67b18b8.jpg)

Li-ion

![RECYCLE\nRBRC\nLi-ion\n7.800.822.8837](.mcm-204-50-1z306-1000-10/ccb938f9f8b3ebc3f231057caf6e471d06900b2fb83405b1c12b1553abe2f2c1.jpg)

![Abstract geometric pattern with interlocking X and Y shapes (no text or symbols)](.mcm-204-50-1z306-1000-10/750c3492f9bcedf6e28a6acc0a90a8bade30bccce4c9037ee01c9e80a6019f2e.jpg)

ᘄ㟁ụㄳᅇᨲ

# California Proposition 65 Warning

![A yellow triangular warning sign with a black border containing a black exclamation point in the center.](.mcm-204-50-1z306-1000-10/1f7d7679662b615b6c2b0041733b84d334fe59f1ed4c658aaf8a82e2f508014b.jpg)

WARNING: This product can expose you to chemicals including acrylamide, arsenic, benzene, cadmium, Tris(1,3-dichloro-2-propyl)phosphate (TDCPP), 1,4-Dioxane, formaldehyde, lead, DEHP, styrene, DINP, BBP, PVC, and vinyl materials, which are known to the State of California to cause cancer, and acrylamide, benzene, cadmium, lead, mercury, phthalates, toluene, DEHP, DIDP, DnHP, DBP, BBP, PVC, and vinyl materials, which are known to the State of California to cause birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov.

# Trademarks

Product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.

# Conventions

Take note of the following conventions used throughout this manual to make sure that users perform certain tasks and instructions properly.

![The image displays a graphic of a white document resembling a sheet of paper with horizontal grey lines. A large, bold red checkmark is superimposed diagonally across the center of the paper. The top right corner of the document is folded down.](.mcm-204-50-1z306-1000-10/477f593ab91360b3ba5f0a82e80ee220b5d28ec07c327a054459d559ec2c90c5.jpg)
NOTE:

Additional information, aids, and tips that help users perform tasks.

![The image displays a yellow triangular warning sign with a thick black border. Centered within the triangle is a large black exclamation mark.](.mcm-204-50-1z306-1000-10/8756a6673fca9374d645dc32115d8a19357d26b7a1d52997b39352332797fcc1.jpg)
CAUTION:

Information to prevent minor physical injury, component damage, data loss, and/or program corruption when trying to complete a task.

![A dark red triangular warning sign with a white border, featuring a large white exclamation point in the center.](.mcm-204-50-1z306-1000-10/b5b855dec6ac4b0321db4fa92ffec8624bf10293e68d45165c2108b62cb93269.jpg)
WARNING:

Information to prevent serious physical injury, component damage, data loss, and/or program corruption when trying to complete a specific task.

# Table of Contents

# Preface ....... iii

# List of Figures ......... ..... vii

# 1 Introduction .......

1.1 Features...... 2
1.2 Applications ..... 2
1.3 Specifications.... 3

1.3.1 General Specifications...... 3
1.3.2 Analog Input .. 3
1.3.3 Isolated Digital I/O .. . 4
1.3.4 Mechanical .. 5
1.3.5 Environmental... 5

1.4 Mechanical Drawings... 6

1.4.1 Dimensions.... 6
1.4.2 DIN Rail Mount ... .. 10
1.4.3 Wall Mount... .. 11

1.5 I/O Connectors.... 13

1.5.1 Analog Input BNC Connector ..... .. 13
1.5.2 Digital Input and Output ... ... 14
1.5.3 Temperature Sensor Input. ... 14
1.5.4 Reset Pin for Factory Default .. .. 15
1.5.5 Ethernet Ports.... . 16
1.5.6 LED Indicators ... .. 16
1.5.7 USB Ports ..... .. 16

# 2 Getting Started ..... . 17

2.1 Unpacking the MCM-204 .... 17
2.2 Connecting to I/O ..... 17
2.3 Connecting/Disconnecting Power...... 18
2.4 Checking Device Status..... 18

# 2.5 Usage Scenarios..... . 18

2.5.1 First-Time Configuration / Portable DAQ .. .. 19
2.5.2 Periodic Polling (REST API) . .. 19
2.5.3 Continuous Data (Streaming SDK).......... .. 19
2.5.4 Passive Data (TCP Socket)..... . 19

# 3 Web Console ......... ...... 21

3.1 Web Console Login....... 21
3.2 Web Console Menu ...... 22
3.2.1 System Information... .. 24
3.2.2 Peripheral .. .. 25
3.2.3 Data History ..... .. 26
3.2.4 Mission Management.. .. 26
3.2.5 Change Password . . 27
3.2.6 Account Management.. . 27
3.2.7 System Setting........... .. 28
3.2.8 TCP Socket... .. 31

# 3.3 DAQ Mission ..... . 32

# 4 DAQ Missions......... ... 39

4.1 Usage Behaviors.... 39
4.1.1 Web Console .. .. 40
4.1.2 Periodic Polling .......... .. 40
4.1.3 Continuous Data ...... .. 41
4.1.4 Passive Data... .. 42

# 4.2 Custom Filtering Algorithms... 42

# Important Safety Instructions....... .. 45

# Getting Service ......... ... 47

# List of Figures

Figure 1-1: Front View .... . 6

Figure 1-2: Top View..... 7

Figure 1-3: Left Side View... . 8

Figure 1-4: Right Side View ... . 9

Figure 1-5: DIN Rail Mount Dimensions .... .. 10

Figure 1-6: Wall Mount Dimensions.... .. 11

Figure 1-7: Wall Mount Assembly ........ .. 12

Figure 1-8: BNC Connector Polarity . . 13

Figure 3-1: Web Console Login Page.... . 22

Figure 3-2: Web Console Welcome Page.... . 23

Figure 3-3: Menu Icon ..... .. 23

Figure 3-4: System Information.... .. 24

Figure 3-5: Peripheral Devices .... .. 25

Figure 3-6: Data History ..... .. 26

Figure 3-7: Mission Management . . 26

Figure 3-8: Change Password . . 27

Figure 3-9: Account Management... .. 27

Figure 3-10: Network Settings ... .. 28

Figure 3-11: System Settings.. .. 29

Figure 3-12: Upload Customization/Firmware Files..... .. 30

Figure 3-13: TCP Socket .. .. 31

Figure 3-14: Device Configuration ... .. 32

Figure 3-15: DataType ....... .. 33

Figure 3-16: Add Condition... . 35

Figure 3-17: Data Capture ...... ... 36

Figure 3-18: Device Settings..... .. 36

Figure 3-19: Apply a New Mission .. .. 37

Figure 4-1: Operational Modes . .. 40

Figure 4-2: RESTful API ... ... 40

Figure 4-3: DDS Function .... ... 41

This page intentionally left blank.

# 1 Introduction

With the advent of IoT, more field devices are connecting to the Internet. Instead of being distributed at each field site, systems can be monitored and managed from a central control room. In this scenario, machine condition monitoring systems play a crucial role. Monitoring devices are typically deployed at the OT site, but by using an Ethernet-based data acquisition system (DAQ), machine conditions can be monitored remotely by IT staff.

The ADLINK MCM-204 is a standalone Ethernet DAQ that acquires vibration signals from a monitored machine and transforms this signal from raw data into filtered data. By capturing data such as FFT, power spectrum, overall value (OA), etc., with a standalone DAQ, the MCM-204 plays a critical role in pre-processing at the edge. Continuous high-volume data generated in the field can be converted to filtered data, significantly reducing its size. This in turn dramatically reduces network bandwidth traffic as well as the backend server’s computing burden.

The MCM-204 is designed for on-site process automation in the field. When recovering from a power failure, the system will automatically resume its previous running state. The MCM-204's compact size also makes it easy to install in the limited confines of an electrical control cabinet.

# 1.1 Features

 Standalone Ethernet DAQ for edge computing
 RESTful API reports machine conditions to IT system
 Streaming SDK for continuous data acquisition
 Built-in web console for easy configuration and to facilitate its use as a portable DAQ
 Supports custom filtering algorithms for edge data
 4-channel, 24-bit simultaneous sampling analog input up to 128 kS/s
 System automatically resumes its previous running state upon power recovery
 Supports IEPE 4mA excitation current output on each analog input to drive accelerometer
 4-channel programmable isolated digital input/output (software selectable)
 Two 1 Gb Ethernet ports for cascading

# 1.2 Applications

 Distributed machine condition monitoring
 Vibration detection
 Acoustic measurement
 Environmental noise analysis

# 1.3 Specifications

# 1.3.1 General Specifications

<table><tr><td colspan="2">System Specifications</td></tr><tr><td>Ethernet (1 Gb)</td><td>2x RJ-45 Ethernet ports(1 IP, Ethernet cascade when powered on)</td></tr><tr><td>MCU</td><td>ARM Cortex A9 1.0 GHz</td></tr><tr><td>NAND Flash (eMMC)</td><td>4 GB</td></tr><tr><td>Memory</td><td>DDR3 RAM 1 GB</td></tr><tr><td>USB</td><td>2x USB 2.0 (for Wi-Fi dongle only)</td></tr><tr><td>Power Supply</td><td>9 to 30 VDC power input(optional: 40W AC-DC adapter, P/N 31-62138-0000)</td></tr><tr><td>Power Consumption</td><td>8.8 W max.</td></tr><tr><td>Communication Interfaces</td><td>Web console, RESTful API, Streaming SDK,TCP socket (client mode)</td></tr><tr><td>Digital Temperature Sensor (TI LMT01)</td><td>-50°C to 150°C (with 3 meter cable)</td></tr></table>

# 1.3.2 Analog Input

<table><tr><td colspan="2">Analog Input Specifications</td></tr><tr><td>Number of Channels</td><td>4 (simultaneous, BNC type)</td></tr><tr><td>Resolution</td><td>24-bit</td></tr><tr><td>Maximum Sampling Rate</td><td>128 kS/s and can be adjusted to 1 kS, 2 kS, 4 kS, 8 kS, 16 kS, 32 kS, 64 kS</td></tr><tr><td>Input Range (voltage)</td><td>±10 V, ±1.25 V</td></tr><tr><td>Input Configuration</td><td>Pseudo-differential</td></tr><tr><td>Input Coupling</td><td>DC/AC</td></tr><tr><td>IEPE</td><td>4 mA, compliance voltage +24 V</td></tr><tr><td>Sensor Type</td><td>IEPE sensor (vibration detection)</td></tr><tr><td>Offset Error</td><td>±0.1 mV</td></tr><tr><td>Gain Error</td><td>±0.05% of FSR</td></tr><tr><td>-3dB Bandwidth</td><td>0.43 x sampling rate</td></tr><tr><td>Flatness</td><td>±0.01 dB (10 Hz to 10 kHz)</td></tr><tr><td>AC Cut-off Frequency (-3dB)</td><td>0.4 Hz</td></tr><tr><td>AC Cut-off Frequency (-0.1dB)</td><td>2.4 Hz</td></tr><tr><td>Trigger Sources</td><td>Software, digital trigger, analog trigger, built-in button</td></tr><tr><td>Overvoltage Protection</td><td>±50 V</td></tr><tr><td>Input Impedance</td><td>200 kΩ between positive input and negative input115 Ω between negative input and analog ground1.5 kVdc between analog ground and chassis ground</td></tr><tr><td>Crosstalk</td><td>-100 dB</td></tr><tr><td>Dynamic Range</td><td>95 dB</td></tr><tr><td>THD (1kHz)</td><td>-100 dB</td></tr><tr><td>THD+N (1kHz)</td><td>-95 dB</td></tr></table>

# 1.3.3 Isolated Digital I/O

<table><tr><td colspan="2">Isolated Digital I/O Specifications</td></tr><tr><td>Number of I/O</td><td>4-ch DI/O (digital input and output can be configured)</td></tr><tr><td>Digital Type</td><td>TTL input: 0-5 V for DI / Open drain for DO</td></tr><tr><td>Input Logic Level</td><td>Logic low:  $VIL = 0.8 \text{ V max.}$ ,  $IIL = 0.2 \text{ mA max.}$ Logic high:  $VIH = 2.0 \text{ V min.}$ ,  $IIH = 0.2 \text{ mA max.}$ </td></tr><tr><td>Overvoltage Protection</td><td>±50 V</td></tr><tr><td>Supported Modes</td><td>Static digital input/outputTachometer support (DI 0 only; range: 0.6 Hz~500 kHz; 500 kHz for 1 microsecond)External digital trigger in</td></tr></table>

# 1.3.4 Mechanical

<table><tr><td colspan="2">Mechanical Specifications</td></tr><tr><td>Dimensions</td><td>110.5 (L) x 40 (W) x 126.5 (H) mm</td></tr><tr><td>Connectors</td><td>4x BNC + 2x 6-pin spring-type terminal block</td></tr><tr><td>Front Panel LEDs</td><td>4</td></tr><tr><td>Housing</td><td>Metal, IP30</td></tr><tr><td>Mounting</td><td>DIN rail mount kit(optional: wall mount kit, P/N 34-51112-0000)</td></tr></table>

# 1.3.5 Environmental

<table><tr><td colspan="2">Environmental Specifications</td></tr><tr><td>Operating Temperature</td><td>0°C to 50°C (32°F to 122°F)</td></tr><tr><td>Storage Temperature</td><td>-20°C to 70°C (-4°F to 158°F)</td></tr><tr><td>Humidity</td><td>Approx. 95% @ 40°C (non-condensing)</td></tr><tr><td>Vibration</td><td>Operating: 5 Grms, 5-500 Hz, 3 axes</td></tr><tr><td>Shock</td><td>Operating: 100 G, half sine 11 ms duration</td></tr><tr><td>EMC</td><td>EN61000-6-4/EN61000-6-2</td></tr><tr><td>EMI</td><td>FCC Part 15B Class A, CISPR 32</td></tr><tr><td>EMS</td><td>IEC 61000-4-2 ESD: Contact: 4 kV; Air: 8 kVIEC 61000-4-3 RS: 80 MHz to 1.0 GHz, 10 V/mIEC 61000-4-4 EFT: Power: 2 kV; Signal 2 kVIEC 61000-4-5 Surge: Power 0.5 kV; Signal 1 kVIEC 61000-4-6 CS: 0.15 MHz to 80 MHz, 10 VIEC 61000-4-8 PFMF</td></tr><tr><td>Safety</td><td>IEC 61010-1, IEC 61010-2-201 (pending)</td></tr></table>

# 1.4 Mechanical Drawings

# 1.4.1 Dimensions

![40\nADLINK\nDI/O\n0\n2\nD.GND\nA.GND\nDI/O\n1\n3 PWR\nD.GND\nSYS\nA.GND\nI/O\nUSB\nAI 0\nAI 1\nAI 2\nAI 3\nMCM-204\n126.5](.mcm-204-50-1z306-1000-10/90f74770284eb3ce430698cd7660637fa9c1446ccdaa612b43100ada4ee7f44c.jpg)

Units: mm

Figure 1-1: Front View

![40\n9-30 V+\nVDC\nV-\n111.65\n2 1\nRESET\nFn](.mcm-204-50-1z306-1000-10/d1932bdd65cf66d252995007dfe61f2f38c57416b91d0ecde2e2820813cb071e.jpg)

Units: mm
Figure 1-2: Top View

![Units: mm\n126.5\n111.65](.mcm-204-50-1z306-1000-10/29c91b27b0990bb2b6396071e4be0640f3aad0e3f1b8dfd058172e2d44e2234e.jpg)

Figure 1-3: Left Side View

![111.65\nUnits: mm\n126.5](.mcm-204-50-1z306-1000-10/548eba49101c48162258949f0d69c6dc1e02ed845bd91db1e9a8123220977aa0.jpg)

Figure 1-4: Right Side View

# 1.4.2 DIN Rail Mount

The DIN rail mount may be attached to the MCM-204 using two flat head screws (included).

![15\n89.18\n80.43\n78.38\n70.75\n41.1](.mcm-204-50-1z306-1000-10/79f56888a9d9834ec992dbed52d7ebc40bbfbc6d33e79185ccf8127219c5e76d.jpg)

Figure 1-5: DIN Rail Mount Dimensions

Units: mm

# 1.4.3 Wall Mount

The optional wall mount bracket may be attached to the MCM-204 via four pan head screws (included with wall mount kit, P/N 34-51112-0000; see also Figure 1-7 on page 12).

![80.0\n61.6\n20.0\n5.0\n70 100 106\nR5\nØ 5.2\nØ 4.5\nUnits: mm](.mcm-204-50-1z306-1000-10/0703bbd15d9dfb652f91c93b2eb60f3475a1894eee849d805657939afc20b787.jpg)

Figure 1-6: Wall Mount Dimensions

![Technical line drawing of an electronic device housing with mounting brackets and internal components (no text or symbols)](.mcm-204-50-1z306-1000-10/cfe1cb341b71c5ed5b5477dcf28a3eb6e2c24f91de6c3ef27539ad783d0bc4a2.jpg)

Figure 1-7: Wall Mount Assembly

# 1.5 I/O Connectors

The MCM-204 provides rich peripherals, including:

 4 analog inputs
 4 digital input and output connections
 1 temperature sensor input
 2 USB hosts (for Wi-Fi dongle only)
 1 hotkey for triggering
 1 reset pin for restoring the device to factory default settings
 2 Ethernet ports for host connection and cascading
 4 LED indicator lights

# 1.5.1 Analog Input BNC Connector

The MCM-204 module is equipped with four BNC connectors to receive voltage signals from various sources. For sensors requiring excitation, such as accelerometers or microphones, the IEPE excitation current can be enabled to reduce the wiring effort.

![AI 0\nNegative\nPositive](.mcm-204-50-1z306-1000-10/2fe1eebad2a613b56a08febe06c4ac310abb2f68c633725ff0d766315592a93e.jpg)

Figure 1-8: BNC Connector Polarity

# 1.5.2 Digital Input and Output

The MCM-204 provides 4 digital input/output channels labeled 0, 1, 2, and 3. Each channel can be set for input or output modes independently through the web console. Use D.GND for signal grounding with digital input/output. Use A.GND for signal grounding with analog input.

![DI/O\n0\n2\nD.GND\nA.GND\nDI/O\n1\n3\nD.GND\nA.GND](.mcm-204-50-1z306-1000-10/3496eee543c7218ddfc582b98393b0d8931eb1764677745c4cf9a982fc75135a.jpg)

# 1.5.3 Temperature Sensor Input

The MCM-204 allows you to monitor the temperature of a target device or environment between -50 to $1 5 0 ^ { \circ } \mathrm { C }$ using the temperature sensor provided. Connect the temperature sensor leads to the connector as shown.

![AI 2\nAI 3\nMCM-204\nTemp. Sensor Input](.mcm-204-50-1z306-1000-10/28d0476b209fec207350cef6c04978c80bf63c5a9b913648c83eb574b87f29cb.jpg)

# 1.5.4 Reset Pin for Factory Default

Restore the MCM-204 to its factory default settings using a paper clip or similar item inserted into the reset pin hole button and pressing the reset button for three seconds until the device reboots.

![The image depicts a white piece of paper with a folded top-left corner and faint horizontal grey lines. A large, thick red checkmark is drawn across the center of the paper.](.mcm-204-50-1z306-1000-10/1dff46df6d7b7b54fa790aba8b38c8e91c837057724a62049deea477a3868eaf.jpg)
NOTE:

Users can optionally configure the MCM-204 to retain its current network settings rather than restoring the factory defaults. See “Web Console” on page 21.

![40\n9-30 V\nVDC V\n111.65\n2 1\nRESET\nReset Pin\nFn](.mcm-204-50-1z306-1000-10/ecd0d91e97ca00d262e96e25ed4ddf2ed6718f3eee2b4846251f038356ecdc24.jpg)

Units: mm

# 1.5.5 Ethernet Ports

The MCM-204 has two GbE ports with one MAC address. Either port can be used for connecting to a host PC, leaving the second port available for cascading. The default static IP address is 169.254.1.1.

<table><tr><td>LED1 (Amber)</td><td>LED2 (Green)</td><td>Link/Activity</td></tr><tr><td>OFF</td><td>OFF</td><td>Link off</td></tr><tr><td>OFF</td><td>ON</td><td>1000 Link/Activity (Tx, Rx)</td></tr><tr><td>ON</td><td>OFF</td><td>100 Link/Activity (Tx, Rx)</td></tr><tr><td>ON</td><td>ON</td><td>10 Link/Activity (Tx, Rx)</td></tr></table>

# 1.5.6 LED Indicators

The MCM-204 has four LEDs located on the front panel.

<table><tr><td>LED</td><td>Function</td><td>Description</td></tr><tr><td>PWR</td><td>Power input</td><td>▸ OFF: Device is not powered▸ Steady red: Device is powered</td></tr><tr><td>SYS</td><td>Boot up and system status</td><td>▸ OFF: Powered off▸ Flashing red, then steady red for about 35 seconds: Booting up▸ Steady green: System ready▸ Steady red: System errorNote: Connect the MCM-204 to a host PC via Ethernet cable before powering it on to bypass the three minute boot up process.</td></tr><tr><td>I/O</td><td>Analog input</td><td>▸ Flashing: Analog data is being captured▸ OFF: No data is being captured from FPGA</td></tr><tr><td>USB</td><td>USB Device</td><td>▸ Slow flashing green: A USB device is detected and ready to use.▸ Fast flashing green: Data read/write activity</td></tr></table>

# 1.5.7 USB Ports

USB ports can be used to add a Wi-Fi dongle. Contact your ADLINK sales representative for more information.

# 2 Getting Started

# 2.1 Unpacking the MCM-204

Ensure that the following items are included in the package. If any items are missing, contact your sales representative for assistance.

 MCM-204
 DIN rail mount kit with 2x flat head screws
 Temperature sensor with 3 meter cable
 Quick Start Guide
 Optional accessories (if applicable):
 Wall mount kit with 4x pan head screws
 40W AC-DC adapter

![The image features a triangular warning symbol. It consists of a dark red (maroon) triangle pointing upwards, containing a large white exclamation point in its center. Directly below the triangle is the text 'WARNING' in black, uppercase letters.](.mcm-204-50-1z306-1000-10/fb526bb340a9a1b5997e940b067d4e6fe797dd76ef9da7f5a6622aa630863ce4.jpg)

Before unpacking, check the shipping carton for any damage. If the shipping carton and/or contents are damaged, inform your dealer immediately. Retain the shipping carton and packing materials for inspection. Obtain authorization from your dealer before returning any product to ADLINK.

# 2.2 Connecting to I/O

1 For analog input, plug in the accelerometer with a BNC type connector.
2. For digital input or output, insert the signal wires into the terminal block.
3. Use a CAT 5 type Ethernet cable to connect a host PC to one of the Ethernet ports on the top panel. To create a daisy chain of multiple MCM-204 devices, use the second Ethernet port to cascade them together. Cascading reduces the number of ports needed to connect devices.

![The image displays a yellow triangular warning sign containing a large black exclamation point. Below the triangle, the text 'CAUTION:' is printed in black capital letters.](.mcm-204-50-1z306-1000-10/4f5f9eb4b315693b9bb21879cc7d02d584b89cbe2a975e45e776ec0421dec556.jpg)

If connecting MCM-204 devices in a daisy chain, only use a sequence configuration: do not use a ring configuration. A ring configuration will cause network communications to fail.

4. For temperature measurement, plug a two-pin temperature sensor connector into the front panel ports before attaching the temperature sensor to the target area to be measured.

# 2.3 Connecting/Disconnecting Power

1 Before turning on the power source, connect the positive and negative wires from a 9 to 30 VDC power source to the terminal block.
2. Turn on the power source. If the power was connected correctly, the front panel red PWR LED will light up.

If the MCM-204 needs to be shut down, turn off the power source.

To remove the power wires, use a flat head screwdriver to push the orange slots on the terminal block and then pull out the wires.

![The image displays a standard warning sign featuring a yellow triangle with a black border and a central black exclamation point. Below the triangle, the text 'CAUTION:' is printed in black capital letters.](.mcm-204-50-1z306-1000-10/563791a2d5967430d2aee263a7fb431682b859248cbf9d8a28c4f050d76cc3a7.jpg)

Ensure the power source is turned off before connecting or removing the power wires.

# 2.4 Checking Device Status

1 When power is supplied, the PWR LED will be red. The SYS LED will initially blink red, then turn to a steady red for about 35 seconds, then change to a steady green indicating the device has successfully booted up.
2. Log into the device’s web console for additional status information and configuration options. See “Web Console Login” on page 21.

# 2.5 Usage Scenarios

The MCM-204 is designed for distributed machine condition monitoring and can be used in many kinds of scenarios. Choose the most suitable scenario depending on the system infrastructure, data type, and frequency of data retrieval.

# 2.5.1 First-Time Configuration / Portable DAQ

Use the web console to configure device information, system settings, network settings, and test measurement analog input settings. For portable DAQ usage, the MCM-204 has a built-in dashboard to show the results of acquired data. The web-based console is also a convenient tool for users unfamiliar with DAQ behavior or programming. See “Web Console” on page 21.

# 2.5.2 Periodic Polling (REST API)

Many distributed machine condition monitoring applications acquire device status periodically, for example, every minute, or hourly. The MCM-204 retains captured data in the REST data format. Especially in IT systems, user applications frequently adopt REST APIs because they are intuitive. The MCM-204 emulates all functions supported by REST APIs, and the MCM-204 embedded middleware executes related operations and transfers the filtered data in JSON format. All queries from a REST command are handled by the MCM-204 and reply accordingly. See “DAQ Missions” on page 39.

# 2.5.3 Continuous Data (Streaming SDK)

Some applications need to acquire streaming data continuously. To transmit high volumes without data loss, raw data without any transformation is best. For users needing to access the DAQ library directly, the Streaming SDK is the proper method. By using the streaming API, all queried raw data may bypass the MCM-204’s middleware and route directly to the host PC via Ethernet. See “Continuous Data” on page 41.

# 2.5.4 Passive Data (TCP Socket)

For passively retrieving data, it is suitable to use a TCP socket with the MCM-204 in client mode. Whenever data is generated, the MCM-204 will be triggered to establish a TCP connection with the host PC and actively transmit the data. See “Web Console” on page 21.

This page intentionally left blank.

# 3 Web Console

This chapter describes how to use the built-in web console to configure the MCM-204 and view captured data.

# 3.1 Web Console Login

After the MCM-204 has been successfully powered on and a host PC has been connected to it, do one of the following: (1) set the PC’s network setting to either DHCP mode or link local mode; or (2) modify the PC’s IP address to be on the same network segment as the device (169.254.x.x). Next, open a web browser on the PC (Google Chrome is recommended) to access the web console via one of the following options.

# Option 1: IP Address

In the web browser’s address bar, enter the MCM-204’s IP address (e.g., http://169.254.1.1). The default network setting of the MCM-204 is Static IP mode with an IP address of 169.254.1.1.

# Option 2: Hostname

Connect the MCM-204 to a network component (switch/router) with DNS functionality, then enter the MCM-204’s hostname in the address bar of the host PC’s web browser, prefaced by http:// (e.g., http://mcm204-j801ns1001). A unique default hostname is generated for each MCM-204 device and can be found on the label of the box it was shipped in. The hostname can be changed within the web console.

After using either method, the web console will display within roughly 30 seconds, presenting the user with a login screen (see Figure 3-1 on the next page).

The default username is administrator and the default password is Adlink6166.

![ADLINK\nMenu\nLogin\nPlease login first.\nUsername *\nPassword *\nLOGIN\nCopyright © 2019 ADLINK Technology Inc. All Rights Reserved.](.mcm-204-50-1z306-1000-10/a8ed68d51f81c62d93efbfb7764efef2fab88ba2472b0bd77c1c436c9948a1ca.jpg)

Figure 3-1: Web Console Login Page

# 3.2 Web Console Menu

The web console menu bar includes the following items.

 System Information
 Device Setting
 Data Capture
 Peripheral
 Data History
 Data Condition
 Mission Management
 Change Password
 Account Management
 System Setting
 TCP Socket

![ADLINK\nLOGOUT\nMenu\nSystem Information\nDevice Setting\nData Capture\nPeripheral\nData History\nData Condition\nMission Management\nChange Password\nAccount Management\nSystem Setting\nTCP Socket\nDevice: MCM-204 Account administrator Role admin\nRestful API Doc\nWelcome\nDevice Name : MCM-204\nHostname : MCM204\nIP Address : 192.168.100.5\nMAC Address : 00:30:64:32:5d:5e\nTime : 2019-10-24 17:04:53(Asia/Taipei)\nTurn On : Oct 24 09:32:37\nSerial Number : J7F0EC1003\nCopyright © 2019 ADLINK Technology Inc. All Rights Reserved.](.mcm-204-50-1z306-1000-10/4236a25190cb0bf04bb70a7d082fef0d821b8d67b6c3f966bec5cf7ec218150f.jpg)

Figure 3-2: Web Console Welcome Page

Depending on the host PC screen size and resolution, the menu list might be collapsed. Click the menu icon to expand the menu.

![The image displays a red logo on a white background. The logo is an abstract, triangular shape resembling a stylized letter 'A'. It features horizontal white cutouts or negative space lines across the lower-middle section, giving it a segmented appearance.](.mcm-204-50-1z306-1000-10/fdddfcb1815fb120c1730936e7c88bc3abb28e08dc54c05166aa63255582b26d.jpg)

# ADLINK

![≡\nDevice: MCM-204 Account: administrator Role: admin](.mcm-204-50-1z306-1000-10/6f083ce46f3f3f6a68c7093a830426f75dd55335aa1367b424d85d5846a8b5e9.jpg)

Welcome

Figure 3-3: Menu Icon

# 3.2.1 System Information

The System Information page shows the device software version, general information, I/O channel status, and network status.

![System Information\nDevice Setting\nData Capture\nPeripheral\nData History\nData Condition\nMission Management\nChange Password\nAccount Management\nSystem Setting\nTCP Socket\nSystem Information\nSoftware Version\nFirmware Version : 19.10.1023\nDevice Information\nModel : MCM-204\nHostname : MCM204\nSerial Number : J7F0EC1003\nTime : 2019-10-24 17:09:11(Asia/Taipei)\nTurn On : Oct 24 09:32:37\nChannel Status\nChannel Status : DO : ready AI : ready DI : ready\nREFRESH\nNetwork Status\nIP Address : 192.168.100.5\nMAC Address : 00:30:64:32:5d:5e\nSubnet Mask : 24\nGateway : 192.168.100.1\nType : static\nDNS : 8.8.8.8,](.mcm-204-50-1z306-1000-10/a3cac031d845d54caccb06bb5af9736b27438b43114cda24c0293beae222f794.jpg)

Figure 3-4: System Information

# 3.2.2 Peripheral

Peripheral digital input/output and temperature sensor information is shown on this page. The Status area shows the current status of the peripherals. Select REFRESH to update the status.

Four digital input/output devices can be used. Each can be adjusted for either input or output mode. To enable/disable digital input/output, mark the appropriate check boxes as necessary.

![Peripheral\nAuto-Refresh per 5 seconds.\nStatus\nDIO0:High DIO1:High DIO2:High DIO3:High Temperature Sensor:N/A\nREFRESH\nDigital I/O Setting\nEnable DIO0 Digital Type\nInput\nEnable DIO1 Digital Type\nInput\nEnable DIO2 Digital Type\nInput\nEnable DIO3 Digital Type\nInput\nAPPLY\nNo I/O is selected.](.mcm-204-50-1z306-1000-10/0822b0c40da6362d14fc590fc30761c9622fc1afc717db5be51d50fb70fdec6d.jpg)

Figure 3-5: Peripheral Devices

# 3.2.3 Data History

Historical data can be retrieved in this page. Choosing a specific time period will speed up the data search.

![System Information\nDevice: MCM-204 Account: administrator Role: admin\nRestful API Doc\nHistory Data\nClear\nCLEAN ALL DATA\n*It will clean all history data.\nSearch Filter :\nAll User All Time\nUser: From:\nYear Month Day Hour Min Sec\n2019 9 28 17 11 48\nTo:\nYear Month Day Hour Min Sec\n2019 10 24 17 11 48\n*Press '*' and '-' keys on the keyboard to modify value.\nChannel Filter\nAll\nSEARCH](.mcm-204-50-1z306-1000-10/af54266d7f85e71660666cf56440c943574e25754c3d4e8537b1b4e4247f1d56.jpg)

Figure 3-6: Data History

# 3.2.4 Mission Management

A mission is a setting of I/O parameters with an intended output method. The MCM-204 will execute the same settings even after a reboot, so if Repeat Times is set to 0 (endless data capture), the MCM-204 will run its previous mission after reboot. To configure the I/O parameters for another mission, delete the current mission.

Channel Status shows if the AI and DI/O are running a mission or are ready to be assigned a new mission.

Mission Management

Delete Mission

Click the DELETE button to stop current mission.

Channel Status : DO:ready Al:ready Dl:ready

Figure 3-7: Mission Management

# 3.2.5 Change Password

This page is used to change the password of each MCM-204, whether there is a single device or multiple daisy chained devices. It is recommended that each device have a unique password since the default password for every MCM-204 is identical.

![Device: MCM-204 Account: administrator Role: admin\nChange Password\nStep 1:Enter original password first.\nOriginal Password\nCHECK](.mcm-204-50-1z306-1000-10/ba5872fc70a62c0cb7a53e32f583b519aafeadab86bf45b48fa8ce0bb48d0251.jpg)

Figure 3-8: Change Password

# 3.2.6 Account Management

This page manages user accounts and access privileges.

# Account Management

![Create New Account\nUsername Password Password Confirm Permission Guest\n* The password must be at least 8 characters and at least one uppercase characters, at least one lowercase characters and at least one number.\nCREATE\nAccount List\nNo. Username Permission Action\n1 administrator admin](.mcm-204-50-1z306-1000-10/87280fd9762402d262b6da254d72d707efe2e62c8d05d1210c9977e97b778954.jpg)

Figure 3-9: Account Management

# 3.2.7 System Setting

This page manages various system settings.

Hostname: The device’s hostname can be modified by entering a new hostname here and clicking the APPLY button. A hostname can be used instead of an IP address to access a specific device’s web console. See “Web Console Login” on page 21 for details.

Keep Network Setting: Select Enable to retain network settings even after the device has been reset to factory defaults.

![System Information\nDevice Setting\nData Capture\nPeripheral\nData History\nData Condition\nMission Management\nChange Password\nAccount Management\nSystem Setting\nTCP Socket\nSystem Setting\nNetwork Setting\nHostname\nMCM204\nEthernet\nType\nStatic\nAddress\n192.168.100.5\nGateway\n192.168.100.1\nMask\n24 - 255.255.255.0\nDNS 1\n8.8.8.8        DNS 2\nAPPLY\nKeep Network Setting : ○ Enable ● Disable\n('Enable' to keep the network setting after restore factory setting and 'Disable' will restore the all setting.)\nAPPLY](.mcm-204-50-1z306-1000-10/3defe044bd82493cbe2c1a6c5743bdeb6b7ebb2ec467641ab76e7fa638c02124.jpg)

Figure 3-10: Network Settings

Data Keep: By default, the MCM-204 stores history data only in RAM and the data is lost when the system reboots. Select Enable to also save history data to internal storage. The amount of disk space allocated for this purpose is 300MB. When that limit is reached, data that has gone for the longest period of time without being accessed will be overwritten first, thus preserving the data that has been accessed most recently.

Device Calibration: The MCM-204 can be recalibrated if necessary. Though the MCM-204 is factory-calibrated before shipment and associated calibration constants are written to the on-board EEPROM, it is possible that, over time or depending on temperature conditions, recalibration may become necessary.

![Time Setting\nYear Month Day Hour Min Sec\nTime: 2019 10 24 17 48 55\n* Press '+' and '-' keys on the keyboard to modify value.\nTime Zone NTP Server\nAsia/Taipei 0.us.pool.ntp.org\nAPPLY\nSystem Restart\nPress 'RESTART' to reboot the device.\nRESTART\nData Keep\nData Keep: Enable Disable\n('Enable' to keep history data in DISK and RAM and 'Disable' only keep it in RAM.)\nAPPLY\nDevice Calibration\nPress 'Apply' to calibrate the device.\nAPPLY](.mcm-204-50-1z306-1000-10/1497b46b7cec48f60b93bb75d08157ad3cb5312bf8667d0ed08129663af95802.jpg)

Figure 3-11: System Settings

Customization Library Upload: This function runs custom formulas on the MCM-204 according to a given file. See “Custom Filtering Algorithms” on page 42.

Firmware Upgrade: A firmware upgrade file can be uploaded to the MCM-204 through this feature. These files will periodically be provided through the product web page:

www.adlinktech.com/Products/IoT\_solutions/Smart\_Factory/MCM-204

# Customization library Upload

# Firmware Upgrade

Figure 3-12: Upload Customization/Firmware Files

# 3.2.8 TCP Socket

The MCM-204 supports TCP socket communication as a socket client. Enter the IP address and port number of the remote TCP socket server. Different analog input channels can be mapped to different ports. Select ADD RULE to add the TCP server to the Socket Connection List.

The Status column shows the communications status with the corresponding TCP socket server. If the socket is disconnected, select RE-CONNECT ALL to re-establish the connection.

![TCP Socket\nAdd Socket Connection\nAddress	Port	Channel\n192.168.100.2	6666	ALL\nADD RULE\nSocket Connection List\nRE-CONNECT ALL\nSocket No.	Status	Address	Port	Channel	Action\n1	✓	192.168.100.2	6666	ALL	Delete](.mcm-204-50-1z306-1000-10/4e8e922f4d1d3f3818a7b92ed6974da6d27855a8f2440082888f5b967fb06fcf.jpg)

Figure 3-13: TCP Socket

After setting the TCP socket connection and creating a DAQ mission, data generated by the MCM-204 will immediately begin transmitting to the TCP server side.

# 3.3 DAQ Mission

The MCM-204 performs excellent vibration detection with an analog IEPE accelerator connected. Related parameters can be set via the Device Setting page.

Device Config

<table><tr><td>Input Type</td><td colspan="2">Trigger Source</td><td colspan="2">Trigger Direction</td><td>Trigger Value</td></tr><tr><td>PseudoDifferential</td><td colspan="2">NoWait</td><td>Rising</td><td>1</td><td></td></tr><tr><td>Repeat Interval</td><td>Repeat Times</td><td>Sample Rate</td><td>Data Count</td><td>Tachometer</td><td></td></tr><tr><td>3000</td><td>1</td><td>128000</td><td>10240</td><td>Disable</td><td></td></tr><tr><td></td><td></td><td>Click the icon to adjust it.</td><td>Click the icon to adjust it.</td><td></td><td></td></tr></table>

Channel Config
![AI0 Config\nEnable the Channel\nCoupling Input Range\nAC ±10\nData Type\nVoltage\nADD CONDITION\nADD DATATYPE\nSensor Type Sensor Sensitivity (mV/g) IEPE\nAccelerometer 1000 Disable](.mcm-204-50-1z306-1000-10/37328366b65cbfc21bca83cad55098e414ce3af2549dccd79a954e656681eff7.jpg)

Figure 3-14: Device Configuration

Trigger Source allows the data capture function to be triggered from a particular source via analog and digital triggers.

Repeat Interval is the interval between data captures, in milliseconds. Each data query consists of data capture via FPGA plus data filtering via MCU. The time required for data filtering may vary according to the complexity of the filtering algorithm.

Repeat Times is the total number of times the data is to be captured. For endlessly repeating data capture, set to 0.

![The image features a dark red triangular warning sign with a white exclamation point in the center. Below the triangle, the text 'WARNING:' is printed in bold, black capital letters.](.mcm-204-50-1z306-1000-10/df1838860cdc461a51590214237727f09471e596764a96887f425b09a7164415.jpg)

Warning! If you are using a customized algorithm as your Data Type, it is strongly recommended to set Repeat Times to 1 for the first attempt, then to 10 for a limited data capture test. Once you have confirmed the algorithm is running as intended, you can set Repeat Times to 0 for repeated data capture.

Set Sample Rate and Data Count accordingly. Selecting the pen icon to display a convenient sliding tool with fine-tuned (+/-) adjustments.

For each analog input channel, click DataType to choose which data type to use for the output.

Channel Config

![AI0 Config\nRawData\nVoltage\nInput Range\n±10\nFFT_PowerSpec\nOA_g(RMS)\nOA_g(Peak)\nOA_mm/s(RMS)\nOA_mm/s(Peak)\nOA_um(P-P)\nSensor Sensitivity (mV/g)	IEPE\nG	Disable\nCustomization](.mcm-204-50-1z306-1000-10/34b84e6cef5c05fa4ef21ddf8591c6139295837f3a681bda38678fcfe4ea33a4.jpg)

Figure 3-15: DataType

The MCM-204 has built-in functionality for several common data types and also supports user-customized data types, as detailed in the table below. If two or more data types are required for an analog input channel, select ADD DATATYPE for each additional data type.

<table><tr><td>Data Type</td><td>Description</td></tr><tr><td>Raw Data</td><td>The raw data generated by ADC (24 bit, 2&#x27;s complement)</td></tr><tr><td>Voltage</td><td>Transferred from raw data</td></tr><tr><td>FFT_PowerSpec</td><td>Power spectrum transferred by fast Fourier transform (FFT)</td></tr><tr><td>OA_g(RMS)</td><td>Overall value in the format of g(RMS)</td></tr><tr><td>OA_g(Peak)</td><td>Overall value in the format of g(Peak)</td></tr><tr><td>OA_mm/s(RMS)</td><td>Overall value in the format of mm/s(RMS)</td></tr><tr><td>OA_mm/s(Peak)</td><td>Overall value in the format of mm/s(Peak)</td></tr><tr><td>OA_um(P-P)</td><td>Overall value in the format of um(P-P)</td></tr><tr><td>G</td><td>Acceleration transferred from sensor sensitivity</td></tr><tr><td>Customization</td><td>Customized data type set by user</td></tr></table>

ADD CONDITION provides an event warning mechanism. When a given condition is triggered, a warning message will display on the Data Condition page.

Channel Config

![AIO Config\nEnable the Channel\nCoupling Range\nAC ±10\nDataType\nVoltage\nADD CONDITION\nName Severity Direction Value\nRule Warning Above 1\nADD DATATYPE\nSensor Type Sensor Sensitivity (mV/g) IEPE\nAccelerometer 1000 Disable](.mcm-204-50-1z306-1000-10/6b5a25ed722bd8bca800327b729070360b5be12e341ebd6a11ee5254cb5c4d7e.jpg)

Figure 3-16: Add Condition

After the desired settings have been configured, click APPLY to activate your changes.

The Data Capture page displays DAQ results in real time. You can use the data capture function in lab testing or as a portable DAQ device. Raw data and Voltage can be converted to charts for troubleshooting.

Capture Data

Data In JSON

![{'Data': ( 2 items\n    0 : { 1 item\n        'AI0' : { 1 item\n            'OA_g(RMS)': (...) 1 item\n        }\n    }\n    1 : { 1 item\n        'AI1' : { 1 item\n            'Voltage': 10240 items\n            ( 0 - 1000 )\n            ( 1000 - 2000 )\n            ( 2000 - 3000 )\n            ( 3000 - 4000 )\n            ( 4000 - 5000 )\n            ( 5000 - 6000 )\n            ( 6000 - 7000 )\n            ( 7000 - 8000 )\n            ( 8000 - 9000 )\n            ( 9000 - 10000 )\n            ( 10000 - 10240 )\n    }\n    }\n    )\n    'Date': '2019-10-25 11:06:07.972'\n}](.mcm-204-50-1z306-1000-10/43f8f326d4f57da9b63ef22fed023d11aad95f04f23b72c897210c2a5e32e07e.jpg)

Figure 3-17: Data Capture

Device Settings

Mission Profile Management

Save Profile

Load Default

Select Mission Profile

Choose FlleNo file chosen

Device Config

PseudoDifferential

NoWait

1

Figure 3-18: Device Settings

Settings may be saved as a Mission Profile (JSON file) for backup or for convenient duplication on other MCM-204 devices. Click SAVE PROFILE to download the file to your PC. To import a Mission Profile to an MCM-204 device, click Choose File under Select Mission Profile and select the desired configuration file.

All settings will change according to that file. Alternatively, clicking LOAD DEFAULT will restore all settings to their default values. After any change to device settings, the APPLY button must be clicked in order to activate the changes.

If a mission is already running while attempting to apply new changes, a confirmation window will appear. If you’re ready for the MCM-204 to cancel its previous mission and start running the new mission, click YES.

![Device Settings\nAI/DI Mission Profile Management\nApply New Mission ?\nA previous mission is still running. Do you want to cancel the existing mission\nand apply new mission?\nYES	NO\nAdding Input	Adding Output	Digital Input\nDevice Config\nInputType	Trig Source	Trig Direction	Trig Value\nPseudoDifferential	NoWait	Rising	1](.mcm-204-50-1z306-1000-10/2a11d24cdc3d3baf7d3702a5fd3e84365f252da8efabad4fdb2183c77eb8e282.jpg)

Figure 3-19: Apply a New Mission

This page intentionally left blank.

# 4 DAQ Missions

The MCM-204 supports various modes of operation that users can choose from to quickly integrate into their systems.

# 4.1 Usage Behaviors

IEPE sensors transmit raw data to the MCM-204 which can then be filtered to other kinds of data types that are more application appropriate, such as overall vibration values (ISO 10816) for mechanical vibration data. The overall vibration value data size is greatly reduced in comparison to raw data, so the backend server receives much less data for analysis. Data filtering is best suited to applications requiring continual information updates at a given time interval, such as every minute, which the user can then review periodically.

In contrast to data filtering, some applications, such as lab testing, require continuous raw data for analysis. However, continuous transmission of large amounts of raw data places a heavy burden on the backend server and takes up more network bandwidth. Evaluate your bandwidth and application requirements carefully in order to adopt the most suitable programming method for your needs.

There are three major usage behaviors: Periodic Polling, Continuous Data, and Passive Data. Choosing between them depends on how frequently data must be retrieved. Figure 4-1 on page 40 can serve as a guide for selecting the appropriate usage behavior for system integration based on polling data frequency.

For the periodic polling mode, MCM-204 provides a REST API and sample code in C#, Python, and JavaScript. Alternatively, for continuous data mode, MCM-204 provides a Streaming SDK and associated C/C++ sample code.

# 4.1.1 Web Console

The MCM-204 has a built-in, easy-to-use web console that implements all device functionalities. By logging into the web console through a connected host PC, users can see all of the device’s current settings, each feature it provides, and any vibration data it has collected. See “Web Console” on page 21.

![**Labeled Blocks:**\n\n*   Configuration / See data in web\n*   Web browser\n*   Periodically Polling Data\n*   REST API\n*   Passively get data\n*   TCP socket- server mode\n*   Continuous Data\n*   Streaming SDK\n*   Web Console\n*   REST Server\n*   TCP Socket- client mode\n*   Data in JSON format\n*   Filtered Data\n*   Raw Data\n\n**Connections:**\n\n*   From 'Web browser' down to 'Web Console'\n*   From 'Web Console' right to 'REST Server'\n*   From 'REST API' down to 'REST Server'\n*   From 'Data in JSON format' up to 'REST Server'\n*   From 'Data in JSON format' up to 'TCP Socket- client mode'\n*   From 'TCP Socket- client mode' up to 'TCP socket- server mode'\n*   From 'Streaming SDK' down to 'Raw Data'\n*   From 'Raw Data' up to 'Filtered Data'\n*   From 'Filtered Data' up to 'Data in JSON format'](.mcm-204-50-1z306-1000-10/bb015c667f924574d3fd719ad5ba3cc66bbdd48dd94054dc4b409c62cb74d694.jpg)

Figure 4-1: Operational Modes

# 4.1.2 Periodic Polling

A RESTful API is provided to facilitate periodic data polling. The REST document can be found on the web console’s menu bar.

![ADLINK\nMenu\nDevice: MCM-204 Account: administrator Role: admin\nSystem Information\nRestful API Doc](.mcm-204-50-1z306-1000-10/c33bdb9c22fb6f99e70ac3fd410f428b200b79250c5dbf295aacfe68a27b96d7.jpg)

Figure 4-2: RESTful API

Using this API, functionalities shown in the web console can be implemented in your own custom software. Function references and sample code in Python, JavaScript, and C# are available for download on the MCM-204 product web page:

www.adlinktech.com/Products/IoT\_solutions/Smart\_Factory/MCM-204

# 4.1.3 Continuous Data

To use continuous data mode, first install the Streaming SDK, available for download on the MCM-204 product web page:

www.adlinktech.com/Products/IoT\_solutions/Smart\_Factory/MCM-204

After installation, C/C++ sample code and function references can be found in the C:\ADLINK\MCM\MCM200 folder.

Before using the Streaming SDK, DDS must be enabled via the MCM-204 web console.

# Data Keep

Data Keep:

![The image displays a dark, thick-lined circle or ellipse centered horizontally near the top. The interior of the shape is filled with a faint, speckled texture, contrasting with the plain white background.](.mcm-204-50-1z306-1000-10/2cc470293d5951a96c1e05eb7bf8a1b5353329dbccef2877e876b979f5fb8105.jpg)

Enable

![The image displays two red circular shapes on a white background. On the left is a solid red circle. On the right is a concentric red circle design, consisting of a central red dot surrounded by a red ring.](.mcm-204-50-1z306-1000-10/42c8e38dd29603aa34f96e5de3f57e2eaf08040d8b388fced42e9bd820ba943d.jpg)

Disable

# DDS Setting

DDs Seting:

![The image displays a logo featuring a bullseye design on a white background. It consists of a pink ring and a solid pink center circle, separated by a white gap.](.mcm-204-50-1z306-1000-10/fb06763428ba80fbf5f95aa4e33962754d8ad3b9860a6bf7d45dcda27c12b371.jpg)

Enable

![The image displays a simple, thin, dark outline of a circle set against a plain white background. The image is slightly blurry.](.mcm-204-50-1z306-1000-10/ad2877be3369aa1b8fcc4550ff9013f784e5c3c1394b30c236e42dd792dbc616.jpg)

Disable

# Device Calibration

Press 'Apply' to calibrate the device.

Figure 4-3: DDS Function
![The image shows a red equilateral triangle containing a centered white exclamation mark. Above the triangle is a thin black horizontal line, set against a white background. This is a standard warning symbol.](.mcm-204-50-1z306-1000-10/b90c7ba099e964b759ad2f67826af9dcfa0f3db75075cc2f0581c7747e89f94b.jpg)
WARNING:

 When using DDS, the host server and MCM-204 must be deployed to the same network segment.
 The programming environment’s debug mode is inaccessible.
It is strongly recommended not to use the REST API for querying continuous data.

# 4.1.4 Passive Data

The conventional message exchange pattern of the MCM-204 for Periodic Polling and Continuous Data modes is request-response, with the MCM-204 serving as responder. After receiving a query from the host, the MCM-204 responds with the requested data. However, for some applications it’s desirable for the host server to passively wait for data from the client. In such cases, a TCP socket function can instruct the MCM-204 to automatically send data to the host server whenever data is generated. See “TCP Socket” on page 31.

# 4.2 Custom Filtering Algorithms

The MCM-204 offers flexible support options for custom filtering algorithms. Users can easily import their own domain-knowledge algorithms to the MCM-204. Custom filtering algorithms must be written in C or C++ and compiled under Linux.

Use the following steps to create a custom filtering algorithm.

1. Download and extract the Linux toolchain:
https://releases.linaro.org/components/toolchain/
binaries/6.2-2016.11/arm-linux-gnueabihf/
gcc-linaro-6.2.1-2016.11-x86\_64\_arm-linux-gnueabihf.tar.xz

2. Download CustomizedAlgo.zip from the MCM-204 web page and extract the CalStatistic (C++) and CalRMS (C) sample program folders.

https://www.adlinktech.com/Products/IoT\_solutions/ Smart\_Factory/MCM-204

3. Place the extracted CalRMS and Linux toolchain folders in the same file path.

![gcc-linaro-6.2.1-\n2016.11-x86_64_\narm-linux-\ngnueabihf](.mcm-204-50-1z306-1000-10/58b2046000f6ff6559fec3235710bd75356cc994f5d0c155bc574e2038b9a1bc.jpg)

![The image displays a graphic of an orange folder icon centered on a white background. The folder has a tab at the top left, a white highlight on the left edge, and a gradient that transitions from light orange at the top to a deeper orange at the bottom. Below the folder icon is the text 'CalRMS' written in a bold, sans-serif font in dark grey or black.](.mcm-204-50-1z306-1000-10/46746f03564f60500a07943e6c66c0f773f5cd9c4db5962c5eb83130d35a2f73.jpg)

4. Run the “make” command from within the CalRMS folder to generate a customAlgo.so file.

![NOTICE\nDear (redacted),\nThe purpose of this letter is to inform you that the\nboard has made a decision regarding the installation of\nsolar panels on your home. After a review of your\napplication, the board has determined that the proposed\ninstallation does not meet the requirements set forth in\nthe community's governing documents.\nSpecifically, the proposed placement and appearance of\nthe solar panels are inconsistent with the aesthetic\nstandards outlined in the covenants, conditions, and\nrestrictions (CC&Rs) for the community.\nWhile we appreciate your interest in renewable energy,\nwe must adhere to the established guidelines to maintain\nthe uniform appearance of the neighborhood.\nTherefore, the board has decided to deny your request\nfor the installation of solar panels at this time.\nWe understand this may be disappointing news, but we\nhope you understand our decision.\nIf you have any questions or concerns regarding this\ndecision, please contact the management office.\nSincerely,\n(redacted)\nBoard Member](.mcm-204-50-1z306-1000-10/94dbf7466b0dd416b6ce86f03910d77bea6ec4175382209606e83488ffffc132.jpg)

customAlgo.so

5. Upload customAlgo.so to the MCM-204 from the web console System Setting page.

![Customization library Upload\nLibrary Upload: Choose File No file chosen\n(Please Select a so file.)\nUPLOAD](.mcm-204-50-1z306-1000-10/f002f116515a1848f7bcd8d1d42ecdb9c8c2d6d6e2119d89b64fda21519dd7e2.jpg)

6. After it uploads, log back into the web console.

![You have to re-login .\nRe-login](.mcm-204-50-1z306-1000-10/71f3156c9fdd82e5880c7dade5d91e122cdde554794baa071c56c3516858fb1a.jpg)

7. After logging in, choose Customization as the data type, set parameters as needed, then click APPLY to apply the task to the MCM-204.

![AI0 Config\nEnable the Channel\nCoupling Input Range\nAC ±10\nData Type Customization Parameter\nCustomization 'rms'\nADD DATATYPE\nSensor Type Sensor Sensitivity (mV/g) IEPE\nAccelerometer 100 Enable\nAI1 Config\nAI2 Config\nAI3 Config](.mcm-204-50-1z306-1000-10/e2b19a41d61649667675aa8022ea558bda031616481f9a7e1e34110ece102d32.jpg)

![The image displays a rectangular outline containing the word 'APPLY' in red, capital letters, centered within the frame.](.mcm-204-50-1z306-1000-10/c4ae37ee609fe4096a044ccee5cb191b070aca1850678b3538cabf26300d4cb6.jpg)

8. Check the results on the data capture page.

![1 item\n'Data': ( 2 items\n0 : { 1 item\n'AI0': { 1 item\n'Customization': ( 1 item\n0 : 1.0328374\n)\n}\n}\n1 : { 1 item\n'Date': '2019-10-23 16:47:21.967'\n}](.mcm-204-50-1z306-1000-10/e15aeac657851afbd8fec559b0a67103c2d18cab5daff8d93c44cb48072e5d41.jpg)

# Important Safety Instructions

For user safety, please read and follow all instructions, Warnings, Cautions, and Notes marked in this manual and on the associated device before handling/operating the device, to avoid injury or damage.

S'il vous plaît prêter attention stricte à tous les avertissements et mises en garde figurant sur l'appareil , pour éviter des blessures ou des dommages.

 Read these safety instructions carefully.
 Keep the User’s Manual for future reference.
 Read the Specifications section of this manual for detailed information on the recommended operating environment.
 The device can be operated at an ambient temperature of 50ºC.

When installing/mounting or uninstalling/removing device, or when removal of a chassis cover is required for user servicing:

 Turn off power and unplug any power cords/cables.
 Reinstall all chassis covers before restoring power.

 To avoid electrical shock and/or damage to device:

 Keep device away from water or liquid sources.
 Keep device away from high heat or humidity.
 Keep device properly ventilated (do not block or cover ventilation openings).
 Always use recommended voltage and power source settings.
 Always install and operate device near an easily accessible electrical outlet.
 Secure the power cord (do not place any object on/over the power cord).
 Only install/attach and operate device on stable surfaces and/or recommended mountings.

 If the device will not be used for long periods of time, turn off and unplug it from its power source
 Never attempt to repair the device, which should only be serviced by qualified technical personnel using suitable tools

 A Lithium-type battery may be provided for uninterrupted backup or emergency power.

![The image shows a standard safety warning sign. It features a yellow triangle with a black border containing a large black exclamation mark in the center. Below the triangle, the text 'CAUTION:' is printed in black capital letters.](.mcm-204-50-1z306-1000-10/0c2847668cca95e3e6dfb989b59fa4bf05508f9395c84c4b8cb500e96c1abc0e.jpg)

Risk of explosion if battery is replaced with one of an incorrect type; please dispose of used batteries appropriately.

Risque d’explosion si la pile est remplacée par une autre de type incorrect. Veuillez jeter les piles usagées de façon appropriée.

 The device must be serviced by authorized technicians when:

 The power cord or plug is damaged.
 Liquid has entered the device interior.
 The device has been exposed to high humidity and/or moisture.
 The device is not functioning or does not function according to the User’s Manual.
 The device has been dropped and/or damaged and/or shows obvious signs of breakage.

Disconnect the power supply cord before loosening the thumbscrews and always fasten the thumbscrews with a screwdriver before starting the system up.

 It is recommended that the device be installed only in a server room or computer room where access is:

 Restricted to qualified service personnel or users familiar with restrictions applied to the location, reasons therefor, and any precautions required.

 Only afforded by the use of a tool or lock and key, or other means of security, and controlled by the authority responsible for the location.

<table><tr><td>&lt;img src="images/ffe0f2b35b0862553ef2225340f444105f55bc5c327d3c40e59eec31d9a624dd.jpg"/&gt;</td><td>BURN HAZARDTouching this surface could result in bodily injury.To reduce risk, allow the surface to cool before touching.RISQUE DE BRÛLURESNe touchez pas cette surface, cela pourrait entraîner des blessures.Pour éviter tout danger, laissez la surface refroidir avant de la toucher.</td></tr></table>

# Getting Service

Ask an Expert: http://askanexpert.adlinktech.com

# ADLINK Technology, Inc.

9F, No.166 Jian Yi Road, Zhonghe District

New Taipei City 235, Taiwan

Tel: +886-2-8226-5877

Fax: +886-2-8226-5717

Email: service@adlinktech.com

# Ampro ADLINK Technology, Inc.

5215 Hellyer Avenue, #110

San Jose, CA 95138, USA

Tel: +1-408-360-0200

Toll Free: +1-800-966-5200 (USA only)

+1-408-360-0222

Email: info@adlinktech.com

# ADLINK Technology (China) Co., Ltd.

300 Fang Chun Rd., Zhangjiang Hi-Tech Park

Pudong New Area, Shanghai, 201203 China

Tel: +86-21-5132-8988

Fax: +86-21-5132-3588

Email: market@adlinktech.com

# ADLINK Technology GmbH

Hans-Thoma-Straße 11

D-68163 Mannheim, Germany

Tel: +49-621-43214-0

Fax: +49-621 43214-30

Email: emea@adlinktech.com

Please visit the Contact page at www.adlinktech.com for information on how to contact the ADLINK regional office nearest you:
[🔗 Link to the original document](.mcm-204-50-1z306-1000-10/mcm-204-50-1z306-1000-10.pdf)
