Configuring a Q CPU with Built-in Ethernet or L Series CPU

The Mitsubishi driver has the ability to interface with the QnUDE(H) family of Mitsubishi CPUs and the L Series of CPUs. The configuration steps for the QnUDE(H) and L Series CPUs using the MELSOFT GX Works2 software are similar. The QnUDE(H) or L Series CPU must be available to the Mitsubishi driver via a TCP/IP connection. The IP address of the CPU can easily be set and later obtained using the MELSOFT GX Works2 software. In this example it is assumed the user has taken the steps necessary to either create a new Q or L CPU GX Works2 project or has read an existing GX Works2 project.

  1. After creating a GX Works2 project (or opening an existing one), expand the Parameter option and then select the PLC Parameter option.
  2. The Q or L Parameter Setting panel will be displayed.  Select the Built-in Ethernet Port Setting tab.

  3. On this panel, set the fields as follows:

    Property Value
    Input Format DEC.
    IP Address The IP address of the QnUDE(H) or L Series CPU
    Subnet Mask Pattern As specified by your network administrator
    Default Router IP Address As specified by your network administrator
    Communication Data Code Select Binary Code
    Enable online change (FTP, MC Protocol) Select this check box
  4. Select the Open Setting button to display the Built-in Ethernet Port Open Setting panel:

  5. On this panel, set the number of TCP connections you want configured for the QnUDE(H) or L Series CPU by setting:
    • Protocol = TCP
    • Open System = MC Protocol
    • Host Station Port No. = 1394
      The example panel above shows 7 TCP connections configured with the Port value entered in hexadecimal. The value 1394 in hex equals the value 5012 that you can configure in the device definition for the CPU (the port value of 5012 is the default value in the device definition).

The number of TCP connections configured in the GX Works2 project is for all applications that might connect to the QnUDE(H) or L Series CPU.
The device definition for the CPU has a parameter Maximum Connections, which is the maximum number of connections that the Mitsubishi driver will attempt to use when connected to the CPU.

For this example CPU, the GX Works2 definition has 7 TCP connections.
The device definition might be set to 3, if other applications besides the Mitsubishi driver also need to connect to the CPU.