CPS-MG341-ADSC1-111

Contec CPS-MG341-ADSC1-111, CPS-MG341-ADSC1-931, CPS-MG341G-ADSC1-930, CPS-MG341G5-ADSC1-931 Reference guide

  • Hello! I've reviewed the CONTEC M2M Gateway Series Integrated type Reference Manual. This document provides information about setting up the gateway, collecting data from various PLCs, and using its cloud services. I'm familiar with the device's features, such as its PLC support, remote monitoring, and data collection capabilities. I am ready to answer your questions about the capabilities of this device.
  • How many PLCs can be connected via Ethernet?
    How many PLC can be connected via serial connection?
    What is the maximum number of register groups that can be connected?
    Can I monitor facilities remotely?
Reference Manual
(Software)
CONTENTS
M2M Gateway Series
Integrated type
Firmware version 3.0.0 or later
Introduction .................................................................. 8
Safety Precautions .................................................... 17
Set the Computer Network ................................... 21
CONPROSYS WEB Setting ..................................... 27
Easy Data Process and Control ......................... 139
Monitoring Edit ...................................................... 189
Tag Edit ...................................................................... 202
Collecting Information From PLC .................... 210
Transferring Measured Data to Server ........... 220
Using The Product As OPC UA Sever ............. 230
Set the Auto Send Mail ....................................... 242
Connecting to Azure IoT Hub ........................... 247
MTConnect ............................................................... 264
FTP Communication ............................................. 268
MQTT Publish And Subscribe ........................... 273
BACnet ....................................................................... 307
Set Up Troubleshooting ...................................... 332
Appendix ................................................................... 336
Customer Support and Inquiry ......................... 378
Index ........................................................................... 380
2
Table of Contents
Introduction ...................................................................... 8
1. Product Outline .......................................................................................................................................................9
1. An Example Of System Composition .......................................................................................................9
2. Gateway Series Function ............................................................................................................................ 10
2. Manual Composition .......................................................................................................................................... 12
3. Procedure Until Ready To Use ........................................................................................................................ 13
4. Related Manuals ................................................................................................................................................... 14
5. Online Help ............................................................................................................................................................ 15
6. Check The Firmware Version ........................................................................................................................... 16
Safety Precautions ......................................................... 17
1. Safety Information ............................................................................................................................................... 18
2. Handling Precautions ......................................................................................................................................... 19
3. Security Warning .................................................................................................................................................. 20
1. Information Security Risks ......................................................................................................................... 20
2. Security Measures e.g. ............................................................................................................................. 20
Set the Computer Network ........................................... 21
1. Connect With a PC .............................................................................................................................................. 22
2. Set the Computer Network .............................................................................................................................. 23
1. Computer Network Setting Procedure (for Windows 10) ............................................................. 23
3. Check Communication ...................................................................................................................................... 26
CONPROSYS WEB Setting ............................................. 27
1. CONPROSYS WEB Setting Outline ................................................................................................................ 28
1. Compatible Web Browser .......................................................................................................................... 28
2. Start Up CONPROSYS WEB Setting ........................................................................................................ 28
3. CONPROSYS WEB Setting Basic Operation ........................................................................................ 29
2. Menu Function List .............................................................................................................................................. 31
3. Function Details .................................................................................................................................................... 33
1. Wired LAN ........................................................................................................................................................ 33
2. Wireless LAN ................................................................................................................................................... 35
3. 3G ........................................................................................................................................................................ 38
4. LTE ....................................................................................................................................................................... 41
5. Proxy................................................................................................................................................................... 44
6. Router Function ............................................................................................................................................. 45
7. IP Filter ............................................................................................................................................................... 52
8. Device ................................................................................................................................................................ 56
9. Data Transfer ................................................................................................................................................... 60
10. Azure IoT Hub................................................................................................................................................. 65
11. Time .................................................................................................................................................................... 66
12. Service ............................................................................................................................................................... 68
3
Table of Contents
13. Mail ..................................................................................................................................................................... 71
14. SMS ..................................................................................................................................................................... 74
15. OPC UA.............................................................................................................................................................. 76
16. MTConnect ...................................................................................................................................................... 78
17. FTP....................................................................................................................................................................... 79
18. PLC (Link config) ............................................................................................................................................ 82
19. PLC (CPU config) ............................................................................................................................................ 86
20. PLC (DEVICE config) ..................................................................................................................................... 88
21. MQTT Connection ......................................................................................................................................... 92
22. MQTT Publish ................................................................................................................................................. 97
23. MQTT Subscribe ..........................................................................................................................................104
24. BACnet .............................................................................................................................................................109
25. System .............................................................................................................................................................117
26. Modbus Data View .....................................................................................................................................119
27. File View ..........................................................................................................................................................122
28. Log ....................................................................................................................................................................124
29. Firmware Update .........................................................................................................................................125
30. Configuration File........................................................................................................................................126
31. User/Password ..............................................................................................................................................127
32. Network ..........................................................................................................................................................130
33. User's Restrictions .......................................................................................................................................131
34. Monitoring Edit ............................................................................................................................................132
35. Monitoring View ..........................................................................................................................................133
36. Task Edit ..........................................................................................................................................................134
37. Tag Edit ............................................................................................................................................................135
38. Save and Reboot .........................................................................................................................................136
39. Save and Shutdown ...................................................................................................................................136
40. Save ..................................................................................................................................................................136
41. Reboot .............................................................................................................................................................137
42. Shutdown .......................................................................................................................................................137
43. Forced Reboot ..............................................................................................................................................137
44. Repair SD and Reboot ...............................................................................................................................138
Easy Data Process and Control ................................... 139
1. CONPROSYS VTC Outline ...............................................................................................................................140
1. What You Can Do With CONPROSYS VTC ........................................................................................140
2. Work Area ......................................................................................................................................................141
3. Create Processing Tasks ............................................................................................................................141
4. Basic Procedure for Creating Processing Tasks ...............................................................................142
5. Internal Variables .........................................................................................................................................145
2. Summary Of Available Controls ...................................................................................................................146
3. Input/Output Module Allocation ................................................................................................................151
4. Sample ...................................................................................................................................................................152
5. 1. Sample (1) .....................................................................................................................................................153
2. Sample (2) ......................................................................................................................................................155
3. Sample (3) ......................................................................................................................................................158
4. Sample (4) ......................................................................................................................................................161
5. Sample (5) ......................................................................................................................................................163
6. Sample (6) ......................................................................................................................................................165
4
Table of Contents
7. Sample (7) ......................................................................................................................................................169
8. Sample (8) ......................................................................................................................................................174
9. Sample (9) ......................................................................................................................................................179
10. Sample (10) ................................................................................................................................................182
11. Sample (11) ................................................................................................................................................184
12. Sample (12) ................................................................................................................................................187
Monitoring Edit ............................................................ 189
1. CONPROSYS HMI Outline ..............................................................................................................................190
1. What You Can Do With CONPROSYS HMI ........................................................................................190
2. HMI Editor Work Areas .............................................................................................................................191
3. Create a Monitoring Screen ....................................................................................................................191
4. Basic Procedure for Creating a Monitoring Screen .......................................................................192
2. Summary of Available Controls ....................................................................................................................196
3. Internal Variables Specification ....................................................................................................................198
4. Sample ...................................................................................................................................................................199
1. Sample of Input / Output Monitoring Screen. ................................................................................199
Tag Edit ......................................................................... 202
1. Overview of Tag Edit .........................................................................................................................................203
1. Tag Edit Page .................................................................................................................................................203
2. TAG Export/Import ......................................................................................................................................207
Collecting Information From PLC ............................... 210
1. Display System Setting Page .........................................................................................................................211
2. PLC Link Configuration ....................................................................................................................................214
3. PLC CPU Configuration ....................................................................................................................................216
4. PLC Device Configuration ...............................................................................................................................218
Transferring Measured Data to Server ....................... 220
1. Data Transfer Outline .......................................................................................................................................221
2. Settings for Transferring Measured Data. ................................................................................................222
3. Data Transfer Setting ........................................................................................................................................223
1. Data Transfer .................................................................................................................................................223
2. Service .............................................................................................................................................................223
3. Time ..................................................................................................................................................................224
4. Network Setting ...........................................................................................................................................225
5. Wireless LAN .................................................................................................................................................226
6. 3G ......................................................................................................................................................................228
7. LTE .....................................................................................................................................................................229
5
Table of Contents
Using The Product As OPC UA Sever ......................... 230
1. OPC UA Client Preparation and Communication..................................................................................231
1. OPC UA Client Preparation ......................................................................................................................231
2. Communication With OPC UA Client ..................................................................................................231
2. Download OPC UA Sever Certificate ..........................................................................................................233
3. Upload OPC UA Client Certificate ...............................................................................................................235
4. Client Authentication By User ID .................................................................................................................237
5. Communication With CNC by FANUC .......................................................................................................238
6. OPC UA Server Specification .........................................................................................................................239
1. Overall Specification ..................................................................................................................................239
2. Address Space Specification ...................................................................................................................240
Set the Auto Send Mail ................................................ 242
1. SMTP Sever Setting ...........................................................................................................................................243
2. Mail Address Setting ........................................................................................................................................245
3. Send Mail Program ...........................................................................................................................................246
Connecting to Azure IoT Hub ..................................... 247
1. Azure IoT Hub Communication Functions ...............................................................................................248
1. Azure IoT Hub Communication Specification ..................................................................................248
2. Azure IoT Hub Preparation ............................................................................................................................249
1. Create a Microsoft Azure Account .......................................................................................................249
2. Create an Azure IoT Hub ..........................................................................................................................249
3. Obtain a Device Connection String ......................................................................................................252
3. Azure IoT Hub Setting .....................................................................................................................................255
4. Send Azure IoT Task ..........................................................................................................................................256
1. Sending Format ...........................................................................................................................................256
2. Set a Task ........................................................................................................................................................258
3. Check Sending .............................................................................................................................................261
4. Check Log .......................................................................................................................................................262
5. Check Resending File .................................................................................................................................262
6. Receiving Format .........................................................................................................................................262
7. Check Receiving ...........................................................................................................................................263
MTConnect ................................................................... 264
1. MTConnect Outline ...........................................................................................................................................265
1. MTConnect Overall Specification ..........................................................................................................265
2. MTConnect DataItem Specification .....................................................................................................266
3. An Example Of MTConnect Client Display ........................................................................................267
FTP Communication .................................................... 268
1. FTP Communication Function.......................................................................................................................269
6
Table of Contents
2. FTP Server Settings ...........................................................................................................................................270
3. File Sending/Receiving Program .................................................................................................................271
MQTT Publish And Subscribe ..................................... 273
1. MQTT Outline ......................................................................................................................................................274
2. Required Settings For MQTT Publish And Subscribe ..........................................................................275
3. MQTT Connection .............................................................................................................................................276
4. Examples for MQTT Publish and Subscribe .............................................................................................278
1. Publish (1) ......................................................................................................................................................279
2. Publish (2) ......................................................................................................................................................281
3. Publish (3) ......................................................................................................................................................283
4. Publish (4) ......................................................................................................................................................285
5. Publish (5) ......................................................................................................................................................288
6. Publish (6) ......................................................................................................................................................289
7. Publish (7) ......................................................................................................................................................290
8. Publish (8) ......................................................................................................................................................292
9. Subscribe (1) .................................................................................................................................................293
10. Subscribe (2) .................................................................................................................................................295
11. Subscribe (3) .................................................................................................................................................297
12. Subscribe (4) .................................................................................................................................................298
13. Subscribe (5) .................................................................................................................................................299
14. Subscribe (6) .................................................................................................................................................301
5. Examples for MQTT Application ..................................................................................................................302
1. Connection (1) ..............................................................................................................................................303
2. Connection (2) ..............................................................................................................................................304
3. Other (1)..........................................................................................................................................................306
BACnet .......................................................................... 307
1. BACnet Basic Information ...............................................................................................................................308
2. BACnet Server Function ..................................................................................................................................309
1. BACnet Object ..............................................................................................................................................309
2. Link with PLC communication ................................................................................................................316
3. BACnet Client Function ...................................................................................................................................318
4. Glossary .................................................................................................................................................................319
Router Function ........................................................... 320
1. Router Function Outline ..................................................................................................................................321
2. Router Function Setting ..................................................................................................................................322
1. DHCP Server ..................................................................................................................................................323
2. Static Routing ...............................................................................................................................................324
3. Port Forwarding ...........................................................................................................................................326
4. IP Filter .............................................................................................................................................................328
7
Table of Contents
Set Up Troubleshooting .............................................. 332
1. If You Encounter a Problem? .........................................................................................................................333
1. General ............................................................................................................................................................333
2. Data Transfer To The Server Problems ................................................................................................335
3. Monitoring Screen Creation And Display Problems .....................................................................335
4. Processing Task Creation And Display Problems ............................................................................335
Appendix ...................................................................... 336
1. Data Transfer Format ........................................................................................................................................337
2. F&eIT Protocol Specifications .......................................................................................................................341
1. Communications Sever Concept ...........................................................................................................341
2. Basic Specifications ....................................................................................................................................342
3. Control Information ...................................................................................................................................349
3. SD Card ..................................................................................................................................................................351
4. DIP Switch .............................................................................................................................................................352
5. LED ...........................................................................................................................................................................353
6. Modbus Status Information ...........................................................................................................................354
7. COM Setting ........................................................................................................................................................362
8. MQTT Publish And Subscribe Data Format .............................................................................................363
1. MQTT Publish Data Format .....................................................................................................................363
2. MQTT Resend File Format .......................................................................................................................365
3. MQTT Subscribe Data Format ................................................................................................................366
9. MQTT Communication Log ...........................................................................................................................368
1. COMMUNICATION LOG ...........................................................................................................................368
2. PUBLISH LOG ................................................................................................................................................369
3. SUBSCRIBE LOG ...........................................................................................................................................370
10. SMS Send Log .....................................................................................................................................................371
11. Industrial Value Conversion ...........................................................................................................................372
Setting Example 1 : Measurement Value ..................................................................................................372
Setting Example 2 : Current Value ...............................................................................................................374
Setting Example 3 : Connection With a Pyranometer of DC4-20mA Outputs ..........................376
Customer Support and Inquiry ................................... 378
1. Services ..................................................................................................................................................................379
Index ............................................................................. 380
8
Introduction
This section provides necessary information of the
product such as the product configuration and manuals
before actual use.
Introduction
M2M Gateway Series, Reference Manual (Software)
9
1. Product Outline
Add M2M Gateway series to your current facilities where devices are controlled by PLC, and data
from the devices can be collected and linked with IoT system such as Cloud service.
The controller features the capability of collecting data from several PLCs from various makers.
1. An Example Of System Composition
* Even several different device types from various makers are used, and with multiple interfaces and
communication protocols, the M2M Gateway series can collect data, monitor facilities, and
accumulate data of operations.
Brand A PLCs
Internet
(VPN)
Cloud Data Service
Brand B PLCs
RS-485
Ethernet
Brand C PLCs
M2M Ga teway
series
Introduction
M2M Gateway Series, Reference Manual (Software)
10
2. Gateway Series Function
Support multi-vendor
Data can be collected from several PLCs from various models or makers including Mitsubishi and
OMRON, and even in the environment where there are several interfaces and communication
protocols.
Collect data by easy setting
With simple configurations, data can be collected from multiple PLCs from various makers or
models.
With easy settings, information can be sent to cloud.
Monitor PLC device memory
The setting values and control results can be read and monitored from PLC device memory.
Remote-monitor facilities through cloud
The setting values and control results can be collected all at once.
Facilities in a remote location or overseas can be monitored.
Performances of devices can be accumulated.
Collect data on-premises
Data can be summarized easily with data collecting software for Windows PC provided free of
charge.
Collected data can be used with Modbus/TCP communication supported SCADA
Introduction
M2M Gateway Series, Reference Manual (Software)
11
Link Up to 10 Systems and 256 Register Groups
Connect up to 10 PLCs using an Ethernet connection or up to 128 PLCs using a serial connection.
Connect up to 256 register groups, gather up to 10000 data.
In case of computer links, the number of devices that can communicate is limited by hardware
specifications.
Introduction
M2M Gateway Series, Reference Manual (Software)
12
2. Manual Composition
This manual is composed as follows:
Introduction
M2M Gateway Series, Reference Manual (Software)
13
3. Procedure Until Ready To Use
The followings show the standard procedure until the product is ready to use.
Connect with a PC
Refer to
page 22
Set up the network of PC
Refer to
page 23
Set up with CONPROSYS WEB Setting
Refer to
page 28
Set Username and Password
Refer to
page 127
Save the settings
Refer to
page 135
Set up the product
Refer to Reference
Manual
(Hardware)
*This procedure can be different depending on the user's environment or system types.
Introduction
M2M Gateway Series, Reference Manual (Software)
14
4. Related Manuals
The manuals related to the product are listed below.
Read them as necessary along with this document.
Must Read The Following Manuals.
When to Read
Contents
How to Get
Must read this after
opening the package.
This lists the product
configuration and
describes the precautions.
Included in the package
(Printed matter)
Read this when setting up
the product.
This describes the required
items for setup and
configuration procedure.
Download from
the Contec
website (PDF)
(Hardware)
Read this when operating
the product.
This describes the
hardware aspects such as
functions and settings.
Download from
the Contec
website (PDF)
(Software)
Read this when setting up
the CONPROSYS WEB
Setting”.
This describes how to set
each function of
CONPROSYS WEB
Setting”.
Download from
the Contec
website (PDF)
Read The Following Manuals As Necessary.
Name
When to Read
Contents
How to Get
CONPROSYS Cloud Data
Service 2 (CDS2) Manual
Read this to understand
the outline of the
CONPROSYS Cloud
Data Service 2.
This describes the outline
and specification of the
CONPROSYS Cloud Data
Service 2 as well as how to
operate the product.
Download from
the Contec
website (PDF)
CONPROSYS Cloud Data
Service 2 Concise Manual
Read this when using
the CONPROSYS Cloud
Data Service 2.
This describes the procedure
to start monitoring
measured data in Cloud Data
Service 2.
Download from
the Contec
website (PDF)
Download Manuals
Download the manuals from the following URL.
Download
https://www.contec.com/download/
Introduction
M2M Gateway Series, Reference Manual (Software)
15
5. Online Help
We offer the detailed information on CONPROSYS VTCfor assembling processing tasks such as
calculation and control as well as on CONPROSYS HMIfor operating and editing the monitoring
screen through the Online Help.
Consult the Online Help as necessary.
CONPROSYS VTC (Visual Task Control).
Online Help
https://doc.conprosys.com/help/task/V1/en/
CONPROSYS HMI (Human Machine Interface)
Online Help
https://doc.conprosys.com/help/hmi/V1/en/
Introduction
M2M Gateway Series, Reference Manual (Software)
16
6. Check The Firmware Version
Before running the product, visit our website to check the firmware version and update to the latest
one if necessary.
Updating firmware to the latest version will resolve troubles and stabilize the operation.
Download
https://www.contec.com/download/
* Refer to the Firmware Update (page 125)for further details.
17
Safety Precautions
Understand the following definitions and precautions to
use the product safely. Never fail to read them before
using the product.
Safety Precautions
M2M Gateway Series, Reference Manual (Software)
18
1. Safety Information
This document provides safety information using the following symbols to prevent accidents
resulting in injury or death and the destruction of equipment and resources.
Understand the meanings of these labels to operate the equipment safely.
DANGER
Signal word used to indicate an imminently hazardous situation which,
if not avoided, will result in death or serious injury.
WARNING
Signal word used to indicate a potentially hazardous situation which,
if not avoided, could result in death or serious injury.
CAUTION
Signal word used to indicate a potentially hazardous situation which,
if not avoided, could result in minor or moderate injury.
Safety Precautions
M2M Gateway Series, Reference Manual (Software)
19
2. Handling Precautions
CAUTION
The specifications of the product are subject to change without notice for enhancement and
quality improvement. Even when using the product continuously, be sure to read the manual
in the CONTEC’s website and understand the contents.
Do not modify the software.
CONTEC will bear no responsibility for any problems, etc., resulting from modifying the
software.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that
may appear in this document or for results obtained by the user as a result of using the
software.
Safety Precautions
M2M Gateway Series, Reference Manual (Software)
20
3. Security Warning
When connecting to the network, be aware of security-related problems. See the examples of
Security measures below and set up the product properly along with the network devices.
1. Information Security Risks
Unauthorized access from the outside through a network could cause the system halt, data
damage, or exposure to malware. *1
Invaded and used as a stepping stone, a device might attack the others through networks. (a
victim becomes an assailant)
Information might leak without realizing due to the connection to the network.
Secondary damages such as harmful rumors, liability in damages, social credibility fall, and
opportunity loss are expected led by the troubles described above.
*1: Malware (Malicious Software) is software that brings harm to a computer system and performs
unintended operations.
2. Security Measures e.g.
Do not keep using the default password. (Refer to the product manual for the password setting).
Set a strong password.
Combined with upper and lowercase letters, and numbers so that it cannot be easily
analogized by others.
Change the password periodically.
Disable unnecessary network services and functions.
Restrict access to the network with network devices. *2
Restrict ports to be released on the network with network devices. *2
Create a closed network connection using such as dedicated network or VPN*3
*2: Inquire for setting procedure to manufacturers.
*3: VPN (Virtual Private Network) a secured network that wards off unauthorized access by
protecting the communication path with authentication and encryption.
Unfortunately, there are no perfect ways to avert unauthorized access or close a security hole
that are endlessly found day and night.
Please understand that risks are always involved with the Internet connection, and we strongly
recommend a user should constantly update information security measures.
/