> For the complete documentation index, see [llms.txt](https://wecon.gitbook.io/pistudio-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wecon.gitbook.io/pistudio-manual/11.-plc-protocols/mitsubishi-fx5u-serial-port.md).

# 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.

![](/files/-LvKLaAnCT1G3UA9ZCz2)

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.

![](/files/-LvKLaAoEc2WyKrGOfbk)

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

![](/files/-LvKLaApUXX6yDkvZlMi)

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

![](/files/-LvKLaAqKduL77ETq_G2)

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

![](/files/-LvKLaArhGN1ZJGqgCqc)

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

![](/files/-LvKLaAsYUJINS9T4I8z)

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**

![](/files/-M3KYa6ZMWiLlXCruJKi)

![](/files/-M3KYdVVz-phGBzsTQXM)

**2) RS422**

![](/files/-M3KYhG2gylLu_UUp5sg)

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

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