---
title: Mitsubishi Q/L Ethernet
slug: manufacturing-connect-edge/mitsubishi-ql-ethernet
docTags: 
createdAt: 2023-03-22T15:18:34.000Z
---

Review the following information for setting up and configuring the Mitsubishi Q/L Ethernet driver.&#x20;

# Manufacturing Connect Edge Compatible Series&#x20;

| Compatibility parameter      | Compatible items                                                                                                                                                                                                                                                                          |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Driver type**              | Ethernet                                                                                                                                                                                                                                                                                  |
| **Validated devices/series** | [MELSEC-F](https://www.mitsubishielectric.com/fa/products/cnt/plc_fx/items/index.html)<br />[MELSEC-L](https://www.mitsubishielectric.com/fa/products/cnt/plcl/items/index.html)<br />[MELSEC-Q](https://www.mitsubishielectric.com/fa/products/cnt/plcq/items/index.html)                |
| **Replaces Gen 1 driver(s)** | [Mitsubishi Melsec-L-ASCII (Gen1.3)](docId\:GK_B7_G0DjSc6swaov8xn)<br />[Mitsubishi Melsec-L-Binary (Gen1.3)](docId:4fwOd-CxUtUUv0XBRPdNG)<br />[Mitsubishi Melsec-Q-ASCII (Gen1.3)](docId:3g5XMw06sI-Cl8J-0VKuG)<br />[Mitsubishi Melsec-Q-Binary (Gen1.3)](docId:37ny7y4S7dVsFjxvyDJv2) |

To set up and configure this device in Manufacturing Connect Edge, you will need to do the following:

- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
- Step 3: Configure the List of Registers

# Step 1: Set up and Configure the PLC Device

:::hint{type="info"}
**Note**: Only one connection is allowed per port defined in the PLC. See the steps below to view and edit the open ports on the PLC.
:::

If the device is configured for Ethernet access, find its network parameters. Otherwise, use PLC software on your computer to configure the device for Ethernet access.&#x20;

1. Open the PLC project in GXWorks 2.
2. From the Navigation panel, click **Parameter > PLC Parameter**.&#x20;
   The PLC Parameter Setting window will open.
   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/CtnzGvEWogGGQSxaK_k_A_mitsubishi-melsec-l-binary-parameters.png" size="80" width="834" height="582" position="center" caption="Built-in Ethernet Port Setting" showCaption="true"}
3. Select the **Built-in Ethernet Port Setting** tab, and note down the **IP Address**, **Subnet Mask Pattern**, **Default Router IP Address**, and **Communication Data Code**.
   To allow the driver to write tag values to the PLC, the check box for **Enable online change (FTP, MC Protocol)&#x20;**&#x6E;eeds to be checked.
4. Press the **Open Setting&#x20;**&#x62;utton to view the open ports using MC Protocol. If necessary, add more ports.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/vpIdKW5_xiy7LU8Iztj7E_image.png" size="80" width="701" height="442" position="center" caption="Open Setting" showCaption="true"}

:::hint{type="info"}
**Note:** If you modify any CPU or module parameters, you must power cycle the PLC after downloading the changes.
:::

# Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub

Configure the following parameters when you [Connect a Device](docId\:RFVIJdxz7DBAd8mwbismA) with this driver. Update default values to the specific setup of your device.&#x20;

:::hint{type="info"}
**Note**: If you are using this driver to connect to a QJ71E71 Ethernet module, please be sure to verify the Network ID and Station ID with your device settings.&#x20;
:::

| Parameter           | Value                                    |
| ------------------- | ---------------------------------------- |
| **Type**            | Mitsubishi                               |
| **Driver**          | Mitsubishi Q/L Ethernet                  |
| **Network Address** | The device address you defined in Step 1 |
| **Network Port**    | 5002                                     |
| **Network ID**      | 0                                        |
| **Station ID**      | 255                                      |
| **Encoding**        | Select Ascii or Binary                   |

# Step 3: Configure the List of Registers

When you [Add Tags](docId\:iOaNZd2AwqnkuppgeE3Eh) to the connected device, refer to the following register table and tag parameters.

Refer to the following additional resources:

- [Device and Tag Metadata Use Case](docId\:f-B720niVlLBer44RfyHN)
- [Tag Formula Variables](docId\:PWd-7P-kZjXkt_pYAwAOw)

## Register Table

:::hint{type="info"}
**Note**: The address format in this Gen 2 driver is different from the replaced Gen 1 drivers for the same device.&#x20;
:::

| **Name**   | **Value Types**                     | **Address Format** | **Min Address** | **Max Address** | **Description**               |
| ---------- | ----------------------------------- | ------------------ | --------------- | --------------- | ----------------------------- |
| X          | bit                                 | HHHH               | 0               | 16383           | Input Relay                   |
| Y          | bit                                 | HHHH               | 0               | 16383           | Output Relay                  |
| M          | bit                                 | DDDDD              | 0               | 61439           | Internal Relay                |
| SM         | bit                                 | DDDD               | 0               | 2047            | Special relay                 |
| L          | bit                                 | DDDDD              | 0               | 32767           | Latch Relay                   |
| F          | bit                                 | DDDDD              | 0               | 32767           | Annunicator                   |
| V          | bit                                 | DDDDD              | 0               | 32767           | Edge Relay                    |
| B          | bit                                 | HHHH               | 0               | 61439           | Link Relay                    |
| TS         | bit                                 | DDDDD              | 0               | 25471           | Timer Contact                 |
| TC         | bit                                 | DDDDD              | 0               | 25471           | Timer Coil                    |
| SS         | bit                                 | DDDDD              | 0               | 25471           | Retentive Timer Contact       |
| SC         | bit                                 | DDDDD              | 0               | 25471           | Retentive Timer Coil          |
| CS         |  bit                                | DDDDD              | 0               | 25471           | Counter Contact               |
| CC         | bit                                 | DDDDD              | 0               | 25471           | Counter Coil                  |
| SB         | bit                                 | HHHH               | 0               | 32767           | Special Link Relay            |
| S          | bit                                 | DDDDD              | 0               | 16383           | Step Relay                    |
| DX         | bit                                 | DDDDD              | 0               | 16383           | Direct Input                  |
| DY         | bit                                 | HHHH               | 0               | 16383           | Direct Output                 |
| SD         | word, dword, int, dint, real, dreal | DDDD               | 0               | 2047            | Special Register              |
| SD\_string | string                              | DDDD               | 0               | 2047            | Special Register              |
| SD\_bit    | bit                                 | DDDDdd             | 0               | 204715          | Special Register              |
| CN         | word, dword, int, dint, real, dreal | DDDDD              | 0               | 25471           | Counter Current Value         |
| CN\_string | string                              | DDDDD              | 0               | 25471           | Counter Current Value         |
| D          | word, dword, int, dint, real, dreal | DDDDDDD            | 0               | 4184063         | Data Register                 |
| D\_string  | string                              | DDDDDDD            | 0               | 4184063         | Data Register                 |
| D\_bit     | bit                                 | DDDDDDDdd          | 0               | 418406315       | Data Register                 |
| W          | word, dword, int, dint, real, dreal | DDDDDDD            | 0               | 4184063         | Link Register                 |
| W\_string  | string                              | DDDDDDD            | 0               | 4184063         | Link Register                 |
| W\_bit     | bit                                 | DDDDDDDdd          | 0               | 418406315       | Link Register                 |
| TN         | word, dword, int, dint, string      | DDDDD              | 0               | 25471           | Timer Current Value           |
| SN         | word, dword, int, dint, string      | DDDDD              | 0               | 25471           | Retentive Timer Current Value |
| R          | word, dword, int, dint, real, dreal | DDDDD              | 0               | 32767           | File Register                 |
| R\_string  | string                              | DDDDD              | 0               | 32767           | File Register                 |
| R\_bit     | bit                                 | DDDDDdd            | 0               | 3276715         | File Register                 |
| ZR         | word, dword, int, dint, real, dreal | DDDDDDD            | 0               | 4184063         | Serial Num File Register      |
| ZR\_string | string                              | DDDDDDD            | 0               | 4184063         | Serial Num File Register      |
| ZR\_bit    | bit                                 | DDDDDDDdd          | 0               | 418406315       | Serial Num File Register      |
| Z          | word, dword, int, dint, real, dreal | DD                 | 0               | 20              | Index Register                |
| Z\_string  | string                              | DD                 | 0               | 20              | Index Register                |
| SW         | word, dword, int, dint, real, dreal | DDDD               | 0               | 2047            | Special Link Register         |
| SW\_string | string                              | DDDD               | 0               | 2047            | Special Link Register         |
| SW\_bit    | bit                                 | DDDDdd             | 0               | 204715          | Special Link Register         |

## Tag Parameters

- **Name**: Select a register name from the drop-down list. The available options depend on the names in the register table.&#x20;
- **Value Type**: Select a data type from the drop-down list. The available options depend on the register name selected.&#x20;
- **Polling Interval**: Enter a value in seconds. This determines how often the tag should poll the register for data.
- **Tag Name**: Enter a name for the tag.
- **Description** (Optional): Enter a description for the tag. &#x20;
- **Address**: Enter a tag address. The value must in the decimal format, within the allowed min/max range. Omit the leading zeros. The device might use the decimal (D), hexadecimal (H), or octal (O) address format. See the Register Table at the bottom of the dialog box. For Bit tags, append the bit address without the bit separator. The lowercase letters in the address format indicate how many digits you should enter in the Bit address.
- **Count**: Enter the number of register values to read. A count higher than 1 will generate an array of values from the address value configured and respective subsequent address values.&#x20;
- **Length**: Available when you select the `string` value type. Enter the number of characters for tag values.&#x20;
- **Tag Formula**: Enter a formula for the tag to process the generated data. Two variables are permitted: `value` (current tag value) and `timestamp` (current tag UNIX time in milliseconds). The following math functions are available:
  - sin
  - cos
  - sqrt
  - tan
  - power: power(`x`) performs the operation `10^x`.
  - log: log(`x`) is the natural logarithm (the logarithm is in base `e`).&#x20;
  - exp: exp(`x`) performs the operation `e^x`.
- **Only Publish on Change of Value**: Select the checkbox to customize NATS messages to be published only when the *value&#x20;*&#x70;arameter changes from a previous value to a new one. *Change of Value* only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by *Change of Value* settings. These topics will still only see a single message.&#x20;
- **Meta Data**: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. It can then be used to find, use, and reuse particular instances of data.&#x20;

:::hint{type="info"}
**Note**: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a\*\*b and a&\&b will cause only one key name to be created (a\_\_b).&#x20;
:::

