# 11.11 Mitsubishi L02 MELSEC (Ethernet)

Mitsubishi Q series CPU built-in Ethernet port.

**HMI settings**

| **Items**       | **Settings**       | **Note**                            |
| --------------- | ------------------ | ----------------------------------- |
| Protocol        | MIT L02 CPU MELSEC |                                     |
| Connection      | Ethernet           |                                     |
| Port No.        | 1025               | Must be the same as the PLC setting |
| PLC station No. | 0                  | Must be the same as the PLC setting |

**Address list**

| Type | **Device registers** | **HMI registers** | Format   | Range          | Note |
| ---- | -------------------- | ----------------- | -------- | -------------- | ---- |
| Bit  | X                    | X                 | X h      | 0\~FFFF        |      |
|      | Y                    | Y                 | Y h      | 0\~FFFF        |      |
|      | M                    | M                 | M d      | 0\~9999        |      |
|      | L                    | L                 | L d      | 0\~9999        |      |
|      | F                    | F                 | F d      | 0\~9999        |      |
|      | B                    | B                 | B h      | 0\~FFFF        |      |
|      | V                    | V                 | V d      | 0\~2047        |      |
|      | TC                   | TC                | TC d     | 0\~9999        |      |
|      | SS                   | SS                | SS d     | 0\~9999        |      |
|      | SC                   | SC                | SC d     | 0\~9999        |      |
|      | CS                   | CS                | CS d     | 0\~9999        |      |
|      | CC                   | CC                | CC d     | 0\~9999        |      |
|      | SB                   | SB                | SB h     | 0\~FFFF        |      |
|      | SM                   | SM                | SM d     | 0\~2047        |      |
|      | STS                  | STS               | STS d    | 0\~1023        |      |
|      | S                    | S                 | S d      | 0\~9999        |      |
|      | DX                   | DX                | DX h     | 0\~FFFF        |      |
|      | DY                   | DY                | DY h     | 0\~FFFF        |      |
|      | TS                   | TS                | TS d     | 0\~9999        |      |
|      | Dbit                 | Dbit              | Dbit d.d | 0\~99999.0\~15 |      |
| Word | W                    | W                 | W h      | 0\~FFFF        |      |
|      | TN                   | TN                | TN d     | 0\~99999       |      |
|      | SN                   | SN                | SN d     | 0\~99999       |      |
|      | CN                   | CN                | CN d     | 0\~99999       |      |
|      | R                    | R                 | R d      | 0\~99999       |      |
|      | SW                   | SW                | SW h     | 0\~FFFF        |      |
|      | Z                    | Z                 | Z d      | 0\~99999       |      |
|      | ZR                   | ZR                | ZR h     | 0\~FFFF        |      |
|      | D                    | D                 | D d      | 0\~99999       |      |

**Communication settings**

1\) Enable HMI Ethernet in \[Project Settings];

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-M3KSfibeYxAOI-MHwfU%2F-M3KSvN5_u9eDyaF5OTx%2F0.png?generation=1585203101100533\&alt=media)

2\) Set PLC IP in \[Device IP] settings;

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-M3KSfibeYxAOI-MHwfU%2F-M3KSvN6EbCp1tXqA2Xa%2F1.png?generation=1585203101100519\&alt=media)

**PLC settings (GX Works2 )**

1\) Create a project

2\) Set PLC IP, subnet and gateway;

3\) Select \[Binary Code] as communication data code;

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-M3KSfibeYxAOI-MHwfU%2F-M3KSvN7_id7_A97uxC9%2F2.png?generation=1585203101157298\&alt=media)

4\) Set PLC port number, for example 1025

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-M3KSfibeYxAOI-MHwfU%2F-M3KSvN8kMCyX-OfXaEs%2F3.png?generation=1585203101118216\&alt=media)

5\) Save settings;

6\) Download project into PLC device;

7\) Restart PLC device;

**Communication cable**

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpistudio-manual%2F-M3KSfibeYxAOI-MHwfU%2F-M3KSvN9-xcbTvKAYdMN%2F4.png?generation=1585203101124503\&alt=media)
