CPS-DI-16RL

Contec CPS-DI-16RL Reference guide

  • Hello! I've reviewed the Reference Manual for the CONTEC M2M Controller Configurable type. This document contains very detailed information on configuring the network settings, CONPROSYS WEB settings, data processing, monitoring, and data transfer. It also covers advanced features like OPC UA server, Azure IoT Hub connectivity, and MQTT. I'm ready to answer your questions about the device and its functions.
  • How to check the firmware version?
    How to set up the network?
    How to start CONPROSYS WEB Setting?
Reference Manual
(Software)
CONTENTS
M2M Controller Series
Configurable 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 ........................ 144
Monitoring Edit ...................................................... 196
Tag Edit ...................................................................... 210
Transferring Measured Data To Server .......... 218
Using the product as OPC UA Sever .............. 227
Set the Auto Send Mail ....................................... 242
Connecting to Azure IoT Hub ........................... 247
MTConnect ............................................................... 263
FTP communication .............................................. 267
MQTT Publish and Subscribe ............................ 272
Set Up Troubleshooting ...................................... 325
Appendix ................................................................... 329
Customer Support and Inquiry ......................... 385
Index ........................................................................... 387
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. LTE ....................................................................................................................................................................... 38
5. Proxy .................................................................................................................................................................. 41
6. Router Function ............................................................................................................................................. 42
7. IP Filter............................................................................................................................................................... 49
8. Modules ............................................................................................................................................................ 51
9. Data Transfer ................................................................................................................................................... 65
10. Azure IoT Hub................................................................................................................................................. 71
11. Time .................................................................................................................................................................... 72
12. Service ............................................................................................................................................................... 74
13. Mail ..................................................................................................................................................................... 77
14. SMS ..................................................................................................................................................................... 80
15. OPC UA.............................................................................................................................................................. 82
3
Table of Contents
16. MTConnect ...................................................................................................................................................... 84
17. FTP ...................................................................................................................................................................... 85
18. MQTT Connection ......................................................................................................................................... 88
19. MQTT Publish ................................................................................................................................................. 93
20. MQTT Subscribe .......................................................................................................................................... 100
21. FacilityView Connection............................................................................................................................ 105
22. FacilityView Transfer ................................................................................................................................... 106
23. System ............................................................................................................................................................. 109
24. Modbus Data View ..................................................................................................................................... 111
25. File View .......................................................................................................................................................... 127
26. Log .................................................................................................................................................................... 129
27. Firmware Update ......................................................................................................................................... 130
28. Configuration File ....................................................................................................................................... 131
29. User/Password .............................................................................................................................................. 132
30. Network .......................................................................................................................................................... 135
31. User's Restrictions ....................................................................................................................................... 136
32. Monitoring Edit ............................................................................................................................................ 137
33. Monitoring View .......................................................................................................................................... 138
34. Task Ed it .......................................................................................................................................................... 139
35. Tag Edit ............................................................................................................................................................ 140
36. Save and Reboot ......................................................................................................................................... 141
37. Save and Shut down .................................................................................................................................. 141
38. Save .................................................................................................................................................................. 141
39. Reboot ............................................................................................................................................................. 142
40. Shut down ...................................................................................................................................................... 142
41. Forced Reboot .............................................................................................................................................. 142
42. Repair SD and Reboot ............................................................................................................................... 143
Easy Data Process And Control .................................... 144
1. CONPROSYS VTC Outline ............................................................................................................................... 145
1. What You Can Do With CONPROSYS VTC ........................................................................................ 145
2. Work Area ...................................................................................................................................................... 146
3. Create Processing Tasks ............................................................................................................................ 146
4. Basic Procedure for Creating Processing Tasks ............................................................................... 147
5. Internal Variables ......................................................................................................................................... 150
2. Summary of Available Controls.................................................................................................................... 151
3. Input / Output Module Allocation .............................................................................................................. 156
4. Sample ................................................................................................................................................................... 159
1. Sample (1) ...................................................................................................................................................... 160
2. Sample (2) ...................................................................................................................................................... 162
3. Sample (3) ...................................................................................................................................................... 165
4. Sample (4) ...................................................................................................................................................... 168
5. Sample (5) ...................................................................................................................................................... 170
6. Sample (6) ...................................................................................................................................................... 172
7. Sample (7) ...................................................................................................................................................... 176
8. Sample (8) ...................................................................................................................................................... 181
9. Sample (9) ...................................................................................................................................................... 185
10. Sample (10) ................................................................................................................................................ 188
11. Sample (11) ................................................................................................................................................ 190
4
Table of Contents
Monitoring Edit .............................................................. 196
1. CONPROSYS HMI Outline .............................................................................................................................. 197
1. What You Can Do With CONPROSYS HMI ........................................................................................ 197
2. HMI Editor Work Areas ............................................................................................................................. 198
3. Create a Monitoring Screen .................................................................................................................... 198
4. Basic Procedure For Creating a Monitoring Screen ...................................................................... 199
2. Summary Of Available Controls ................................................................................................................... 203
3. Internal Variables Specification .................................................................................................................... 205
4. Sample ................................................................................................................................................................... 207
1. Sample of Input / Output Monitoring Screen. ................................................................................ 207
Tag Edit ........................................................................... 210
1. Overview Of Tag Edit ........................................................................................................................................ 211
1. Tag Edit Page................................................................................................................................................. 211
2. TAG Export/Import ...................................................................................................................................... 215
Transferring Measured Data To Server ....................... 218
1. Data Transfer Outline ....................................................................................................................................... 219
2. Settings for Transferring Measured Data ................................................................................................. 220
3. Data Transfer Setting ........................................................................................................................................ 221
1. Data Transfer ................................................................................................................................................. 221
2. Service ............................................................................................................................................................. 221
3. Network Setting........................................................................................................................................... 222
4. Wireless LAN ................................................................................................................................................. 223
5. 3G ...................................................................................................................................................................... 225
6. LTE ..................................................................................................................................................................... 226
Using the product as OPC UA Sever ............................ 227
1. OPC UA Client Preparation and Communication ................................................................................. 228
1. OPC UA Client Preparation...................................................................................................................... 228
2. Communication With OPC UA Client .................................................................................................. 228
2. Download OPC UA Sever Certificate .......................................................................................................... 230
3. Upload OPC UA Client Certificate ............................................................................................................... 232
4. Client Authentication By User ID ................................................................................................................. 234
5. Communication With CNC by FANUC....................................................................................................... 235
6. OPC UA Server Specification ......................................................................................................................... 236
1. Overall Specification .................................................................................................................................. 236
2. Address Space Specification ................................................................................................................... 237
3. OPC UA Tree Structure (with slave) ...................................................................................................... 241
Set the Auto Send Mail ................................................. 242
1. SMTP Sever Setting........................................................................................................................................... 243
5
Table of Contents
2. Mail Address Setting ........................................................................................................................................ 245
3. Send Mail Program ........................................................................................................................................... 246
Connecting to Azure IoT Hub ...................................... 247
1. Azure IoT Hub Communication Functions .............................................................................................. 248
1. Azure IoT Hub Communication Specification.................................................................................. 248
2. Azure IoT Hub Preparation ............................................................................................................................ 249
1. Create a Microsoft Azure Account ....................................................................................................... 249
2. Create an Azure IoT Hub .......................................................................................................................... 249
3. Obtain a Device Connection String...................................................................................................... 251
3. Azure IoT Hub Setting ..................................................................................................................................... 254
4. S e n d Azur e I o T Tas k .......................................................................................................................................... 255
1. Sending Format ........................................................................................................................................... 255
2. Set a Task ........................................................................................................................................................ 257
3. Check Sending ............................................................................................................................................. 260
4. Check Log....................................................................................................................................................... 261
5. Check Resending File ................................................................................................................................. 261
6. Receiving Format......................................................................................................................................... 261
7. Check Receiving ........................................................................................................................................... 262
MTConnect ..................................................................... 263
1. MTConnect Outline ........................................................................................................................................... 264
1. MTConnect Overall Specification .......................................................................................................... 264
2. MTConnect DataItem Specification ..................................................................................................... 265
3. An example of MTConnect client display .......................................................................................... 266
FTP communication ....................................................... 267
1. FTP communication function ........................................................................................................................ 268
2. FTP Server Settings ........................................................................................................................................... 269
3. File Sending/Receiving Program ................................................................................................................. 270
MQTT Publish and Subscribe ....................................... 272
1. MQTT Outline ...................................................................................................................................................... 273
2. Required Settings for MQTT Publish and Subscribe ............................................................................ 274
3. MQTT Connection ............................................................................................................................................. 275
4. Examples for MQTT Publish and Subscribe............................................................................................. 277
1. Publish (1) ...................................................................................................................................................... 278
2. Publish (2) ...................................................................................................................................................... 280
3. Publish (3) ...................................................................................................................................................... 282
4. Publish (4) ...................................................................................................................................................... 284
5. Publish (5) ...................................................................................................................................................... 287
6. Publish (6) ...................................................................................................................................................... 288
7. Publish (7) ...................................................................................................................................................... 289
6
Table of Contents
8. Publish (8) ...................................................................................................................................................... 291
9. Subscribe (1) ................................................................................................................................................. 292
10. Subscribe (2) ................................................................................................................................................. 294
11. Subscribe (3) ................................................................................................................................................. 296
12. Subscribe (4) ................................................................................................................................................. 297
13. Subscribe (5) ................................................................................................................................................. 298
14. Subscribe (6) ................................................................................................................................................. 300
5. Examples for MQTT Application .................................................................................................................. 301
1. Connection (1) .............................................................................................................................................. 302
2. Connection (2) .............................................................................................................................................. 303
3. Other (1).......................................................................................................................................................... 305
Router Function ............................................................. 306
1. Router Function Outline .................................................................................................................................. 307
2. Router Function Setting .................................................................................................................................. 308
1. DHCP Server .................................................................................................................................................. 309
2. Static Routing ............................................................................................................................................... 310
3. Port Forwarding ........................................................................................................................................... 312
4. IP Filter............................................................................................................................................................. 314
Connecting to FacilityView ........................................... 317
1. FacilityView ........................................................................................................................................................... 318
2. Preparation for FacilityView Connection .................................................................................................. 319
3. FacilityView Setting ........................................................................................................................................... 320
1. Service ............................................................................................................................................................. 320
2. CONPROSYS Registration ........................................................................................................................ 321
3. Activation ....................................................................................................................................................... 322
4. Check FacilityView communication logs .................................................................................................. 324
Set Up Troubleshooting ................................................ 325
1. If You Encounter a Problem? ......................................................................................................................... 326
1. General ............................................................................................................................................................ 326
2. Data Transfer To The Server Problems ................................................................................................ 328
3. Monitoring Screen Creation And Display Problems ..................................................................... 328
4. Processing Task Creation And Display Problems............................................................................ 328
Appendix ........................................................................ 329
1. Data Transfer Format ........................................................................................................................................ 330
2. F&eIT Protocol Specifications ....................................................................................................................... 343
1. Communications Sever Concept ........................................................................................................... 343
2. Basic Specifications .................................................................................................................................... 344
3. Control Information ................................................................................................................................... 350
3. SD Card .................................................................................................................................................................. 354
4. DIP Switch ............................................................................................................................................................. 355
7
Table of Contents
5. LED........................................................................................................................................................................... 356
6. Rotary Switch ....................................................................................................................................................... 357
7. Modbus Status Information........................................................................................................................... 358
8. COM Setting ........................................................................................................................................................ 365
9. MQTT Publish and Subscribe Data Format ............................................................................................. 366
1. MQTT Publish Data Format ..................................................................................................................... 366
2. MQTT Resend File Format ....................................................................................................................... 368
3. MQTT Subscribe Data Format ................................................................................................................ 369
10. MQTT Communication Log ........................................................................................................................... 371
1. COMMUNICATION LOG ........................................................................................................................... 371
2. PUBLISH LOG ................................................................................................................................................ 372
3. SUBSCRIBE LOG ........................................................................................................................................... 373
11. SMS Send log ...................................................................................................................................................... 374
12. Industrial Value Conversion ........................................................................................................................... 375
Setting Example 1 : Measurement Value .................................................................................................. 375
Setting Example 2 : Current Value............................................................................................................... 377
Setting Example 3 : Voltage Value .............................................................................................................. 379
Setting Example 4 : Connection With a Pyranometer of DC4-20mA Outputs .......................... 381
Setting Example 5 : Connection With a Thermometer of DC1-5V Outputs ............................... 383
Customer Support and Inquiry .................................... 385
1. Services .................................................................................................................................................................. 386
Index ................................................................................ 387
8
Introduction
This chapter provides necessary information of the product
such as the product configuration and manuals before
actual use.
Introduction
M2M Controller Series, Configurable type, Reference Manual (Software)
9
1. Manual Composition
This manual is composed as follows:
Introduction
M2M Controller Series, Configurable type, Reference Manual (Software)
10
2. 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 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 132
Save the settings
Refer to
page 141
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, Configurable 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)
Download Manuals
Download the manuals from the following URL.
Download
https://www.contec.com/download/
Introduction
M2M Controller Series, Configurable 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/hmi/V1/en/
Introduction
M2M Controller Series, Configurable 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 130)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, Configurable 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, Configurable 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, Configurable 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 chapter describes how to connect the product with a
PC, set the network, and check the communication.
Set the Computer Network
M2M Controller Series, Configurable 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, Configurable 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].
/