DAQ Missions
55
MCM-216/218
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.
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-216/218 product web page:
www.adlinktech.com/Products/IoT_solutions/Smart_Factory/
MCM-210_Series
4.1.3
Passive Data
The conventional message exchange pattern of the MCM-216/218
for Periodic Polling and Continuous Data modes is
request-response, with the MCM-216/218 serving as responder.
After receiving a query from the host, the MCM-216/218 responds
with the requested data. However, for some applications it’s desir-
able for the host server to passively wait for data from the client. In
such cases, a TCP socket function can instruct the MCM-216/218
to automatically send data to the host server whenever data is
generated. See “Data Manger/TCP Socket (for one-shut query
mode)” on page 34.
Содержание MCM-216
Страница 2: ...ii Revision History Revision Release Date Description of Change s 1 0 2021 05 10 Initial Release ...
Страница 15: ...Introduction 7 MCM 216 218 1 4 Mechanical Drawings 1 4 1 Dimensions Figure 1 1 Front View Units mm 126 50 40 ...
Страница 16: ...8 Introduction Figure 1 2 Top View Units mm 111 65 40 ...
Страница 17: ...Introduction 9 MCM 216 218 Figure 1 3 Left Side View 111 65 126 50 Units mm ...
Страница 18: ...10 Introduction Figure 1 4 Right Side View 111 65 126 50 Units mm ...
Страница 21: ...Introduction 13 MCM 216 218 Figure 1 7 Wall Mount Assembly ...
Страница 26: ...18 Introduction This page intentionally left blank ...
Страница 30: ...22 Getting Started This page intentionally left blank ...
Страница 32: ...24 Web Console Figure 3 1 Web Console Login Page ...
Страница 60: ...52 Web Console This page intentionally left blank ...