CPS-MG341G-ADSC1-930

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

  • Hello! I am a chat assistant and I have analyzed the M2M Gateway Series Integrated type Reference Manual. This document covers a wide range of topics, from setting up the device's network and web interface to configuring advanced data collection and transfer protocols. I ready to assist you with any questions you have about this powerful M2M gateway and its capabilities. I am ready to answer your questions about setting up network, collecting information from PLC, transfer measured data to server or how to use device as OPC UA Server.
  • What PLC brands can the gateway collect data from?
    Does this device support data transfer to cloud services?
    What are the primary communication protocols supported by this gateway?
Reference Manual
(Software)
CONTENTS
M2M Gateway Series
Integrated type
Firmware version 3.0.0 or later
Introduction .................................................................. 9
Safety Precautions .................................................... 18
Set the Computer Network ................................... 22
CONPROSYS WEB Setting ..................................... 28
Easy Data Process and Control ......................... 144
Monitoring Edit ...................................................... 194
Tag Edit ...................................................................... 207
Collecting Information From PLC .................... 215
Transferring Measured Data to Server........... 225
Using The Product As OPC UA Sever ............. 235
Set the Auto Send Mail ....................................... 247
Connecting to Azure IoT Hub ........................... 252
MTConnect ............................................................... 269
FTP Communication ............................................. 273
MQTT Publish And Subscribe ........................... 278
BACnet ....................................................................... 312
Set Up Troubleshooting ...................................... 345
Appendix ................................................................... 349
Customer Support and Inquiry ......................... 391
Index ........................................................................... 393
2
Table of Contents
Introduction ....................................................................... 9
1. Product Outline .................................................................................................................................................... 10
1. An Example Of System Composition .................................................................................................... 10
2. Gateway Series Function ............................................................................................................................ 11
2. Manual Composition .......................................................................................................................................... 13
3. Procedure Until Ready To Use ........................................................................................................................ 14
4. Related Manuals ................................................................................................................................................... 15
5. Online Help ............................................................................................................................................................ 16
6. Check The Firmware Version ........................................................................................................................... 17
Safety Precautions ........................................................... 18
1. Safety Information............................................................................................................................................... 19
2. Handling Precautions ......................................................................................................................................... 20
3. Security Warning .................................................................................................................................................. 21
1. Information Security Risks ......................................................................................................................... 21
2. Security Measures e.g. ............................................................................................................................. 21
Set the Computer Network ............................................ 22
1. Connect With a PC .............................................................................................................................................. 23
2. Set the Computer Network.............................................................................................................................. 24
1. Computer Network Setting Procedure (for Windows 10)............................................................. 24
3. Check Communication ...................................................................................................................................... 27
CONPROSYS WEB Setting ............................................... 28
1. CONPROSYS WEB Setting Outline ................................................................................................................ 29
1. Compatible Web Browser .......................................................................................................................... 29
2. Start Up CONPROSYS WEB Setting ........................................................................................................ 29
3. CONPROSYS WEB Setting Basic Operation ........................................................................................ 30
2. Menu Function List ............................................................................................................................................. 32
3. Function Details.................................................................................................................................................... 34
1. Wired LAN........................................................................................................................................................ 34
2. Wireless LAN ................................................................................................................................................... 36
3. 3G ........................................................................................................................................................................ 39
4. LTE ....................................................................................................................................................................... 42
5. Proxy .................................................................................................................................................................. 45
6. Router Function ............................................................................................................................................. 46
7. IP Filter............................................................................................................................................................... 53
8. Device ................................................................................................................................................................ 57
9. Data Transfer ................................................................................................................................................... 61
10. Azure IoT Hub................................................................................................................................................. 66
11. Time .................................................................................................................................................................... 67
12. Service ............................................................................................................................................................... 69
3
Table of Contents
13. Mail ..................................................................................................................................................................... 72
14. SMS ..................................................................................................................................................................... 75
15. OPC UA.............................................................................................................................................................. 77
16. MTConnect ...................................................................................................................................................... 79
17. FTP ...................................................................................................................................................................... 80
18. PLC (Link config) ............................................................................................................................................ 83
19. PLC (CPU config)............................................................................................................................................ 87
20. PLC (DEVICE config) ..................................................................................................................................... 89
21. MQTT Connection ......................................................................................................................................... 93
22. MQTT Publish ................................................................................................................................................. 98
23. MQTT Subscribe .......................................................................................................................................... 105
24. BACnet ............................................................................................................................................................. 110
25. FacilityView Connection............................................................................................................................ 118
26. FacilityView Transfer ................................................................................................................................... 119
27. System ............................................................................................................................................................. 122
28. Modbus Data View ..................................................................................................................................... 124
29. File View .......................................................................................................................................................... 127
30. Log .................................................................................................................................................................... 129
31. Firmware Update ......................................................................................................................................... 130
32. Configuration File ....................................................................................................................................... 131
33. User/Password .............................................................................................................................................. 132
34. Network .......................................................................................................................................................... 135
35. User's Restrictions ....................................................................................................................................... 136
36. Monitoring Edit ............................................................................................................................................ 137
37. Monitoring View .......................................................................................................................................... 138
38. Ta sk E d it .......................................................................................................................................................... 139
39. Tag Edit ............................................................................................................................................................ 140
40. Save and Reboot ......................................................................................................................................... 141
41. Save and Shutdown ................................................................................................................................... 141
42. Save .................................................................................................................................................................. 141
43. Reboot ............................................................................................................................................................. 142
44. Shutdown ....................................................................................................................................................... 142
45. Forced Reboot .............................................................................................................................................. 142
46. Repair SD and Reboot ............................................................................................................................... 143
Easy Data Process and Control ..................................... 144
1. CONPROSYS VTC Outline ............................................................................................................................... 145
1. What You Can Do With CONPROSYS VTC ........................................................................................ 145
2. Work Area ...................................................................................................................................................... 146
3. Create Processing Tasks ............................................................................................................................ 146
4. Basic Procedure for Creating Processing Tasks ............................................................................... 147
5. Internal Variables ......................................................................................................................................... 150
2. Summary Of Available Controls ................................................................................................................... 151
3. Input/Output Module Allocation ................................................................................................................ 156
4. Sample ................................................................................................................................................................... 157
5. 1. Sample (1)..................................................................................................................................................... 158
2. Sample (2) ...................................................................................................................................................... 160
3. Sample (3) ...................................................................................................................................................... 163
4. Sample (4) ...................................................................................................................................................... 166
4
Table of Contents
5. Sample (5) ...................................................................................................................................................... 168
6. Sample (6) ...................................................................................................................................................... 170
7. Sample (7) ...................................................................................................................................................... 174
8. Sample (8) ...................................................................................................................................................... 179
9. Sample (9) ...................................................................................................................................................... 184
10. Sample (10) ................................................................................................................................................ 187
11. Sample (11) ................................................................................................................................................ 189
12. Sample (12) ................................................................................................................................................ 192
Monitoring Edit .............................................................. 194
1. CONPROSYS HMI Outline .............................................................................................................................. 195
1. What You Can Do With CONPROSYS HMI ........................................................................................ 195
2. HMI Editor Work Areas ............................................................................................................................. 196
3. Create a Monitoring Screen .................................................................................................................... 196
4. Basic Procedure for Creating a Monitoring Screen ....................................................................... 197
2. Summary of Available Controls.................................................................................................................... 201
3. Internal Variables Specification .................................................................................................................... 203
4. Sample ................................................................................................................................................................... 204
1. Sample of Input / Output Monitoring Screen. ................................................................................ 204
Tag Edit ........................................................................... 207
1. Overview of Tag Edit ......................................................................................................................................... 208
1. Tag Edit Page................................................................................................................................................. 208
2. TAG Export/Import ...................................................................................................................................... 212
Collecting Information From PLC ................................ 215
1. Display System Setting Page ......................................................................................................................... 216
2. PLC Link Configuration .................................................................................................................................... 219
3. PLC CPU Configuration.................................................................................................................................... 221
4. PLC Device Configuration ............................................................................................................................... 223
Transferring Measured Data to Server........................ 225
1. Data Transfer Outline ....................................................................................................................................... 226
2. Settings for Transferring Measured Data. ................................................................................................ 227
3. Data Transfer Setting ........................................................................................................................................ 228
1. Data Transfer ................................................................................................................................................. 228
2. Service ............................................................................................................................................................. 228
3. Time .................................................................................................................................................................. 229
4. Network Setting........................................................................................................................................... 230
5. Wireless LAN ................................................................................................................................................. 231
6. 3G ...................................................................................................................................................................... 233
7. LTE ..................................................................................................................................................................... 234
5
Table of Contents
Using The Product As OPC UA Sever .......................... 235
1. OPC UA Client Preparation and Communication ................................................................................. 236
1. OPC UA Client Preparation...................................................................................................................... 236
2. Communication With OPC UA Client .................................................................................................. 236
2. Download OPC UA Sever Certificate .......................................................................................................... 238
3. Upload OPC UA Client Certificate ............................................................................................................... 240
4. Client Authentication By User ID ................................................................................................................. 242
5. Communication With CNC by FANUC....................................................................................................... 243
6. OPC UA Server Specification ......................................................................................................................... 244
1. Overall Specification .................................................................................................................................. 244
2. Address Space Specification ................................................................................................................... 245
Set the Auto Send Mail ................................................. 247
1. SMTP Sever Setting........................................................................................................................................... 248
2. Mail Address Setting ........................................................................................................................................ 250
3. Send Mail Program ........................................................................................................................................... 251
Connecting to Azure IoT Hub ...................................... 252
1. Azure IoT Hub Communication Functions .............................................................................................. 253
1. Azure IoT Hub Communication Specification.................................................................................. 253
2. Azure IoT Hub Preparation ............................................................................................................................ 254
1. Create a Microsoft Azure Account ....................................................................................................... 254
2. Create an Azure IoT Hub .......................................................................................................................... 254
3. Obtain a Device Connection String...................................................................................................... 257
3. Azure IoT Hub Setting ..................................................................................................................................... 260
4. S end Az ur e I o T Tas k .......................................................................................................................................... 261
1. Sending Format ........................................................................................................................................... 261
2. Set a Task ........................................................................................................................................................ 263
3. Check Sending ............................................................................................................................................. 266
4. Check Log....................................................................................................................................................... 267
5. Check Resending File ................................................................................................................................. 267
6. Receiving Format......................................................................................................................................... 267
7. Check Receiving ........................................................................................................................................... 268
MTConnect ..................................................................... 269
1. MTConnect Outline ........................................................................................................................................... 270
1. MTConnect Overall Specification .......................................................................................................... 270
2. MTConnect DataItem Specification ..................................................................................................... 271
3. An Example Of MTConnect Client Display ........................................................................................ 272
FTP Communication ...................................................... 273
1. FTP Communication Function ...................................................................................................................... 274
6
Table of Contents
2. FTP Server Settings ........................................................................................................................................... 275
3. File Sending/Receiving Program ................................................................................................................. 276
MQTT Publish And Subscribe ....................................... 278
1. MQTT Outline ...................................................................................................................................................... 279
2. Required Settings For MQTT Publish And Subscribe .......................................................................... 280
3. MQTT Connection ............................................................................................................................................. 281
4. Examples for MQTT Publish and Subscribe............................................................................................. 283
1. Publish (1) ...................................................................................................................................................... 284
2. Publish (2) ...................................................................................................................................................... 286
3. Publish (3) ...................................................................................................................................................... 288
4. Publish (4) ...................................................................................................................................................... 290
5. Publish (5) ...................................................................................................................................................... 293
6. Publish (6) ...................................................................................................................................................... 294
7. Publish (7) ...................................................................................................................................................... 295
8. Publish (8) ...................................................................................................................................................... 297
9. Subscribe (1) ................................................................................................................................................. 298
10. Subscribe (2) ................................................................................................................................................. 300
11. Subscribe (3) ................................................................................................................................................. 302
12. Subscribe (4) ................................................................................................................................................. 303
13. Subscribe (5) ................................................................................................................................................. 304
14. Subscribe (6) ................................................................................................................................................. 306
5. Examples for MQTT Application .................................................................................................................. 307
1. Connection (1) .............................................................................................................................................. 308
2. Connection (2) .............................................................................................................................................. 309
3. Other (1).......................................................................................................................................................... 311
BACnet ............................................................................ 312
1. BACnet Basic Information............................................................................................................................... 313
2. BACnet Server Function .................................................................................................................................. 314
1. BACnet Object .............................................................................................................................................. 314
2. Link with PLC communication ................................................................................................................ 321
3. BACnet Client Function ................................................................................................................................... 323
4. Glossary ................................................................................................................................................................. 324
Router Function ............................................................. 325
1. Router Function Outline .................................................................................................................................. 326
2. Router Function Setting .................................................................................................................................. 327
1. DHCP Server .................................................................................................................................................. 328
2. Static Routing ............................................................................................................................................... 329
3. Port Forwarding ........................................................................................................................................... 331
4. IP Filter............................................................................................................................................................. 333
7
Table of Contents
Connecting to FacilityView ........................................... 337
1. FacilityView ........................................................................................................................................................... 338
2. Preparation for FacilityView Connection .................................................................................................. 339
3. FacilityView Setting ........................................................................................................................................... 340
1. Service ............................................................................................................................................................. 340
2. CONPROSYS Registration ........................................................................................................................ 341
3. Activation ....................................................................................................................................................... 342
4. Check FacilityView communication logs .................................................................................................. 344
Set Up Troubleshooting ................................................ 345
1. If You Encounter a Problem? ......................................................................................................................... 346
1. General ............................................................................................................................................................ 346
2. Data Transfer To The Server Problems ................................................................................................ 348
3. Monitoring Screen Creation And Display Problems ..................................................................... 348
4. Processing Task Creation And Display Problems............................................................................ 348
Appendix ........................................................................ 349
1. Data Transfer Format ........................................................................................................................................ 350
2. F&eIT Protocol Specifications ....................................................................................................................... 354
1. Communications Sever Concept ........................................................................................................... 354
2. Basic Specifications .................................................................................................................................... 355
3. Control Information ................................................................................................................................... 362
3. SD Card .................................................................................................................................................................. 364
4. DIP Switch ............................................................................................................................................................. 365
5. LED........................................................................................................................................................................... 366
6. Modbus Status Information........................................................................................................................... 367
7. COM Setting ........................................................................................................................................................ 375
8. MQTT Publish And Subscribe Data Format ............................................................................................. 376
1. MQTT Publish Data Format ..................................................................................................................... 376
2. MQTT Resend File Format ....................................................................................................................... 378
3. MQTT Subscribe Data Format ................................................................................................................ 379
9. MQTT Communication Log ........................................................................................................................... 381
1. COMMUNICATION LOG ........................................................................................................................... 381
2. PUBLISH LOG ................................................................................................................................................ 382
3. SUBSCRIBE LOG ........................................................................................................................................... 383
10. SMS Send Log ..................................................................................................................................................... 384
11. Industrial Value Conversion ........................................................................................................................... 385
Setting Example 1 : Measurement Value .................................................................................................. 385
Setting Example 2 : Current Value............................................................................................................... 387
Setting Example 3 : Connection With a Pyranometer of DC4-20mA Outputs .......................... 389
Customer Support and Inquiry .................................... 391
1. Services .................................................................................................................................................................. 392
8
Table of Contents
Index ................................................................................ 393
9
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)
10
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)
11
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)
12
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)
13
2. Manual Composition
This manual is composed as follows:
Introduction
M2M Gateway Series, Reference Manual (Software)
14
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 23
Set up the network of PC
Refer to
page 24
Set up with CONPROSYS WEB Setting
Refer to
page 29
Set Username and Password
Refer to
page 132
Save the settings
Refer to
page 140
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)
15
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)
16
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)
17
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 130)for further details.
18
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)
19
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)
20
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.
/