# 11.10 Mitsubishi FX5U serial port

Mitsubishi FX5U series PLC

**HMI settings**

| **Item**        | **Settings**    | **Note**                            |
| --------------- | --------------- | ----------------------------------- |
| Protocol        | Mitsubishi FX5U |                                     |
| Connection      | RS422/RS485     |                                     |
| Baud rate       | 9600            |                                     |
| Data bit        | 7               |                                     |
| Parity          | Odd             |                                     |
| Stop bit        | 1               |                                     |
| PLC station No. | 1\~255          | Need to be the same as PLC settings |

**Address list**

| **Type** | **Device registers** | **HMI registers** | **Format** | **Range** | **Note** |   |   |   |   |   |   |   |
| -------- | -------------------- | ----------------- | ---------- | --------- | -------- | - | - | - | - | - | - | - |
| Bit      |                      |                   |            |           |          |   |   |   |   |   |   |   |
|          | X                    | X                 | X o        | 0\~303237 |          |   |   |   |   |   |   |   |
|          | Y                    | Y                 | Y o        | 0\~303237 |          |   |   |   |   |   |   |   |
|          | M                    | M                 | M d        | 0\~99999  |          |   |   |   |   |   |   |   |
|          | B                    | B                 | B h        | 0\~7FFF   |          |   |   |   |   |   |   |   |
|          | F                    | F                 | F d        | 0\~32767  |          |   |   |   |   |   |   |   |
|          | SB                   | SB                | SB h       | 0\~7FFF   |          |   |   |   |   |   |   |   |
|          | TS                   | TS                | TS d       | 0\~1023   |          |   |   |   |   |   |   |   |
|          | TC                   | TC                | TC d       | 0\~1023   |          |   |   |   |   |   |   |   |
|          | STS                  | STS               | STS d      | 0\~1023   |          |   |   |   |   |   |   |   |
|          | STC                  | STC               | STS d      | 0\~1023   |          |   |   |   |   |   |   |   |
|          | CS                   | CS                | CS d       | 0\~1023   |          |   |   |   |   |   |   |   |
|          | CC                   | CC                | CC d       | 0\~1023   |          |   |   |   |   |   |   |   |
|          | SM                   | SM                | SM d       | 0\~9999   |          |   |   |   |   |   |   |   |
|          | L                    | L                 | L d        | 0\~32767  |          |   |   |   |   |   |   |   |
|          | S                    | S                 | S d        | 0\~4095   |          |   |   |   |   |   |   |   |
| Word     |                      |                   |            |           |          |   |   |   |   |   |   |   |
|          | W                    | W                 | W h        | 0\~3FF    |          |   |   |   |   |   |   |   |
|          | TN                   | TN                | TN d       | 0\~1023   |          |   |   |   |   |   |   |   |
|          | STN                  | STN               | STN d      | 0\~1023   |          |   |   |   |   |   |   |   |
|          | CN                   | CN                | CN d       | 0\~1023   |          |   |   |   |   |   |   |   |
|          | R                    | R                 | R d        | 0\~32767  |          |   |   |   |   |   |   |   |
|          | SW                   | SW                | SW h       | 0\~7FFF   |          |   |   |   |   |   |   |   |
|          | Z                    | Z                 | Z d        | 0\~23     |          |   |   |   |   |   |   |   |
|          | D                    | D                 | D d        | 0\~7999   |          |   |   |   |   |   |   |   |
|          | SD                   | SD                | SD d       | 0\~11999  |          |   |   |   |   |   |   |   |

**PLC settings (GX Works 3)**

1\) Create a blank FX5U project

2\) Find the 485 serial port module in the system navigation bar and double click to enter the settings.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LvKLBUOfYvuYiF07dKc%2F-LvKLaAnCT1G3UA9ZCz2%2F0.png?generation=1575537502253989\&alt=media)

3\) Select the MELSOFT protocol in the setting item. Other protocols could be selected as needed according to the external device model connected to the serial port.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LvKLBUOfYvuYiF07dKc%2F-LvKLaAoEc2WyKrGOfbk%2F1.png?generation=1575537502278191\&alt=media)

4\) Set parameters, they need to match the selected protocol. If MELSOFT protocol is selected, click on the \[Apply] button.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LvKLBUOfYvuYiF07dKc%2F-LvKLaApUXX6yDkvZlMi%2F2.png?generation=1575537502252606\&alt=media)

5\) If user chooses the user defined or Modbus protocol, baud rate setting is required, stop bit and parity bit as shown above.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LvKLBUOfYvuYiF07dKc%2F-LvKLaAqKduL77ETq_G2%2F3.png?generation=1575537502254431\&alt=media)

6\) Click the \[Apply] button to finish the setting.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LvKLBUOfYvuYiF07dKc%2F-LvKLaArhGN1ZJGqgCqc%2F4.png?generation=1575537502272397\&alt=media)

7\) Click download and select the items as below, then click \[execute] to download the configuration to PLC.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-LvKLBUOfYvuYiF07dKc%2F-LvKLaAsYUJINS9T4I8z%2F5.png?generation=1575537502262645\&alt=media)

8\) As soon as download is completed, connect PLC with serial port, then configure it in the \[Specify Connection Destination Connection].

9\) Done.

**Cable wiring**

**1) RS485**

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lup_3URExwDkfqKABSb%2F-M3KYLASfMHIOFEqcSBw%2F-M3KYa6ZMWiLlXCruJKi%2Fimage.png?alt=media\&token=1cd59595-1ebf-409d-b8c2-6adf56dacfc0)

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lup_3URExwDkfqKABSb%2F-M3KYLASfMHIOFEqcSBw%2F-M3KYdVVz-phGBzsTQXM%2Fimage.png?alt=media\&token=39543fb6-f592-4696-b4b4-f8b799ea9980)

**2) RS422**

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lup_3URExwDkfqKABSb%2F-M3KYLASfMHIOFEqcSBw%2F-M3KYhG2gylLu_UUp5sg%2Fimage.png?alt=media\&token=aa34310d-7797-4e15-afd7-107348d31325)

{% hint style="info" %}
✎**Note:**

COM3 is available in PI8000 series and advanced series
{% endhint %}
