IoT Solutions Online Navigator

Introduction
support section

Outline

Connect the equipment (Mitsubishi Electric PLC MELSEC Q Series, iQ-R Series)
to IoT Data Share on the PCs by Ethernet and collect the values.

IoT Data Share settings connect to equipment
  • Controller name : Melsec_Q
  • Item name1 : Data1 (Variable name : D0)
  • Item name2 : Data2 (Variable name : CS0)
Equipment information of the connection destination

For the setting of the equipment, use the application of each equipment manufacturer.

* Refer to the manufacturer's manual for the setting and operation method.

Third-party productsMitsubishi Electric PLC MELSEC Q Series/iQ-R Series

1PC side I/F

Select [Ethernet]

1PLC side I/F

Select [CPU Unit] or [Ethernet Unit].
One of the following conditions is required.

<CPU unit : When using the CPU module with built-in Ethernet port>

  • IP address : 192.168.250.1
  • Communication data code : Binary code
  • Enabling online change (FTP and MC Protocol) : None
  • Open setting (protocol) : TCP
  • Open setting (open method) : MC protocol
  • Open setting (own station port number) : 1025

<Ethernet unit : When using Ethernet interface module>

  • IP address : 192.168.250.2
  • Communication data code : Binary code
  • Initial timing : Always wait for OPEN (communication possible at STOP time)
  • Send frame setting : Ethernet (V2.0)
  • Enable online change : None
  • TCP existence confirmation setting : Use the KeepAlive
  • Open setting (protocol) : TCP
  • Open setting (open method) : Unpassive
  • Open setting (fixed buffer) : Send
  • Open setting (fixed buffer communication procedure) : With procedure
  • Open setting (pairing open) : Not paired
  • Open setting (confirm alive) : Confirm
  • Open setting (own station port number) : 1025

[Important]

If the equipment settings have been changed, restart the equipment.

Step 1Item settings for retrieving data from MELSEC Q Series PLCs

Use the controller configuration wizard to configure the controllers and items for retrieving data from equipment.

1Select [Controller setting wizard] from the [Project] menu.

2First, setting up the controller.
Select [Category] from the Search tab.

3Select [Category] - [PLC] - [Mitsubishi Electric] from the search tree.

4Select "MELSEC Q series (Ethernet communication)" from the displayed list.
After selecting, make sure that the displayed provider name is "MELSEC QnA3E Provider",
and then click [Next].

5Then, add the controller. Optionally set the controller name.
Here, enter "MELSEC Q".

6Set [IP address], [Port number], and [Communication data code].
Here, enter the IP address "192.168.250.1" and port number "1025",
and select the communication data code "Binary".

7Confirm the input items, and click the [Next] button.

8Then add the item. Set the [Type] of the item.
Here, select "D: Data Register".

9Set [Item name] as desired.
Here, enter "Data1".

10Set the [Variable name].
Here, enter "D0".

Note

If the [Same as item] check box is selected, the name entered in [Item name] can be set as [Variable name] without entering [Variable Name].

11Click the [Add] button to confirm that the item has been added.

12Set the [Type] of the second item.
Select "CS: Counter / Contact" here.

13Set [Item name] as desired.
Here, enter "Data2".

14Set the [Variable name].
Here, enter "CS0".

Note

Select the data type for [VT], but select [Type] to automatically select the data type.

15Click the [Add] button to confirm that the item has been added.

16Click the [Finish] button. Confirm the settings and click the [OK] button.

This completes "the item settings for retrieving data from MELSEC Q Series PLCs".

Step 2Confirm that data can be collected from equipment

* For details on how to save and start a project, refer to Chapter 1 Lesson2 of <Learning contents> [Basics]

1Select [Save project] from the [File] menu.

2Select [Start project] from the [Action] menu.

3Verify that IoT Data Share is able to collect data.
Double-click the item "Data1" and check [Value] on the monitor screen that appears.
* The data displayed here is the value held in your equipment.

4Next, double-click the item "Data2" and check [Value] on the monitor screen that appears.

●This completes "How to connect to MELSEC Q series with Ethernet".