CPS-MC341-DS2-911

Contec CPS-MC341-DS2-911, CPS-MC341-A1-111, CPS-MC341-ADSC1-111, CPS-MC341-ADSC1-931, CPS-MC341-ADSC2-111, CPS-MC341-DS1-111, CPS-MC341-DS11-111, CPS-MC341-DS2-111, CPS-MC341G-ADSC1-110, CPS-MC341G-ADSC1-111, CPS-MC341Q-ADSC1-111 Reference guide

  • Hello! I am an AI chatbot trained to assist you with the Contec CPS-MC341-DS2-911 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 Controller Series
Integrated type
Firmware version 3.0.0 or later
Introduction .................................................................. 8
Safety Precautions .................................................... 14
Set the Computer Network ................................... 18
CONPROSYS WEB Setting ..................................... 24
Easy Data Process and Control ......................... 114
Monitoring Edit ...................................................... 159
Tag Edit ...................................................................... 173
Transferring Measured Data to Server ........... 181
Using the product as OPC UA Sever .............. 190
Set the Auto Send Mail ....................................... 201
Connecting to Azure IoT Hub ........................... 206
MTConnect ............................................................... 222
FTP communication .............................................. 226
MQTT Publish and Subscribe ............................ 231
Set Up Troubleshooting ...................................... 276
Appendix ................................................................... 280
Customer Support and Inquiry ......................... 327
Index ........................................................................... 329
2
Table of Contents
Introduction ...................................................................... 8
1. Manual Composition .............................................................................................................................................9
2. Procedure Until Ready To Use ........................................................................................................................ 10
3. Related Manuals ................................................................................................................................................... 11
4. Online Help ............................................................................................................................................................ 12
5. Check the Firmware Version ............................................................................................................................ 13
Safety Precautions ......................................................... 14
1. Safety Information ............................................................................................................................................... 15
2. Handling Precautions ......................................................................................................................................... 16
3. Security Warning .................................................................................................................................................. 17
1. Information Security Risks ......................................................................................................................... 17
2. Security Measures e.g. ............................................................................................................................. 17
Set the Computer Network ........................................... 18
1. Connect With a PC .............................................................................................................................................. 19
2. Set the Computer Network .............................................................................................................................. 20
1. Computer Network Setting Procedure (for Windows 10) ............................................................. 20
3. Check Communication ...................................................................................................................................... 23
CONPROSYS WEB Setting ............................................. 24
1. CONPROSYS WEB Setting Outline ................................................................................................................ 25
1. Compatible Web Browser .......................................................................................................................... 25
2. Start Up CONPROSYS WEB Setting ........................................................................................................ 25
3. CONPROSYS WEB Setting Basic Operation ........................................................................................ 26
2. Menu Function List .............................................................................................................................................. 28
3. Function Details .................................................................................................................................................... 30
1. Wired LAN ........................................................................................................................................................ 30
2. Wireless LAN ................................................................................................................................................... 32
3. 3G ........................................................................................................................................................................ 35
4. Proxy................................................................................................................................................................... 38
5. Router Function ............................................................................................................................................. 39
6. IP Filter ............................................................................................................................................................... 46
7. Device ................................................................................................................................................................ 49
8. Data Transfer ................................................................................................................................................... 53
9. Azure IoT Hub................................................................................................................................................. 58
10. Time .................................................................................................................................................................... 59
11. Service ............................................................................................................................................................... 61
12. Mail ..................................................................................................................................................................... 64
13. SMS ..................................................................................................................................................................... 67
14. OPC UA.............................................................................................................................................................. 69
15. MTConnect ...................................................................................................................................................... 71
3
Table of Contents
16. FTP....................................................................................................................................................................... 72
17. MQTT Connection ......................................................................................................................................... 75
18. MQTT Publish ................................................................................................................................................. 80
19. MQTT Subscribe ............................................................................................................................................ 87
20. System ............................................................................................................................................................... 92
21. Modbus Data View ....................................................................................................................................... 94
22. File View ............................................................................................................................................................ 98
23. Log ....................................................................................................................................................................100
24. Firmware Update .........................................................................................................................................101
25. Configuration File........................................................................................................................................102
26. User/Password ..............................................................................................................................................103
27. Network ..........................................................................................................................................................106
28. User's Restrictions .......................................................................................................................................107
29. Monitoring Edit ............................................................................................................................................108
30. Monitoring View ..........................................................................................................................................108
31. Task Edit ..........................................................................................................................................................109
32. Tag Edit ............................................................................................................................................................110
33. Save and Reboot .........................................................................................................................................111
34. Save and Shutdown ...................................................................................................................................111
35. Save ..................................................................................................................................................................111
36. Reboot .............................................................................................................................................................112
37. Shutdown .......................................................................................................................................................112
38. Forced Reboot ..............................................................................................................................................112
39. Repair SD and Reboot ...............................................................................................................................113
Easy Data Process and Control ................................... 114
1. CONPROSYS VTC Outline ...............................................................................................................................115
1. What You Can Do With CONPROSYS VTC ........................................................................................115
2. Work Area ......................................................................................................................................................116
3. Create Processing Tasks ............................................................................................................................116
4. Basic Procedure for Creating Processing Tasks ...............................................................................117
5. Internal Variables .........................................................................................................................................120
2. Summary of Available Controls ....................................................................................................................121
3. Input/Output Module Allocation ................................................................................................................126
4. Sample ...................................................................................................................................................................128
1. Sample (1) ......................................................................................................................................................129
2. Sample (2) ......................................................................................................................................................131
3. Sample (3) ......................................................................................................................................................134
4. Sample (4) ......................................................................................................................................................137
5. Sample (5) ......................................................................................................................................................139
6. Sample (6) ......................................................................................................................................................141
7. Sample (7) ......................................................................................................................................................145
8. Sample (8) ......................................................................................................................................................150
9. Sample (9) ......................................................................................................................................................154
10. Sample (10) ................................................................................................................................................157
Monitoring Edit ............................................................ 159
1. CONPROSYS HMI Outline ..............................................................................................................................160
4
Table of Contents
1. What You Can Do With CONPROSYS HMI ........................................................................................160
2. HMI Editor Work Areas .............................................................................................................................161
3. Create a Monitoring Screen ....................................................................................................................161
4. Basic Procedure for Creating a Monitoring Screen .......................................................................162
2. Summary of Available Controls ....................................................................................................................166
3. Internal Variables Specification ....................................................................................................................168
4. Sample ...................................................................................................................................................................170
1. Sample of Input / Output Monitoring Screen. ................................................................................170
Tag Edit ......................................................................... 173
1. Overview of Tag Edit .........................................................................................................................................174
1. Tag Edit Page .................................................................................................................................................174
2. TAG Export/Import ......................................................................................................................................178
Transferring Measured Data to Server ....................... 181
1. Data Transfer Outline .......................................................................................................................................182
2. Settings for Transferring Measured Data. ................................................................................................183
3. Data Transfer Setting ........................................................................................................................................184
1. Data Transfer .................................................................................................................................................184
2. Service .............................................................................................................................................................184
3. Time ..................................................................................................................................................................185
4. Network Setting ...........................................................................................................................................186
5. Wireless LAN .................................................................................................................................................187
6. 3G ......................................................................................................................................................................189
Using the product as OPC UA Sever ........................... 190
1. OPC UA Client Preparation and Communication..................................................................................191
1. OPC UA Client Preparation ......................................................................................................................191
2. Communication With OPC UA Client ..................................................................................................191
2. Download OPC UA Sever Certificate ..........................................................................................................193
3. Upload OPC UA Client Certificate ...............................................................................................................195
4. Client Authentication by User ID .................................................................................................................197
5. Communication with CNC by FANUC ........................................................................................................198
6. OPC UA Server Specification .........................................................................................................................199
1. Overall Specification ..................................................................................................................................199
2. Address Space Specification ...................................................................................................................200
Set the Auto Send Mail ................................................ 201
1. SMTP Sever Setting ...........................................................................................................................................202
2. Mail Address Setting ........................................................................................................................................204
3. Send Mail Program ...........................................................................................................................................205
5
Table of Contents
Connecting to Azure IoT Hub ..................................... 206
1. Azure IoT Hub Communication Functions ...............................................................................................207
1. Azure IoT Hub Communication Specification ..................................................................................207
2. Azure IoT Hub Preparation ............................................................................................................................208
1. Create a Microsoft Azure Account .......................................................................................................208
2. Create an Azure IoT Hub ..........................................................................................................................208
3. Obtain a Device Connection String ......................................................................................................210
3. Azure IoT Hub Setting .....................................................................................................................................213
4. Send Azure IoT Task ..........................................................................................................................................214
1. Sending Format ...........................................................................................................................................214
2. Set a Task ........................................................................................................................................................216
3. Check Sending .............................................................................................................................................219
4. Check Log .......................................................................................................................................................220
5. Check Resending File .................................................................................................................................220
6. Receiving Format .........................................................................................................................................220
7. Check Receiving ...........................................................................................................................................221
MTConnect ................................................................... 222
1. MTConnect Outline ...........................................................................................................................................223
1. MTConnect Overall Specification ..........................................................................................................223
2. MTConnect DataItem Specification .....................................................................................................224
3. An example of MTConnect client display ..........................................................................................225
FTP Communication .................................................... 226
1. FTP Communication Function.......................................................................................................................227
2. FTP Server Settings ...........................................................................................................................................228
3. File sending/Receiving Program ..................................................................................................................229
MQTT Publish and Subscribe ...................................... 231
1. MQTT Outline ......................................................................................................................................................232
2. Required Settings for MQTT Publish and Subscribe ............................................................................233
3. MQTT Connection .............................................................................................................................................234
4. Examples for MQTT Publish and Subscribe .............................................................................................236
1. Publish (1) ......................................................................................................................................................237
2. Publish (2) ......................................................................................................................................................239
3. Publish (3) ......................................................................................................................................................241
4. Publish (4) ......................................................................................................................................................243
5. Publish (5) ......................................................................................................................................................246
6. Publish (6) ......................................................................................................................................................247
7. Publish (7) ......................................................................................................................................................248
8. Publish (8) ......................................................................................................................................................250
9. Subscribe (1) .................................................................................................................................................251
10. Subscribe (2) .................................................................................................................................................253
11. Subscribe (3) .................................................................................................................................................255
6
Table of Contents
12. Subscribe (4) .................................................................................................................................................256
13. Subscribe (5) .................................................................................................................................................257
14. Subscribe (6) .................................................................................................................................................259
5. Examples for MQTT Application ..................................................................................................................260
1. Connection (1) ..............................................................................................................................................261
2. Connection (2) ..............................................................................................................................................262
3. Other (1)..........................................................................................................................................................264
Router Function ........................................................... 265
1. Router Function Outline ..................................................................................................................................266
2. Router Function Setting ..................................................................................................................................267
1. DHCP Server ..................................................................................................................................................267
2. Static Routing ...............................................................................................................................................268
3. Port Forwarding ...........................................................................................................................................270
4. IP Filter .............................................................................................................................................................272
Set Up Troubleshooting .............................................. 276
1. If You Encounter a Problem? .........................................................................................................................277
1. General ............................................................................................................................................................277
2. Data Transfer To The Server Problems ................................................................................................279
3. Monitoring Screen Creation And Display Problems .....................................................................279
4. Processing Task Creation And Display Problems ............................................................................279
Appendix ...................................................................... 280
1. Data Transfer Format ........................................................................................................................................281
2. F&eIT Protocol Specifications .......................................................................................................................288
1. Communications Sever Concept ...........................................................................................................288
2. Basic Specifications ....................................................................................................................................289
3. Control Information ...................................................................................................................................295
3. SD Card ..................................................................................................................................................................297
4. DIP Switch .............................................................................................................................................................298
5. LED ...........................................................................................................................................................................299
6. Modbus Status Information ...........................................................................................................................300
7. COM Setting ........................................................................................................................................................307
8. MQTT Publish and Subscribe Data Format .............................................................................................308
1. MQTT Publish Data Format .....................................................................................................................308
2. MQTT Resend File Format .......................................................................................................................310
3. MQTT Subscribe Data Format ................................................................................................................311
9. MQTT Communication Log ...........................................................................................................................313
1. COMMUNICATION LOG ...........................................................................................................................313
2. PUBLISH LOG ................................................................................................................................................314
3. SUBSCRIBE LOG ...........................................................................................................................................315
10. SMS Send Log .....................................................................................................................................................316
11. Industrial Value Conversion .....................................................................................................................317
7
Table of Contents
Setting Example 1 : Measurement Value ..................................................................................................317
Setting Example 2 : Current Value ...............................................................................................................319
Setting Example 3 : Voltage Value ..............................................................................................................321
Setting Example 4 : Connection With a Pyranometer of DC4-20mA Outputs ..........................323
Setting Example 5 : Connection With a Thermometer of DC1-5V Outputs ...............................325
Customer Support and Inquiry ................................... 327
1. Services ..................................................................................................................................................................328
Index ............................................................................. 329
8
Introduction
This section provides necessary information of the product such as the product
configuration and manuals before actual use.
Introduction
M2M Controller Series, Integrated type, Reference Manual (Software)
9
1. Manual Composition
This manual is composed as follows:
Introduction
M2M Controller Series, Integrated type, Reference Manual (Software)
10
2. Procedure Until Ready To Use
The following chart shows the standard procedure until the product is ready to use.
Connect with a PC
Refer to
Page 19
Set up the network of PC
Refer to
Page 20
Set up with CONPROSYS WEB Setting
Refer to
Page 25
Set Username and Password
Refer to
Page 103
Save the settings
Refer to
Page 110
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 Controller Series, Integrated type, Reference Manual (Software)
11
3. Related Manuals
The manuals related to the product are listed below.
Read them as necessary along with this document.
Must Read The Following Manuals.
Name
Contents
How to Get
Product Guide
opening the package.
This lists the product
configuration and describes
the precautions.
Included in the package
(Printed matter)
Setup Manual
the product.
This describes the required
items for setup and
configuration procedure.
Download from
the Contec
website (PDF)
Reference Manual
(Hardware)
the product.
This describes the hardware
aspects such as functions
and settings.
Download from
the Contec
website (PDF)
Reference Manual
(Software)
the CONPROSYS WEB
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)
SIM Card Manual
(For the CPS-MC341G-ADSC1-
111 model)
Read this when using the
product with SIM card.
This describes the
procedure to start
sending data to Cloud
server from M2M
controller.
Download from
the Contec
website (PDF)
Download Manuals
Download the manuals from the following URL.
Download
https://www.contec.com/download/
Introduction
M2M Controller Series, Integrated type, Reference Manual (Software)
12
4. 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/task/V1/en/
Introduction
M2M Controller Series, Integrated type, Reference Manual (Software)
13
5. 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 101)for further details.
14
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 Controller Series, Integrated type, Reference Manual (Software)
15
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 Controller Series, Integrated type, Reference Manual (Software)
16
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 Controller Series, Integrated type, Reference Manual (Software)
17
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.
18
Set the Computer
Network
This section describes how to connect the product with a PC, set the network,
and check the communication.
Set the Computer Network
M2M Controller Series, Integrated type, Reference Manual (Software)
19
1. Connect With a PC
To set the product, you need to first set up the network between the PC and the product in order to
establish communication.
First, connect the product with the PC.
1 Follow the instructions below to connect the computer, the controller, and the power unit.
* Refer to Reference Manual (Hardware)for how to create a power cable.
2 Connect the power unit with AC plug, then turn on the computer.
* After connecting the power unit with AC plug, it takes a few minutes for the controller to
complete the start-up. (approx. 1-2 min)
Set the Computer Network
M2M Controller Series, Integrated type, Reference Manual (Software)
20
2. Set the Computer Network
Follow the Computer Network Setting Proceduredescribed below and set the network to make the
IP addresses as shown.
The product must set a unique IP address for the bold part (200 or 101) that is not used by other
devices on your network.
* If proxy is set to your PC, do not use the proxy.
1. Computer Network Setting Procedure (for Windows 10)
1 Click the [Network & Internet] on [Windows Settings] screen.
2 Click the [Change adapter options] in [Network status].
/