CPS-MG341G-ADSC1-930

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

  • Hello! I am an AI chatbot trained to assist you with the Contec CPS-MG341G-ADSC1-930 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 ......................... 106
Monitoring Edit ...................................................... 156
Tag Edit ...................................................................... 169
Collecting information from PLC ..................... 177
Transferring Measured Data to Server ........... 187
Using the product as OPC UA Sever .............. 197
Set the Auto Send Mail ....................................... 208
Connecting to Azure IoT Hub ........................... 213
MTConnect ............................................................... 229
FTP communication .............................................. 233
MQTT Publish and Subscribe ............................ 238
Set Up Troubleshooting ...................................... 268
Appendix ................................................................... 272
Customer Support and Inquiry ......................... 305
Index ........................................................................... 307
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................................................................................................................................................................... 43
6. Device ................................................................................................................................................................ 44
7. Data Transfer ................................................................................................................................................... 47
8. Azure IoT Hub................................................................................................................................................. 52
9. Time .................................................................................................................................................................... 53
10. Service ............................................................................................................................................................... 54
11. Mail ..................................................................................................................................................................... 56
12. OPC UA.............................................................................................................................................................. 59
3
Table of Contents
13. MTConnect ...................................................................................................................................................... 61
14. FTP....................................................................................................................................................................... 62
15. PLC (Link config) ............................................................................................................................................ 64
16. PLC (CPU config) ............................................................................................................................................ 67
17. PLC (DEVICE config) ..................................................................................................................................... 69
18. MQTT Connection ......................................................................................................................................... 72
19. MQTT Publish ................................................................................................................................................. 77
20. MQTT Subscribe ............................................................................................................................................ 82
21. System ............................................................................................................................................................... 86
22. Modbus Data View ....................................................................................................................................... 88
23. File View ............................................................................................................................................................ 90
24. Log ...................................................................................................................................................................... 92
25. Firmware Update ........................................................................................................................................... 93
26. Configuration File.......................................................................................................................................... 94
27. User/Password ................................................................................................................................................ 95
28. Network Test ................................................................................................................................................... 98
29. User's Restrictions ......................................................................................................................................... 99
30. Monitoring Edit ............................................................................................................................................100
31. Monitoring View ..........................................................................................................................................101
32. Task Edit ..........................................................................................................................................................102
33. Tag Edit ............................................................................................................................................................103
34. Save and Reboot .........................................................................................................................................104
35. Save and Shutdown ...................................................................................................................................104
36. Save ..................................................................................................................................................................104
37. Reboot .............................................................................................................................................................105
38. Shutdown .......................................................................................................................................................105
Easy Data Process and Control ................................... 106
1. CONPROSYS VTC Outline ...............................................................................................................................107
1. What You Can Do With CONPROSYS VTC ........................................................................................107
2. Work Area ......................................................................................................................................................108
3. Create Processing Tasks ............................................................................................................................108
4. Basic Procedure for Creating Processing Tasks ...............................................................................109
5. Internal Variables .........................................................................................................................................112
2. Summary of Available Controls ....................................................................................................................113
3. Input/Output Module Allocation ................................................................................................................118
4. Sample ...................................................................................................................................................................119
1. Sample (1) ......................................................................................................................................................120
2. Sample (2) ......................................................................................................................................................122
3. Sample (3) ......................................................................................................................................................125
4. Sample (4) ......................................................................................................................................................128
5. Sample (5) ......................................................................................................................................................130
6. Sample (6) ......................................................................................................................................................132
7. Sample (7) ......................................................................................................................................................136
8. Sample (8) ......................................................................................................................................................141
9. Sample (9) ......................................................................................................................................................146
10. Sample (10) ................................................................................................................................................149
11. Sample (11) ................................................................................................................................................151
12. Sample (12) ................................................................................................................................................154
4
Table of Contents
Monitoring Edit ............................................................ 156
1. CONPROSYS HMI Outline ..............................................................................................................................157
1. What You Can Do With CONPROSYS HMI ........................................................................................157
2. HMI Editor Work Areas .............................................................................................................................158
3. Create a Monitoring Screen ....................................................................................................................158
4. Basic Procedure for Creating a Monitoring Screen .......................................................................159
2. Summary of Available Controls ....................................................................................................................163
3. Internal Variables Specification ....................................................................................................................165
4. Sample ...................................................................................................................................................................166
1. Sample of Input / Output Monitoring Screen. ................................................................................166
Tag Edit ......................................................................... 169
1. Overview of Tag Edit .........................................................................................................................................170
1. Tag Edit Page .................................................................................................................................................170
2. TAG Export/Import ......................................................................................................................................174
Collecting information from PLC ................................ 177
1. Display system setting page .........................................................................................................................178
2. PLC link configuration ......................................................................................................................................181
3. PLC CPU configuration ....................................................................................................................................183
4. PLC Device configuration ...............................................................................................................................185
Transferring Measured Data to Server ....................... 187
1. Data Transfer Outline .......................................................................................................................................188
2. Settings for Transferring Measured Data. ................................................................................................189
3. Data Transfer Setting ........................................................................................................................................190
1. Data Transfer .................................................................................................................................................190
2. Service .............................................................................................................................................................190
3. Time ..................................................................................................................................................................191
4. Network Setting ...........................................................................................................................................192
5. Wireless LAN .................................................................................................................................................193
6. 3G ......................................................................................................................................................................195
7. LTE .....................................................................................................................................................................196
Using the product as OPC UA Sever ........................... 197
1. OPC UA Client Preparation and Communication..................................................................................198
1. OPC UA Client Preparation ......................................................................................................................198
2. Communication with OPC UA Client ...................................................................................................198
2. Download OPC UA Sever Certificate ..........................................................................................................200
3. Upload OPC UA Client Certificate ...............................................................................................................202
4. Client Authentication by User ID .................................................................................................................204
5. Communication with CNC by FANUC ........................................................................................................205
5
Table of Contents
6. OPC UA Server Specification .........................................................................................................................206
1. Overall Specification ..................................................................................................................................206
2. Address Space Specification ...................................................................................................................207
Set the Auto Send Mail ................................................ 208
1. SMTP Sever Setting ...........................................................................................................................................209
2. Mail Address Setting ........................................................................................................................................211
3. Send Mail Program ...........................................................................................................................................212
Connecting to Azure IoT Hub ..................................... 213
1. Azure IoT Hub Communication Functions ...............................................................................................214
1. Azure IoT Hub Communication Specification ..................................................................................214
2. Azure IoT Hub Preparation ............................................................................................................................215
1. Create a Microsoft Azure Account .......................................................................................................215
2. Create an Azure IoT Hub ..........................................................................................................................215
3. Obtain a Device Connection String ......................................................................................................218
3. Azure IoT Hub Setting .....................................................................................................................................221
4. Send Azure IoT Task ..........................................................................................................................................222
1. Sending Format ...........................................................................................................................................222
2. Set a Task ........................................................................................................................................................224
3. Check Sending .............................................................................................................................................226
4. Check Log .......................................................................................................................................................227
5. Check Resending File .................................................................................................................................227
6. Receiving Format .........................................................................................................................................227
7. Check Receiving ...........................................................................................................................................228
MTConnect ................................................................... 229
1. MTConnect Outline ...........................................................................................................................................230
1. MTConnect Overall Specification ..........................................................................................................230
2. MTConnect DataItem Specification .....................................................................................................231
3. An example of MTConnect client display ..........................................................................................232
FTP communication ..................................................... 233
1. FTP communication function ........................................................................................................................234
2. FTP Server settings ............................................................................................................................................235
3. File sending/receiving program ...................................................................................................................236
MQTT Publish and Subscribe ...................................... 238
1. MQTT Outline ......................................................................................................................................................239
2. Required Settings for MQTT Publish and Subscribe ............................................................................240
3. MQTT Connection .............................................................................................................................................241
4. Examples for MQTT Publish and Subscribe .............................................................................................243
6
Table of Contents
1. Publish (1) ......................................................................................................................................................244
2. Publish (2) ......................................................................................................................................................246
3. Publish (3) ......................................................................................................................................................248
4. Publish (4) ......................................................................................................................................................250
5. Publish (5) ......................................................................................................................................................253
6. Publish (6) ......................................................................................................................................................254
7. Publish (7) ......................................................................................................................................................255
8. Subscribe (1) .................................................................................................................................................256
9. Subscribe (2) .................................................................................................................................................258
10. Subscribe (3) .................................................................................................................................................260
11. Subscribe (4) .................................................................................................................................................261
12. Subscribe (5) .................................................................................................................................................262
5. Examples for MQTT Application ..................................................................................................................263
1. Connection (1) ..............................................................................................................................................264
2. Connection (2) ..............................................................................................................................................265
3. Other (1)..........................................................................................................................................................267
Set Up Troubleshooting .............................................. 268
1. If you encounter a problem? .........................................................................................................................269
1. General ............................................................................................................................................................269
2. Data transfer to the server problems ..................................................................................................271
3. Monitoring screen creation and display problems........................................................................271
4. Processing task creation and display problems ..............................................................................271
Appendix ...................................................................... 272
1. Data Transfer Format ........................................................................................................................................273
2. F&eIT Protocol Specifications .......................................................................................................................277
1. Communications Sever Concept ...........................................................................................................277
2. Basic Specifications ....................................................................................................................................278
3. Control Information ...................................................................................................................................284
3. SD Card ..................................................................................................................................................................286
4. DIP Switch .............................................................................................................................................................287
5. LED ...........................................................................................................................................................................288
6. Modbus Status Information ...........................................................................................................................289
7. COM setting .........................................................................................................................................................296
8. MQTT Publish and Subscribe Data Format .............................................................................................297
1. MQTT Publish Data Format .....................................................................................................................297
2. MQTT Resend File Format .......................................................................................................................299
3. MQTT Subscribe Data Format ................................................................................................................300
9. MQTT Communication Log ...........................................................................................................................302
1. COMMUNICATION LOG ...........................................................................................................................302
2. PUBLISH LOG ................................................................................................................................................303
3. SUBSCRIBE LOG ...........................................................................................................................................304
7
Table of Contents
Customer Support and Inquiry ................................... 305
1. Services ..................................................................................................................................................................306
Index ............................................................................. 307
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
Connect to data from up to 10 links, 100 register groups
Linking to up to 10 Ethernet/computing is possible. Up to 1000 data of up to 100 groups in up to
30 PLCs can be collected.
Ethernet / computer links
Up to 10 links
Link1
Link2
Link n
No. of PLC CPU units
Up to 30 units
Device1
Device2
No. of register groups
Up to 100 groups
1. Set communication port
2. Set target PLC
3. Set memory address and properties
Start data collection by simple setup!
No. of collected data points
Up to 10,000 points of data
Address1
Address2
Address1
Address2
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 95
Save the settings
Refer to
page 103
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 followings.
Name
When to read
Contents
How to get
Product Guide
Must read this after opening the
package.
This lists the product
configuration and describes the
precautions.
Included in the package
(Printed matter)
Setup Manual
Read this when setting up the
product.
This describes the required items
for setup and configuration
procedure.
Download from
the Contec
website (PDF)
Reference Manual
(Hardware)
Read this when operating the
product.
This describes the hardware
aspects such as functions and
settings.
Download from
the Contec
website (PDF)
Reference Manual
(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 followings 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
http://data.conprosys.com/help/task/V1/en/
CONPROSYS HMI (Human Machine Interface)
Online Help
http://data.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 93)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
DANGER indicates an imminently hazardous situation which, if not
avoided, will result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not
avoided, could result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not
avoided, may result in minor or moderate injury or in property damage.
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.
/