> 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/iec60870-5-104-client.md).

# 11.6 IEC60870-5 104 Client

**HMI Setting**

| **Items**  | **Settings**          | **Note** |
| ---------- | --------------------- | -------- |
| Protocol   | IEC60870-5 104 Client |          |
| Connection | Ethernet              |          |
| Port No.   | 2404                  |          |

**Address list**

| **Type**    | **Register** | **Range**     |   |
| ----------- | ------------ | ------------- | - |
| Bit         | SPTB         | 0\~16777215.7 |   |
|             | SCNA         | 0\~16777215.7 |   |
|             | DPTB         | 0\~16777215.7 |   |
|             | DCNA         | 0\~16777215.7 |   |
|             | METF         | 0\~16777215.7 |   |
|             | SENC         | 0\~16777215.7 |   |
|             | SENA         | 0\~16777215.7 |   |
|             | MENA         | 0\~16777215.7 |   |
|             | METD         | 0\~16777215.7 |   |
| Word        |              |               |   |
|             | SPTB         | 0\~16777215   |   |
|             | SCNA         | 0\~16777215   |   |
|             | DPTB         | 0\~16777215   |   |
|             | DCNA         | 0\~16777215   |   |
|             | SENA         | 0\~16777215   |   |
|             | MENA         | 0\~16777215   |   |
|             | METD         | 0\~16777215   |   |
|             | INRO         | 0\~16777215   |   |
|             | TIMESYN      | 0\~16777215   |   |
|             | TIMEZ        | 0\~16777215   |   |
|             | NTP          | 0\~16777215   |   |
| Double word |              |               |   |
|             | METF         | 0\~16777215   |   |
|             | SENC         | 0\~16777215   |   |

**Address configuration**

The address registers of the IEC60870-5-104 protocol are SPTB, SCNA, DPTB, DCNA, METF, and SENC. The protocol needs to be added with an extension tag "ASDU", which could only be added in the \[Address Identification Library], other places are not editable, that is, the read address in the object or script is not editable.

![](/files/-LvOB77bV6btJH36Tznf)

![](/files/-LvOB77cuTsFCkFB6NVF)

1\) Extended tag name

2\) Address range for the extended tag.

**Communication settings**

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

![](/files/-LvOB77dS7zddfCtyJr2)

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

![](/files/-LvOB77eSESbIg-NJqsK)

**Communication cable**

![](/files/-LvOB77ffALqmZmzjotn)
