
|
| MELSEC-Q Series Ethernet Parameter |
When Ethernet is used, it explains the parameter setting needed on the PLC side.
The MELSEC-Q series can set the Ethernet parameter of IP address/port number etc. on the setting of the parameter of GX Developer screen.
The sample explains here assumes the case to set as follows on the OPC Server side.
This sample project can be downloaded here.
| Host IP Address |
192.168.0.1 |
|
| Host Port Number |
0 / 1027 (TCP Fullpassive) |
|
| MELSEC IP Address |
192.168.0.4 |
|
|
| |
Network Parameter |

Open GX Developer's "Network Param" page, specify "Ethernet" for "Network Type," and enter the network number, group number, and station number.
When QJ71E71 is installed in slot 0 (side of CPU), head I/O No:"0" and network No are set, and "1" and group No are set in "0" and the exchange number is set to "1".
|
| |
Network Parameters - Operations |

Set "Communication Data Code" to "Binary code," and "Initial Timing" to "Always wait for OPEN." Check "Enable Write at RUN time," and enter the IP address of the PLC in decimal value. When using TCP/IP, you should select "KeepAlive" in "TCP Existing Confirmation Setting".
- If you do not check "Enable Write at RUN time," you cannot write to the PLC from I/O Server.
- "TCP Existing Control" is displayed with GX Developer after version 8.05F .
- KeepAlive function is valid for Ethernet Unit version, after upper 5 place of serial number is '05051'.
|
| |
Network Parameters - Initial Setting |

When using TCP/IP, configure the existence confirmation parameters appropriately. When the existence confirmation parameters are not configured appropriately, re-establishing connection after a network error may be difficult or impossible.
In the above example, existence confirmation is done three times every 5 seconds starting 10 seconds after the communication stops.
- Please note that it is for ten minutes after it is cut the possibility not to be able to be reconnected because the default value is confirmation ..unsealing.. Hageme ten minutes later the connection.
- Please set the existence confirmation parameters appropriately when you use TCP/IP. It is reconnected and note it, please. When the network trouble of the cable determination etc. when it is improper occurs, the existence confirmation parameters takes time to be reconnected. |
| |
Network Parameters - Open Setting |

Configure the ports you wish to open. In the above-mentioned setting example, UDP/IP, port 2, and port 3 are defined as TCP/IP with port 1.
- Configuration of this page is not required when you wish to use automatic open UDP port (default 5000) only.
- For open setting, "Fixed Buffer Communication Procedure" must be set to "Procedure Exists."
- "Local Port Number" and "Destination Port Number" must be entered in hexadecimal.
- When using UDP, broadcast becomes available by setting the "Destination IP Address" to "255.255.255.255" and "Destination Port Number" to "FFFF."
|
|