# 11.23 Siemens S7-300

Supported Series: Siemens S7-300 series PLC

**HMI Setting**

| **Items**       | **Settings**            | **Note**                           |
| --------------- | ----------------------- | ---------------------------------- |
| Protocol        | Siemens S7-300 Ethernet |                                    |
| Connection      | Ethernet                |                                    |
| Port No.        | 102                     |                                    |
| PLC station No. | 2                       | Need to be same as the PLC setting |

**Address list**

| **Type**        | **Device register** | **HMI register** | **Format**                                                                    | **Range**                                     | **Note** |
| --------------- | ------------------- | ---------------- | ----------------------------------------------------------------------------- | --------------------------------------------- | -------- |
| Bit             |                     |                  |                                                                               |                                               |          |
| I               | I                   | I ddddd.o        | 0.0\~99999.7                                                                  |                                               |          |
| Q               | Q                   | Q ddddd.o        | 0.0\~99999.7                                                                  |                                               |          |
| M               | M                   | M ddddd.o        | 0.0\~99999.7                                                                  |                                               |          |
| DB0.DB\~DB99.DB | DBxDBD              | DBxDB nndddd.o   | 0.0\~99999999.7                                                               | <p>nn: block number;</p><p>dddd: address;</p> |          |
| Word            |                     |                  |                                                                               |                                               |          |
| I               | IW                  | IW ddddd         | 0\~99999                                                                      |                                               |          |
| Q               | QW                  | QW ddddd         | 0\~99999                                                                      |                                               |          |
| M               | MB                  | MB ddddd         | 0\~99999                                                                      |                                               |          |
| MW              | MW ddddd            | 0\~99999         | <p>MW0=MB(0~~1)</p><p>MW2=MB(2~~3)</p><p>Address value is a multiple of 2</p> |                                               |          |
| MD              | MD ddddd            | 0\~99999         | <p>MD0=MB(0~~3)</p><p>MD4=MB(4~~7)</p><p>Address value is a multiple of 4</p> |                                               |          |
| DB0.DB\~DB99.DB | DBxDBB              | DBxDBB nndddd    | 0\~99999999                                                                   | <p>nn: block number;</p><p>dddd: address</p>  |          |
| DBxDBW          | DBxDBW nndddd       | 0\~99999999      |                                                                               |                                               |          |
| DBxDBD          | DBxDBD nndddd       | 0\~99999999      |                                                                               |                                               |          |

**Communication settings**

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

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

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

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

 PLC IP Address: PLC IP

 PLC pot No.: 102(fixed)

 Network: TCP\_Client\_2N (fixed)

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

 Wait timeout: depend on actual network situation (more than 1500 ms)

**Communication cable**

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