Contec CPS-MG341G-ADSC1-930 Owner's manual

Category
Gateways/controllers
Type
Owner's manual
Technical Guide
CONTENTS
M2M Gateway PLC
Communication
Settings
Firmware version 3.0.0 or later
Introduction .................................................................. 4
M2M Gateway Basic Settings ............................... 13
PLC Communication Settings............................... 18
How To Use Collection Data ................................. 75
Customer Support and Inquiry ......................... 100
2
Table of Contents
Introduction ....................................................................... 4
1. Related Manuals ...................................................................................................................................................... 5
2. Online Help ............................................................................................................................................................... 6
3. Check the firmware version ................................................................................................................................ 7
4. M2M Gateway Series............................................................................................................................................. 8
5. M2M Gateway Features ....................................................................................................................................... 9
6. PLC Communication Outline ........................................................................................................................... 11
7. Modbus Connection ........................................................................................................................................... 12
M2M Gateway Basic Settings ......................................... 13
1. Basic Operation .................................................................................................................................................... 14
2. Network Settings ................................................................................................................................................. 15
3. Time Synchronization Settings ....................................................................................................................... 16
4. Saving the Settings ............................................................................................................................................. 17
PLC Communication Settings ......................................... 18
1. PLC Communication Operations ................................................................................................................... 19
1. LINK Configuration ....................................................................................................................................... 20
2. CPU Configuration ........................................................................................................................................ 22
3. Device Configuration ................................................................................................................................... 23
4. DIS Switch Configuration (Switching RS-485 and RS-422) ....................................................... 25
2. Ethernet Connection with Mitsubishi PLC.................................................................................................. 26
1. PLC Settings..................................................................................................................................................... 26
2. M2M Gateway Settings............................................................................................................................... 28
3. Other Settings ................................................................................................................................................ 30
3. Serial Connection with Mitsubishi PLC ........................................................................................................ 34
1. PLC Settings..................................................................................................................................................... 35
2. M2M Gateway Settings............................................................................................................................... 36
4. Ethernet Connection with OMRON PLC ..................................................................................................... 38
1. PLC Settings..................................................................................................................................................... 38
2. M2M Gateway Settings............................................................................................................................... 41
5. Serial Connection with OMRON PLC ........................................................................................................... 45
1. PLC Settings..................................................................................................................................................... 47
2. M2M Gateway Settings............................................................................................................................... 48
6. Ethernet Connection with KEYENCE PLC .................................................................................................... 52
1. PLC Settings..................................................................................................................................................... 53
2. M2M Gateway Settings............................................................................................................................... 55
7. Serial Connection with KEYENCE PLC .......................................................................................................... 57
1. PLC Settings..................................................................................................................................................... 58
2. M2M Gateway Settings............................................................................................................................... 60
8. Modbus/TCP(Ethernet) Connection ............................................................................................................. 62
1. Terminal Setting ............................................................................................................................................. 62
3
Table of Contents
2. M2M Gateway Settings............................................................................................................................... 65
9. Modbus/RTU Connection ................................................................................................................................. 67
1. Terminal Setting ............................................................................................................................................. 68
2. M2M Gateway Settings............................................................................................................................... 70
10. Communication Status Check ......................................................................................................................... 72
1. Checking Communication Status ............................................................................................................ 72
2. Communication Troubleshooting ........................................................................................................... 73
How To Use Collection Data ........................................... 75
1. CONPROSYS VTC ................................................................................................................................................. 76
1. Data Reading .................................................................................................................................................. 77
2. Data Writing .................................................................................................................................................... 78
3. Trigger Reading and Writing .................................................................................................................... 79
4. Event Writing .................................................................................................................................................. 80
5. How to check communication status .................................................................................................... 81
2. CONPROSYS HMI ................................................................................................................................................ 82
1. CONPROSYS HMI Link Setting ................................................................................................................. 82
2. Other Reference Method. .......................................................................................................................... 83
3. Data Transfer to a Higher Level ...................................................................................................................... 84
1. Data Transfer Function (Original function) .......................................................................................... 85
2. Send Data to Azure IoT Hub ..................................................................................................................... 90
3. FTP(Put), FTP(Get) ......................................................................................................................................... 91
4. File View Function ......................................................................................................................................... 92
4. Data Linking through Communication ....................................................................................................... 94
1. Modbus/TCP Slave function ..................................................................................................................... 94
2. OPC UA Server function ............................................................................................................................. 95
3. Communication Linking with CONPROSYS VTC ............................................................................... 99
Customer Support and Inquiry .................................... 100
1. Services .................................................................................................................................................................. 101
4
Introduction
This manual describes the basic setting procedure and
related information for collecting information from PLC
controlling equipment or devices with MODBUS slave
functions using the CONPROSYS M2M Gateway series.
Introduction
M2M Gateway PLC Communication Settings
5
1. 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
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 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 Concise Manual
Read this when using
the product with SIM
card for communication.
This describes the procedure
to start data transferring
from the M2M controller to
Cloud server.
Download from
the Contec
website (PDF)
Download Manuals
Download the manuals accordingly from the following URL.
Download
Introduction
M2M Gateway PLC Communication Settings
6
2. Online Help
We offer the detailed information on “CONPROSYS VTC” for assembling processing tasks such as
calculation and control as well as on “CONPROSYS HMI” for operating and editing the monitoring
screen through the Online Help.
Consult the Online Help as necessary.
CONPROSYS VTC (Visual Task Control).
Online Help
CONPROSYS HMI (Human Machine Interface)
Online Help
Introduction
M2M Gateway PLC Communication Settings
7
3. 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
* Refer to the “Reference Manual (Software)” for further details.
Introduction
M2M Gateway PLC Communication Settings
8
4. M2M Gateway Series
With the M2M Gateway controller, data from devices containing MODBUS slave functions or from
PLC controlling equipment can be obtained easily. As a multi-vendor supporter, data from various
models of makers including Mitsubishi MELSEC series, OMRON Sysmac series, or JTEKT TOYOPU
series are collectable. One single controller is capable of collecting data from several PLC units.
Moreover, the controller supports the measuring devices with MODBUS/RTU, MODBUS/TCP slave
functions.
Visit the CONTEC website and check the information on the supporting devices.
https://www.contec.com/
Information of the M2M Gateway Models
*1 A SIM card needs to be purchased individually. Use the standard SIM type. Neither nano SIM
nor micro SIM are appropriate.
*2 Opto-coupler isolated input (current sink output compatible) [12VDC built-in non-voltage input]
*3 Digital input and exclusive use
*4 Each LAN port is independent, therefore, network segments can be divided.
*5 Opto-coupler isolated input (current source / sink output compatible) [Switchable between
voltage input or Non-voltage input ]
* The functions listed here are applicable when the controller has the latest version of firmware.
The latest firmware can be downloaded from the “Support / Download” page in each model.
Introduction
M2M Gateway PLC Communication Settings
9
5. M2M Gateway Features
Monitor PLC device memory
The setting values and control results can be read and monitored from PLC device memory. (I/O status, data register, link register,
file register, and so on.)
With simple configurations, data can be collected and sent to cloud.
Multi-vendor support. The M2M Gateway series can collect data from several different PLC units of various makers and even in the
environment where multiple interfaces are used.
PLC communication can be performed at any timing by setting communication properties and utilizing VTC functions.
Monitor facilities remotely through cloud
The device memories in PLC units can be collected all at once through cloud.
Facilities in a remote location or overseas can be monitored.
New business can be created by accumulated performances of devices.
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
Multi-vendor support. PLC units of various makers or
devices with Modbus functions are supported
The controller supports Mitsubishi MELSEC -FX / -A / -Q / -L / iQ-F / iQ-R series, OMRON Sysmac C / CPM / CS / CJ / CP series.
JTEKT TOYOPUC series are also supported. Furthermore, communication with Modbus devices of various makers are supportable.
Visit the CONTEC website for further information.
Introduction
M2M Gateway PLC Communication Settings
10
Link data of up to 10 links, 100 register groups
Linking up to 10 Ethernet/computing is possible. Up to 10,000 data of up to 100 groups from up to 30 PLC units 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 PLC Communication Settings
11
6. PLC Communication Outline
This section describes the general outline on PLC communication before configuring the
CONPROSYS M2M Gateway settings.
PLC Communication : Command Response Method
Each PLC has its own protocol of the maker for external communication. Generally, a master (a remote
device such as M2M Gateway) makes a request and receives a response from a slave (PLC).
When collecting information, the master makes a request to the slave by specifying the device
address type and the range, then obtains device values from the PLC.
When specifying data (writing), the master transmits the device address information and values, then
receives a completion response from the PLC.
- An example of data request
- Communication Command
Some PLCs have a function to access areas with gaps at one time using the random access function.
However, the M2M Gateway has no such a function, therefore, an alternative measure is used to
access continuous areas, instead.
In order to access the area with gaps, it is necessary to perform communication several times.
For information collection performances, consider placing the collected data side by side or arranging
the access settings, for instance.
- There are gaps in the access area - Collecting data by performing communication several times.
- Arrange data order
D memory : request 0-99
Response of memory info
PLC
M2M Gateway
*
Communication permission or parameter change might be
required depending on PLCs or communication styles.
PLC Memory
・・・
PLC Memory
Copy data into empty addresses that are alligned sequentially
*
Communication performance can be improved and access with
the same scan can be realized.
Obtain data at one time communication
Group 1
Group 2
Group 3
Group 4
Introduction
M2M Gateway PLC Communication Settings
12
7. Modbus Connection
Modbus communication method in CONPROSYS is compatible with Modbus/RTU and Modbus/TCP.
As for Modbus communication protocol, the communication procedure is the same as previously
described in PLC communication.
The definition of Modbus communication method is listed below.
Serial Communication
Modbus/ASCII
A method of transmitting 1 byte (8-bit) data by converting into 2-character ASCII code
* 1 Unavailable with the CONPROSYS
Modbus/RTU
A method of transmitting 1 byte (8-bit) data as it is (binary transmission)
TCP/IP Communication (Ethernet Communication)
Modbus/TCP
Modbus / RTU message transmission over TCP / IP network
13
M2M Gateway Basic
Settings
This section describes the basic settings of M2M Gateway.
M2M Gateway Basic Settings
M2M Gateway PLC Communication Settings
14
1. Basic Operation
The following instructions concisely describe how to access the CONPROSYS for the communication
settings.
For setting the CONPROSYS, access the web server operated with the CONPROSYS controller and
perform the configuration.
Refer to the "Setup Manual" or "Reference Manual (Software)" for details on web access.
See the summary below for accessing procedure.
To run the CONPROSYS, the basic settings and operations listed below need to be completed.
The settings to use PLC information are explained in the following chapters.
- Network Settings
- Time Synchronization Settings
- Saving the Settings
---Notice---
Using LAN ports differs depending on the M2M Gateway models.
- CPS-MG341-ADSC1-111, PS-MG341G-ADSC1-111
Two LAN ports within the product are recognized as one form OS with the same IP address.
- CPS-MG341-ADSC1-931, CPS-MG341G-ADSC1-930 (Models with OPC UA server)
Two LAN ports within the product can be used with differing segment IP addresses.
The default IP address (10.1.1.101) used to access the M2M Gateway controller for the first time
is provided to the left-side LAN port. Connect the cable to the LAN port on the left.
Use the left-side LAN port to access for the first time.
Setting example for a PC and
the net
IP
address : 10.1.1.200
S
ubnet mask: 255.0.0.0
Controller default info
IP
address10.1.1.101
S
ubnet mask255.0.0.0
Build the environment in which the controller
and your PC can be connected to access
through a web browser.
The following is the default user information
for access
ing.
User : mc341
Password : mc341
M2M Gateway Basic Settings
M2M Gateway PLC Communication Settings
15
2. Network Settings
Configure the wired LAN port settings in according to your network environment.
Settings
Web access the CONPROSYS, and go to the [Setting] [Network].
Click the "Wired LAN" to open the setting page.
After completing the settings, click the [set] button. This saves the settings temporarily.
To save the settings on the CONPROSYS, perform the [Save]. This saves the contents into ROM.
To reflect the changed contents, perform the [Reboot].
Performing the [Save and Reboot] can simplify the actions.
Refer to the "4. Saving the Settings" for further details.
M2M Gateway Basic Settings
M2M Gateway PLC Communication Settings
16
3. Time Synchronization Settings
This section describes time synchronization settings.
*Notice Regarding Time Settings
The M2M Gateway models listed below has no back-up power supplies (batteries) within the
controller. Therefore, the time information cannot be kept when shutting down or rebooting the
controller. Time synchronization is required depending on the intended use.
Also, note that functions such as logging the PLC collected information will not work if the time
synchronization is not yet successful.
- CPS-MG341-ADSC1-111
- CPS-MG341G-ADSC1-111
Time Synchronization
Web access the CONPROSYS, and go to the [Setting] and select the [Time] to open the setting page.
After completing the settings, click the [set] button. This saves the settings temporarily.
To save the settings on the CONPROSYS, perform the [Save]. This saves the contents into ROM.
To reflect the changed contents, perform the [Reboot].
Performing the [Save and Reboot] can simplify the actions.
Refer to the "4. Saving the Settings" for further details.
Click the [Set the PC Time] to set the time on the operating PC.
Use this when the NTP server cannot be connected in the environment such as for a test operation.
M2M Gateway Basic Settings
M2M Gateway PLC Communication Settings
17
4. Saving the Settings
This controller runs by expanding the OS image on ROM into RAM. Saving in the network that was
explained earlier, the setting contents are temporarily saved in the RAM. To reflect the contents in
the ROM, perform the "Save". This keeps the settings even after the controller is rebooted.
-Save the settings
Go to the [Exit] menu, and select the [Save and Reboot], the [Save and
Shutdown], or the [Save].
The confirmation dialog appears and performs the action.
The saving progress can be viewed on the screen.
Performing the [Save and Reboot] or the [Save and Shutdown] reboots or
shuts down the controller after saving the contents to ROM.
18
PLC Communication
Settings
This section describes settings for PLC communication and
provides setting examples to communicate with PLC units.
PLC Communication Settings
M2M Gateway PLC Communication Settings
19
1. PLC Communication Operations
The M2M Gateway controller needs to set up [Link config], [CPU config], and [Device config] to
communicate with PLC. The following explains configuration details of each setting, and multiple
information items can be set in a tree structure as shown below.
- [LINK Configuration] : Define the communication interface. Up to 10 links are configurable.
- [CPU Configuration] : Define the settings for the communications partner. Up to 30 CPUs are
configurable.
- [Device Configuration] : Configure the collection information (memory) settings. Up to 10,000 data
of up to 100 device groups are configurable.
- Configuration Screen
- Linking PLC information
Assign the information collected by PLC communication to "Modbus memory", and the information
can be used in the task function or monitoring function of CONPROSYS.
Assigning the information to “Modbus memory” is specified in the “Modbus address” settings of the
“Device setting”.
There is also a function to create a file and send the communication information to the cloud. This is
explained in the [3.Data Transfer to a Higher Level] in the next chapter the [How to use Collection
Data].
[PLC]
[M2M Gateway]
PLC
communication
task
D
evice
memory
Modbus
Task processing
Monitor processing
Up to 10,000 data of
up to 100 device groups
Up to 30 CPUs
Up to 10 links
PLC Communication Settings
M2M Gateway PLC Communication Settings
20
1. LINK Configuration
Add Link
From the PLC setting page, click the [Add Link] to open the Link configuration page in the bottom.
To edit existing link settings, select the specified link display and the "link" setting contents can be
shown for editing at the bottom of the screen.
Set each item, then click the [Add], [Change] or the [Delete] button. Setting details are explained in
the table below.
Link Configuration Page
Settings
No.
Settings
Description
1
Link Name
Decide a link name.
0 to 32 of one-byte alphanumeric letters, [_] underline, and [-] hyphen.
The name cannot be set with only numbers.
2
Maker
Select a maker name of PLC to communicate.
3
Communication
Method
Select Ethernet or Serial in accordance with the used PLC.
4
Format
Select a format from the list in accordance with the used PLC.
5
Frame
Select a frame from the list in accordance with the used PLC.
6
Link Type
The link type is allocated automatically correspond to selected maker name,
communication method, format and frame.
7
IP Address
When the communication method is Ethernet connection, enter IP address of
PLC.
8
Port Number
When the communication method is Ethernet connection, enter PLC port number.
* Displayed setting contents differ depending on the communication methods.
- The setting differences between Ethernet communication and Serial communication
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103

Contec CPS-MG341G-ADSC1-930 Owner's manual

Category
Gateways/controllers
Type
Owner's manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI