Contec CONPROSYS M2M Series User Manual For Communication Settings

Contec CONPROSYS M2M Series User Manual For Communication Settings

Plc
Table of Contents

Advertisement

Quick Links

Technical Guide
M2M Gateway PLC
Communication
Settings
Firmware version 3.0.0 or later
CONTENTS
Introduction .................................................................. 4
M2M Gateway Basic Settings ............................... 13
PLC Communication Settings............................... 18
How To Use Collection Data ................................. 75
Customer Support and Inquiry ......................... 100

Advertisement

Table of Contents
loading

Summary of Contents for Contec CONPROSYS M2M Series

  • Page 1 Technical Guide M2M Gateway PLC Communication Settings Firmware version 3.0.0 or later CONTENTS Introduction ..............4 M2M Gateway Basic Settings ....... 13 PLC Communication Settings....... 18 How To Use Collection Data ......... 75 Customer Support and Inquiry ......100...
  • Page 2: Table Of Contents

    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.
  • Page 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 ...........
  • Page 4: Introduction

    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. — 4 —...
  • Page 5: Related Manuals

    (Printed matter) the precautions. Setup Manual Read this when setting This describes the required Download from up the product. items for setup and the Contec configuration procedure. website (PDF) Reference Manual Read this when This describes the hardware Download from (Hardware) operating the product.
  • Page 6: Online Help

    — — Introduction M2M Gateway PLC Communication Settings 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.
  • Page 7: 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. https://www.contec.com/download/ Download Refer to the “Reference Manual (Software)” for further details.
  • Page 8: M2M Gateway Series

    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.
  • Page 9: M2M Gateway Features

    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. — 9 —...
  • Page 10 — — Introduction M2M Gateway PLC Communication Settings  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. No.
  • Page 11: Plc Communication Outline

    — — Introduction M2M Gateway PLC Communication Settings 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).
  • Page 12: Modbus Connection

    — — Introduction M2M Gateway PLC Communication Settings 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 ...
  • Page 13: M2M Gateway Basic Settings

    M2M Gateway Basic Settings This section describes the basic settings of M2M Gateway. — 13 —...
  • Page 14: Basic Operation

    — — M2M Gateway Basic Settings M2M Gateway PLC Communication Settings 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.
  • Page 15: Network Settings

    — — M2M Gateway Basic Settings M2M Gateway PLC Communication Settings 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.
  • Page 16: Time Synchronization Settings

    — — M2M Gateway Basic Settings M2M Gateway PLC Communication Settings 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.
  • Page 17: Saving The Settings

    — — M2M Gateway Basic Settings M2M Gateway PLC Communication Settings 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".
  • Page 18: Plc Communication Settings

    PLC Communication Settings This section describes settings for PLC communication and provides setting examples to communicate with PLC units. — 18 —...
  • Page 19: Plc Communication Operations

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 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.
  • Page 20: Link Configuration

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 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.
  • Page 21 — — PLC Communication Settings M2M Gateway PLC Communication Settings Communication Method Settings Description Ethernet Communication IP Address Enter IP address of PLC. e.g. 10.1.1.102 Port Number Enter PLC port number. e.g. 5100 Serial Communication Serial Port Select a serial port from the list for M2M Gateway. - RS-232C - RS-485, RS-422 : /dev/com00 - RS-485...
  • Page 22: Cpu Configuration

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. CPU Configuration Add CPU From the PLC setting page, click the [Add CPU to Link] to open the CPU configuration page in the bottom. To edit an existing CPU setting, select the specified link display and the "CPU" setting contents can be shown for editing at the bottom of the screen.
  • Page 23: Device Configuration

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 3. Device Configuration Add Device From the PLC setting page, click the [Add Device to CPU] to open the Device configuration page in the bottom. To edit an existing device setting, select the specified device display and the "Device" setting contents can be shown for editing at the bottom of the screen.
  • Page 24 Specify the head address for Modbus address. Modbus areas for the number of access devices are occupied. *2 This is the setting for using Cloud service (CDS2) that is provided by the CONTEC. It sets the function to file-output the read information per device setting.
  • Page 25: Dis Switch Configuration (Switching Rs-485 And Rs-422)

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 4. DIS Switch Configuration (Switching RS-485 and RS-422) To switch between RS-422 (Full duplex) and RS-485 (Half duplex) for serial communication, DIP switch on the controller needs to be set. Configure DIP switch settings as necessary.
  • Page 26: Ethernet Connection With Mitsubishi Plc

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. Ethernet Connection with Mitsubishi The following is a setting example for Ethernet communication with the Mitsubishi PLC Q series. See below for the configuration example regarding communication conditions. M2M Gateway Mitsubishi Q series IP address : 10.1.1.101 IP address : 10.1.1.150...
  • Page 27 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Open Settings 1. From the "parameter setting" page, click the [Open Setting] to open its configuration page. 2. Add the Open Setting as shown below. Open Setting can be added up to 16 ports. Set the "Protocol", "Open System", and "Host Station Port No."...
  • Page 28: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below. When setting this for the first time, select "...
  • Page 29 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 *Notice - Set a Modbus address respectively when configuring more than one device setting. The setting example is as follows;...
  • Page 30: Other Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 3. Other Settings  Setting Examples with MELSEC-Q series Ethernet Unit The following is a setting procedure when using the MELSEC-Q series Ethernet Unit (QJ71E1-100). As for the M2M Gateway Settings, the same procedure described in the previous section, MELSEC-Q series (Ethernet port of the CPU Unit), can be applied here as well.
  • Page 31 — — PLC Communication Settings M2M Gateway PLC Communication Settings IP address settings : Click the [Operation Setting] and follow the setting details described below. - Set the Communication Code In this example, " Binary Code" is selected. - Initial Timing Generally, select the "Always wait for OPEN".
  • Page 32 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Setting Examples with GX Works3 in FX5U series or similar The following is a communication setting procedure when using the FX5U series. As for the M2M Gateway Settings, the same procedure described in the previous section MELSEC-Q series (Ethernet port of the CPU Unit) can be applied here as well.
  • Page 33 — — PLC Communication Settings M2M Gateway PLC Communication Settings As shown below, add the "SLMP Connection Module", and set the [Protocol : TCP], [Port number : 5100]. PLC Writing and Resetting When completing the network settings, write parameter information, then reset PLC. If IP address of PLC does not change even after resetting, you may need to power off the PLC, then power it on again.
  • Page 34: Serial Connection With Mitsubishi Plc

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 3. Serial Connection with Mitsubishi PLC The following is a setting example for Serial communication with the Mitsubishi PLC MELSEC-Q series. See below for the configuration example regarding the communication condition. M2M Gateway Mitsubishi MELSEC-Q series Communication Unit : QJ71C24N...
  • Page 35: Plc Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 1. PLC Settings For serial communication, communication settings for the PLC RS-422 port needs to be done. The following is a setting example with Mitsubishi PLC maintenance tool, "GX Works2". *The procedure described below assumes that the user has completed the basic configurations such as I/O settings of the serial communication unit (QJ71C24N) in advance.
  • Page 36: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below. When setting this for the first time, select "...
  • Page 37 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 *Notice - Set a Modbus address respectively when configuring more than one device setting. The setting example is as follows;...
  • Page 38: Ethernet Connection With Omron Plc

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 4. Ethernet Connection with OMRON PLC The following is a setting example for Ethernet communication with the OMRON PLC CJ series. See below for the configuration example regarding communication conditions. M2M Gateway OMRON CJ series IP address : 10.1.1.101...
  • Page 39 — — PLC Communication Settings M2M Gateway PLC Communication Settings On the “I/O Table Unit Setting", go to the [Built-in Port/Inner Board] and select the [Built-in Ethernet/IP Port]. The following screen appears. Configure the settings as follows; [TCP/IP] tab Set IP address for PLC. Default gateway also needs to be set.
  • Page 40 — — PLC Communication Settings M2M Gateway PLC Communication Settings  PLC Writing and Resetting When completing the network settings, write parameter information, then reset PLC. If IP address of PLC does not change even after resetting, you may need to power off the PLC, then power it on again.
  • Page 41: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below.  CPU Configuration The CPU configuration details are listed below. —...
  • Page 42 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 The device type should be D_CH. The device type should be W. Start / End addresses are channels and specify them Note that Start / End addresses are specified in decimal 1000 - 1009.
  • Page 43 — — PLC Communication Settings M2M Gateway PLC Communication Settings Start / End addresses are specified in decimal. According to the data types, specify addresses as listed below. When specifying bits for the data types : 00 - 15 Channel : 0 – 9999 An example.) When specifying 1000 - 1009 for Start / End addresses, PLC addresses are channel 10 bit 00 - channel 10 bit 09.
  • Page 44 — — PLC Communication Settings M2M Gateway PLC Communication Settings When specifying channels (words) for the data types. Channel : 0- 999999 An example) When specifying 1000 - 1009 for Start / End addresses, PLC addresses are channels (words) 1000 - 1009. In the setting example, it corresponds to Device configuration1 : D_CH1000 - D_CH1009.
  • Page 45: Serial Connection With Omron Plc

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 5. Serial Connection with OMRON PLC The following is a setting example for Serial communication with the OMRON PLC CJ series. See below for the configuration example regarding communication conditions. M2M Gateway -PLC Communication Method : Half-duplex (2-wire)
  • Page 46 — — PLC Communication Settings M2M Gateway PLC Communication Settings  RS-485 Communication Cable Connection - an example The example of the communication cable connection between the RS-485 communication module (CP1W-CIF11) and M2MGateway is illustrated below. Also, check whether the communication settings of the DIP SW on each device is set properly. ■M2M Gateway ■PLC Configure DIP switches...
  • Page 47: Plc Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 1. PLC Settings For serial communication, node (Unit Number) and data type for the PLC serial communication port need to be set. The following is a setting example with OMRON PLC maintenance tool, "CX Programmer".
  • Page 48: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below.  CPU Configuration The CPU configuration details are listed below. Specify the station number (Unit No.) used for PLC.
  • Page 49 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 The device type should be W. The device type should be D_CH. Note that Start / End addresses are channels and specified in Start / End addresses are channels and specify them 1000 - decimal notation changed from channel bits (2 digits).
  • Page 50 — — PLC Communication Settings M2M Gateway PLC Communication Settings Start / End addresses are specified in decimal. According to the data types, specify addresses as listed below. When specifying bits for the data types : 00 – 15 Channel : 0 – 9999 An example.) When specifying 1000 - 1009 for Start / End addresses, PLC addresses are channel 10 bit 00 - channel 10 bit 09.
  • Page 51 — — PLC Communication Settings M2M Gateway PLC Communication Settings When specifying channels (words) for the data types. Channels : 0 – 999999 An example) When specifying 1000 - 1009 for Start / End addresses, PLC addresses are Channel (words) 1000 - 1009. Set a Modbus address respectively when configuring more than one device setting.
  • Page 52: Ethernet Connection With Keyence Plc

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 6. Ethernet Connection with KEYENCE PLC The following is a setting example for Ethernet communication with the KEYENCE PLC KV-5000. For communication with the KV-5000, the PLC communication protocol by Mitsubishi Electric (MC protocol) is used.
  • Page 53: Plc Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 1. PLC Settings For Ethernet communication, IP address and communication (connection) port for the PLC LAN port need to be set. The following is a setting example with KEYENCE PLC maintenance tool, "KV STUDIO". *The following procedure assumes that the user has completed the basic configurations on "KV STUDIO".
  • Page 54 — — PLC Communication Settings M2M Gateway PLC Communication Settings The Unit setting details are listed below. MC protocol communication of M2M Gateway is TCP communication only. Set the "MC protocol Communication mode " according to M2M Gateway settings. A setting example of "Binary communication" is described in this example. ...
  • Page 55: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below. (select "Mitsubishi Q series"). When setting this for the first time, select " Mitsubishi Q series".
  • Page 56 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 *Addresses listed above are the settings of Mitsubishi devices. Please check at the beginning of this section for the compatibility between Mitsubishi devices and KEYENCE devices.
  • Page 57: Serial Connection With Keyence Plc

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 7. Serial Connection with KEYENCE PLC The following is a setting example for Serial communication with the KEYENCE PLC KV-5000. The serial communication unit [KV-L21V] is provided and the Modbus protocol is used for communication.
  • Page 58: Plc Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 1. PLC Settings For serial communication, setting for the communication unit [KV-L21V] needs to be done. The following is a setting example with KEYENCE PLC maintenance tool, "KV STUDIO". *The following procedure assumes that the user has completed the basic configurations on "KV STUDIO".
  • Page 59 — — PLC Communication Settings M2M Gateway PLC Communication Settings The Unit setting details are listed below. Communication setting : Use "Port 1" for RS-232C port. Operation mode : Select Modbus slave mode Configure the communication settings such as baud rate. Although, the communication depends on the connection cable, set the "...
  • Page 60: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below. - Select the "com01" for RS-232C communication. - Select the "com00"...
  • Page 61 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 Be careful they should be specified in decimal notation. An example) Start / End addresses : Specify 1000 -1009 Slave address to actually access : 03E9h~03F2h In addition to the conversion from decimal to hexadecimal, the address is incremented by 1.
  • Page 62: Modbus/Tcp(Ethernet) Connection

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 8. Modbus/TCP(Ethernet) Connection The following is a setting example for communication with Modbus/TCP support device. This example describes how to install the Modbus simulator software on the viewing terminal for checking the connection.
  • Page 63 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Simulator Software Operation Procedure This section describes how to set and run the Modbus simulator software. From the pulldown menu on the screen below, select the "MODBUS TCP/IP". After selecting the "MODBUS TCP/IP", click the icon in the frame. The detailed settings of TCP port open.
  • Page 64 — — PLC Communication Settings M2M Gateway PLC Communication Settings This software might be blocked by the Windows Firewall. If the following message appears, click the "Allow access". — 64 —...
  • Page 65: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below.  CPU Configuration The CPU configuration details are listed below. —...
  • Page 66 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 Be careful they should be specified in decimal notation. An example) Start / End addresses : Specify 1000 -1009 Slave address to actually access : 03E9h - 03F2h In addition to the conversion from decimal to hexadecimal, the address is incremented by 1.
  • Page 67: Modbus/Rtu Connection

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 9. Modbus/RTU Connection The following is a setting example for communication with Modbus/RTC support device. This example describes how to install the Modbus simulator software on the viewing terminal for checking the connection.
  • Page 68: Terminal Setting

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 1. Terminal Setting In this setting example, the Modbus simulator "mod_Rssim.exe" by SourceForge is installed on the viewing terminal for the operation check. This section describes how to install and run the Modbus simulator.
  • Page 69 — — PLC Communication Settings M2M Gateway PLC Communication Settings After selecting the "MODBUS RS-232”, click the icon in the frame. The detailed settings of COM port open. Select the COM port number you intend to use. Select each parameter accordingly when setting the M2M Gateway communication.
  • Page 70: M2M Gateway Settings

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. M2M Gateway Settings The settings to access two device types are shown below.  LINK Configuration The link configuration details are listed below.  CPU Configuration The CPU configuration details are listed below. —...
  • Page 71 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Device Configuration The device configuration details are listed below. Device configuration 1 Device configuration 2 Be careful they should be specified in decimal notation. An example) Start / End addresses : Specify 1000 -1009 Slave address to actually access : 03E9h - 03F2h In addition to the conversion from decimal to hexadecimal, the address is incremented by 1.
  • Page 72: Communication Status Check

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 10. Communication Status Check 1. Checking Communication Status As mentioned earlier, the information obtained in the PLC communication or other methods are set on Modbus memory. The obtained values can be checked with the Modbus Data View function (communication status can be viewed).
  • Page 73: Communication Troubleshooting

    — — PLC Communication Settings M2M Gateway PLC Communication Settings 2. Communication Troubleshooting This section lists items for you to check when PLC communication does not perform properly.  Ethernet Communication - Is IP address of the communication partner correct? - Do the IP address segments of the communication partner and M2M Gateway match? - Is the network cable connected properly? -The CONPROSYS has a function for checking network connectivity.
  • Page 74 — — PLC Communication Settings M2M Gateway PLC Communication Settings  Serial Communication Check the following items. - Is the communication port correct? - RS-422/485 port (COM A) : /dev/com00, RS-232C port (COM B) : /dev/com01 - Is Transmit LED (TX LED) on the CONPROSYS flashing? - If not flashing, the send processing is not completed.
  • Page 75: How To Use Collection Data

    How To Use Collection Data This section describes how to link the information collected through PLC communication with the data used in the CONPROSYS. — 75 —...
  • Page 76: Conprosys Vtc

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 1. CONPROSYS VTC This section describes how to use the information collected from PLCs and also the information instructed to PLCs with "CONPROSYS VTC". *The "CONPROSYS VTC" is a simplified processing/control function that can perform such as signal processing, determination, alarm, and file transmission installed as standard features on the CONPROSYS.
  • Page 77: Data Reading

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 1. Data Reading When "Read" is set in the PLC Communication Settings (Device config), communication is performed at the specified scan cycle and the obtained information will be set in Modbus memory. Using PLC read data with "CONPROSYS VTC"...
  • Page 78: Data Writing

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 2. Data Writing When "Write" is set in the PLC Communication Settings (Device config), writing Modbus memory value into the specified device such as PLC is performed at the set scan cycle. Changing Modbus memory with "CONPROSYS VTC"...
  • Page 79: Trigger Reading And Writing

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 3. Trigger Reading and Writing When "TriggerRead""TriggerWrite" are set in the PLC Communication Settings (Device config), writing and reading of the specified device are performed with "CONPROSYS VTC" at the timing of the "PLC communication trigger"...
  • Page 80: Event Writing

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 4. Event Writing When "EventWrite" is selected in the PLC Communication Settings (Device config), write Modbus memory information if the value of the specified Modbus memory changes. - Even one of the values in the device setting area changes, all the information in that area are written. Changed information can be written by changing the specified Modbus memory (Modbus area set in the Device config) with "CONPROSYS VTC".
  • Page 81: How To Check Communication Status

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 5. How to check communication status How to obtain PLC communication status with "CONPROSYS VTC" is explained here. Also, checking the obtained information with the Modbus Data View function is introduced in this section.
  • Page 82: Conprosys Hmi

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 2. CONPROSYS HMI This section describes how to use the information collected from PLCs and also the information instructed to PLCs with "CONPROSYS HMI". *The "CONPROSYS HMI" is a monitoring function installed as standard features on the CONPROSYS. Signal collection from PLC and instructions to PLC are executed by PLC communication task processing, and assigned to Modbus memory.
  • Page 83: Other Reference Method

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 2. Other Reference Method. The following is other way to use Modbus memory information with "CONPROSYS HMI". Assign the information into TAG data (variables) with "CONPROSYS VTC" *1, and refer to TAG data (variables) with "CONPROSYS HMI".
  • Page 84: Data Transfer To A Higher Level

    - By FTP - Using optional services of "HULFT IoT" or "Fujitsu IoT" for instance. There are three transfer services within the CONTEC original HTTP/HTTPS function. Data Transfer Service A function to record the CONPROSYS interface information (digital input, analog input, digital output, etc.) and transfer it on a one-minute cycle.
  • Page 85: Data Transfer Function (Original Function)

    PLC information. -Data transfer with HTTP/HTTPS Earlier, this function is stated as the original of Contec, however, it is a file transfer via HTTP that is used in general. This is used when sending data to such as IoT Cloud service "CONPROSYS CDS2" provided by the CONTEC.
  • Page 86 — — How To Use Collection Data M2M Gateway PLC Communication Settings  PLC Data Transfer Service This service is a function to create and send a file per device setting by performing "Device configuration" in the "PLC Communication Settings". - This service does not operate unless time synchronization is completed.
  • Page 87 A sample using "CONPROSYS VTC" is shown below. It is intended to send a file to the CONTEC cloud service, CDS2, and to output the file that is equivalent to the one previously described in the "PLC data transfer" service.
  • Page 88 — — How To Use Collection Data M2M Gateway PLC Communication Settings - A data transfer task example: When the volume of saved data is large *This is when information is obtained from contiguously aligned Modbus memory areas. Modbus memory area 10 data ⑨...
  • Page 89 — — How To Use Collection Data M2M Gateway PLC Communication Settings -A data transfer task example : Data transfer process Use the "Cloud" item to send data. * The task to send data per minute. The file will be deleted after the data are ⑱...
  • Page 90: Send Data To Azure Iot Hub

    Data example Furthermore, data writing from Azure IoT Hub can be supported by linking with Azure IoT Hub. For detailed information, visit the CONTEC website and download the "Technical Guide CONPROSYS VTC Azure IoT Data Transfer Setting" and refer to it.
  • Page 91: Ftp(Put), Ftp(Get)

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 3. FTP(Put), FTP(Get) The CONPROSYS VTC has FTP(Put) and FTP(Get) functions to send and receive the specified file. With this function, the information obtained by PLC communication or similar can be file-output, and the file can be sent to link up with the host system.
  • Page 92: File View Function

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 4. File View Function Creating and transferring files with the "CONPROSYS VTC" are explained in the previous section. This section explains the "File View" function to check the status of the created files. ...
  • Page 93 — — How To Use Collection Data M2M Gateway PLC Communication Settings  Selectable Folders Selectable folders are listed below. Folder Name Description Send folder (xxx) This folder stores files when the send file command is issued. The folder is deleted after executing the send command. And the folders are categorized according to the send functions listed below.
  • Page 94: Data Linking Through Communication

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 4. Data Linking through Communication The information collected from PLC communication or similar can be linked through communication. Data linking methods according to the communication are as follows; - Linking data with the Modbus/TCP Slave function - Linking data with the OPC UA Server function - Linking data with the CONPROSYS VTC...
  • Page 95: Opc Ua Server Function

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 2. OPC UA Server function The CONPROSYS has an OPC UA server function, and the digital/analog interface information or the information obtained with PLC communication can be acquired from remote devices. Note that information obtained with PLC communication can be acquired up to 1,000 pieces from remote device.
  • Page 96 — — How To Use Collection Data M2M Gateway PLC Communication Settings Data OPC UA Node Sub Folder Node Name Access Data Range Type Other 0 (None) System Boolean Read battery level Battery 1 (Remain) PLC communication EX0000 - EX0999 Modbus UInt16 Read/Write...
  • Page 97 — — How To Use Collection Data M2M Gateway PLC Communication Settings - TCP Port Setting OPC UA communication port can be set. If you do not set this, the communication service is started on the default port "4840". * After changing the settings, save the contents by performing the [Save]. - OPC UA Server Certificate In some of the OPC UA client settings, the server application certificate needs to be registered on the client side to establish a session.
  • Page 98 — — How To Use Collection Data M2M Gateway PLC Communication Settings - OPC UA Client Certificate When establishing the OPC UA client session, the upload screen of the client application certificate and the management function of the upload certificate are available to authenticate User ID or the certificate.
  • Page 99: Communication Linking With Conprosys Vtc

    — — How To Use Collection Data M2M Gateway PLC Communication Settings 3. Communication Linking with CONPROSYS VTC Here, using the “CONPROSYS VTC” to link information is explained below.  Linking by Using the Link Function The "CONPROSYS VTC" has a link function for the universal communication via Ethernet or serial communication.
  • Page 100: Customer Support And Inquiry

    Customer Support and Inquiry CONTEC provides the following support services for you to use CONTEC products more efficiently and comfortably. — 100 —...
  • Page 101: Services

    — — Customer Support and Inquiry M2M Gateway PLC Communication Settings 1. Services CONTEC offers the useful information including product manuals that can be downloaded through the Contec website. Download https://www.contec.com/download/ You can download updated driver software, firmware, and differential manuals in several languages.
  • Page 102 — — Revision History M2M Gateway PLC Communication Settings Revision History MONTH YEAR Summary of Changes July 2020 The First Edition — 102 —...
  • Page 103 CONTEC CO., LTD. 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan https://www.contec.com/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. M2M Gateway PLC Communication Settings July 2020 Edition...

Table of Contents