Contec CPS-MG341G-ADSC1-930 User manual

CONPROSYS
M2M Gateway for PLC
Multi-Function 3G OPC UA
CPS-MG341G-ADSC1-930
Hardware Manual
CONTEC CO., LTD.

To the customer
Before using the product, visit our
website to check the firmware version
and be certain to use the latest one.

CPS-MG341G-ADSC1-930 Hardware Manual i
Check Your Package
Thank you for purchasing the CONTEC product. The product consists of the items listed below.
Check, with the following list, that your package is complete. If you discover damaged or missing
items, contact your retailer.
Product Configuration List
- Product [CPS-MG341G-ADSC1-930]…1
- Product Guide...1
- Warranty Certificate...1
- Cautions for setting the SIM card…1
- Serial Number Label...1
- 3-pin Connector (Power/Analog) ...3
- 5-pin Connector (RS-422A/485) ...1
- 10-pin Connector (Digital) ...1
- Antenna…1
* This product is verified in conformity with our recommended power supply. In case you use other power supplies, thus, it may not
be able to fulfil certification requirements. Please see the Contec website regarding power supply
recommendation.(http://www.contec.co.jp)
Product
Guide Warranty
Certificate
Warranty
Certificate Serial Number
Label
Antenna
Cautions
for setting
the SIM card
Cautions for setting
the SIM cardCPS-MG341G-ADSC1-930 Product Guide
10-pin Connector
(Digital)
5-pin Connector
(RS-422A/485)
3-pin Connector
(Power/Analog)

ii CPS-MG341G-ADSC1-930 Hardware Manual
Copyright
Copyright 2016 CONTEC CO., LTD. ALL RIGHTS RESERVED.
No part of this document may be copied or reproduced in any form by any means without prior written
consent of CONTEC CO., LTD.
CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this
document.
The information in this document is subject to change without notice.
All relevant issues have been considered in the preparation of this document. Should you notice an
omission or any questionable item in this document, please feel free to notify CONTEC CO., LTD.
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 this product.
Trademarks
This product is a registered trademark or trademark of CONTEC CO., LTD. Other company and
product names that are referred to in this manual are generally trademarks or registered trade trademark.

CPS-MG341G-ADSC1-930 Hardware Manual iii
Table of Contents
Check Your Package............................................................................................................................i
Table of Contents...............................................................................................................................iii
1. Before Using the Product 1
About the Product ...............................................................................................................................1
Hardware Features........................................................................................................................1
Software Features......................................................................................................................... 2
How to use....................................................................................................................................3
Model details................................................................................................................................3
Customer Support................................................................................................................................4
Web Site....................................................................................................................................... 4
Limited Two-Year Warranty............................................................................................................... 4
How to Obtain Service........................................................................................................................ 4
Liability...............................................................................................................................................4
Safety Precautions............................................................................................................................... 5
Safety Information ....................................................................................................................... 5
Handling Precautions ..........................................................................................................................5
2. Setup 9
Setup procedure...................................................................................................................................9
Switch Setup .....................................................................................................................................10
RS-422A/485 Half duplex setup ................................................................................................ 10
RS-422A/485 Full duplex setup................................................................................................. 11
Antenna Setup...................................................................................................................................12
How to place and remove the SD cover............................................................................................ 13
Inset SIM card...................................................................................................................................14
Installation.........................................................................................................................................15
Mounting on a DIN Rail............................................................................................................. 15
Installation onto the wall............................................................................................................ 17
Installation Conditions ...............................................................................................................18
Cable Connection.............................................................................................................................. 21
Power..........................................................................................................................................21
LAN (LAN A, LAN B)..............................................................................................................21
RS-422A/485(COM A)..............................................................................................................22
RS-232C (COM B).....................................................................................................................25
Analog Input (AI)....................................................................................................................... 26
Digital/Counter Input (DI/CNT) ................................................................................................ 27
Digital Output (DO)...................................................................................................................30
Software Setup ..................................................................................................................................31

iv CPS-MG341G-ADSC1-930 Hardware Manual
3. Unit Nomenclature and Function 33
Nomenclature of Unit Components...................................................................................................33
Component Function.........................................................................................................................34
Power Connector (12-24VDC)...................................................................................................34
Antenna Connector.....................................................................................................................34
SIM Slot .....................................................................................................................................34
3G LED ......................................................................................................................................35
Debug Connector........................................................................................................................35
SD Slot .......................................................................................................................................35
USB Port (USB).........................................................................................................................35
RS-232C Interface (COM B)......................................................................................................36
LED Indicator.............................................................................................................................37
Reset Switch...............................................................................................................................37
Shut Down Switch......................................................................................................................37
DIP Switch (SW1, SW2)............................................................................................................38
LAN Port (LAN A, LAN B).......................................................................................................39
Isolated Digital Input/Counter Input/Digital Output Connector (DI0, DI1/DI2, DI3 (CNT0,
CNT1) /DO0, DO1)....................................................................................................................40
Inter-Channel Isolated Analog Input Connecter (AI0, AI1).......................................................41
Isolated RS-422A/485 Connector (COM A)..............................................................................41
Other Function...................................................................................................................................42
Counter function.........................................................................................................................42
Digital Filter...............................................................................................................................43
4. System Reference 45
Specifications....................................................................................................................................45
Power Requirements...................................................................................................................48
Physical Dimensions ..................................................................................................................49
Physical Dimensions (Antenna)................................................................................................. 49
Antenna Steerable Range ...........................................................................................................50
Standard SIM size ......................................................................................................................50
5. List of Optional Products 51

1 Before Using the Product
CPS-MG341G-ADSC1-930 Hardware Manual 1
1. Before Using the Product
This chapter provides necessary information before using the product.
About the Product
The product is a M2M controller with isolated RS-422/485, isolated digital input/output, isolated input
counter, inter-channel isolated analog input, RS232C, LAN interface, Ethernet Hub and 3G network
communication module.
CPS-MG341G-ADSC1-930 contains OPC UA server function within. This product can communicate
directly with HMI and SCADA software that support OPC UA clients from various makers. The
product is the data collector M2M Gateway for PLC that supports respective PLCs as well as various
Modbus devices. For equipment with PLC control, data will be collected by “M2M Gateway for PLC”.
For the one without PLC control, data can be collected by “M2M controller” that supports sensor input.
“M2M Gateway for PLC” can connect up to 10 Ethernet/calculating links with differing makers PLCs
simultaneously.
The CONPROSYS series enables you to collect and consolidate data from a wide range of equipment.
You can perform all processes on a web browser from the development to the operation. The functions
such as Web monitoring of I/O information, alarm processing by I/O information, task divergence
enable you to create a Cloud System at low cost and in a short time.
Hardware Features
- The product contains I/O interface such as digital I/O, analog input, counter, and serial
communication.
RS-232C: 1-channel, RS-422A/485: 1-channel, Photocoupler isolation input (compatible with current
sink output): 4-channel, Semiconductor relay output: 2-channel, Bus isolation analog input (current
input): 2-channel. Counter input performs up-counting: equipped with two channels of up counters.
* Two of four digital-input can be used as the counter-input.
- Adaptable to a temperature range between -20 and +60°C
The product is capable of operating in the temperature between -20 and + 60°C. It can be installed in
the various environments.
- Compact Design
Compact design, 188.0(W) × 78.0(D) × 30.5(H), features flexibility in installation.
- Ethernet Hub Function within
Use the product as Ethernet Hub so that you can connect devices in the daisy-chain.
- Capable of adapting a wide-range power (12- 24VDC)
The product is capable of dealing with a wide range of power in the differing environments.
Power connector also has a FG terminal.

1 Before Using the Product
2CPS-MG341G-ADSC1-930 Hardware Manual
- Installation easy with two pieces of terminal support and DIN rail
You can install and remove a terminal connector without a screwdriver so that it can shorten the time
of the replacement. As the product can be mounted on the DIN rail, removing and replacing are easy
as well.
- A powerful running platform without fan
The product contains the ARM®Cortex®-A8 processor (600MHz) and the DDR3 512MB system
memory.
- Decrease malfunctions or damages by bus isolation and surge protection. (the RS-422A/485,
digital/counter input)
Electrical isolation between the RS-422A/485 and the CPU, as well as between the digital/counter
input and CPU can block up the electrical noise flow. Moreover, the surge protection elements are used
for signal line and on top of that, the RS-422A/485 is protected with the communication IC that can
withstand ±70 V input voltage, which reduces malfunctions or damages by surge.
- Decrease malfunctions or damages by bus isolation, inter-channel isolation and surge protection.
(Analog input)
As analog inputs and channel, along with analog inputs and CPU, are electrically isolated, connecting
an input signal with electric potential difference is possible. In addition, the surge protection elements
are used for signal lines, which reduces malfunctions or damages by surge.
- Equipped with LED for an operation check
The product has LED for an operation check, which helps you visually confirm the communication
status of each interface.
- With no use of electrolytic capacitor and primary battery
Neither an electrolytic capacitor, which has a limited life, nor a primary battery is used. We are
creating the product with a longer life.
Software Features
- Promoting a multi-vendor system supporting a varied lineup of PLCs and Modbus devices
The product connects and supports every PLC and each Modbus device simultaneously.
*please visit our website regarding the details of supportive information.
- Connect up to 10 links and data collection from 100 group registers
Up to 10 Ethernet/calculating links can be connected. Data collection from 30 PLCs and 100 group
registers can be carried out. Up to 1000 data mapping for Modbus is possible.
- Measurement and Upload
The product uploads measured data of the sensor and collected data from PLC to the Cloud server.
- Web Monitoring
The product contains a Web server (Java applet). Even with your PC located remotely, you can
monitor and update I/O information through a Web browser. On the monitoring screen, you can freely
lay out the standard GUI parts (graphic, slider, button, etc.). All operations including monitoring
layout, making relations with I/O information, can be achieved via the Web browser.
- Web Task Script
By combining icons such as arithmetic operations, conditional branching, data outputting, you can set
up the executions or its processes like drawing them in the flowchart. All operations can be completed
on the Web browser.

1 Before Using the Product
CPS-MG341G-ADSC1-930 Hardware Manual 3
- Message Communication Function
By working with the RS232C 1 port, the RS-422A/RS-485 1 port or the Ethernet device (TCP/UDP),
you can establish up to 10 links and transmit or receive messages. Message communication can be
accomplished from Web task script.
How to use
Visit our website for the CPS-MG341 system setup guide. (http://www.contec.com)
Model details
No
Item
Contents
1
Model
MG: Gateway Compact Model
2
CPU
3: ARM Cortex A8
3
Memory
4: 512M Byte
4
Version
1: The 1
st
Model
5
Function
G: 3G Model
6 Interface
A: Analog I/O
D: Digital I/O
S: Serial (RS-232C/RS-422/485)
C: Counter
7
Numbering of the Interface
1: The 1
st
Model
8
OS
9: Linux OS, Built in battery
9
ROM
3: 64MB
10
Application
0: SIM free
CPS - MG 3 4 1 G - ADSC1 - 9 3 0
1 2 3 4 6 7 8 9 10CONPROSYS Series 5

1 Before Using the Product
4CPS-MG341G-ADSC1-930 Hardware Manual
Customer Support
CONTEC provides the following support services for you to use CONTEC products more efficiently and
comfortably.
Web Site
Japanese http://www.contec.co.jp/
English http://www.contec.com/
Chinese http://www.contec.com.cn/
Latest product information
CONTEC provides up-to-date information on products.
CONTEC also provides product manuals and various technical documents in the PDF.
Free download
You can download updated driver software and differential files as well as sample programs available in
several languages.
Note: For product information
Contact your retailer if you have any technical question about a CONTEC product or need its price,
delivery time, or estimate information.
Limited Two-Year Warranty
CONTEC products are warranted by CONTEC CO., LTD. to be free from defects in material and
workmanship for up to two years from the date of purchase by the original purchaser.
Repair will be free of charge only when this device is returned freight prepaid with a copy of the original
invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office, from
which it was purchased.
This warranty is not applicable for scratches or normal wear, but only for the electronic circuitry and
original products. The warranty is not applicable if the device has been tampered with or damaged through
abuse, mistreatment, neglect, or unreasonable use, or if the original invoice is not included, in which case
repairs will be considered beyond the warranty policy.
How to Obtain Service
For replacement or repair, return the device freight prepaid, with a copy of the original invoice. Please
obtain a Return Merchandise Authorization number (RMA) from the CONTEC group office where you
purchased before returning any product.
* No product will be accepted by CONTEC group without the RMA number.
Liability
The obligation of the warrantor is solely to repair or replace the product. In no event will the warrantor be
liable for any incidental or consequential damages due to such defect or consequences that arise from
inexperienced usage, misuse, or malfunction of this device.

1 Before Using the Product
CPS-MG341G-ADSC1-930 Hardware Manual 5
Safety Precautions
Understand the following definitions and precautions to use the product safely.
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 indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING indicates a potentially hazardous situation which, if not avoided, could
result in death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury or in property damage.
Handling Precautions
- Do not use the product in locations exposed to a flammable or corrosive gas. It may cause explosion,
fire, electrical shock, or malfunction.
- Do not allow this device to come into contact with foreign substances (metal particles, flammable
substances, liquids, etc.) This can cause fire or electrical shock.
- Do not place this device in an unstable location or use incomplete mountings. This may cause the
device to fall.
- Be sure to connect the product to the stipulated power supply voltage. Connecting to a different
voltage might cause a fire or electrical shock.
- If the equipment is used in a manner not specified by the manufacturer, the protection provided by the
equipment may be impaired.
- This product is not intended for use in aerospace, space, nuclear power, medical equipment, or other
applications that require a very high level of reliability. Do not use the product in such applications.
- If using this product in applications where safety is critical such as in railways, automotive, or disaster
prevention or security systems, please contact your retailer.
- Be certain the following requirements are satisfied when using the product.
- Indoor use
- Altitude up to 2000m
- Applicable POLLUTION DEGREE 2
When using the product at high altitudes, refer to the relational expression below to find an
appropriate ambient temperature. The heat dissipation decreases due to air pressure drop and could
lead to damages or a shorter product life.
-Ambient temperature = 60[°C] - 0.005 x altitude [m]
DANGER
WARNING
CAUTION
DANGER
CAUTION

1 Before Using the Product
6CPS-MG341G-ADSC1-930 Hardware Manual
- Do not use or store this product in a location exposed to high or low temperature that exceeds range of
specification or susceptible to rapid temperature changes.
e.g. - Exposure to direct sun
- In the vicinity of a heat source
- Do not use this product in extremely humid or dusty locations. It is extremely dangerous to use this
product with its interior penetrated by water or any other fluid or conductive dust. If this product must
be used in such an environment, install it on a dust-proof control panel, for example.
- Avoid using or storing this product in locations subject to shock or vibration that exceeds range of
specification.
- Avoid transporting this products state to shock or vibration that exceeds range of specification.
Impact resistance: 15G (11ms) below
- Use the product in the specified operating condition (temperature, humidity, vibration and shock)
- Please be grounded (earth) always.
- Avoid installing in the place where ventilation of the product may compromise. Insufficient aeration
could heat up the product and lead to malfunctions or damages.
- Do not use this product in the vicinity of devices that generate strong magnetic force or noise. Such
products will cause this product to malfunction.
- Do not use or store this product in the presence of chemicals.
- When removing connectors or cables, never fail to unplug the power cables and confirm the LEDs are
turned off.
- CONTEC reserves the right to refuse to service a product modified by the user.
- In the event of failure or abnormality (foul smells or excessive heat generation), unplug the power
cord immediately and contact your retailer.
- To connect with peripherals, use a grounded, shielded cable.
- To clean this product, wipe it gently with a soft cloth dampened with either water or mild detergent.
Do not use chemicals or a volatile solvent, such as benzene or thinner, to prevent pealing or
discoloration of the paint.
- When connecting cables, first check the shapes of connectors (such as USB connectors), and then
insert them in the correct orientation. After they are connected, do not put too much load on the
connected part. Doing so may result in poor contact or damage to this product and the connected part.
- Do not touch metal parts or terminals of the product with your hands in operation. Otherwise,
this product may malfunction, overheat, or cause a failure.
- To avoid electric shock, please do not touch the system with a wet hand.
- The specification of this product is subject to change without notice for enhancement and quality
improvement. Even when using this product continuously, be sure to read the manual of CONTEC’s
website and understand the contents.
- If you want to use in places where the influence of the overcurrent or overvoltage is, please select
appropriate surge protection device for all of the route (Power line, LAN, RS-422A/485, AI, DIO,
earth, etc.)
- Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever
(Including damages for loss of business profits) arising out of the use or inability to use this CONTEC
product or the information contained herein.
- When disposing this product, please comply with the municipal regulations and ordinances.
- Regarding the power supply of this product and digital I/O.
For UL-certified, connecting to both SELV and Limited Energy Circuit is required.
Additionally, Class 2 power supply can also be used in the U.S.

1 Before Using the Product
CPS-MG341G-ADSC1-930 Hardware Manual 7
- To follow the regulation by the Radio Act, use only the supplied antenna or the one listed in chapter 5
regarding optional products.
FCC PART15 Notice
FCC PART15 Subpart B Class A
FCC PART 22 / 24
FCC CAUTION
Changes or modifications not expressly approved by the party responsible for compliance could void the
user’s authority to operate the equipment.
Note: This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against
harmful interference when the equipment is operated in a commercial environment. This equipment
generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications. Operation of this equipment
in a residential area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
This transmitter must not be co-located or operated in conjunction with any other antenna or transmitter.
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment and
meets the FCC radio frequency (RF) Exposure Guidelines. This equipment should be installed and operated
keeping the radiator at least 20cm or more away from person’s body.

1 Before Using the Product
8CPS-MG341G-ADSC1-930 Hardware Manual
Battery handling and the storage in EU signatory
Note: This symbol mark is for EU countries only.
This symbol mark is according to the directive 2006/66/EC Article 20 Information
for end-users and Annex II.
This symbol mark means that batteries and/or accumulators, at their end-of-life, should be disposed separately from
the household waste.
If a chemical symbol is printed beneath the symbol mark shown above, the battery or accumulator contains a heavy
metal at a certain concentration.
This will be indicated as follows: Hg: mercury (0.0005%), Cd: cadmium (0.002%), Pb: lead (0.004%)
These ingredients may cause hazardous conditions for human and the environment.
Please refer to the chapter 5for the specification as well as how to remove and dispose the batteries.
Display of power (Input Rating Label)
DC power supply
Functional earth terminal
Functional earth terminal

2 Setup
CPS-MG341G-ADSC1-930 Hardware Manual 9
2. Setup
Setup procedure
Follow the steps below to set up.
STEP1 Switch setup
STEP2 Antenna setup
STEP3 Inset SIM card
STEP4 Installation procedure.
Proceed accordingly with the instruction to set up the product correctly.
STEP5 Cable connection
STEP6 Turning on the power.
Reconfirm that you have correctly followed steps 1 to 5. Then, turn on the power.
If you find some errors or abnormalities after turning on the power, turn it off immediately
and check whether the set-up has been properly performed.

2 Setup
10 CPS-MG341G-ADSC1-930 Hardware Manual
Switch Setup
You can switch half-duplex or full-duplex with the setup switch for data transfer mode of the product.
Set the Data transmission mode according to the external device connected with the product.
Refer to chapter 3 for more information on the switch position.
RS-422A/485 Half duplex setup
Table 2.1. RS-422A/485 Half Duplex Switch Setup
Data
transmission mode Half duplex
Setup method
TX is only used for
data transmission;
the sending and
receiving modes should
be switched over using
RTS.
Terminator setup
The terminator setting switch controls whether or not a terminator is inserted into each signal line.
Set the terminators on or off in accordance with the devices with which you are communicating.
The terminators on the board are 100Ω resistors.
SW2-bit 1 sets the terminator for TX.
If you wish to use a terminator of other than 100Ω, set the terminator switch OFF and insert an external
terminator. See the examples of terminator installation below for half duplex setting.
- Half-duplex
Figure 2.1. Half duplex connection (Party line connection)
Terminator
(1 bit) Terminator
(1 bit)
(A) (D)
(C)
(B)
13
2 4
ON
[B or C]
13
24
ON
13
2 4
ON
[A or D]
SW2
SW2
SW2
~
~
~
~
Use the terminator
inside
Set the terminator
outside
When not using
inside nor outside
the terminator neither

2 Setup
CPS-MG341G-ADSC1-930 Hardware Manual 11
RS-422A/485 Full duplex setup
Table 2.2. RS-422A/485 Switch setup for full duplex
Data
transmission mode
Full duplex
Setup method
By activating the RTS signal
of the product, CTS signal
becomes active.
Terminator setup
The terminator setting switch controls whether or not a terminator is inserted into each signal line.
Set the terminators on or off in accordance with the devices with which you are communicating.
The terminators on the board are 100Ω resistors.
Each bit corresponds to each signal line, SW2-bit 1 sets the terminator for TX and SW2-bit 2 is for RX.
If you wish to use a terminator of other than 100Ω, set the terminator switch OFF and insert an external
terminator. See the examples of terminator installation below for full duplex setting.
- Full-duplex
Figure 2.2. Full-duplex connection
RxD
TxD
Terminator (1 bit) Terminator (2 bit)
Terminator (2 bit) Terminator (1 bit)
TxD
RxD
13
2 4
ON
13
2 4
ON
SW2
SW2
Use the terminator
inside Set the terminator
outside

2 Setup
12 CPS-MG341G-ADSC1-930 Hardware Manual
Antenna Setup
How to set the antenna
Set the supplied antenna to the antenna connector of the product.
Turn the antenna in the direction of the arrow shown to fasten.
Figure 2.3. Antenna setup
Double-check whether the antenna has firmly fastened and securely connected.
CAUTION

2 Setup
CPS-MG341G-ADSC1-930 Hardware Manual 13
How to place and remove the SD cover
When using the SD slot and SIM slot, you need to remove and place the SD cover on the top of the
product.
* SD cover is attached to the product.
How to place the SD cover
(1) Insert the catch of the SD cover into the opening shown in the figure below. (arrow 1)
(2) Slide the SD cover in the direction of the arrow 2.
(3) Fasten with a screw.
(SD cover screw: Round-head screw: M2.6 x 5, Tightening torque: 3.5 kgF. cm)
Figure 2.4. Placing the SD Cove
Figure 2.5. After placing the SD Cover
How to remove
Reverse the placing procedure.
(1) Unfasten the screw.
(2) Slide the SD cover in the opposite direction of the arrow 2 to remove it.
SD cover
SD cover screw
①
②
Catch

2 Setup
14 CPS-MG341G-ADSC1-930 Hardware Manual
Inset SIM card
How to insert SIM card
With the terminal side face up (see the figure), insert the SIM card all the way into the slot.
Figure 2.6. Insert SIM card
- SIM card is required individually.
- Upon inserting the card, make certain that the terminal side is facing up.
- Please use a Standard SIM card with this product.
- Do not use a Micro or Nano size SIM card with an adapter to make it as a Standard SIM card.
CAUTION
Other manuals for CPS-MG341G-ADSC1-930
1
Table of contents
Other Contec Gateway manuals