CPS-MG341-ADSC1-111

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

  • Hello! I am an AI chatbot trained to assist you with the Contec CPS-MG341-ADSC1-111 Reference guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
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 ......................... 118
Monitoring Edit ...................................................... 168
Tag Edit ...................................................................... 181
Collecting Information From PLC .................... 189
Transferring Measured Data to Server........... 199
Using The Product As OPC UA Sever ............. 209
Set the Auto Send Mail ....................................... 221
Connecting to Azure IoT Hub ........................... 226
MTConnect ............................................................... 242
FTP Communication ............................................. 246
MQTT Publish And Subscribe ........................... 251
Set Up Troubleshooting ...................................... 285
Appendix ................................................................... 289
Customer Support and Inquiry ......................... 330
Index ........................................................................... 332
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 .......................................................................................................................................... 11
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.................................................................................................................................................... 32
1. Wired LAN........................................................................................................................................................ 32
2. Wireless LAN ................................................................................................................................................... 35
3. 3G ........................................................................................................................................................................ 38
4. LTE ....................................................................................................................................................................... 41
5. Proxy .................................................................................................................................................................. 43
6. Device ................................................................................................................................................................ 44
7. Data Transfer ................................................................................................................................................... 48
8. Azure IoT Hub................................................................................................................................................. 54
9. Time .................................................................................................................................................................... 55
10. Service ............................................................................................................................................................... 57
11. Mail ..................................................................................................................................................................... 59
12. SMS ..................................................................................................................................................................... 62
3
Table of Contents
13. OPC UA.............................................................................................................................................................. 64
14. MTConnect ...................................................................................................................................................... 66
15. FTP ...................................................................................................................................................................... 67
16. PLC (Link config) ............................................................................................................................................ 70
17. PLC (CPU config)............................................................................................................................................ 74
18. PLC (DEVICE config) ..................................................................................................................................... 76
19. MQTT Connection ......................................................................................................................................... 80
20. MQTT Publish ................................................................................................................................................. 85
21. MQTT Subscribe ............................................................................................................................................ 92
22. System ............................................................................................................................................................... 97
23. Modbus Data View ....................................................................................................................................... 99
24. File View .......................................................................................................................................................... 102
25. Log .................................................................................................................................................................... 104
26. Firmware Update ......................................................................................................................................... 105
27. Configuration File ....................................................................................................................................... 106
28. User/Password .............................................................................................................................................. 107
29. Network .......................................................................................................................................................... 110
30. User's Restrictions ....................................................................................................................................... 111
31. Monitoring Edit ............................................................................................................................................ 112
32. Monitoring View .......................................................................................................................................... 113
33. Ta sk Ed it .......................................................................................................................................................... 114
34. Tag Edit ............................................................................................................................................................ 115
35. Save and Reboot ......................................................................................................................................... 116
36. Save and Shutdown ................................................................................................................................... 116
37. Save .................................................................................................................................................................. 116
38. Reboot ............................................................................................................................................................. 117
39. Shutdown ....................................................................................................................................................... 117
Easy Data Process and Control ..................................... 118
1. CONPROSYS VTC Outline ............................................................................................................................... 119
1. What You Can Do With CONPROSYS VTC ........................................................................................ 119
2. Work Area ...................................................................................................................................................... 120
3. Create Processing Tasks ............................................................................................................................ 120
4. Basic Procedure for Creating Processing Tasks ............................................................................... 121
5. Internal Variables ......................................................................................................................................... 124
2. Summary Of Available Controls ................................................................................................................... 125
3. Input/Output Module Allocation ................................................................................................................ 130
4. Sample ................................................................................................................................................................... 131
1. Sample (1) ...................................................................................................................................................... 132
2. Sample (2) ...................................................................................................................................................... 134
3. Sample (3) ...................................................................................................................................................... 137
4. Sample (4) ...................................................................................................................................................... 140
5. Sample (5) ...................................................................................................................................................... 142
6. Sample (6) ...................................................................................................................................................... 144
7. Sample (7) ...................................................................................................................................................... 148
8. Sample (8) ...................................................................................................................................................... 153
9. Sample (9) ...................................................................................................................................................... 158
10. Sample (10) ................................................................................................................................................ 161
11. Sample (11) ................................................................................................................................................ 163
4
Table of Contents
12. Sample (12) ................................................................................................................................................ 166
Monitoring Edit .............................................................. 168
1. CONPROSYS HMI Outline .............................................................................................................................. 169
1. What You Can Do With CONPROSYS HMI ........................................................................................ 169
2. HMI Editor Work Areas ............................................................................................................................. 170
3. Create a Monitoring Screen .................................................................................................................... 170
4. Basic Procedure for Creating a Monitoring Screen ....................................................................... 171
2. Summary of Available Controls.................................................................................................................... 175
3. Internal Variables Specification .................................................................................................................... 177
4. Sample ................................................................................................................................................................... 178
1. Sample of Input / Output Monitoring Screen. ................................................................................ 178
Tag Edit ........................................................................... 181
1. Overview of Tag Edit ......................................................................................................................................... 182
1. Tag Edit Page................................................................................................................................................. 182
2. TAG Export/Import ...................................................................................................................................... 186
Collecting Information From PLC ................................ 189
1. Display System Setting Page ......................................................................................................................... 190
2. PLC Link Configuration .................................................................................................................................... 193
3. PLC CPU Configuration.................................................................................................................................... 195
4. PLC Device Configuration ............................................................................................................................... 197
Transferring Measured Data to Server........................ 199
1. Data Transfer Outline ....................................................................................................................................... 200
2. Settings for Transferring Measured Data. ................................................................................................ 201
3. Data Transfer Setting ........................................................................................................................................ 202
1. Data Transfer ................................................................................................................................................. 202
2. Service ............................................................................................................................................................. 202
3. Time .................................................................................................................................................................. 203
4. Network Setting........................................................................................................................................... 204
5. Wireless LAN ................................................................................................................................................. 205
6. 3G ...................................................................................................................................................................... 207
7. LTE ..................................................................................................................................................................... 208
Using The Product As OPC UA Sever .......................... 209
1. OPC UA Client Preparation and Communication ................................................................................. 210
1. OPC UA Client Preparation...................................................................................................................... 210
2. Communication With OPC UA Client .................................................................................................. 210
2. Download OPC UA Sever Certificate .......................................................................................................... 212
3. Upload OPC UA Client Certificate ............................................................................................................... 214
5
Table of Contents
4. Client Authentication By User ID ................................................................................................................. 216
5. Communication With CNC by FANUC....................................................................................................... 217
6. OPC UA Server Specification ......................................................................................................................... 218
1. Overall Specification .................................................................................................................................. 218
2. Address Space Specification ................................................................................................................... 219
Set the Auto Send Mail ................................................. 221
1. SMTP Sever Setting........................................................................................................................................... 222
2. Mail Address Setting ........................................................................................................................................ 224
3. Send Mail Program ........................................................................................................................................... 225
Connecting to Azure IoT Hub ...................................... 226
1. Azure IoT Hub Communication Functions .............................................................................................. 227
1. Azure IoT Hub Communication Specification.................................................................................. 227
2. Azure IoT Hub Preparation ............................................................................................................................ 228
1. Create a Microsoft Azure Account ....................................................................................................... 228
2. Create an Azure IoT Hub .......................................................................................................................... 228
3. Obtain a Device Connection String...................................................................................................... 231
3. Azure IoT Hub Setting ..................................................................................................................................... 234
4. Sen d Az ur e I o T Task .......................................................................................................................................... 235
1. Sending Format ........................................................................................................................................... 235
2. Set a Task ........................................................................................................................................................ 237
3. Check Sending ............................................................................................................................................. 239
4. Check Log....................................................................................................................................................... 240
5. Check Resending File ................................................................................................................................. 240
6. Receiving Format......................................................................................................................................... 240
7. Check Receiving ........................................................................................................................................... 241
MTConnect ..................................................................... 242
1. MTConnect Outline ........................................................................................................................................... 243
1. MTConnect Overall Specification .......................................................................................................... 243
2. MTConnect DataItem Specification ..................................................................................................... 244
3. An Example Of MTConnect Client Display ........................................................................................ 245
FTP Communication ...................................................... 246
1. FTP Communication Function ...................................................................................................................... 247
2. FTP Server Settings ........................................................................................................................................... 248
3. File Sending/Receiving Program ................................................................................................................. 249
MQTT Publish And Subscribe ....................................... 251
1. MQTT Outline ...................................................................................................................................................... 252
2. Required Settings For MQTT Publish And Subscribe .......................................................................... 253
6
Table of Contents
3. MQTT Connection ............................................................................................................................................. 254
4. Examples for MQTT Publish and Subscribe............................................................................................. 256
1. Publish (1) ...................................................................................................................................................... 257
2. Publish (2) ...................................................................................................................................................... 259
3. Publish (3) ...................................................................................................................................................... 261
4. Publish (4) ...................................................................................................................................................... 263
5. Publish (5) ...................................................................................................................................................... 266
6. Publish (6) ...................................................................................................................................................... 267
7. Publish (7) ...................................................................................................................................................... 268
8. Publish (8) ...................................................................................................................................................... 270
9. Subscribe (1) ................................................................................................................................................. 271
10. Subscribe (2) ................................................................................................................................................. 273
11. Subscribe (3) ................................................................................................................................................. 275
12. Subscribe (4) ................................................................................................................................................. 276
13. Subscribe (5) ................................................................................................................................................. 277
14. Subscribe (6) ................................................................................................................................................. 279
5. Examples for MQTT Application .................................................................................................................. 280
1. Connection (1) .............................................................................................................................................. 281
2. Connection (2) .............................................................................................................................................. 282
3. Other (1).......................................................................................................................................................... 284
Set Up Troubleshooting ................................................ 285
1. If You Encounter a Problem? ......................................................................................................................... 286
1. General ............................................................................................................................................................ 286
2. Data Transfer To The Server Problems ................................................................................................ 288
3. Monitoring Screen Creation And Display Problems ..................................................................... 288
4. Processing Task Creation And Display Problems............................................................................ 288
Appendix ........................................................................ 289
1. Data Transfer Format ........................................................................................................................................ 290
2. F&eIT Protocol Specifications ....................................................................................................................... 294
1. Communications Sever Concept ........................................................................................................... 294
2. Basic Specifications .................................................................................................................................... 295
3. Control Information ................................................................................................................................... 302
3. SD Card .................................................................................................................................................................. 304
4. DIP Switch ............................................................................................................................................................. 305
5. LED........................................................................................................................................................................... 306
6. Modbus Status Information........................................................................................................................... 307
7. COM Setting ........................................................................................................................................................ 314
8. MQTT Publish And Subscribe Data Format ............................................................................................. 315
1. MQTT Publish Data Format ..................................................................................................................... 315
2. MQTT Resend File Format ....................................................................................................................... 317
3. MQTT Subscribe Data Format ................................................................................................................ 318
9. MQTT Communication Log ........................................................................................................................... 320
1. COMMUNICATION LOG ........................................................................................................................... 320
2. PUBLISH LOG ................................................................................................................................................ 321
7
Table of Contents
3. SUBSCRIBE LOG ........................................................................................................................................... 322
10. SMS Send Log ..................................................................................................................................................... 323
11. Industrial Value Conversion ........................................................................................................................... 324
Setting Example 1 : Measurement Value .................................................................................................. 324
Setting Example 2 : Current Value............................................................................................................... 326
Setting Example 3 : Connection With a Pyranometer of DC4-20mA Outputs .......................... 328
Customer Support and Inquiry .................................... 330
1. Services .................................................................................................................................................................. 331
Index ................................................................................ 332
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 P
LCs
Internet
(VPN)
Cloud Data Se
rvice
Brand B PL
Cs
RS-485
Ethe
rnet
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.
2. Manual Composition
This manual is composed as follows:
Introduction
M2M Gateway Series, Reference Manual (Software)
12
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 107
Save the settings
Refer to
page 115
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 105)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.
/